/* Global Variables & Reset */
:root {
    --sky-blue: #0ea5e9;
    --sky-blue-hover: #0284c7;
    --sky-blue-light: #e0f2fe;
    --black: #0a0a0a;
    --black-soft: #171717;
    --white: #ffffff;
    --gray-light: #f3f4f6;
    --gray-text: #4b5563;
    --gray-border: #e5e7eb;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --glow: 0 0 20px rgba(14, 165, 233, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utilities */
.highlight {
    color: var(--sky-blue);
}

.text-white {
    color: var(--white);
}

.text-sky {
    color: var(--sky-blue);
}

.text-gray-light {
    color: #9ca3af;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 6rem 0;
}

.dark-bg {
    background-color: var(--black);
    color: var(--white);
}

.dark-bg .subheading,
.dark-bg .section-body,
.dark-bg .cta-subtext {
    color: #9ca3af;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gray-text);
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-body {
    font-size: 1.125rem;
    color: var(--gray-text);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Grids */
.grid-2, .grid-3 {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.flex-split {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .flex-split {
        flex-direction: row;
        justify-content: space-between;
    }
    .flex-split > * {
        flex: 1;
    }
    .flex-reverse {
        flex-direction: row-reverse;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--sky-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--sky-blue-hover);
    transform: translateY(-2px);
}

.btn-black {
    background-color: var(--black);
    color: var(--white);
}

.btn-black:hover {
    background-color: var(--black-soft);
    transform: translateY(-2px);
}

.btn.sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn.lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.glow-effect {
    box-shadow: var(--glow);
}
.glow-effect:hover {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
}

.glow-effect-dark {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.grid-nav {
    display: flex;
    justify-content: center; /* Center the links */
    align-items: center;
    position: relative;
    height: 72px;
}

.nav-left, .nav-right {
    flex: 1;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.desktop-nav {
    display: none; /* Mobile first: hidden */
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    text-decoration: none;
    color: var(--gray-light);
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--sky-blue);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
}

.nav-dropbtn {
    background: none;
    border: none;
    color: var(--gray-text);
    font-weight: 500;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    transition: var(--transition);
}

.nav-dropbtn:hover {
    color: var(--sky-blue);
}

.dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0;
    z-index: 1001;
    border: 1px solid var(--gray-border);
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    animation: dropFade 0.2s ease-out forwards;
}

@keyframes dropFade {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.nav-dropdown-content a {
    color: var(--black) !important;
    padding: 0.75rem 1rem;
    display: block;
    text-decoration: none;
    transition: background 0.2s;
}

.nav-dropdown-content a:hover {
    background-color: var(--gray-light);
    color: var(--sky-blue) !important;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--black);
    cursor: pointer;
}

@media (min-width: 768px) {
    .desktop-nav { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* Hero Section */
.hero {
    padding-top: 151px; /* Navbar height + extra space */
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 2px, transparent 2px);
    background-size: 35px 35px;
    animation: floatDots 40s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatDots {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.headline {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    max-width: 1100px;
    margin-inline: auto;
}

.subheading {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    color: var(--gray-text);
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

/* VSL Placeholder */
.vsl-wrapper {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 60px rgba(14, 165, 233, 0.4);
}

.vsl-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--black-soft), var(--black));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.vsl-placeholder:hover {
    transform: scale(1.02);
}

.play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--sky-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--glow);
}

/* CTA Styles */
.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-subtext {
    font-size: 0.875rem;
    color: var(--gray-text);
}

/* Glass Cards (Pain Points) */
/* On white bg, give cards a lighter border */
.pain-points .card.glass {
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    color: var(--black);
}

.pain-points .card.glass h3 {
    color: var(--black);
}

.pain-points .card.glass p {
    color: var(--gray-text);
}

/* Why Choose Us on dark bg */
.why-choose-us.dark-bg .section-body {
    color: #9ca3af;
}

.why-choose-us.dark-bg .feature-list li {
    color: var(--white);
}
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

/* Why Choose Us */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

/* Graph Card Infographic */
.graph-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.graph-header {
    margin-bottom: 1.5rem;
}

.graph-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
}

.graph-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.graph-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-text);
    font-weight: 500;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.blue {
    background: var(--sky-blue);
}

.legend-dot.gray {
    background: #d1d5db;
}

/* Client Logos / Scroll Track */
.client-logos {
    background-color: #0a0a0a;
    padding: 3rem 0;
    border: none;
    outline: none;
    box-shadow: none;
}

.client-logos .section-label {
    color: rgba(255, 255, 255, 0.5);
}

.logo-track-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.client-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Social Proof 1 & 2 */
.social-proof-1 {
    background-color: var(--sky-blue-light);
}

.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--sky-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--sky-blue);
    margin-bottom: 0.5rem;
}

/* Process */
.process-steps {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: -1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* What's Included */
.service-box {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
}

.service-box:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--sky-blue);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    color: var(--sky-blue);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--sky-blue);
    color: var(--white);
    border-radius: var(--radius-lg);
    margin: 4rem 24px;
    padding: 4rem 2rem;
}

/* About Us Focus Image */
.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--black-soft);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.huge-icon {
    width: 64px;
    height: 64px;
    color: var(--sky-blue);
    margin-bottom: 1rem;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
}

.accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--gray-text);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-item.active .chevron {
    transform: rotate(180deg);
}

/* Calendly Placeholder */
.calendly-embed-placeholder {
    max-width: 800px;
    margin: 3rem auto 0;
    height: 600px;
    background-color: var(--gray-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-border);
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 0;
    overflow: hidden;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand {
    justify-content: flex-start;
}

.footer-logo {
    padding-left: 15px;
    padding-bottom: 0;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin: 0;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem 2rem;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--sky-blue);
}

.footer-wordmark {
    font-size: 18vw;
    font-weight: 800;
    line-height: 0.82;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    user-select: none;
    padding: 0 0.5rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    padding: 1.25rem 0;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* =============================================
   MOBILE RESPONSIVENESS (max-width: 767px)
   ============================================= */
@media (max-width: 767px) {

    /* Global section padding reduced */
    section {
        padding: 4rem 0;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .headline {
        font-size: clamp(1.5rem, 7vw, 2.25rem);
        max-width: 100%;
    }

    .subheading {
        font-size: 0.95rem;
    }

    .vsl-wrapper {
        margin-bottom: 2rem;
    }

    /* VSL on small screens */
    .vsl-placeholder {
        aspect-ratio: 16/9;
    }

    /* CTA */
    .btn.lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Section titles */
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* Flex split - stack vertically with less gap */
    .flex-split {
        gap: 2.5rem;
    }

    /* Why Choose Us - graph card full width */
    .graph-card {
        max-width: 100%;
        padding: 1.5rem;
    }

    /* Process steps */
    .step-number {
        font-size: 2.5rem;
    }

    /* CTA Banner  */
    .cta-banner {
        margin: 2rem 16px;
        padding: 3rem 1.5rem;
        border-radius: var(--radius-md);
    }

    /* Client logos - reduce gap & logo size */
    .client-logo {
        height: 36px;
    }

    .logo-track {
        gap: 2.5rem;
    }

    /* Testimonial */
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .quote-text {
        font-size: 1.125rem;
    }

    /* Stat cards - full width each */
    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    /* Service boxes */
    .service-box {
        padding: 1.5rem;
    }

    /* ROI Calculator */
    .roi-container {
        padding: 0 1rem;
    }

    #roi-calculator .calc-grid-2 {
        grid-template-columns: 1fr;
    }

    #roi-calculator .field-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem;
    }

    #roi-calculator .f-control {
        align-items: flex-start;
    }

    /* FAQ */
    .faq-container {
        max-width: 100%;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 1.25rem 0;
    }

    /* Calendly placeholder */
    .calendly-embed-placeholder {
        height: 400px;
        margin-top: 2rem;
    }

    /* Footer links - wrap on mobile */
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Mobile menu active state */
    .desktop-nav.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: #0a0a0a;
        padding: 1rem 1.5rem;
        gap: 0;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.4);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    /* Mobile menu link spacing */
    .desktop-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        width: 100%;
    }

    /* Mobile menu button color fix */
    .mobile-menu-btn {
        color: var(--white);
    }
}
