/* =========================================================================
   GrownK - Professional Storytelling Agency
   Style System - V8 Dark Glassmorphism
   ========================================================================= */

:root {
    /* V8 Dark Glassmorphism Theme */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-elevated: rgba(255, 255, 255, 0.05);
    
    --text-main: #f0f0f5;
    --text-muted: #8a8a9a;
    --text-dim: #555566;
    
    --accent-primary: #cfa85e; /* Brand gold */
    --accent-gold: #cfa85e;
    --accent-teal: #00d4aa; /* Secondary neon accent */
    --accent-electric: #00f3ff; /* Electric blue accent */
    --accent-teal-glow: rgba(0, 212, 170, 0.15);
    --accent-gold-glow: rgba(207, 168, 94, 0.15);
    --accent-electric-glow: rgba(0, 243, 255, 0.15);
    
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --gradient-primary: linear-gradient(135deg, #cfa85e, #e8c97a);
    --gradient-teal: linear-gradient(135deg, #00d4aa, #00e6b8);
    --glow-teal: 0 0 30px rgba(0, 212, 170, 0.2), 0 0 60px rgba(0, 212, 170, 0.1);
    --glow-gold: 0 0 30px rgba(207, 168, 94, 0.2), 0 0 60px rgba(207, 168, 94, 0.1);
    --glow-electric: 0 0 30px rgba(0, 243, 255, 0.2), 0 0 60px rgba(0, 243, 255, 0.1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    transition: opacity 0.6s ease;
}

/* Page Load Fade-In */
body.loading { opacity: 0; }

/* =========================================================================
   Preloader
   ========================================================================= */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-inner { text-align: center; }
.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 1px;
}
.preloader-logo em {
    color: var(--accent-gold);
    font-style: normal;
}
.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.08);
    margin: 20px auto 0;
    border-radius: 2px;
    overflow: hidden;
}
.preloader-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-teal);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

/* Scroll Offset for Anchor Links */
section[id] { scroll-margin-top: 100px; }


/* =========================================================================
   Chapter Transition Dividers
   ========================================================================= */
.chapter-divider {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.chapter-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-gold);
    letter-spacing: 2px;
    white-space: nowrap;
    opacity: 0.7;
}
.chapter-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
    opacity: 0.3;
}

/* =========================================================================
   Typography & Utilities
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}
h4 { font-style: italic; font-weight: 500; font-size: 1.8rem; }
p { color: var(--text-muted); font-size: 1.05rem; }
a { text-decoration: none; color: var(--text-main); transition: var(--transition-fast); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 100px 0; }

.accent-text {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    font-style: normal;
    padding-right: 5px;
    font-weight: 500;
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.editorial-heading { font-family: var(--font-heading); font-size: clamp(3.5rem, 6vw, 5.5rem); max-width: 850px; margin-bottom: 2rem; color: var(--text-main); text-transform: uppercase; line-height: 1.1; letter-spacing: 2px; }
.editorial-text { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 700px; font-weight: 300; line-height: 1.8; color: var(--text-muted); }
.story-block { max-width: 850px; position: relative; z-index: 5; }
.align-center .story-block { margin: 0 auto; text-align: center; }
.align-center .editorial-text, .align-center .editorial-heading { margin-left: auto; margin-right: auto; }


/* =========================================================================
   Glassmorphism Base Classes
   ========================================================================= */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.glass-panel:hover {
    border-color: var(--glass-border-hover);
}

/* Mouse spotlight effect wrapper */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(0, 212, 170, 0.04), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
    pointer-events: none;
}
.glass-panel:hover::before { opacity: 1; }
.glass-panel > * { position: relative; z-index: 1; }


/* =========================================================================
   Buttons & Links
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    border-radius: 8px;
}
.btn-large { padding: 22px 44px; }

.btn-primary {
    background: var(--accent-teal);
    color: var(--bg-dark);
    border: 1px solid var(--accent-teal);
}
.btn-primary:hover {
    background: transparent;
    color: var(--accent-teal);
    box-shadow: var(--glow-teal);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 16px 0;
    position: relative;
}
.btn-text::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 0; width: 0%; height: 1px;
    background: var(--accent-teal);
    transition: var(--transition-fast);
}
.btn-text:hover { color: var(--text-main); }
.btn-text:hover::after { width: 100%; }

.bounce-arrow { display: inline-flex; animation: bounce-down 2.5s ease-in-out infinite; color: var(--accent-teal); }
@keyframes bounce-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* =========================================================================
   Navigation
   ========================================================================= */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 35px 0; z-index: 1000; transition: var(--transition-fast); }
.navbar.scrolled {
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 500; letter-spacing: 2px; color: var(--text-main); text-transform: uppercase; }
.logo span { color: var(--accent-teal); font-style: normal; }

.nav-links { display: flex; gap: 40px; }
.nav-links a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: var(--text-main); }
.nav-links a.active { color: var(--accent-teal); position: relative; }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; width: 100%; height: 1px;
    background: var(--accent-teal);
    box-shadow: 0 0 8px rgba(0, 212, 170, 0.4);
}

.nav-cta {
    background: transparent;
    color: var(--accent-teal);
    font-size: 0.75rem;
    padding: 14px 28px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--accent-teal);
    border-radius: 6px;
    transition: var(--transition-fast);
}
.nav-cta:hover {
    background: var(--accent-teal);
    color: var(--bg-dark);
    box-shadow: var(--glow-teal);
}

/* Hamburger Button */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; z-index: 1100; }
.hamburger-line { display: block; width: 100%; height: 1px; background: var(--text-main); position: absolute; left: 0; transition: var(--transition-fast); }
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-line:nth-child(3) { bottom: 0; }
.mobile-menu-btn.active .hamburger-line:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.mobile-menu-btn.active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active .hamburger-line:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Overlay Menu */
.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition-fast);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-link { display: block; font-family: var(--font-heading); font-size: 3.5rem; text-transform: uppercase; margin-bottom: 2rem; color: var(--text-muted); }
.mobile-link:hover { color: var(--text-main); }
.mobile-cta { margin-top: 2rem; }

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; position: relative; overflow: hidden; }
.hero-content { padding-left: 5%; padding-right: 5%; padding-top: 80px; position: relative; z-index: 2; }
.hero-title { font-family: var(--font-heading); font-size: clamp(4rem, 8vw, 7.5rem); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; line-height: 0.95; color: var(--text-main); }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 550px; margin-bottom: 3.5rem; font-weight: 400; line-height: 1.6; color: var(--text-muted); }
.hero-ctas { display: flex; gap: 40px; align-items: center; }

/* Ambient Orb */
.hero-orb {
    position: absolute;
    top: -10%; left: -5%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, rgba(207, 168, 94, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: float-orb 25s infinite alternate ease-in-out;
}
@keyframes float-orb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.1); }
}

/* =========================================================================
   Tech Dashboard Hero Visual: The Growth Sequence
   ========================================================================= */
.hero-growth-sequence {
    position: relative;
    width: 100%;
    height: 600px;
    z-index: 5;
    perspective: 1200px;
    overflow: hidden;
}

.mockup-card {
    position: absolute;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
    padding: 20px;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0; /* GSAP will animate this in */
}

.mockup-glow {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.mockup-badge {
    position: absolute;
    bottom: -15px; right: -15px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    font-size: 0.8rem; font-weight: 500;
    padding: 6px 12px; border-radius: 20px;
    display: flex; align-items: center; gap: 6px;
    transform: translateZ(40px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    opacity: 0; /* GSAP will animate this in */
}

/* Base Card Positioning */
.mockup-ig {
    top: 12%; left: 2%;
    width: 220px;
    transform: rotateY(12deg) rotateX(5deg) translateZ(30px);
    z-index: 3;
}
.mockup-web {
    top: 3%; left: 45%;
    width: 320px;
    transform: translateX(-50%) rotateY(0deg) translateZ(0px);
    z-index: 2;
}
.mockup-fb {
    top: 38%; right: 2%;
    width: 240px;
    transform: rotateY(-12deg) rotateX(-3deg) translateZ(60px);
    z-index: 4;
}

/* Hover effects */
.mockup-card:hover { border-color: rgba(255,255,255,0.2); z-index: 10; }
.mockup-ig:hover { transform: rotateY(0) rotateX(0) translateZ(80px); }
.mockup-web:hover { transform: translateX(-50%) rotateY(0) translateZ(80px) scale(1.03); }
.mockup-fb:hover { transform: rotateY(0) rotateX(0) translateZ(100px); }

/* Animated Chart Background */
.hero-chart-bg {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 120%;
    height: 60%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    transform: translateX(-10%);
}
.hero-chart-bg svg {
    width: 100%;
    height: 100%;
}
.hero-grid-line {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}
.hero-trend-line {
    fill: none;
    stroke: url(#heroChartGrad);
    stroke-width: 4;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: trendDraw 4s ease-out forwards;
}
@keyframes trendDraw {
    to { stroke-dashoffset: 0; }
}

/* Floating Social Icons */
.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 5;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    pointer-events: none;
}
.icon-fb {
    top: 5%;
    left: 10%;
    color: #1877F2;
    animation: floatIcon 6s ease-in-out infinite;
}
.icon-ig {
    top: 45%;
    left: 35%;
    color: #E1306C;
    animation: floatIcon 8s ease-in-out infinite 1s;
}
.icon-tiktok {
    top: 15%;
    right: 15%;
    color: #00F3FF;
    animation: floatIcon 7s ease-in-out infinite 2s;
    text-shadow: 2px 2px 0 #FF0050;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
/* IG Styles */
.ig-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.ig-avatar { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); padding: 2px; }
.ig-avatar::after { content:''; display:block; width:100%; height:100%; background:var(--bg-dark); border-radius:50%; }
.ig-stats { display: flex; gap: 15px; }
.ig-stat { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.ig-stat span:first-child { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-main); }
.ig-stat span:last-child { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-post { background: rgba(255,255,255,0.05); aspect-ratio: 1; border-radius: 4px; }
.ig-post.delay-pop-1, .ig-post.delay-pop-2, .ig-post.delay-pop-3 { opacity: 0; transform: scale(0.8); }

/* Web Styles */
.web-header { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; margin-bottom: 15px; }
.mac-dots { display: flex; gap: 6px; }
.mac-dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }
.web-url { flex-grow:1; text-align: center; background: rgba(0,0,0,0.5); border-radius: 4px; padding: 4px; font-size: 0.7rem; color: var(--text-muted); }

.web-body { position: relative; height: 180px; background: rgba(0,0,0,0.3); border-radius: 8px; overflow: hidden; padding: 15px; }
.code-layer { display: flex; flex-direction: column; gap: 8px; position: absolute; top:0; left:0; width:100%; height:100%; padding:15px; opacity: 1; }
.code-line { height: 6px; background: rgba(0, 243, 255, 0.2); border-radius: 3px; }
.code-line.w-70 { width: 70%; } .code-line.w-90 { width: 90%; } .code-line.w-50 { width: 50%; } .code-line.w-80 { width: 80%; } .code-line.w-40 { width: 40%; }
.code-line.indent { margin-left: 20px; background: rgba(0, 212, 170, 0.2); }
.ui-layer { position: absolute; top:0; left:0; width:100%; height:100%; padding: 15px; background: var(--bg-card); opacity: 0; display: flex; flex-direction: column; gap:15px; transform: scale(1.05); }
.ui-nav { height: 10px; width: 100%; background: rgba(255,255,255,0.1); border-radius: 2px; }
.ui-hero-text { height: 30px; width: 80%; background: rgba(255,255,255,0.2); border-radius: 4px; margin: 0 auto; }
.ui-hero-btn { height: 20px; width: 40%; background: var(--accent-electric); border-radius: 4px; margin: 0 auto; }

/* FB Styles */
.fb-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fb-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.fb-user-info { display: flex; flex-direction: column; gap:4px; }
.fb-name { height: 6px; width: 60px; background: rgba(255,255,255,0.3); border-radius: 3px; }
.fb-time { height: 4px; width: 40px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.fb-text { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 6px; }
.fb-image { height: 100px; background: rgba(255,255,255,0.03); border-radius: 6px; margin-top: 10px; margin-bottom: 15px; }
.fb-stats { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; font-size: 0.8rem; color: var(--text-main); }
.fb-likes, .fb-reach { display: flex; align-items: center; gap: 6px; }
@keyframes notifPop { 100% { opacity: 1; transform: translateZ(50px) scale(1); } }
.notif-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 212, 170, 0.15); display: flex; align-items: center; justify-content: center; color: var(--accent-teal); font-size: 1.2rem; }
.notif-text strong { display: block; font-size: 0.9rem; color: var(--text-main); line-height: 1.2; margin-bottom: 2px; }
.notif-text span { font-size: 0.75rem; color: var(--text-muted); }

/* People Growing Animation */
.people-growth {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10;
}
.person-node {
    position: absolute;
    width: 45px; height: 45px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-teal);
    font-size: 1.4rem;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
    opacity: 0;
    transform: scale(0);
    /* GSAP handles entry; floatNode runs after */
}
@keyframes popNode {
    to { opacity: 1; transform: scale(1); }
}
@keyframes floatNode {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(-10px) scale(1.05); }
}
.node-1 { top: 20%; left: 10%; }
.node-2 { top: 75%; left: 8%; width: 35px; height: 35px; font-size: 1.1rem; }
.node-3 { top: 85%; left: 35%; }
.node-4 { top: 15%; right: 15%; }
.node-5 { top: 60%; right: 5%; width: 40px; height: 40px; font-size: 1.2rem; }
.node-6 { top: 90%; right: 25%; width: 30px; height: 30px; font-size: 1rem; }
.node-7 { top: 40%; right: -5%; width: 55px; height: 55px; font-size: 1.8rem; border-color: rgba(207, 168, 94, 0.4); color: var(--accent-gold); box-shadow: 0 0 20px rgba(207, 168, 94, 0.2); }

/* =========================================================================
   Section Background Utilities (Abstract Grids)
   ========================================================================= */
.section-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
    overflow: hidden;
}

.section-bg-image {
    width: 100%; height: 100%;
    opacity: 0.8;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 170, 0.03) 0%, transparent 60%),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-position: center;
}

.conflict-bg .section-bg-image {
    background: 
        radial-gradient(circle at 10% 90%, rgba(207, 168, 94, 0.04) 0%, transparent 50%),
        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: 100% 100%, 30px 30px, 30px 30px;
}

/* Journey section readability */
.journey-bg .section-bg-image { 
    background-size: 100% 100%, 60px 60px, 60px 60px;
}
.journey-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, var(--bg-dark), transparent 20%, transparent 80%, var(--bg-dark));
    z-index: 0;
}

/* =========================================================================
   Conflict & Guide Sections
   ========================================================================= */
.conflict { position: relative; overflow: hidden; }
.conflict .container { position: relative; z-index: 2; }
.guide { position: relative; overflow: hidden; }
.guide .container { position: relative; z-index: 5; }
.guide::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0, 212, 170, 0.03) 0%, transparent 70%);
    z-index: 1;
}
.conflict-accent { font-family: var(--font-heading); font-size: 10rem; line-height: 0.8; color: rgba(207, 168, 94, 0.1); margin-bottom: -4rem; margin-left: -1rem; user-select: none; }
.divider-line { width: 80px; height: 1px; background: var(--accent-gold); margin-top: 3rem; opacity: 0.5; }

/* =========================================================================
   Stats Bar
   ========================================================================= */
.stats-bar {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-elevated);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-main);
    line-height: 1;
}
.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-teal);
    font-style: italic;
}
.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================================================
   Service Stack Cart (Solutions)
   ========================================================================= */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media(max-width: 992px) {
    .cart-layout { grid-template-columns: 1fr; gap: 40px; }
}

.cart-copy { padding-right: 20px; }
.cart-services-list { list-style: none; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cart-services-list li { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--text-main); }
.text-teal { color: var(--accent-teal); }

.cart-visual {
    position: relative;
    perspective: 1000px;
}

.glass-cart {
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s;
}
.glass-cart:hover { transform: rotateY(0) rotateX(0); }

.cart-header { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 20px; margin-bottom: 20px; font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: 1px; color: var(--text-main); text-transform: uppercase; }
.cart-icon { color: var(--accent-teal); font-size: 2rem; }

.cart-items { display: flex; flex-direction: column; gap: 12px; min-height: 400px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition-fast);
    /* For GSAP initial state */
    opacity: 0;
    transform: translateX(40px);
}
.cart-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 170, 0.3);
    box-shadow: var(--glow-teal);
}

.item-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(0, 212, 170, 0.1); color: var(--accent-teal); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.item-details { flex-grow: 1; display: flex; flex-direction: column; gap: 3px; }
.item-details strong { font-size: 1.05rem; color: var(--text-main); font-weight: 500; }
.item-details span { font-size: 0.8rem; color: var(--text-muted); }

.item-check { width: 24px; height: 24px; color: var(--accent-teal); }
.check-svg { width: 100%; height: 100%; stroke-dasharray: 24; stroke-dashoffset: 24; }
.cart-item.scrolled-in .check-svg { animation: drawCheck 0.5s 0.3s forwards ease-out; }

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.cart-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: flex-end; }
.cart-total-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.cart-total-val { font-family: var(--font-heading); font-size: 2.2rem; color: var(--text-main); line-height: 1; }
.cart-total-val span { font-size: 1rem; color: var(--accent-teal); font-family: var(--font-body); letter-spacing: 1px; text-transform: uppercase; display: inline-block; margin-left: 8px; }

.h-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.h-card h3 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.h-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.h-pricing-note {
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}
.h-card-dark .h-pricing-note {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.h-price-tag {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-style: italic;
}
.h-price-tag strong {
    font-size: 1.8rem;
    color: var(--text-main);
    font-style: normal;
}
.h-card-dark .h-price-tag strong {
    color: var(--text-main);
}

.h-card-img {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 90%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    border-radius: 12px;
    opacity: 0.6;
}

/* Specialties Tags */
.specialties-section { padding-top: 6rem; border-top: 1px solid var(--glass-border); }
.subsection-title { font-size: 2rem; font-style: italic; margin-bottom: 1rem; color: var(--text-main); }
.subsection-desc { color: var(--text-muted); font-size: 1.1rem; }
.tag-grid { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 2rem; }
.service-tag {
    padding: 14px 24px;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.service-tag i { color: var(--accent-teal); font-size: 1.2rem; transition: all 0.4s; }
.service-tag:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: var(--bg-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--glow-teal);
}
.service-tag:hover i { color: var(--bg-dark); }

/* =========================================================================
   Sticky Scroll Methodology (Journey)
   ========================================================================= */
.sticky-journey { padding: 0; position: relative; overflow: hidden; }
.journey-wrapper {
    display: flex;
    position: relative;
    z-index: 2;
    max-width: 1400px; margin: 0 auto;
    border-top: 1px solid var(--glass-border);
}

.journey-left {
    width: 40%;
    padding: 160px 5%;
    border-right: 1px solid var(--glass-border);
}

.sticky-content {
    position: sticky;
    top: 160px;
}

.journey-right { width: 60%; padding: 160px 8%; display: flex; flex-direction: column; gap: 150px; }

.timeline-step { display: flex; gap: 40px; }
.step-number { font-family: var(--font-heading); font-size: 4rem; color: rgba(255,255,255,0.06); line-height: 0.8; transition: color 0.4s; }
.reveal.visible .step-number { color: var(--accent-gold); }

.step-content h4 { font-size: 2rem; margin-bottom: 1rem; color: var(--text-main); }
.step-content p { font-size: 1.1rem; color: var(--text-muted); }

/* =========================================================================
   Impact (Case Studies) - Glass Bento
   ========================================================================= */
.case-study-grid { display: flex; flex-direction: column; gap: 30px; }
.case-card { display: grid; grid-template-columns: 1fr 2fr; gap: 0; padding: 0; border-radius: 12px; }
.case-metric { padding: 60px; border-right: 1px solid var(--glass-border); display: flex; flex-direction: column; justify-content: center; }
.case-story { padding: 60px; }
.case-story p { color: var(--text-muted); }
.case-story strong { color: var(--text-main); }

.metric-value { font-family: var(--font-heading); font-size: 5rem; color: var(--text-main); line-height: 1; }
.metric-suffix { font-family: var(--font-heading); font-size: 2.5rem; color: var(--accent-gold); font-style: italic; }
.metric-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent-teal); margin-top: 1rem; }

/* =========================================================================
   Resolution (Contact Form)
   ========================================================================= */
.resolution { padding: 160px 0; border-top: 1px solid var(--glass-border); position: relative; }
.resolution::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 500px; background: radial-gradient(circle at 50% 100%, rgba(0, 212, 170, 0.06), transparent 70%); z-index: -1; }
.resolution .editorial-heading { text-align: center; margin: 0 auto 2rem; color: var(--text-main); }
.resolution .editorial-text { text-align: center; margin: 0 auto 4rem; }

.contact-form { max-width: 800px; margin: 0 auto; padding: 50px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 20px; background: rgba(255, 255, 255, 0.03);
    border: none; border-bottom: 1px solid var(--glass-border);
    color: var(--text-main); font-family: var(--font-body); font-size: 1rem; transition: var(--transition-fast); outline: none;
    border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--accent-teal); background: rgba(255, 255, 255, 0.05); }
.contact-form textarea { resize: vertical; margin-bottom: 40px; min-height: 150px; }

.contact-form .form-submit {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Resolution Layout */
.resolution .container { position: relative; z-index: 10; }
.resolution-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    margin-top: 60px;
}
.resolution-text .editorial-heading { margin-bottom: 30px; text-align: left; }
.resolution-text .editorial-text { margin-bottom: 50px; color: var(--text-muted); text-align: left; }

.contact-info-list {
    display: flex; flex-direction: column; gap: 20px;
    border-top: 1px solid var(--glass-border); padding-top: 30px;
}
.contact-info-item { display: flex; flex-direction: column; gap: 5px; }
.info-label { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; color: var(--text-muted); }
.info-value { font-size: 1.5rem; font-family: var(--font-heading); color: var(--accent-teal); font-style: italic; }

/* Form Success Toast */
.form-success-toast {
    position: fixed;
    bottom: 40px; right: 40px;
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    color: var(--text-main);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glow-teal);
    font-family: var(--font-body);
    font-size: 0.95rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}
.form-success-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { border-top: 1px solid var(--glass-border); padding: 100px 0 40px; background: rgba(5, 5, 8, 0.8); color: var(--text-main); }
.site-footer .logo { color: var(--text-main); }
.site-footer .footer-mission { color: var(--text-muted); margin-top: 1rem; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 80px; flex-wrap: wrap; gap: 60px; }
.footer-brand { max-width: 350px; }
.footer-contact p { color: var(--accent-teal); font-size: 1.2rem; font-family: var(--font-heading); font-style: italic; margin-top: 1.5rem; }

.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; }
.footer-nav a { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent-teal); }

.footer-bottom { display: flex; justify-content: space-between; padding-top: 40px; border-top: 1px solid var(--glass-border); font-size: 0.85rem; color: var(--text-dim); }
.social-text-links { display: flex; gap: 40px; }
.social-text-links a { text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; color: var(--text-dim); }
.social-text-links a:hover { color: var(--accent-teal); }

/* Form Group */
.form-group {
    margin-bottom: 30px;
    position: relative;
}
.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dim);
    font-weight: 300;
}

/* =========================================================================
   FAQ Section
   ========================================================================= */
.faq-section { border-top: 1px solid var(--glass-border); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--glass-border);
}
.faq-question {
    width: 100%; padding: 28px 0;
    background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-main);
    text-align: left;
    transition: color 0.3s;
}
.faq-question:hover { color: var(--accent-teal); }
.faq-icon {
    font-size: 1.2rem;
    color: var(--accent-teal);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1), padding 0.5s;
    padding: 0 0;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 28px;
}
.faq-answer p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =========================================================================
   Animations & Reveal
   ========================================================================= */
.reveal { opacity: 1; transform: none; transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* =========================================================================
   GSAP Custom Animations & Progress
   ========================================================================= */
.reading-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%; height: 3px;
    background: var(--gradient-teal);
    z-index: 9999;
    transform-origin: left;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

/* Text Mask Reveal Utilities */
.line-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 5px;
}
.line-mask .mask-text {
    display: inline-block;
    transform: translateY(110%);
    animation: mask-text-fallback 1s ease-out 0.5s forwards;
}
.line-mask .mask-text:nth-child(1) { animation-delay: 0.5s; }

.gsap-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up-fallback 1s ease-out 1.2s forwards;
}
.gs-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* CSS Fallback Animations */
@keyframes mask-text-fallback {
    to { transform: translateY(0); }
}
@keyframes fade-up-fallback {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 1024px) {
    .journey-wrapper { flex-direction: column; }
    .journey-left { width: 100%; padding: 80px 5% 40px; border-right: none; border-bottom: 1px solid var(--glass-border); }
    .sticky-content { position: relative; top: 0; }
    .journey-right { width: 100%; padding: 80px 5%; gap: 80px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .section-padding { padding: 70px 0; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-heroic-visual { height: 50vh; }
    .hero-title { font-size: 2.8rem; }
    .editorial-heading { font-size: 2rem; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-number { font-size: 2.5rem; }
    
    /* Stack horizontal scroll on mobile */
    .h-scroll-section { overflow: visible; }
    .h-scroll-container { display: flex; flex-direction: column; width: 100%; }
    .h-card { width: 100%; height: auto; min-height: auto; padding: 20px 0; }
    .h-card-inner { width: 100%; padding: 30px; }
    .h-card-img { display: none; }
    
    .case-card { grid-template-columns: 1fr; }
    .case-metric { padding: 40px; border-right: none; border-bottom: 1px solid var(--glass-border); }
    .case-story { padding: 40px; }
    
    .resolution-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-form { padding: 30px 20px; }

    .section-bg-image { background-attachment: scroll; }
    .hero-ctas { flex-direction: column; gap: 20px; align-items: flex-start; }
    .chapter-divider { padding: 30px 5%; }
    .chapter-number { font-size: 0.75rem; }
    .timeline-step { flex-direction: column; gap: 15px; }
    .step-number { font-size: 2.5rem; }
    .step-content h4 { font-size: 1.5rem; }
    .conflict-accent { font-size: 5rem; margin-bottom: -2rem; }
    .tag-grid { gap: 10px; }
    .service-tag { padding: 10px 16px; font-size: 0.8rem; }
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .social-text-links { justify-content: center; }
}

@media (max-width: 480px) {
    .section-padding { padding: 60px 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .editorial-heading { font-size: 1.8rem; }
    .contact-form { padding: 30px; }
    .step-number { font-size: 2rem; }
    .metric-value { font-size: 3rem; }
    .metric-suffix { font-size: 1.5rem; }
    .btn-large { padding: 16px 32px; font-size: 0.85rem; }
}

/* =========================================================================
   Modular Service Cards (Chapter IV)
   ========================================================================= */

/* Section header */
.svc-header { text-align: center; margin-bottom: 4rem; }
.svc-subhead { max-width: 680px; margin: 1rem auto 0; }

/* 3 Column Grid for Core Services */
.svc-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 3rem;
}

/* Individual Card */
.svc-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}
.svc-card:hover {
    border-color: rgba(0, 212, 170, 0.35);
    box-shadow: 0 0 40px rgba(0, 212, 170, 0.08);
    transform: translateY(-4px);
}
/* Featured card (Total Management) */
.svc-card-featured {
    border-color: rgba(207, 168, 94, 0.25);
    background: rgba(207, 168, 94, 0.04);
}
.svc-card-featured:hover {
    border-color: rgba(207, 168, 94, 0.55);
    box-shadow: 0 0 50px rgba(207, 168, 94, 0.12);
}

/* Selected state */
.svc-card.svc-selected {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.3), 0 20px 40px rgba(0, 212, 170, 0.1) !important;
}
.svc-card.svc-selected-electric { border-color: var(--accent-electric) !important; box-shadow: 0 0 0 2px rgba(0, 243, 255, 0.3) !important; }
.svc-card.svc-selected-gold     { border-color: var(--accent-gold) !important;     box-shadow: 0 0 0 2px rgba(207, 168, 94, 0.4) !important; }

/* Badge (top-right chip) */
.svc-card-badge {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent-teal);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 20px;
    font-size: 0.65rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    padding: 4px 12px;
    text-transform: uppercase;
}
.svc-badge-electric { background: rgba(0,243,255,0.1); color: var(--accent-electric); border-color: rgba(0,243,255,0.25); }
.svc-badge-gold     { background: rgba(207,168,94,0.12); color: var(--accent-gold); border-color: rgba(207,168,94,0.3); }

/* Icon */
.svc-card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.svc-icon-electric { background: rgba(0,243,255,0.1); color: var(--accent-electric); }
.svc-icon-gold     { background: rgba(207,168,94,0.12); color: var(--accent-gold); }

/* Card text */
.svc-card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 0;
    letter-spacing: 0.5px;
}
.svc-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.svc-card-body { display: flex; flex-direction: column; gap: 0.8rem; flex: 1; }

/* Feature list */
.svc-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}
.svc-card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.svc-card-features li i { color: var(--accent-teal); font-size: 0.8rem; flex-shrink: 0; }
.svc-card-features li i.svc-plus { color: var(--accent-gold); }

/* Pricing */
.svc-card-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.svc-price-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-dim); }
.svc-price-val {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--accent-teal);
    line-height: 1.1;
}
.svc-price-electric { color: var(--accent-electric); }
.svc-price-gold     { color: var(--accent-gold); }

/* Add to Stack button */
.svc-add-btn {
    position: absolute;
    bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 170, 0.4);
    background: transparent;
    color: var(--accent-teal);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.svc-add-btn:hover { background: var(--accent-teal); color: #000; border-color: var(--accent-teal); }

.svc-add-electric { border-color: rgba(0,243,255,0.4); color: var(--accent-electric); }
.svc-add-electric:hover { background: var(--accent-electric); color: #000; border-color: var(--accent-electric); }

.svc-add-gold { border-color: rgba(207,168,94,0.4); color: var(--accent-gold); }
.svc-add-gold:hover { background: var(--accent-gold); color: #000; border-color: var(--accent-gold); }

/* When selected – button morphs to "Remove" */
.svc-card.svc-selected .svc-add-btn,
.svc-card.svc-selected-electric .svc-add-btn,
.svc-card.svc-selected-gold .svc-add-btn {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border-color: rgba(255,255,255,0.12);
}
.svc-card.svc-selected .svc-btn-text::before { content: "Remove — "; font-size: 0.75rem; opacity: 0.7; }

/* "Added" corner overlay */
.svc-selected-overlay {
    position: absolute;
    top: 1.2rem; left: 1.2rem;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-teal);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    padding: 4px 12px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.svc-overlay-electric { background: rgba(0,243,255,0.12); color: var(--accent-electric); border-color: rgba(0,243,255,0.3); }
.svc-overlay-gold     { background: rgba(207,168,94,0.12); color: var(--accent-gold);     border-color: rgba(207,168,94,0.3); }

.svc-card.svc-selected .svc-selected-overlay,
.svc-card.svc-selected-electric .svc-selected-overlay,
.svc-card.svc-selected-gold .svc-selected-overlay {
    opacity: 1;
    transform: scale(1);
}

/* ── Floating Stack Bar ── */
.svc-stack-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 150%);
    opacity: 0;
    pointer-events: none;
    width: min(860px, 92vw);
    background: rgba(10, 10, 20, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 20px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 900;
    box-shadow: 0 -4px 40px rgba(0, 212, 170, 0.15), 0 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.svc-stack-bar.svc-bar-visible { 
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.stack-bar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.stack-bar-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--text-main);
}
.stack-bar-items {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stack-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.stack-count {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--accent-teal);
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* Mobile: stack cards to 1 column */
@media (max-width: 768px) {
    .svc-cards-grid { grid-template-columns: 1fr; }
    .svc-stack-bar { 
        padding: 12px 14px; 
        gap: 12px;
        bottom: 16px;
        width: 95vw;
        border-radius: 16px;
        align-items: center;
    }
    .stack-bar-left { flex: 1; align-items: center; }
    .stack-bar-left i { display: none; }
    .stack-bar-items {
        font-size: 0.75rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 1.3;
    }
    .stack-bar-right {
        gap: 10px;
        flex-shrink: 0;
    }
    .stack-bar-right .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .stack-count {
        width: 32px; height: 32px; font-size: 1rem;
    }
}

/* =========================================================================
   Meet Our Experts
   ========================================================================= */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.expert-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.expert-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 170, 0.4);
}
.expert-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.expert-card:hover .expert-image {
    transform: scale(1.05);
}
.expert-info {
    padding: 24px;
    text-align: center;
    background: linear-gradient(to top, rgba(10,10,15,1), rgba(10,10,15,0.9));
}
.expert-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.expert-role {
    color: var(--accent-teal);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================================================
   Results Carousel (Impact Section)
   ========================================================================= */
.results-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}
.results-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    /* Optional cursor for dragging */
    cursor: grab;
}
.results-track:active {
    cursor: grabbing;
}
.case-card {
    flex: 0 0 auto;
    width: min(400px, 85vw);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    border-radius: 20px;
}
.case-metric {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}
.case-metric .metric-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-teal);
    line-height: 1;
}
.case-metric .metric-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
    margin-left: 5px;
}
.case-metric .metric-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 10px;
}
.case-story p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.case-story p:last-child { margin-bottom: 0; }
.case-story strong { color: var(--text-main); }

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}
.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    background: var(--accent-teal);
    color: #000;
    border-color: var(--accent-teal);
    transform: scale(1.1);
}
.carousel-btn:disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

/* =========================================================================
   Growth Metrics Chart
   ========================================================================= */
.growth-chart-section {
    padding: 60px 0 80px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}
.chart-wrapper {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 35px 40px 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(40px);
}
.chart-wrapper.chart-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.chart-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--accent-electric);
    display: block;
    margin-bottom: 6px;
}
.chart-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 0;
}
.chart-legend {
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 6px;
    vertical-align: middle;
}
.chart-body {
    display: flex;
    gap: 0;
    align-items: flex-end;
    position: relative;
    height: 220px;
}
.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-right: 12px;
    font-size: 0.7rem;
    color: var(--text-dim);
    text-align: right;
    width: 35px;
    flex-shrink: 0;
}
.chart-area {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-left: 1px solid rgba(255,255,255,0.08);
    padding: 0 10px;
}
.bar-group {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    flex: 1;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.bar-group::after {
    content: attr(data-month);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bar {
    width: 14px;
    border-radius: 3px 3px 0 0;
    height: 0; /* GSAP animates this */
    transition: none;
}
.bar-posts { background: var(--accent-teal); }
.bar-followers { background: var(--accent-electric); }
.bar-engagement { background: var(--accent-gold); }

/* SVG Line Overlay */
.chart-line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}
.chart-line {
    fill: none;
    stroke: rgba(255,255,255,0.5);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000; /* GSAP draws this */
}

/* Summary Cards */
.chart-summary {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.summary-card {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
}
.summary-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-electric);
    line-height: 1;
}
.summary-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-electric);
}
.summary-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* Hide chart on mobile */
@media (max-width: 768px) {
    .chart-summary { flex-direction: column; }
    .chart-wrapper { padding: 25px 20px; }
    .chart-body { height: 160px; }
    .bar { width: 10px; }
    .chart-header { flex-direction: column; }
}

/* =========================================================================
   Accessibility: Reduced Motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-orb { animation: none; }
    .preloader { display: none; }
    body.loading { opacity: 1; }
}

/* =========================================================================
   FAQ Section
   ========================================================================= */
.faq-section { position: relative; z-index: 5; }
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 212, 170, 0.3);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.faq-question i {
    font-size: 1.2rem;
    color: var(--accent-teal);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    max-height: 500px; /* arbitrary large enough height */
}

/* =========================================================================
   Hero Overflow & Right-Edge Mask (clean fade instead of hard clip)
   ========================================================================= */
.hero { overflow: hidden; }
.hero-growth-sequence {
    -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
    mask-image: linear-gradient(to right, black 55%, transparent 100%);
}

/* =========================================================================
   Footer Overhaul
   ========================================================================= */
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}
.footer-link:hover {
    color: var(--accent-teal);
    padding-left: 5px;
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .site-footer {
        padding-top: 40px !important;
    }
}

/* =========================================================================
   Enhanced Section Headers (Impact & Experts)
   ========================================================================= */
#impact .section-header,
#experts .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    line-height: 1;
    color: var(--text-main);
    font-weight: 400;
}

.section-subtitle {
    margin: 0 auto;
    max-width: 800px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-muted);
    line-height: 1.7;
}

/* =========================================================================
   Responsive Slide Carousel System
   ========================================================================= */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Added some padding to ensure box-shadows on cards aren't clipped */
    padding: 20px 0; 
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    /* Gap between cards is handled securely by JS width calculations, 
       but we can use gap: 2rem and calculate offset based on rect sizes. 
       Let's stick to using padding inside slides instead to make JS math simpler. */
}

.carousel-slide {
    flex-shrink: 0;
    /* Width will be set dynamically via JS based on breakpoints */
    opacity: 0.5; /* inactive state */
    transition: opacity 0.6s ease;
    padding: 0 15px; /* Spacing between cards */
}

.carousel-slide.active {
    opacity: 1;
}

/* Results carousel: case cards */
#resultsCarousel .case-card {
    width: 100%;
    margin: 0 auto;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 1.5rem;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(0, 212, 170, 0.3);
    border-color: var(--accent-teal);
}

.carousel-dot.active {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    box-shadow: 0 0 12px rgba(0, 212, 170, 0.5);
    transform: scale(1.2);
}

/* =========================================================================
   Expert Carousel Slides
   ========================================================================= */
.expert-slide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.expert-slide:hover {
    background: rgba(255, 255, 255, 0.04);
}

.expert-photo-frame {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 170, 0.1);
    position: relative;
}

.expert-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.expert-photo-frame:hover .expert-photo {
    transform: scale(1.05);
}

.expert-details {
    width: 100%;
    text-align: left;
    margin-top: 10px;
}

.expert-details .expert-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.expert-details .expert-role {
    color: var(--accent-teal);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.expert-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Expert CTA */
.experts-cta {
    text-align: center;
    margin-top: 3rem;
}

.experts-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================================
   Carousel Responsive
   ========================================================================= */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
        letter-spacing: 1px;
    }
    
    .carousel-wrapper {
        padding: 0 10px;
    }
    
    .carousel-slide {
        padding: 0 10px; /* smaller gap on mobile */
    }

    #resultsCarousel .case-card {
        padding: 20px;
    }
}
