/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #0f0f0f;
    --bg-darker: #050505;
    --bg-light: #f5f4f0;
    --bg-white: #ffffff;
    
    --text-dark: #111111;
    --text-light: #ffffff;
    --text-muted: #999999;
    
    --accent-gold: #0066ff;
    --accent-gold-hover: #3385ff;
    
    --border-color-dark: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1400px;
    --section-pad-y: clamp(40px, 6vw, 80px);
    --section-pad-x: 5%;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
}

.text-accent {
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 600;
}

.text-light { color: var(--text-light); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Sections */
main {
    width: 100%;
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.light-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section-kicker {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-dark {
    background-color: var(--text-dark);
    color: var(--bg-light);
}

.btn-dark:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-accent {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-accent:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255,255,255,0.2);
}

.btn-outline:hover {
    border-color: var(--text-light);
    background-color: rgba(255,255,255,0.05);
}

.btn-glow {
    position: relative;
    z-index: 1;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50px;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-glow:hover::after {
    opacity: 1;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem var(--section-pad-x);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(245, 244, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem var(--section-pad-x);
    border-bottom: 1px solid var(--border-color-light);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

.navbar.scrolled .logo { color: var(--text-dark); }
.navbar.scrolled .nav-link { color: var(--text-dark); }

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-light);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.navbar.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--section-pad-y) * 1.2) var(--section-pad-x) var(--section-pad-y) var(--section-pad-x);
    overflow: hidden;
}

/* Stunning Abstract Gradient Background simulating 3D fluid */
.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.15) 0%, rgba(15, 15, 15, 0) 70%);
    z-index: 0;
    pointer-events: none;
    transform-origin: center center;
    animation: pulseGlow 15s infinite alternate ease-in-out;
}

.hero-bg-accent::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle at center, rgba(80, 80, 80, 0.1) 0%, rgba(15, 15, 15, 0) 60%);
    border-radius: 50%;
    transform: translateY(-50%);
    filter: blur(40px);
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2%, 2%); }
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-description-wrapper {
    display: flex;
    gap: 4rem;
    
    align-items: flex-start;
}

.hero-subtitle {
    flex: 1;
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}

.hero-secondary-text {
    flex: 0.8;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-left: 1px solid var(--border-color-dark);
    padding-left: 1.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Partners */
.partners-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--max-width);
    
    padding-top: 4rem;
    border-top: 1px solid var(--border-color-dark);
    text-align: center;
}

.partners-title {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.3);
    font-size: 1.5rem;
}

.partners-logos i {
    transition: color 0.3s ease;
}

.partners-logos i:hover {
    color: rgba(255,255,255,0.8);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: calc(var(--section-pad-y) * 1.2) var(--section-pad-x);
}

.feature-row {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10%;
    margin-bottom: var(--section-pad-y);
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-visual {
    flex: 1;
    position: relative;
}

/* Feature 1: Visual Card */
.visual-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.visual-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.accent-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.visual-quote {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-dark);
}

/* Feature 2: Browser Mock */
.browser-mock {
    background: #1c1c1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.05);
}

.mock-header {
    background: #2c2c2e;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 8px;
}

.mock-header .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #444;
}

.mock-body {
    display: flex;
    height: 350px;
}

.mock-sidebar {
    width: 25%;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.mock-content {
    flex: 1;
    padding: 2rem;
    position: relative;
}
.mock-content::before {
    content: '';
    position: absolute;
    top: 2rem; left: 2rem; right: 2rem;
    height: 20px;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 40px 0 rgba(255,255,255,0.05), 0 80px 0 rgba(255,255,255,0.05), 0 120px 0 rgba(255,255,255,0.05);
}

/* Feature 3: Grid Visual and Stats */
.feature-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.stat-h {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-p {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 150px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.5rem, 2vw, 1rem);
}

.grid-card {
    background: var(--bg-white);
    border-radius: 12px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-5px);
}

.grid-card.dark {
    background: #1c1c1e;
    color: var(--text-light);
}

.grid-card.accent {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

/* ==========================================================================
   Outcomes Section
   ========================================================================== */
.outcomes-section {
    padding: var(--section-pad-y) var(--section-pad-x);
}

.outcomes-header {
    max-width: var(--max-width);
  
}

.outcomes-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 3vw, 3rem);
}

.outcome-card {
    border-top: 1px solid var(--border-color-dark);
    padding-top: 1.5rem;
}

.outcome-num {
    display: block;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.outcome-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.outcome-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: var(--section-pad-y) var(--section-pad-x);
}

.testimonials-grid {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
}

.testimonial-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info .name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
}

.author-info .role {
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: calc(var(--section-pad-y) * 1.5) var(--section-pad-x);
}

.cta-container {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--bg-white);
    padding: 5rem 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.cta-bg-text {
    position: absolute;
    bottom: -10%;
    right: -5%;
    font-family: var(--font-heading);
    font-size: 25vw;
    font-weight: 700;
    color: var(--bg-light);
    line-height: 1;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.cta-title {
    position: relative;
    z-index: 10;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-desc {
    position: relative;
    z-index: 10;
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 3rem auto;
}

.cta-container .btn {
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 5rem var(--section-pad-x) 3rem;
    border-top: 1px solid var(--border-color-dark);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1.5rem;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.group-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.link-group a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.link-group a:hover {
    color: rgba(255,255,255,1);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.25rem;
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */
.legal-page {
    background: var(--bg-white);
    color: var(--text-dark);
}

.legal-header {
    padding: calc(var(--section-pad-y) * 1.5) var(--section-pad-x) calc(var(--section-pad-y) / 2);
    text-align: center;
}

.legal-header .legal-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -1px;
    margin-bottom: 0;
    color: var(--text-light); /* Enforce light title against dark header BG */
}

.legal-content {
    padding: var(--section-pad-y) var(--section-pad-x);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-content h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p, .legal-content ul, .legal-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.legal-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.effective-date {
    font-weight: 500;
    color: var(--text-dark) !important;
}

/* Responsive Adjustments: Revert to standard stacking blocks for mobile */
@media (max-width: 992px) {
    html {
        font-size: 14px;
    }
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 3rem;
    }
    .hero-description-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    .outcomes-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    .grid-card {
        height: 60px;
        width: 60px;
        font-size: 1.25rem;
    }
    .footer-content {
        flex-direction: column;
    }
    
    /* Mobile Menu logic */
    .mobile-menu-btn {
        display: block;
    }
    .nav-btn {
        display: none; /* Hide large right button to save space */
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color-light);
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-link {
        color: var(--text-dark) !important; /* Force visibility on bright BG */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4.5rem);
    }
    .cta-container {
        padding: 3rem 1.5rem;
    }
    .browser-mock {
        max-width: 100%;
        width: 100%;
    }
    .mock-body {
        height: 200px;
    }
    .outcomes-grid {
        gap: 1.5rem 1rem;
        align-items: stretch;
    }
    .outcome-card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .outcome-title {
        font-size: 0.85rem;
        word-break: break-word;
        hyphens: auto;
    }
    .outcome-desc {
        font-size: 0.8rem;
    }
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }
    .testimonial-card {
        padding: 0.75rem 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .testimonial-card .quote {
        font-size: 0.55rem;
        margin-bottom: 0.5rem;
    }
    .testimonial-card .author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    .testimonial-card .avatar {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    .testimonial-card .author-info .name {
        font-size: 0.5rem;
        word-wrap: break-word;
    }
    .testimonial-card .author-info .role {
        font-size: 0.45rem;
        word-wrap: break-word;
    }
    .avatar img {
    
    height: 26px;
    
}
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    .navbar {
        padding: 1rem var(--section-pad-x);
    }
}
