/* =========================================
   UX EXPERT REDESIGN - VARIABLES & SETUP
   ========================================= */
   :root {
    /* Sophisticated Color Palette */
    --bg-base: #09090b;       /* Zinc 950 - Extremely deep, grounding black/grey */
    --bg-surface: #141417;    /* Slightly elevated surface */
    --bg-elevated: #1a1a1f;   /* For cards */
    
    --text-primary: #fafafa;  /* Zinc 50 - Soft, approachable white */
    --text-secondary: #a1a1aa;/* Zinc 400 - High legibility grey */
    --text-tertiary: #52525b; /* Zinc 600 - For faint borders/dividers */
    
    /* The Trust & Energy Accents */
    --accent-indigo: #4f46e5; /* Deep, psychological trust blue */
    --accent-glow: #6366f1;   
    
    /* UX Transitions */
    --ease-expert: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-standard: all 0.5s var(--ease-expert);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-smooth iframe {
    pointer-events: none;
}

html {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    cursor: none; 
}

/* For noise texture overlay */
.bg-noise {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
}

h1, h2, h3, h4, .logo, .brand-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =========================================
   GLOBAL 3D CANVAS & GLASSMORPHISM
   ========================================= */
#bg-canvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0; pointer-events: none;
}

/* Premium Apple-style Glassmorphism for alternating sections */
.bg-surface { 
    background-color: rgba(17, 17, 21, 0.4); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.bg-base { background-color: transparent; }

/* Ensure sections sit above canvas */
section { position: relative; z-index: 10; }
.hero { position: relative; background: transparent; }
.pricing { position: relative; background: transparent; overflow: hidden; }
.final-cta { position: relative; background: transparent; overflow: hidden; }
.authority { position: relative; background: transparent; overflow: hidden; }

/* =========================================
   EXPERT FLUID CURSOR
   ========================================= */
.cursor-dot {
    width: 6px; height: 6px;
    background-color: var(--text-primary);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 10000;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, 0.05); /* Ultra soft */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px) contrast(1.2);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transition: width 0.4s var(--ease-expert), height 0.4s var(--ease-expert), background-color 0.4s, border-color 0.4s, border-radius 0.2s;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

body.cursor-hover .cursor-follower {
    width: 64px; height: 64px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: invert(1) hue-rotate(180deg);
    border-color: transparent;
    box-shadow: 0 0 40px rgba(255,255,255,0.1);
}

body.cursor-video .cursor-follower {
    width: 80px; height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.6);
}

.cursor-glow {
    position: fixed; top: 0; left: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none; z-index: 5;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
}

/* =========================================
   SECTION BACKGROUND ANIMATIONS
   ========================================= */
.animated-bg-gradient {
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(17,17,22,0.6) 0%, transparent 100%);
    background-size: 200% 200%;
    animation: flowGradient 15s ease infinite alternate;
}
@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 50% 100%; }
}

.animated-bg-grid {
    position: relative;
    background-color: transparent;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: panGrid 20s linear infinite;
}
@keyframes panGrid {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.relative-z { position: relative; z-index: 10; }

/* =========================================
   CONTINUOUS FLOATING ANIMATION
   ========================================= */
@keyframes smoothFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.video-card, .gs-bento, .review-box {
    animation: smoothFloat 6s ease-in-out infinite;
    will-change: transform;
}
.video-card:hover, .gs-bento:hover, .review-box:hover {
    animation-play-state: paused; /* Pause on hover so GSAP can take over */
}

/* =========================================
   GLOBAL HOVER POP ANIMATION
   ========================================= */
.hover-pop {
    transition: transform 0.4s var(--ease-expert), box-shadow 0.4s var(--ease-expert), border-color 0.4s var(--ease-expert);
}
.hover-pop:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   UTILITIES & TYPOGRAPHY
   ========================================= */
.container { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.section-padding { padding: 140px 0; }
@media (max-width: 768px) { .section-padding { padding: 100px 0; } .container { padding: 0 24px; } }

.border-top { border-top: 1px solid rgba(255,255,255,0.05); }

.text-gradient {
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 500;
}

.text-accent { color: var(--accent-indigo); }

.section-title {
    font-size: 3rem; font-weight: 700;
    letter-spacing: -0.04em; margin-bottom: 24px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem; font-weight: 400;
    color: var(--text-secondary); max-width: 500px;
    margin-bottom: 60px; line-height: 1.6;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* Initialization hiding for GSAP */
.gs-reveal, .hero-anim, .gs-fade-up, .gs-step, .gs-bento, .gs-scale-up, .gs-review, .gs-price {
    visibility: hidden;
}

/* =========================================
   BUTTON SYSTEMS
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 12px; padding: 16px 32px;
    border-radius: 100px; /* Sleek pill shape */
    font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.95rem;
    text-decoration: none; transition: var(--transition-standard);
    cursor: none; will-change: transform; position: relative; overflow: hidden;
}

.ripple {
    position: absolute; background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    pointer-events: none; border-radius: 50%;
    animation: animateRipple 1s linear infinite;
}
@keyframes animateRipple {
    0% { width: 0; height: 0; opacity: 0.5; }
    100% { width: 400px; height: 400px; opacity: 0; }
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), #8b5cf6, #3b82f6);
    background-size: 200% auto;
    color: #fff; 
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px) scale(1.02);
}

.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--text-tertiary);
}

/* Web3Forms Input Styling */
.web3forms input:focus, .web3forms select:focus {
    border-color: var(--accent-indigo) !important;
    background: rgba(79, 70, 229, 0.08) !important;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.15) !important;
}

.btn-outline:hover {
    border-color: var(--text-primary); background: rgba(255,255,255,0.03);
}

.btn-text {
    background: transparent; color: var(--text-secondary); padding: 16px 0;
}
.btn-text:hover { color: var(--text-primary); }

.full-width { width: 100%; }

/* =========================================
   LOADER
   ========================================= */
.loader-overlay {
    position: fixed; inset: 0; background: #09090b; /* Solid black to cover page */
    z-index: 10000; display: flex; align-items: center; justify-content: center;
}
.loader-content { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.spinner-wrapper { margin: 0 auto 24px; width: 56px; height: 56px; }
.loader-ring { width: 100%; height: 100%; animation: svgSpin 2s linear infinite; }
.ring-track { stroke: rgba(255,255,255,0.05); stroke-width: 3; }
.ring-progress {
    stroke: var(--text-primary); stroke-width: 3; stroke-linecap: round;
    stroke-dasharray: 1, 200; stroke-dashoffset: 0;
    animation: svgDash 1.5s ease-in-out infinite;
}
@keyframes svgSpin { 100% { transform: rotate(360deg); } }
@keyframes svgDash {
    0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 200; stroke-dashoffset: -35px; }
    100% { stroke-dasharray: 90, 200; stroke-dashoffset: -124px; }
}

.loader-logo { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.05em; margin: 0; color: var(--text-primary); }
.loader-text { font-family: 'Space Mono', monospace; font-size: 0.85rem; letter-spacing: 0.2em; color: var(--text-secondary); text-transform: uppercase;}
.loader-bar-track { width: 200px; height: 2px; background: rgba(255,255,255,0.05); margin: 0 auto; overflow: hidden; border-radius: 2px;}
.loader-progress { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent-indigo), var(--accent-purple)); box-shadow: 0 0 10px var(--accent-indigo);}

/* =========================================
   NAV ARCHITECTURE
   ========================================= */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    transition: background-color 0.4s, padding 0.4s, border-bottom 0.4s;
    background: rgba(9, 9, 11, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.95); padding: 12px 0;
}

.nav-container {
    max-width: 1320px; margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; cursor: none; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; transition: var(--transition-standard); cursor: none;}
.nav-links a:hover { color: var(--text-primary); }
@media (max-width: 768px) { .nav-links { display: none; } .nav-container { padding: 0 24px; } }

/* =========================================
   EDITORIAL HERO
   ========================================= */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 80px; overflow: hidden;
}

.hero-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; gap: 40px;}
    .hero-ctas { justify-content: center; }
}

.hero-content { position: relative; z-index: 10; padding-right: 40px; }
@media (max-width: 1024px) { .hero-content { padding-right: 0;} }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 100px;
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-secondary); margin-bottom: 32px;
}
.badge-dot { width: 6px; height: 6px; background-color: var(--accent-indigo); border-radius: 50%; box-shadow: 0 0 10px var(--accent-indigo);}

.line-wrap { overflow: hidden; display: block; padding-bottom: 20px; margin-bottom: -20px; }
.word { display: inline-block; will-change: transform, opacity, filter; padding-right: 0.2em; }

.hero-title {
    font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 800;
    line-height: 1.05; letter-spacing: -0.05em; margin-bottom: 32px;
}

.glow-hover { transition: text-shadow 0.4s; }
.hero-title:hover .glow-hover { text-shadow: 0 0 40px rgba(139, 92, 246, 0.8); }

.hero-subtitle {
    font-size: 1.125rem; color: var(--text-secondary);
    line-height: 1.6; margin-bottom: 48px; max-width: 480px;
}
@media (max-width: 1024px) { .hero-subtitle { margin: 0 auto 48px; } }

.hero-ctas { display: flex; gap: 24px; align-items: center; }

/* =========================================
   HERO ABSTRACT CARDS (Video Replacement)
   ========================================= */
.hero-visual { position: relative; width: 100%; min-height: 500px; }

.abstract-cards-stack {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}

.a-card {
    position: absolute;
    background: rgba(20, 20, 23, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 32px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    white-space: nowrap;
}

/* Base floating animation */
@keyframes floatDynamic {
    0% { transform: translate(var(--tx, 0), calc(var(--ty, 0) + 0px)) rotate(var(--r, 0deg)); }
    50% { transform: translate(var(--tx, 0), calc(var(--ty, 0) - 15px)) rotate(var(--r, 0deg)); }
    100% { transform: translate(var(--tx, 0), calc(var(--ty, 0) + 0px)) rotate(var(--r, 0deg)); }
}

.card-1 {
    top: 15%; right: 10%; --r: 4deg;
    animation: floatDynamic 6s ease-in-out infinite;
    z-index: 3; border-top: 1px solid rgba(255,255,255,0.2);
}

.card-2 {
    bottom: 25%; left: 0%; --r: -3deg;
    animation: floatDynamic 7s ease-in-out infinite 1s;
    z-index: 2; border-left: 1px solid rgba(255,255,255,0.2);
}

.card-3 {
    top: 75%; right: 15%; --tx: 0px; --ty: 0px; --r: 2deg;
    background: var(--bg-elevated);
    border: 1px solid rgba(79, 70, 229, 0.3);
    z-index: 4; box-shadow: 0 40px 80px rgba(79, 70, 229, 0.15);
    animation: floatDynamic 8s ease-in-out infinite 0.5s;
}
.card-3 .c-value { color: var(--text-primary); }

.card-icon {
    width: 68px; height: 68px; background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary); display: flex; align-items: center;
    justify-content: center; border-radius: 50%; font-size: 2rem;
}

.card-3 .card-icon { background: rgba(79, 70, 229, 0.1); }

.card-info { display: flex; flex-direction: column; }
.card-info .c-value { font-family: 'Plus Jakarta Sans'; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em;}
.card-info .c-label { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600;}

.hero-orb {
    position: absolute; width: 300px; height: 300px;
    background: var(--accent-indigo); border-radius: 50%;
    filter: blur(100px); opacity: 0.2; z-index: 1;
    animation: pulseOrb 8s ease-in-out infinite alternate;
}

@keyframes pulseOrb {
    0% { transform: scale(1); opacity: 0.15; }
    100% { transform: scale(1.2); opacity: 0.25; }
}

@media (max-width: 1024px) {
    .hero-visual { min-height: 400px; }
    .card-1 { right: 5%; top: 10%; --tx: 0; --ty: 0; transform: scale(0.85) rotate(4deg); }
    .card-2 { left: 5%; bottom: 15%; --tx: 0; --ty: 0; transform: scale(0.85) rotate(-3deg); }
    .card-3 { --tx: -50%; --ty: -50%; transform: translate(-50%, -50%) scale(0.85); }
}

@media (max-width: 768px) {
    .abstract-cards-stack { display: none; /* Hide floating desktop cards on mobile to prevent CTA overlap */ }
    .hero-visual { min-height: 0; display: none; margin: 0; padding: 0;}
    .hero-orb { width: 200px; height: 200px; }
}

/* =========================================
   GALLERY (Visual Contexts)
   ========================================= */
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .showcase-grid { grid-template-columns: 1fr; } }

.video-card { cursor: none; }
.video-embed {
    position: relative; padding-top: 150%; /* 2:3 aspect */
    background: #000; border-radius: 8px; overflow: hidden; margin-bottom: 20px;
}

.demo-vid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.8s var(--ease-expert); filter: grayscale(20%);
}

.video-card:hover .demo-vid { transform: scale(1.03); filter: grayscale(0%); }

.card-ui-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 20px; opacity: 0; transition: opacity 0.4s var(--ease-expert);
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
}
.video-card:hover .card-ui-overlay { opacity: 1; }

.top-meta { display: flex; justify-content: space-between; }
.tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; padding: 4px 8px; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); border-radius: 2px; }
.tag.highlight { color: var(--bg-base); background: var(--text-primary); }

.playback-ring {
    width: 60px; height: 60px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); align-self: flex-start;
}

.card-meta h3 { font-size: 1.125rem; margin-bottom: 4px; font-weight: 600; }
.card-meta p { font-size: 0.85rem; color: var(--text-secondary); }

/* =========================================
   METHODOLOGY (Process)
   ========================================= */
.process-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
@media (max-width: 1024px) { .process-layout { grid-template-columns: 1fr; gap: 40px; } }

.process-text { position: sticky; top: 120px; }
.process-steps { display: flex; flex-direction: column; gap: 24px; }

.p-step {
    background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.03);
    padding: 40px; border-radius: 8px; display: flex; gap: 32px;
}
@media (max-width: 480px) { .p-step { flex-direction: column; gap: 16px; padding: 24px;} }

.step-num { font-family: 'Plus Jakarta Sans'; font-size: 1.8rem; font-weight: 800; color: var(--text-tertiary); line-height: 1; }
.step-num.highlight-num { color: var(--accent-indigo); }

.step-info h3 { font-size: 1.75rem; margin-bottom: 12px; }
.step-info p { color: var(--text-secondary); line-height: 1.6; }

/* =========================================
   INFRASTRUCTURE (Authority Grid)
   ========================================= */
.structural-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 768px) { .structural-grid { grid-template-columns: 1fr; } }

.s-card {
    background: var(--bg-elevated); border: 1px solid rgba(255,255,255,0.02);
    padding: 60px 48px; border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.s-icon { font-size: 2.8rem; color: var(--text-primary); margin-bottom: 24px; }
.s-card h3 { font-size: 1.75rem; margin-bottom: 16px; }
.s-card p { color: var(--text-secondary); line-height: 1.6; }

/* =========================================
   DATA / METRICS
   ========================================= */
.data-block {
    background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px; padding: 80px 60px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
@media (max-width: 768px) { .data-block { padding: 40px 24px; } }

.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px; margin-top: 60px; width: 100%; }
@media (max-width: 768px) { .metrics-grid { grid-template-columns: 1fr; gap: 40px; } }

.m-stat { position: relative; }
.m-stat:not(:last-child)::after {
    content: ''; position: absolute; right: -40px; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,0.1);
}
@media (max-width: 768px) { .m-stat::after { display: none; } }

.m-value { font-family: 'Plus Jakarta Sans'; font-size: 4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 12px; }
.m-label { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }

/* =========================================
   REVIEWS & TESTIMONIALS
   ========================================= */
/* =========================================
   REVIEWS (Infinite Marquee)
   ========================================= */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    gap: 24px;
    padding: 60px 0;
}

/* Gradient masks for smooth fading on edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 24px;
    animation: scrollMarquee 40s linear infinite;
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 24px)); } /* -100% of its own width minus 1 gap */
}

.review-card {
    background: var(--bg-elevated); padding: 40px; border-radius: 32px; /* Very circular format */
    border: 1px solid rgba(255,255,255,0.03); display: flex; flex-direction: column; gap: 24px;
    width: 450px; /* fixed width for marquee items */
    flex-shrink: 0;
    box-shadow: inset 0 1px 0px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.4s var(--ease-expert), border-color 0.4s var(--ease-expert), box-shadow 0.4s var(--ease-expert);
}
.review-card:hover { 
    transform: translateY(-8px) scale(1.03); 
    border-color: rgba(255,255,255,0.15); 
    box-shadow: inset 0 1px 0px rgba(255,255,255,0.2), 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(79, 70, 229, 0.15);
}

.review-meta { display: flex; align-items: center; gap: 16px; }
.brand-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-indigo); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; font-family: 'Plus Jakarta Sans'; }
.review-meta h4 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.muted-tag { font-size: 0.85rem; color: var(--text-secondary); }
.review-text { font-size: 1.125rem; line-height: 1.6; color: var(--text-primary); font-style: italic; }
.review-rating { color: #ebac00; font-size: 1.25rem; display: flex; gap: 4px; }

/* Social Icons Hover */
.text-secondary { color: var(--text-secondary); }
.hover-white:hover { color: var(--text-primary); }

/* =========================================
   GOOGLE FLOW AI PRICING UI 
   ========================================= */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.pricing-grid-4 { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 1000px; margin: 0 auto; }

.price-card {
    position: relative;
    background: var(--bg-surface);
    padding: 32px 48px; 
    border-radius: 16px;
    display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px;
    /* Create a pseudo-padding clip for the glowing border */
    background-clip: padding-box;
    border: 2px solid transparent; 
    transition: transform 0.4s var(--ease-expert);
}

@media (max-width: 1024px) { 
    .price-card { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; }
}

/* The Animated Google Flow Border */
.price-card::before {
    content: ''; position: absolute; inset: -2px;
    border-radius: 22px; pointer-events: none; z-index: -1;
    background: conic-gradient(from var(--angle), transparent 30%, var(--accent-indigo) 85%, #00d2ff 100%);
    animation: spinGradient 4s linear infinite;
    opacity: 0.3; transition: opacity 0.5s var(--ease-expert);
}

@keyframes spinGradient { to { --angle: 360deg; } }
.price-card:hover { transform: translateY(-8px); }
.price-card:hover::before { opacity: 0.8; }

/* Popular Override */
.price-card.popular {
    transform: scale(1.05);
    background: linear-gradient(180deg, #111115 0%, #09090b 100%);
}
.price-card.popular:hover { transform: scale(1.05) translateY(-8px); }

.price-card.popular::before {
    background: conic-gradient(from var(--angle), transparent 20%, #8b5cf6 70%, var(--accent-indigo) 100%);
    opacity: 0.7; animation-duration: 3s;
}

.popular-indicator {
    display: inline-block; padding: 4px 12px;
    background: linear-gradient(90deg, var(--accent-indigo), #8b5cf6);
    color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    border-radius: 4px; margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.price-header { width: 220px; flex-shrink: 0; }
.price-header h3 { font-size: 1.25rem; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 4px; display: flex; align-items: flex-start; }
.price span { font-size: 1.125rem; font-weight: 600; margin-top: 8px; color: var(--text-tertiary); }
.price-timeline { color: var(--text-secondary); margin-bottom: 0; font-size: 0.95rem; }

.price-features { list-style: none; margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; flex-grow: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.95rem; color: var(--text-primary); min-width: 140px;}
.price-features i { font-size: 1.125rem; color: var(--text-secondary); margin-top: 2px;}
.popular .price-features i { color: var(--accent-indigo); }
.price-card .btn { width: 160px; flex-shrink: 0; }
@media (max-width: 1024px) { .price-card .btn { width: 100%; } }

/* =========================================
   FINAL CTA
   ========================================= */
.huge-title { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto;}
.cta-subtitle { font-size: 1.25rem; color: var(--text-secondary); }

/* =========================================
   FOOTER
   ========================================= */
footer { padding: 80px 0 40px; }
.footer-layout { display: flex; justify-content: space-between; margin-bottom: 80px; flex-wrap: wrap; gap: 40px; }
.footer-brand .logo { font-size: 1.5rem; margin-bottom: 16px; }
.footer-brand .brand-tag { color: var(--text-secondary); font-size: 0.9rem; max-width: 200px; line-height: 1.5;}
.footer-links { display: flex; gap: 40px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: var(--transition-standard); cursor: none;}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 32px; color: var(--text-tertiary); font-size: 0.8rem; }
