/* ============================================================
   Eleven Industrial AIMES - Unified Style Sheet
   Dark Glassmorphism Design System
   ============================================================ */

:root {
    --bg-dark: #050608;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.1);
    --primary: #0ea5e9;
    --primary-glow: rgba(14, 165, 233, 0.4);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.4);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.4);
    --danger: #ef4444;
    --companion: #f472b6;
    --companion-glow: rgba(244, 114, 182, 0.4);
    --text-main: #e8eaed;
    --text-muted: #9aa0a6;
    --font-outfit: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

h1, h2, h3, h4, h5, .navbar-brand { font-family: var(--font-outfit); }

/* 3D Canvas Background */
#canvas-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ==================== Navigation ==================== */
.glass-nav {
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
    letter-spacing: -1px;
}

.brand-accent { color: var(--primary); }
.brand-eleven { color: var(--accent); font-weight: 300; font-size: 0.85rem; letter-spacing: 2px; }

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 0.4rem;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.nav-link:hover { color: white !important; }

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 0.25rem;
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

/* ==================== Hero Section ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.text-gradient-companion {
    background: linear-gradient(135deg, var(--companion), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-main {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 0 20px var(--primary-glow);
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    color: white;
}

.btn-outline-glow {
    border: 1px solid rgba(14, 165, 233, 0.5);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-glow:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Stats */
.stat-box { text-align: center; }
.stat-number {
    font-family: var(--font-outfit);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Hero Industry Ring Visual */
.hero-industry-ring {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.ring-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.ring-center-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 0.5rem;
    box-shadow: 0 0 40px var(--primary-glow);
}

.ring-center-label {
    font-family: var(--font-outfit);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.ring-item {
    position: absolute;
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: default;
    text-decoration: none;
}

.ring-item:hover {
    border-color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 0 20px var(--primary-glow);
    z-index: 10;
}

.ring-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.ring-item span {
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.1;
}

/* Floating animation */
.floating { animation: float 6s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==================== Section Base ==================== */
.section { position: relative; }
.bg-dim { background: rgba(255, 255, 255, 0.01); }

.section-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-tag-primary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.section-tag-accent {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.section-tag-companion {
    background: rgba(244, 114, 182, 0.1);
    color: var(--companion);
    border: 1px solid rgba(244, 114, 182, 0.2);
}

.section-tag-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-tag-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== Glass Card ==================== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ==================== Icon Boxes ==================== */
.icon-box, .icon-box-lg {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.15);
    flex-shrink: 0;
}

.icon-box-lg {
    width: 56px; height: 56px;
    font-size: 1.5rem;
}

.icon-box-accent {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(139, 92, 246, 0.15);
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.icon-box-companion {
    background: rgba(244, 114, 182, 0.1);
    color: var(--companion);
    border: 1px solid rgba(244, 114, 182, 0.15);
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.icon-box-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.icon-box-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.15);
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.icon-box-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ==================== Feature Tags ==================== */
.feature-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.2);
    margin: 0.15rem;
}

.feature-tag-pink {
    background: rgba(244, 114, 182, 0.1);
    color: var(--companion);
    border-color: rgba(244, 114, 182, 0.2);
}

.feature-tag-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-tag-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-tag-amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.2);
}

/* ==================== Glow Backgrounds ==================== */
.glow-bg {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: 10%; right: -200px;
    opacity: 0.15;
    pointer-events: none;
}

.glow-bg-accent {
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}

.glow-bg-companion {
    background: radial-gradient(circle, var(--companion-glow), transparent 70%);
}

.glow-bg-left {
    right: auto;
    left: -200px;
}

/* ==================== Architecture Diagram ==================== */
.arch-diagram {
    max-width: 900px;
    margin: 0 auto;
}

.arch-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.arch-row:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.arch-label {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--primary);
    min-width: 30px;
}

.arch-name {
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 180px;
    color: var(--text-main);
}

.arch-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.arch-item {
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    white-space: nowrap;
}

/* ==================== Domain Cards Grid ==================== */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.domain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.domain-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.domain-card:hover::before {
    opacity: 1;
}

.domain-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.domain-card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.domain-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.domain-card .domain-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.domain-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.domain-card .services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}

.domain-card .regulations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: auto;
}

.regulation-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.ai-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(244, 114, 182, 0.1);
    color: var(--companion);
    border: 1px solid rgba(244, 114, 182, 0.2);
}

/* Domain Card Detail Panel */
.card-detail {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.card-detail.active {
    display: block;
}

.detail-subtitle {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-detail ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.card-detail li {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* ==================== Common Stack Section ==================== */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stack-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stack-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.stack-item {
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(14, 165, 233, 0.06);
    color: var(--text-main);
    border: 1px solid rgba(14, 165, 233, 0.12);
}

/* ==================== Workflow Pipeline ==================== */
.workflow-pipeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}

.workflow-pipeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), var(--companion));
}

.workflow-step {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.workflow-step-number {
    position: absolute;
    left: -2.5rem; top: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.workflow-step h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.workflow-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==================== AI/ML Pipeline ==================== */
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
}

.ai-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.ai-card:hover {
    border-color: rgba(244, 114, 182, 0.3);
    transform: translateY(-2px);
}

.ai-card .ai-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 0.75rem;
    background: rgba(244, 114, 182, 0.1);
    color: var(--companion);
    border: 1px solid rgba(244, 114, 182, 0.15);
}

.ai-card h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ai-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.ai-algo-tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(244, 114, 182, 0.08);
    color: var(--companion);
    border: 1px solid rgba(244, 114, 182, 0.15);
    margin: 0.1rem;
}

/* ==================== Comparison Matrix ==================== */
.matrix-container {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 1100px;
}

.comparison-table thead th {
    background: rgba(14, 165, 233, 0.08);
    padding: 0.8rem 0.6rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--primary);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    text-align: left;
    min-width: 130px;
    position: sticky;
    left: 0;
    z-index: 2;
    background: rgba(14, 165, 233, 0.12);
}

.comparison-table tbody td {
    padding: 0.6rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-main);
    position: sticky;
    left: 0;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(10px);
}

.comparison-table tbody tr:hover td {
    background: rgba(14, 165, 233, 0.04);
}

.comparison-table tbody tr:hover td:first-child {
    background: rgba(14, 165, 233, 0.08);
}

.check-mark {
    color: var(--success);
    font-weight: 700;
}

.cross-mark {
    color: rgba(255, 255, 255, 0.15);
}

/* ==================== ROI Section ==================== */
.roi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.roi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
}

.roi-value {
    font-family: var(--font-outfit);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

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

/* ==================== Roadmap ==================== */
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

/* ==================== Modal System ==================== */
.card-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1.5rem;
}

.card-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.card-modal {
    background: linear-gradient(145deg, rgba(15, 17, 22, 0.97), rgba(10, 12, 16, 0.97));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.card-modal-overlay.active .card-modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

/* Modal Header / Body separation */
.card-modal-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    padding-right: 2.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.card-modal-body .detail-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-modal-body .detail-subtitle:first-child {
    margin-top: 0;
}

.card-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.card-modal-body ul li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.card-modal-body ul li::before {
    content: '\203A';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Custom scrollbar for modal */
.card-modal::-webkit-scrollbar { width: 6px; }
.card-modal::-webkit-scrollbar-track { background: transparent; }
.card-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.card-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

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

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

.footer-brand {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* ==================== Domain Filter Tabs ==================== */
.domain-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .hero-industry-ring { width: 300px; height: 300px; }
    .ring-item { width: 56px; height: 56px; }
    .ring-item i { font-size: 0.9rem; }
    .ring-item span { font-size: 0.4rem; }
    .ring-center-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .arch-row { flex-direction: column; align-items: flex-start; }
    .arch-name { min-width: auto; }
    .roi-grid { grid-template-columns: repeat(2, 1fr); }
    .roadmap-item { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 575px) {
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .domain-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .stack-grid { grid-template-columns: 1fr; }
    .roi-grid { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.7rem; }
    .hero-industry-ring { display: none; }
}

/* ==================== Fade-in Fallback ==================== */
.fade-in {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ==================== Security Section ==================== */
.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.security-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-privacy {
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-encrypt {
    background: rgba(14, 165, 233, 0.12);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.25);
}

.badge-tls {
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-local {
    background: rgba(245, 158, 11, 0.12);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.purdue-level {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border-left: 4px solid var(--border-glass);
    border-radius: 0 10px 10px 0;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.purdue-level:hover {
    background: rgba(255, 255, 255, 0.04);
}

.purdue-label {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 0.75rem;
    min-width: 55px;
    color: var(--text-muted);
}

/* ==================== ROI Table ==================== */
.roi-table-wrapper {
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    margin-bottom: 2rem;
}

.roi-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.roi-table thead th {
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid var(--border-glass);
    text-align: center;
    background: rgba(14, 165, 233, 0.06);
}

.roi-table thead th:first-child {
    text-align: left;
}

.roi-table tbody td {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.roi-table tbody tr:last-child td {
    border-bottom: none;
}

.roi-table tbody td:first-child {
    text-align: left;
    color: var(--text-main);
    font-weight: 500;
}

.roi-table tbody tr:hover td {
    background: rgba(14, 165, 233, 0.04);
}

.roi-improve {
    color: var(--success) !important;
    font-weight: 700 !important;
}

/* ==================== Roadmap Enhanced ==================== */
.rm-phase {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
    flex-shrink: 0;
}

.rm-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 1.2rem;
    flex: 1;
    transition: all 0.3s ease;
}

.rm-content:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.rm-content h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.rm-duration {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* ==================== Domain Meta Badges ==================== */
.domain-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary);
    border: 1px solid rgba(14, 165, 233, 0.15);
    letter-spacing: 0.3px;
}

.meta-badge-pass {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

/* ==================== Project Status Table ==================== */
.status-table {
    min-width: 750px;
}

.status-table thead th {
    font-size: 0.75rem;
    padding: 0.65rem 0.5rem;
}

.status-table tbody td {
    font-size: 0.8rem;
    padding: 0.55rem 0.5rem;
}

.port-cell {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.75rem !important;
    color: var(--primary) !important;
    letter-spacing: 0.5px;
}

.total-row td {
    background: rgba(14, 165, 233, 0.06) !important;
    border-top: 2px solid rgba(14, 165, 233, 0.2);
    font-weight: 600;
}

.total-row .check-mark {
    color: var(--success) !important;
}

/* ==================== Utility ==================== */
.text-primary-c { color: var(--primary) !important; }
.text-accent-c { color: var(--accent) !important; }
.text-companion-c { color: var(--companion) !important; }
.text-success-c { color: var(--success) !important; }
.text-warning-c { color: var(--warning) !important; }
