/* =========================================
   1. RESET & VARIABLES (The Design System)
   ========================================= */
:root {
    /* Color Palette - Enterprise Slate & Signal Orange */
    --primary: #f97316;       /* Vibrant Orange for CTAs */
    --primary-hover: #ea580c;
    --primary-light: rgba(249, 115, 22, 0.1);
    --dark-bg: #020617;       /* Deepest Slate */
    --card-bg: #ffffff;
    --surface-off: #f8fafc;   /* Very light grey for sections */
    
    /* Background Accents (New) */
    --bg-grid-color: rgba(15, 23, 42, 0.04); /* Subtle grid lines */
    --bg-glow-primary: rgba(249, 115, 22, 0.08); /* Faint orange ambient light */
    
    /* Typography Colors */
    --text-display: #0f172a;  /* Almost Black */
    --text-body: #475569;     /* Muted Slate */
    --text-inverted: #ffffff;
    --text-inverted-muted: #94a3b8;

    /* Spacing & Layout */
    --container-max: 1280px;
    --header-height: 80px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-display);
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased; /* Crisp text */
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================
   2. HERO SECTION (Deep Tech Aesthetics)
   ========================================= */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    background-color: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle Grid Background */
.hero-background {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-container { position: relative; z-index: 1; }

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Typography Hierarchy */
.hero-text h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff 40%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
}

.hero-statement {
    font-size: 1.25rem;
    color: var(--text-inverted-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* Buttons */
.hero-buttons { display: flex; gap: 1rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover { 
    background-color: var(--primary-hover); 
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover { background-color: rgba(255,255,255,0.2); }

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}
.hero-visual::after {
    /* Glow effect behind logo */
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

/* =========================================
   3. SECTIONS COMMON
   ========================================= */
.inflection-point, .organization-solution, .future { 
    /* Padding is handled in specific sections now for bg sizing */
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Small decorative line next to tags */
.section-tag::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-display);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

p.lead-text {
    font-size: 1.25rem;
    color: var(--text-display);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* =========================================
   4. INFLECTION POINT (Dot Matrix Tech BG)
   ========================================= */
.inflection-point {
    padding: 8rem 0;
    position: relative;
    background-color: #ffffff;
    /* Professional 'dot matrix' pattern */
    background-image: radial-gradient(var(--text-body) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%); 
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.inflection-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.inflection-text p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

/* Improved Glassy Highlight Box */
.highlight-box {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--surface-off) 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.highlight-box p { margin-bottom: 0; color: var(--text-display); font-weight: 500;}

/* Forces Cards (Timeline Flow) */
.forces-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

/* Vertical line connecting cards */
.forces-container::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 2rem;
    bottom: 2rem;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.force-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.force-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(8px); /* Slide effect */
}

.force-icon { 
    /* Removed fixed font-size which was for emojis */
    color: var(--primary);
    background: var(--surface-off);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid white;
    transition: var(--transition);
}

/* NEW: Specific styling for the SVG inside the icon container */
.force-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.force-card:hover .force-icon {
    background: var(--primary);
    color: white;
}

/* NEW: Optional micro-interaction for the SVG */
.force-card:hover .force-icon svg {
    transform: scale(1.1);
}

.force-detail h4 { font-weight: 700; color: var(--text-display); margin-bottom: 0.5rem; }
.force-detail p { font-size: 0.95rem; color: var(--text-body); margin: 0; line-height: 1.5; }

/* =========================================
   5. SOLUTION SECTION (Architectural Grid)
   ========================================= */
.organization-solution {
    padding: 8rem 0;
    position: relative;
    background-color: var(--surface-off);
    overflow: hidden;
}

/* Background: Architectural Grid */
.organization-solution::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--bg-grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid-color) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Background: Central Glow */
.organization-solution::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    z-index: 1;
}

.section-header, .solution-grid {
    position: relative;
    z-index: 2;
}

.section-header { text-align: center; max-width: 800px; margin: 0 auto 5rem; }
.section-header .section-tag { justify-content: center; }

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* --- IMPROVISED CARD DESIGN --- */
.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    /* Subtle border + thicker bottom "platform" border */
    border: 1px solid rgba(0,0,0,0.06);
    border-bottom: 3px solid rgba(0,0,0,0.06); 
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer; /* Indicates interactivity */
}

/* Hover State: Lift + Color Activation */
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    /* The bottom border lights up Orange */
    border-bottom-color: var(--primary);
    border-color: rgba(249, 115, 22, 0.2);
}

/* Icon: Floating Orb Effect (Updated for SVGs) */
.solution-icon {
    font-size: 1.75rem; /* Fallback */
    margin-bottom: 1.5rem;
    /* Default: Light Slate Circle */
    background: #f1f5f9;
    color: var(--text-body);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; 
    transition: var(--transition);
}

/* NEW: Styles specifically for the SVG icons */
.solution-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
    transition: all 0.3s ease;
}

/* Hover: Icon turns into a Glowing Orange Orb */
.solution-card:hover .solution-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3); /* Glow */
    transform: scale(1.1);
}

/* Card Title with Interactive Arrow */
.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-display);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* The hidden arrow that appears on hover */
.solution-card h3::after {
    content: '→';
    font-family: system-ui, sans-serif;
    opacity: 0;
    transform: translateX(-10px);
    color: var(--primary);
    transition: var(--transition);
}

.solution-card:hover h3::after {
    opacity: 1;
    transform: translateX(0);
}

.solution-card p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;

}

/* =========================================
   6. FUTURE SECTION (Aurora Dark Mode)
   ========================================= */
.future {
    padding: 8rem 0;
    background-color: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background Effect: Warm Gold/Orange ambient glow (Top Right) */
.future::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 70%); /* Yellow-500 tint */
    filter: blur(80px);
    z-index: 0;
}

/* Background Effect: Cool Slate ambient glow (Bottom Left) */
.future::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.future-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.future-intro h2 { color: white; }
.future-intro p { 
    color: var(--text-inverted-muted); 
    margin-bottom: 2rem; 
    font-size: 1.125rem;
    border-left: 3px solid #FFD700; /* Solid Gold Line */
    padding-left: 1.5rem;
}
.future-intro strong { color: white; }

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Stat Box - Glassy container */
.stat-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

/* Hover: Intensity the border and add a gold light spill */
.stat-box:hover {
    background: rgba(255,255,255,0.05);
    border-color: #F59E0B; /* Amber 500 */
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.2); /* Soft Gold Glow */
    transform: translateY(-5px);
}

/* THE "STRONG GOLD" NUMBER */
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    display: block;

    /* Complex Metallic Gradient: 
       1. Deep Bronze (Shadow)
       2. Rich Gold (Base)
       3. Pure White (The Shine/Glint)
       4. Rich Gold (Base)
       5. Deep Bronze (Shadow)
    */
    background: linear-gradient(
        135deg, 
        #b45309 0%,   /* Deep Bronze/Shadow */
        #fbbf24 25%,  /* Rich Amber Gold */
        #ffffff 50%,  /* PURE WHITE SHINE (The cognitive attractor) */
        #fbbf24 75%,  /* Rich Amber Gold */
        #b45309 100%  /* Deep Bronze/Shadow */
    );
    
    background-size: 200% auto; /* Allows for potential animation later */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Drop Shadow: Makes the letters "bloom" off the screen */
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5)); 
}

.stat-desc {
    color: #e2e8f0; /* Lighter slate for contrast */
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}