/* ============================================
   UrgeEase Landing Page - Styles
   ============================================ */

/* CSS Variables */
:root {
    --color-background: #F6F4EF;
    --color-card-bg: #E8E4DE;
    --color-dark-bg: #1a1a1a;
    --color-accent: #E39B63;
    --color-accent-dark: #d08950;
    --color-sphere-blue: #4AADE4;
    --color-pillar-beige: #D4C5A9;
    --color-text-dark: #242323;
    --color-text-light: #FFFFFF;
    --color-text-muted: #666666;
    --color-cta-gradient-start: #0C0C0C;
    --color-cta-gradient-end: #1A1A1A;
    --color-gold: #E39B63;
    --color-gold-bright: #FFD700;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
    --spacing-xxl: 140px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 91px;

    --transition-base: 0.3s ease;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    overflow-x: hidden;
}

/* Visually hidden anchor targets for in-page links */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   Header (Updated)
   ============================================ */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transform: none !important;
    /* Remove transform to ensure fixed behavior works */
    z-index: 10000;
    width: calc(100% - var(--spacing-lg));
    max-width: 1100px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding-top: var(--spacing-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(246, 244, 239, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    font-size: 17px;
    color: var(--color-text-dark);
    text-decoration: none;
}

.nav-brand-outline {
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-dark);
    text-shadow: none;
}

@supports not (-webkit-text-stroke: 1px black) {
    .nav-brand-outline {
        color: var(--color-text-dark);
    }
}

.logo svg {
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    transition: all var(--transition-base);
}

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-1px);
}

.nav-btn {
    padding: 10px 20px;
}

/* Hamburger Menu */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: var(--transition-base);
}

.hamburger-menu:hover span {
    background-color: var(--color-accent);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   Hero Section (Updated with 3D Graphic)
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-background);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.08;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 480px;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wave Image Visualization (static fallback) */
.wave-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    animation: breathe 8s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(74, 173, 228, 0.15));
}

.wave-image-dark {
    filter: drop-shadow(0 10px 30px rgba(74, 173, 228, 0.25));
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

/* ============================================
   Hero Wave SVG Visualization
   ============================================ */
.hero-wave-viz {
    width: 400px;
    height: 250px;
    background: linear-gradient(135deg, rgba(246, 244, 239, 0.9) 0%, rgba(232, 228, 222, 0.8) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Large infinite wave variant */
.hero-wave-viz.infinite-wave {
    width: 100%;
    max-width: none;
    height: 450px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(246, 244, 239, 0.98) 0%, rgba(240, 238, 233, 0.95) 100%);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.hero-wave-viz.infinite-wave .wave-svg {
    width: 100%;
    height: 100%;
}

/* Axis labels for the wave visualization */
.wave-axes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.y-axis {
    position: absolute;
    left: 3%;
    top: 15%;
    bottom: 15%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.y-axis-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, 
        rgba(36, 35, 35, 0.15) 0%, 
        rgba(36, 35, 35, 0.08) 100%);
}

.y-ticks {
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.y-ticks .tick {
    font-size: 9px;
    font-weight: 500;
    color: rgba(36, 35, 35, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.axis-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(36, 35, 35, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.axis-label.y-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
}

.x-axis {
    position: absolute;
    bottom: 8%;
    left: 8%;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.x-axis-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(36, 35, 35, 0.08) 0%, 
        rgba(36, 35, 35, 0.15) 50%,
        rgba(36, 35, 35, 0.08) 100%);
}

.axis-label.x-label {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Urge story breathing animation - very subtle and meditative */
.urge-story {
    animation: storyBreathing 12s ease-in-out infinite;
}

.intensity-fill {
    animation: intensityPulse 15s ease-in-out infinite;
}

.presence-dot {
    filter: drop-shadow(0 0 10px rgba(227, 155, 99, 0.6));
}

@keyframes storyBreathing {

    0%,
    100% {
        stroke-width: 4;
        opacity: 0.95;
    }

    50% {
        stroke-width: 4.2;
        opacity: 1;
    }
}

@keyframes intensityPulse {

    0%,
    100% {
        opacity: 0.75;
    }

    50% {
        opacity: 0.85;
    }
}

.wave-svg {
    width: 100%;
    height: 100%;
}

.wave-path {
    animation: waveBreathing 6s ease-in-out infinite;
    transform-origin: center;
}

.wave-main {
    animation: waveFlow 8s ease-in-out infinite;
}

.wave-front {
    animation: waveFrontFlow 10s ease-in-out infinite;
}

.wave-bg {
    animation: waveBgFlow 12s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes waveBreathing {

    0%,
    100% {
        opacity: 0.85;
        stroke-width: 4;
    }

    50% {
        opacity: 1;
        stroke-width: 5;
    }
}

@keyframes waveFlow {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(-5px) translateY(3px);
    }

    50% {
        transform: translateX(0) translateY(-5px);
    }

    75% {
        transform: translateX(5px) translateY(2px);
    }
}

@keyframes waveFrontFlow {

    0%,
    100% {
        transform: translateX(0) translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(8px) translateY(-8px);
        opacity: 0.8;
    }
}

@keyframes waveBgFlow {

    0%,
    100% {
        transform: translateX(0) translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(-10px) translateY(5px);
        opacity: 0.6;
    }
}

.wave-dot {
    filter: drop-shadow(0 0 12px rgba(227, 155, 99, 0.7));
}

.wave-path {
    animation: waveBreathing 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes waveBreathing {

    0%,
    100% {
        opacity: 0.85;
        stroke-width: 4;
    }

    50% {
        opacity: 1;
        stroke-width: 5;
    }
}

.wave-dot {
    filter: drop-shadow(0 0 8px rgba(227, 155, 99, 0.6));
}

/* Responsive hero wave */
@media (max-width: 768px) {
    .hero-wave-viz {
        width: 300px;
        height: 190px;
    }
}

@media (max-width: 480px) {
    .hero-wave-viz {
        width: 260px;
        height: 160px;
    }
}

/* Legacy 3D Graphic Composition (kept for reference) */
.graphic-composition {
    position: relative;
    width: 320px;
    height: 400px;
}

.pillar {
    position: absolute;
    border-radius: 100px;
    background: linear-gradient(180deg, #D4C5A9 0%, #C8B897 100%);
}

.pillar-1 {
    width: 40px;
    height: 280px;
    right: 60px;
    top: 50px;
}

.pillar-2 {
    width: 35px;
    height: 320px;
    right: 110px;
    top: 40px;
}

.pillar-3 {
    width: 30px;
    height: 260px;
    right: 155px;
    top: 70px;
}

.sphere {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6BC5E8 0%, #4AADE4 50%, #3498D0 100%);
    box-shadow:
        inset -20px -20px 40px rgba(0, 0, 0, 0.1),
        inset 10px 10px 30px rgba(255, 255, 255, 0.3),
        0 20px 40px rgba(74, 173, 228, 0.3);
    right: 30px;
    top: 130px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Dark Graphic Variant */
.dark-graphic .pillar {
    background: linear-gradient(180deg, #C8B897 0%, #B8A887 100%);
}

.dark-graphic .sphere {
    box-shadow:
        inset -20px -20px 40px rgba(0, 0, 0, 0.2),
        inset 10px 10px 30px rgba(255, 255, 255, 0.2),
        0 20px 40px rgba(74, 173, 228, 0.4);
}

/* ============================================
   Hero Badge and CTA (UrgeEase)
   ============================================ */
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(227, 155, 99, 0.15);
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 500;
    border-radius: var(--radius-pill);
    margin-bottom: var(--spacing-md);
}

.hero-cta {
    margin-top: var(--spacing-lg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.hero-note {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: var(--spacing-sm);
}

.nav-link-btn {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.nav-link-btn:hover {
    opacity: 1;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: var(--spacing-lg) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
}

.stat-number {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.stat-description {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: var(--spacing-xxl) 0;
}

.section-subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-dark);
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #d08950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dark);
}

/* ============================================
   Help Steps (in Dark Section)
   ============================================ */
.help-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.help-step {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
}

.help-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.help-step p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

/* ============================================
   Journey Steps with Micro-Visualizations
   ============================================ */
.journey-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.journey-step {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.journey-step:nth-child(even) {
    direction: rtl;
}

.journey-step:nth-child(even)>* {
    direction: ltr;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    font-size: 15px;
    line-height: 1.65;
    opacity: 0.85;
}

/* Micro-Visualization Base */
.micro-viz {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

/* ==== Journey Visualizations (SVG Narratives) ==== */
.micro-viz svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Specific tweaks for SVGs if needed */
.viz-ripple circle {
    filter: drop-shadow(0 0 8px rgba(227, 155, 99, 0.4));
}

.viz-signal path {
    filter: drop-shadow(0 0 4px rgba(227, 155, 99, 0.2));
}

.viz-breath circle:first-of-type {
    filter: blur(8px);
}

.viz-clarity circle,
.viz-clarity line {
    filter: drop-shadow(0 0 4px rgba(227, 155, 99, 0.3));
}

@keyframes organizePattern {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(0, 0);
    }

    50% {
        opacity: 1;
        transform: translate(var(--org-x, 0), var(--org-y, 0));
    }
}

.viz-patterns .dot-1 {
    --org-x: 3px;
    --org-y: 2px;
}

.viz-patterns .dot-2 {
    --org-x: -2px;
    --org-y: 3px;
}

.viz-patterns .dot-3 {
    --org-x: -3px;
    --org-y: -2px;
}

.viz-patterns .dot-4 {
    --org-x: 4px;
    --org-y: -1px;
}

.viz-patterns .dot-5 {
    --org-x: -1px;
    --org-y: 4px;
}

.viz-patterns .dot-6 {
    --org-x: 2px;
    --org-y: -3px;
}

.viz-patterns .dot-7 {
    --org-x: -2px;
    --org-y: 2px;
}

@keyframes fadeConnection {

    0%,
    100% {
        opacity: 0;
        width: 30px;
    }

    50% {
        opacity: 0.5;
        width: 60px;
    }
}

/* Journey Steps Responsive */
@media (max-width: 768px) {
    .journey-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .journey-step:nth-child(even) {
        direction: ltr;
    }

    .step-visual {
        margin-bottom: var(--spacing-sm);
    }

    .micro-viz {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   CTA Highlights
   ============================================ */
.cta-highlights {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-highlight {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dark);
    opacity: 0.8;
}

/* ============================================
   Section Styles
   ============================================ */
.light-section {
    background-color: var(--color-background);
    padding: var(--spacing-xl) 0;
}

.dark-section {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xxl) 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.01em;
}

.dark-title {
    color: var(--color-text-dark);
}

.subsection-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    color: inherit;
}

.centered {
    text-align: center;
}

/* ============================================
   Why We Built Section (Split Layout)
   ============================================ */
.why-section {
    padding: var(--spacing-xxl) 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.split-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.split-graphic .graphic-composition {
    width: 260px;
    height: 360px;
}

.split-graphic .pillar-1 {
    right: 40px;
    height: 240px;
}

.split-graphic .pillar-2 {
    right: 85px;
    height: 280px;
}

.split-graphic .pillar-3 {
    right: 125px;
    height: 220px;
}

.split-graphic .sphere {
    width: 120px;
    height: 120px;
    right: 20px;
    top: 120px;
}

.split-content {
    max-width: 560px;
}

.story-content {
    margin-top: var(--spacing-md);
}

.story-text {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.story-text.highlight {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-light);
    margin: var(--spacing-md) 0;
}

.story-text.accent {
    color: var(--color-accent);
    font-weight: 500;
    margin-top: var(--spacing-md);
}

.story-text.accent-strong {
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 600;
}

/* ============================================
   Future Section
   ============================================ */
.future-section {
    padding: var(--spacing-xxl) 0;
}

.future-section .container {
    max-width: 900px;
}

.section-description {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.section-description.emphasis {
    color: var(--color-text-dark);
    font-weight: 500;
    margin-top: var(--spacing-lg);
}


/* ============================================
   Mission Section
   ============================================ */
.mission-section {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
}

.mission-statement {
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 1.6;
    color: var(--color-text-dark);
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   Team Section (Updated Layout)
   ============================================ */
.team-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.team-card {
    background-color: var(--color-dark-bg);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    color: var(--color-text-light);
}

.team-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.team-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent), #d08950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 600;
    color: var(--color-text-light);
}

.team-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.team-bio {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: var(--spacing-md);
}

.team-quote {
    font-size: 15px;
    font-style: italic;
    line-height: 1.65;
    opacity: 0.9;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Where We're Going Section
   ============================================ */
.where-going-section {
    padding: var(--spacing-xl) 0;
}

.where-going-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.where-going-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: end;
}

.large-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, #d08950 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.where-going-intro p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ============================================
   Roadmap Section
   ============================================ */
.roadmap-section {
    padding: var(--spacing-xl) 0 var(--spacing-xxl);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.roadmap-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
}

.roadmap-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(227, 155, 99, 0.3);
}

.roadmap-icon {
    width: 32px;
    height: 32px;
    margin-bottom: var(--spacing-sm);
}

.roadmap-icon svg {
    width: 100%;
    height: 100%;
}

.roadmap-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.roadmap-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.75;
}

.roadmap-footer {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

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

/* ============================================
   Unified Footer & CTA (Black & Gold)
   ============================================ */
/* ============================================
   RecoveryAI Style Footer (Black & Gold)
   ============================================ */
.recovery-footer {
    background-color: #000000;
    color: var(--color-text-light);
    position: relative;
    padding: 60px 0 40px;
    /* Space for the massive text */
    overflow: hidden;
    text-align: center;
    border-top: 1px solid rgba(227, 155, 99, 0.2);
}

.container-full-height {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    /* Adjust height as needed to fit the "Big Text" vibe */
    position: relative;
    padding-bottom: 120px;
}

.footer-massive-title {
    font-size: clamp(80px, 22vw, 400px);
    /* Massive responsive scaling */
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(227, 155, 99, 0.4);
    /* Outlined gold look like reference */
    text-transform: capitalize;
    /* "UrgeEase" vs "URGEEASE" - Reference had "RecoveryAI" */
    white-space: nowrap;
    letter-spacing: -0.04em;

    /* Absolute centering that breaks out of container constraints */
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    /* Span the entire viewport width to ensure true centering */
    text-align: center;
    margin: 0;

    pointer-events: none;
    user-select: none;
    z-index: 1;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    /* Tie it to the background */

    background: linear-gradient(180deg, rgba(227, 155, 99, 0.1) 0%, rgba(227, 155, 99, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.footer-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    /* Align with container padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    z-index: 10;
}

/* We need to apply container padding to the bottom bar's inner content */
.footer-bottom-bar {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.footer-links-row {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links-row a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-row a:hover {
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .container-full-height {
        min-height: 250px;
    }

    .footer-bottom-bar {
        flex-direction: column-reverse;
        gap: 16px;
        padding-bottom: 24px;
    }

    .footer-links-row {
        gap: 20px;
    }

    .y-axis {
        left: 2%;
        top: 12%;
        bottom: 12%;
    }

    .y-ticks .tick {
        font-size: 8px;
    }

    .axis-label {
        font-size: 9px;
    }

    .x-axis {
        bottom: 6%;
        left: 6%;
        right: 6%;
    }
}

@media (max-width: 560px) {
    .hero-wave-viz.infinite-wave {
        height: 280px;
    }

    .y-axis {
        display: none;
    }

    .x-axis {
        bottom: 4%;
        left: 4%;
        right: 4%;
    }

    .axis-label.x-label {
        font-size: 8px;
    }
}

@media (max-width: 400px) {
    .wave-axes {
        display: none;
    }
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .hero-graphic {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }

    .graphic-composition {
        width: 260px;
        height: 340px;
    }

    .sphere {
        width: 110px;
        height: 110px;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-graphic {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }

    .split-content {
        max-width: 100%;
        text-align: center;
    }

    .where-going-split {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-content-wrapper {
        grid-template-columns: 1fr;
    }

    .team-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto var(--spacing-md);
    }

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .help-step {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header {
        width: calc(100% - var(--spacing-md));
    }

    .nav-container {
        padding: 10px 16px;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-link-btn {
        display: none;
    }

    .nav-right {
        position: relative;
    }

    .nav-right:not(.mobile-open) .nav-link-btn,
    .nav-right:not(.mobile-open) .nav-btn {
        display: none;
    }

    .nav-right.mobile-open {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 10px;
        flex-direction: column;
        background: rgba(246, 244, 239, 0.98);
        backdrop-filter: blur(12px);
        border-radius: var(--radius-md);
        padding: var(--spacing-sm);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        min-width: 200px;
        gap: var(--spacing-xs);
    }

    .nav-right.mobile-open .nav-link-btn,
    .nav-right.mobile-open .nav-btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-highlights {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .footer-nav-compact {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .btn-cta.primary {
        width: 100%;
        max-width: 320px;
        padding: 16px 32px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 60px;
        --spacing-xxl: 80px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 32px;
    }

    .story-text {
        font-size: 15px;
    }

    .story-text.highlight {
        font-size: 18px;
    }

    .large-title {
        font-size: 32px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 100px;
}