/* ===================================
   Tensor & Maxwell - AI Supervision Layer
   Dark Industrial Design System
   =================================== */

:root {
    /* Core Colors - Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    
    /* Text Colors */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    
    /* Accent Colors */
    --accent-primary: #16a34a;
    --accent-secondary: #2563eb;
    --accent-warning: #d97706;
    --accent-danger: #dc2626;
    --accent-purple: #9333ea;
    
    /* Decision Colors */
    --decision-allow: #16a34a;
    --decision-limit: #d97706;
    --decision-slow: #ea580c;
    --decision-pause: #dc2626;
    --decision-human: #9333ea;
    
    /* Borders & Lines */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --border-accent: rgba(22, 163, 74, 0.3);
    
    /* Spacing */
    --section-padding: clamp(80px, 12vh, 140px);
    --container-width: 1200px;
    --container-padding: clamp(20px, 5vw, 40px);
    
    /* Typography */
    --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.highlight {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-red {
    color: #f87171;
}

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

/* Section Labels */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 3rem;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: #111111;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.logo-lambda {
    color: #06b6d4;
    font-weight: 400;
    font-size: 1.43em;
    margin: 0 0.02em;
}

.logo-mark.small {
    font-size: 1.1rem;
}

.logo-text {
    font-weight: 400;
    font-size: 0.85rem;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: #06b6d4;
}

.nav-cta {
    padding: 0.5rem 1.25rem !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-weight: 500 !important;
    border-radius: 6px;
    transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
    background: #06b6d4 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: var(--transition-fast);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

.btn-ghost:hover {
    border-color: var(--border-hover);
    background: var(--bg-tertiary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(80px + 2rem) var(--container-padding) 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Big Banner Text */
.hero-top-banner {
    width: 100%;
    text-align: center;
    padding: 2rem 0 1.5rem;
    position: relative;
    z-index: 1;
}

.banner-text {
    font-size: clamp(1.8rem, 7vw, 6rem);
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    word-spacing: 0.3em;
}

.gradient-word {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 50%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Center Content */
.hero-center {
    text-align: center;
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -100px;
    opacity: 0.08;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-secondary);
    bottom: 0;
    left: -100px;
    opacity: 0.06;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-headline {
    font-size: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.headline-line {
    display: inline;
}

.hero-center .hero-subtitle {
    margin: 0 auto 1.5rem;
    max-width: 600px;
}

.hero-center .hero-actions {
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual - Horizontal Diagram */
.hero-visual-horizontal {
    width: 100%;
    position: relative;
    z-index: 1;
}

.diagram-flow {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

/* Three Equal Boxes Row */
.flow-boxes {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
}

.flow-box {
    flex: 1;
    max-width: 200px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
}

.flow-box-main {
    border-color: rgba(22, 163, 74, 0.4);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.05), var(--bg-primary));
}

.flow-box-main h4 {
    color: #16a34a;
}

.box-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 24px;
    height: 24px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}

.box-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.box-icon svg {
    width: 26px;
    height: 26px;
}

.flow-box h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.flow-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Flow Arrows */
.flow-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    padding: 0 0.5rem;
}

/* Decision Options Row */
.flow-decisions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.decision-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.decision-options {
    display: flex;
    gap: 0.5rem;
}

.opt {
    padding: 0.4rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.opt-allow {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.3);
    color: #16a34a;
}

.opt-limit {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.3);
    color: #d97706;
}

.opt-pause {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

.opt-human {
    background: rgba(147, 51, 234, 0.08);
    border-color: rgba(147, 51, 234, 0.3);
    color: #9333ea;
}

/* Diagram Steps */
.diagram-step {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 28px;
    height: 28px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
}

.step-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.step-icon-wrap {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.step-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.ai-icon {
    background: rgba(59, 130, 246, 0.1);
}
.ai-icon svg { stroke: #3b82f6; }

.supervisor-icon {
    background: rgba(22, 163, 74, 0.1);
}
.supervisor-icon svg { stroke: #16a34a; }

.machine-icon {
    background: rgba(107, 114, 128, 0.1);
}
.machine-icon svg { stroke: #6b7280; }

.step-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* AI Step - Question */
.step-question {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #dc2626;
}

.question-mark {
    font-weight: 700;
}

/* Supervisor Card - Special Styling */
.supervisor-card {
    border-color: rgba(22, 163, 74, 0.3);
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.03), var(--bg-primary));
}

.supervisor-card h4 {
    color: #16a34a;
}

.supervisor-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.check-tag {
    padding: 0.25rem 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* Machine Step - Safe Badge */
.step-safe {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #16a34a;
}

.safe-icon {
    font-weight: 700;
}

/* Diagram Arrows */
.diagram-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-muted);
}

.diagram-arrow svg {
    width: 24px;
    height: 40px;
}

.arrow-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-family: var(--font-mono);
}

/* Decision Branch */
.arrow-decision {
    padding: 1rem 0;
}

.decision-branch {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.branch-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid;
}

.branch-icon {
    font-size: 0.75rem;
}

.branch-allow {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.3);
    color: #16a34a;
}

.branch-limit {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.3);
    color: #d97706;
}

.branch-pause {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

.branch-human {
    background: rgba(147, 51, 234, 0.08);
    border-color: rgba(147, 51, 234, 0.3);
    color: #9333ea;
}

/* ===================================
   Problem Section
   =================================== */
.problem {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 3rem;
}

.problem-main h2 {
    margin-bottom: 1.5rem;
}

.problem-lead {
    font-size: 1.1rem;
    line-height: 1.8;
}

.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color var(--transition-base);
}

.stat-card:hover {
    border-color: var(--border-hover);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-danger);
}

.stat-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.problem-consequence {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
}

.consequence-line {
    width: 4px;
    height: 40px;
    background: var(--accent-danger);
    border-radius: 2px;
    flex-shrink: 0;
}

.problem-consequence p {
    margin: 0;
    font-size: 1rem;
}

.problem-consequence strong {
    color: var(--accent-danger);
}

/* ===================================
   Solution Section
   =================================== */
.solution {
    padding: var(--section-padding) 0;
    text-align: center;
}

.solution h2 {
    margin-bottom: 0.5rem;
}

.solution > .container > .section-description {
    margin-bottom: 4rem;
}

/* Architecture Checks */
.solution-architecture {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    text-align: left;
}

.arch-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.arch-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.check-item {
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.check-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.check-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.check-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.check-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Decision Cards */
.solution-decisions {
    text-align: center;
}

.solution-decisions h3 {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.decision-card {
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-base);
}

.decision-card:hover {
    transform: translateY(-4px);
}

.decision-header {
    margin-bottom: 0.75rem;
}

.decision-icon-large {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.decision-card h4 {
    font-size: 0.95rem;
    margin: 0;
}

.decision-card p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.5;
}

/* Decision Card Colors */
.decision-card.decision-allow {
    border-color: rgba(34, 197, 94, 0.2);
}
.decision-card.decision-allow:hover {
    border-color: var(--decision-allow);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}
.decision-card.decision-allow .decision-icon-large,
.decision-card.decision-allow h4 { color: var(--decision-allow); }

.decision-card.decision-limit {
    border-color: rgba(245, 158, 11, 0.2);
}
.decision-card.decision-limit:hover {
    border-color: var(--decision-limit);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}
.decision-card.decision-limit .decision-icon-large,
.decision-card.decision-limit h4 { color: var(--decision-limit); }

.decision-card.decision-slow {
    border-color: rgba(249, 115, 22, 0.2);
}
.decision-card.decision-slow:hover {
    border-color: var(--decision-slow);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}
.decision-card.decision-slow .decision-icon-large,
.decision-card.decision-slow h4 { color: var(--decision-slow); }

.decision-card.decision-pause {
    border-color: rgba(239, 68, 68, 0.2);
}
.decision-card.decision-pause:hover {
    border-color: var(--decision-pause);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}
.decision-card.decision-pause .decision-icon-large,
.decision-card.decision-pause h4 { color: var(--decision-pause); }

.decision-card.decision-human {
    border-color: rgba(168, 85, 247, 0.2);
}
.decision-card.decision-human:hover {
    border-color: var(--decision-human);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
}
.decision-card.decision-human .decision-icon-large,
.decision-card.decision-human h4 { color: var(--decision-human); }

.decision-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Differentiators Section
   =================================== */
.differentiators {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.differentiators h2 {
    margin-bottom: 3rem;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.diff-card {
    padding: 2rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.diff-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.diff-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.diff-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-primary);
}

.diff-card h3 {
    margin-bottom: 0.75rem;
}

.diff-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* ===================================
   Industries Section
   =================================== */
.industries {
    padding: var(--section-padding) 0;
    text-align: center;
}

.industries h2 {
    margin-bottom: 0.5rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.industry-card {
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
    transition: all var(--transition-base);
}

.industry-card:hover {
    border-color: var(--accent-secondary);
    transform: translateY(-4px);
}

.industry-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.industry-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-secondary);
}

.industry-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.industry-card p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   Business Model Section
   =================================== */
.business-model {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.model-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.model-text h2 {
    margin-bottom: 1rem;
}

.model-text > p {
    margin-bottom: 2rem;
}

.model-benefits {
    list-style: none;
}

.model-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-primary);
}

.model-benefits li:last-child {
    border-bottom: none;
}

.model-benefits svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-primary);
    flex-shrink: 0;
}

/* Embed Diagram */
.model-visual {
    display: flex;
    justify-content: center;
}

.embed-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 350px;
}

.embed-layer {
    padding: 1.5rem 2rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.layer-device {
    background: var(--bg-tertiary);
    border-radius: 12px 12px 0 0;
    color: var(--text-secondary);
}

.layer-supervisor {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--accent-primary);
    font-family: var(--font-mono);
}

.layer-ai {
    background: var(--bg-tertiary);
    border-radius: 0 0 12px 12px;
    color: var(--text-secondary);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 2rem;
}

.cta-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-purple);
}

.cta-badge-patented {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.15));
    border: 2px solid;
    border-image: linear-gradient(135deg, #06b6d4, #10b981) 1;
    border-radius: 50px;
    border-style: solid;
    border-color: #06b6d4;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0d9488;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 40px rgba(16, 185, 129, 0.15);
    animation: patentGlow 2s ease-in-out infinite;
}

.cta-badge-patented svg {
    width: 18px;
    height: 18px;
    stroke: #06b6d4;
}

@keyframes patentGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 40px rgba(16, 185, 129, 0.15); }
    50% { box-shadow: 0 0 30px rgba(6, 182, 212, 0.5), 0 0 60px rgba(16, 185, 129, 0.25); }
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta > .cta-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-actions {
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-legal {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        padding-top: calc(80px + 1rem);
    }

    .hero-top-banner {
        padding: 1rem 0 1.5rem;
    }

    .banner-text {
        font-size: clamp(2rem, 8vw, 4rem);
    }

    .flow-boxes {
        gap: 0.75rem;
    }

    .flow-box {
        padding: 1.25rem 0.75rem;
    }

    .flow-arrow {
        font-size: 1.25rem;
        padding: 0 0.25rem;
    }
    
    .problem-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .check-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .decision-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding-top: calc(70px + 1rem);
    }

    .banner-text {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        white-space: normal;
    }

    .hero-headline {
        font-size: clamp(1rem, 4vw, 1.4rem);
    }
    
    .flow-boxes {
        flex-direction: column;
        align-items: center;
    }

    .flow-box {
        width: 100%;
        max-width: 280px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .flow-decisions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .decision-options {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .diff-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .decision-grid {
        grid-template-columns: 1fr;
    }

    .decision-branch {
        flex-direction: column;
        align-items: center;
    }
}

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

.hero-top-banner {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-headline { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.3s; }
.hero-visual { animation: fadeInUp 0.8s ease-out 0.4s backwards; }

/* Section animations */
.animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-child.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Keep hero visible */
.hero {
    opacity: 1 !important;
    transform: none !important;
}
