/*
Theme Name: RemoteHussle
Author: Antigravity
Description: A premium B2B WordPress theme for RemoteHussle with Anti-Gravity aesthetics.
Version: 1.0.0
*/

:root {
    --bg-color: #0A0A0A;
    --text-color: #FCFCFC;
    --text-muted: #A0A0A0;
    --accent-color: #4F46E5;
    /* Indigo/Blurple for modern tech feel */
    --accent-glow: rgba(79, 70, 229, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(20, 20, 20, 0.6);
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, #FFFFFF 0%, #A5B4FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Ambient Glow */
.ambient-glow {
    position: fixed;
    top: -20%;
    left: 20%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-cta {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--glass-bg);
    border-color: var(--text-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Buttons */
.magnetic-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.primary-btn:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Floating Stack Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.glass-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 280px;
}

.card-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.card-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-metric {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
}

.revenue-text {
    color: #34D399;
    /* Green hue */
}

/* Float Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-animation-1 {
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.float-animation-2 {
    top: 40%;
    right: 30%;
    animation: float 7s ease-in-out infinite 1s;
    z-index: 2;
    background: rgba(30, 30, 30, 0.8);
}

.float-animation-3 {
    top: 60%;
    right: 5%;
    animation: float 5s ease-in-out infinite 0.5s;
    z-index: 3;
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(52, 211, 153, 0.3);
}

/* Ticker Dashboard */
.dashboard-ticker {
    background: #000;
    padding: 1rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    width: fit-content;
    animation: scroll 20s linear infinite;
}

.ticker-content {
    display: flex;
    align-items: center;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0 1rem;
}

.ticker-item.highlight {
    color: var(--text-color);
    font-weight: 600;
}

.ticker-separator {
    color: var(--accent-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Bento Grid Services */
.services-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 24px;
    height: 100%;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    font-size: 1.8rem;
}

.icon-badge {
    font-size: 2rem;
    background: var(--glass-bg);
    padding: 1rem;
    border-radius: 50%;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Process Timeline */
.process-section {
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 3rem;
    border-left: 1px solid var(--glass-border);
}

.timeline-step {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 2rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--bg-color);
    border: 2px solid var(--text-color);
    border-radius: 50%;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -1.5rem;
    left: 1rem;
    z-index: -1;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
}

/* Connection Hub */
.contact-section {
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 30px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.glow-border {
    position: relative;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Phone Group (Split Layout) */
.phone-group {
    display: flex;
    gap: 1rem;
}

.country-code {
    width: 30% !important;
    /* Force width */
    min-width: 100px;
}

input,
select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

/* Fix Dropdown Option Visibility */
select option {
    background-color: #1A1A1A;
    /* Dark background for options */
    color: var(--text-color);
}

input:focus,
select:focus {
    border-color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Success Stories Section */
.stories-section {
    padding: 6rem 0 6rem 2rem;
    /* Left padding for alignment */
    overflow: hidden;
    /* Hide scrollbar overflow from body */
}

.stories-track {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 2rem;
    padding-right: 2rem;
    /* Add right padding */
    cursor: grab;
    /* Hide Scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.stories-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.story-card {
    min-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.story-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.story-client {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.story-quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.metric-highlight {
    color: var(--accent-color);
    font-weight: 700;
    text-shadow: 0 0 15px var(--accent-glow);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #111;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 50px rgba(79, 70, 229, 0.2);
    /* Flex layout for better containment */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* Ensure containment */
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-color);
}

.modal-content p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.close-btn {
    margin-top: 0;
    /* Handled by p margin */
    padding: 0.8rem 2.5rem;
    min-width: 120px;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-fade {
    opacity: 0;
    transform: all 1s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.8s ease;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .floating-stack {
        transform: scale(0.8);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2rem;
    }

    .story-card {
        min-width: 300px;
    }

    /* Modal Mobile */
    .modal-content {
        width: 90%;
        padding: 2rem;
    }
}