/* ===================================
   Design Tokens & Variables
   Brand Colors - Corvalent / CorGrid
   =================================== */
:root {
    --primary: #143852;       /* Corvalent primary dark navy */
    --primary-deep: #0D2535;  /* Corvalent deep dark navy */
    --accent: #9C6B2E;        /* Warm amber accent (oil & gas tone) */
    --accent-light: #C48B3F;  /* Lighter amber accent */

    --bg-base: #F7F5F2;
    --bg-gradient-start: #FAF8F5;
    --bg-gradient-end: #EEE9E3;

    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(20, 56, 82, 0.15);
    --glass-shadow: 0 8px 32px rgba(20, 56, 82, 0.08);
    --glass-shadow-hover: 0 12px 48px rgba(20, 56, 82, 0.15);

    --text-primary: #1A1D29;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --text-white: #FFFFFF;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --blur-light: 10px;
    --blur-medium: 15px;
    --blur-heavy: 20px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
}

/* ===================================
   Reset & Base
   =================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 { font-weight: var(--font-weight-bold); line-height: 1.2; color: var(--primary-deep); margin-bottom: var(--spacing-md); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: var(--spacing-md); color: var(--text-secondary); }
a { text-decoration: none; color: var(--primary); transition: color var(--transition-fast); }
a:hover { color: var(--accent); }

/* ===================================
   Layout
   =================================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--spacing-lg); }
.section-title { text-align: center; margin-bottom: var(--spacing-md); padding-top: var(--spacing-sm); }
.section-subtitle { text-align: center; font-size: 1.125rem; color: var(--text-secondary); max-width: 820px; margin: 0 auto var(--spacing-2xl); line-height: 1.6; }
.section-kicker { display: block; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: var(--spacing-sm); }

/* ===================================
   Glass Cards
   =================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-medium));
    -webkit-backdrop-filter: blur(var(--blur-medium));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}
.glass-card:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); border-color: var(--primary); }

/* ===================================
   Buttons
   =================================== */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary); color: var(--text-white) !important;
    padding: var(--spacing-sm) var(--spacing-xl); border-radius: var(--radius-md);
    font-weight: var(--font-weight-bold); transition: all var(--transition-base);
    border: 2px solid var(--primary); text-align: center; position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; inset: -2px;
    background: conic-gradient(from 0deg, transparent 0%, transparent 70%, var(--accent) 85%, var(--accent) 95%, transparent 100%);
    border-radius: var(--radius-md); animation: spinBorder 3s linear infinite; z-index: -1;
}
.btn-primary::after { content: ''; position: absolute; inset: 2px; background: var(--primary); border-radius: calc(var(--radius-md) - 2px); z-index: -1; }
@keyframes spinBorder { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-2px); }
.btn-primary:hover::after { background: var(--primary-deep); }

.btn-secondary {
    display: inline-block; background: var(--glass-bg); backdrop-filter: blur(var(--blur-light));
    -webkit-backdrop-filter: blur(var(--blur-light)); color: var(--primary); padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md); font-weight: var(--font-weight-semibold); border: 2px solid var(--primary);
    transition: all var(--transition-base);
}
.btn-secondary:hover { background: var(--primary); color: var(--text-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20, 56, 82, 0.2); }

.btn-logout {
    display: inline-flex; align-items: center; justify-content: center; background: rgba(156, 107, 46, 0.1);
    color: var(--accent) !important; padding: 6px 14px; border-radius: var(--radius-sm); font-weight: var(--font-weight-semibold);
    transition: all var(--transition-base); border: 2px solid transparent; font-size: 0.9rem; flex-shrink: 0; white-space: nowrap;
}
.btn-logout:hover { background: var(--accent); color: white !important; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(156, 107, 46, 0.3); }

.btn-large { padding: var(--spacing-md) var(--spacing-xl); font-size: 1.125rem; }

.btn-info {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
    background: rgba(20, 56, 82, 0.1); border: 2px solid var(--primary); color: var(--primary);
    padding: 0.625rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.9375rem;
    font-weight: var(--font-weight-bold); cursor: pointer; transition: all var(--transition-fast);
    margin-top: var(--spacing-md); width: 100%; max-width: 170px;
}
.btn-info:hover { background: var(--primary); color: var(--text-white); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(20, 56, 82, 0.3); }

.btn-placeholder {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.875rem 1.5rem; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: var(--text-white); border: none; border-radius: var(--radius-md); font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold); cursor: pointer; transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(20, 56, 82, 0.2); text-decoration: none;
}
.btn-placeholder:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(20, 56, 82, 0.3); }

/* ===================================
   Navigation
   =================================== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--glass-bg); backdrop-filter: blur(var(--blur-heavy)); -webkit-backdrop-filter: blur(var(--blur-heavy)); border-bottom: 1px solid var(--glass-border); transition: all var(--transition-base); }
.navbar.scrolled { box-shadow: var(--glass-shadow); }
.nav-content { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: var(--spacing-sm) 0; }
.nav-links { display: flex; list-style: none; align-items: center; gap: 2px; flex-wrap: nowrap; margin-left: 0; }
.nav-links li { display: flex; align-items: center; height: 100%; }
.nav-links a { font-size: 0.8rem; font-weight: var(--font-weight-medium); color: var(--text-primary); transition: all var(--transition-fast); position: relative; padding: 5px 9px; border-radius: var(--radius-sm); border: 1px solid transparent; white-space: nowrap; text-align: center; display: flex; align-items: center; justify-content: center; height: 100%; }
.nav-links a:not(.btn-primary):hover, .nav-links a.active { color: var(--primary); background: rgba(20, 56, 82, 0.05); border-color: var(--glass-border); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: var(--spacing-xs); }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--primary); transition: all var(--transition-fast); }
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: white; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.brand-name { font-weight: 800; font-size: 1rem; color: var(--primary-deep); letter-spacing: 0.5px; line-height: 1; }
.brand-sub { font-size: 0.6rem; font-weight: 600; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; display: block; }
.brand-logo-img { height: 30px; width: auto; display: block; flex-shrink: 0; }
.footer-logo-img { height: 28px; }

/* ===================================
   Hero
   =================================== */
.hero { min-height: 68vh; display: flex; align-items: center; position: relative; padding-top: 110px; padding-bottom: var(--spacing-2xl); overflow: hidden; background: linear-gradient(135deg, #001d38 0%, #0b3252 55%, #143852 100%); }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-canvas-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.55; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 25, 45, 0.86) 0%, rgba(20, 56, 82, 0.72) 55%, rgba(156, 107, 46, 0.3) 100%); z-index: 1; }
.hero > .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.badge-presented { display: inline-flex; align-items: center; gap: var(--spacing-md); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 2px solid rgba(20, 56, 82, 0.3); border-radius: 60px; padding: var(--spacing-sm) var(--spacing-xl); margin-bottom: var(--spacing-md); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); transition: all var(--transition-base); }
.badge-presented:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(20, 56, 82, 0.2); }
.badge-text { font-size: 1.05rem; font-weight: var(--font-weight-semibold); color: var(--text-primary); letter-spacing: 0.02em; }
.badge-logo-text { background: #2C2C2C; padding: 4px 16px; border-radius: 4px; color: white; font-size: 0.9rem; font-weight: 800; letter-spacing: 3px; }
.badge-logo-img { height: 26px; width: auto; display: block; }
.hero-content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-title { font-size: clamp(2.1rem, 5.2vw, 3.7rem); font-weight: var(--font-weight-extrabold); line-height: 1.15; margin-bottom: var(--spacing-md); color: white; text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.92); line-height: 1.65; margin: 0 auto var(--spacing-lg); text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.8); max-width: 720px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--spacing-md); justify-content: center; margin-bottom: var(--spacing-lg); color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.hero-meta span { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); padding: 4px 12px; border-radius: 20px; }
.hero-cta { display: flex; gap: var(--spacing-md); flex-wrap: wrap; justify-content: center; }

/* ===================================
   Section base
   =================================== */
section { padding: var(--spacing-3xl) 0; position: relative; }
section:first-of-type { padding-top: 0; }
section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; max-width: 800px; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%); opacity: 0.6; }
section:first-of-type::before, .hero::before { display: none; }

/* ===================================
   Generic auto-fit grids
   =================================== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--spacing-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--spacing-lg); }
.icon-wrap { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); margin-bottom: var(--spacing-md); }
.icon-wrap svg { width: 28px; height: 28px; stroke: white; fill: none; }
.tag-chip { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: rgba(20,56,82,0.1); color: var(--primary); letter-spacing: 0.4px; margin: 2px 4px 2px 0; }
.tag-chip.gold { background: rgba(156,107,46,0.12); color: var(--accent); }

/* Context section */
.context-section { padding: var(--spacing-3xl) 0; }
.context-grid h3 { font-size: 1.2rem; margin-bottom: var(--spacing-sm); }
.context-grid p { font-size: 0.92rem; margin-bottom: 0; }
.callout-box { background: linear-gradient(135deg, rgba(156, 107, 46, 0.06) 0%, rgba(20, 56, 82, 0.06) 100%); border: 2px solid rgba(156, 107, 46, 0.3); border-radius: var(--radius-md); padding: var(--spacing-lg); margin-top: var(--spacing-xl); }
.callout-box h4 { font-size: 1.05rem; color: var(--primary-deep); margin-bottom: var(--spacing-sm); display: flex; align-items: center; gap: 8px; }
.callout-box p:last-child { margin-bottom: 0; }
.callout-box.small { padding: var(--spacing-md); }

/* Two column intro (Corvalent / CorGrid) */
.intro-section { padding: var(--spacing-3xl) 0; background: linear-gradient(180deg, transparent 0%, rgba(20, 56, 82, 0.02) 100%); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: start; }
.intro-card h3 { margin: 0 0 0.25rem; font-size: 1.4rem; }
.intro-card .card-eyebrow { font-size: 0.8rem; color: var(--text-muted); margin-bottom: var(--spacing-sm); display: block; }
.feature-list { list-style: none; padding: 0; margin-top: var(--spacing-md); }
.feature-list li { padding-left: var(--spacing-lg); margin-bottom: var(--spacing-sm); position: relative; color: var(--text-secondary); font-size: 0.92rem; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: var(--font-weight-bold); }

/* Verticals */
.verticals-section { padding: var(--spacing-3xl) 0; }
.vertical-card { border-left: 4px solid var(--accent); }
.vertical-card .vnum { font-size: 0.75rem; font-weight: 800; color: var(--accent); letter-spacing: 2px; margin-bottom: 6px; display: block; }
.integration-note { margin-top: var(--spacing-xl); text-align: center; color: var(--text-secondary); font-size: 0.9375rem; }

/* Opportunities */
.opportunities-section { padding: var(--spacing-3xl) 0; background: linear-gradient(180deg, rgba(20, 56, 82, 0.02) 0%, transparent 100%); }
.opportunity-card { display: flex; flex-direction: column; height: 100%; }
.opportunity-card .onum { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: white; font-weight: 800; font-size: 0.95rem; margin-bottom: var(--spacing-md); }
.opportunity-card h3 { font-size: 1.15rem; margin-bottom: var(--spacing-sm); }
.opportunity-card p { font-size: 0.9rem; }
.kpi-row { margin: var(--spacing-sm) 0; }
.kpi-row .kpi-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--text-muted); display: block; margin-bottom: 4px; }
.recurring-tag { margin-top: auto; padding-top: var(--spacing-sm); border-top: 1px dashed var(--glass-border); font-size: 0.82rem; color: var(--primary-deep); font-weight: 600; }
.recurring-tag svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 5px; stroke: var(--accent); }

/* Models */
.models-section { padding: var(--spacing-3xl) 0; }
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.model-card { text-align: center; padding: var(--spacing-lg); }
.model-card h3 { font-size: 1.05rem; margin-bottom: var(--spacing-sm); }
.model-card p { font-size: 0.875rem; margin-bottom: 0; }

/* Revenue */
.revenue-section { padding: var(--spacing-3xl) 0; background: linear-gradient(180deg, rgba(156, 107, 46, 0.02) 0%, transparent 100%); }
.revenue-card h3 { font-size: 1.05rem; margin-bottom: var(--spacing-xs); }
.revenue-card p { font-size: 0.875rem; margin-bottom: 0; }
.revenue-table-wrap { margin-top: var(--spacing-2xl); overflow-x: auto; }
.revenue-table { width: 100%; border-collapse: collapse; background: var(--glass-bg); backdrop-filter: blur(var(--blur-medium)); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--glass-shadow); }
.revenue-table th, .revenue-table td { padding: var(--spacing-md); text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--glass-border); }
.revenue-table th { background: var(--primary); color: white; font-weight: 700; }
.revenue-table tr:last-child td { border-bottom: none; }
.revenue-table td:first-child { font-weight: 700; color: var(--primary-deep); white-space: nowrap; }

/* Tech pills */
.tech-section { padding: var(--spacing-3xl) 0; background: linear-gradient(180deg, rgba(20, 56, 82, 0.02) 0%, transparent 100%); }
.tech-pills { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: var(--spacing-lg); }
.tech-pill { background: var(--glass-bg); backdrop-filter: blur(var(--blur-medium)); -webkit-backdrop-filter: blur(var(--blur-medium)); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: var(--spacing-xl); box-shadow: var(--glass-shadow); transition: all var(--transition-base); text-align: center; display: flex; flex-direction: column; align-items: center; min-height: 220px; }
.tech-pill:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--glass-shadow-hover); }
.pill-icon { margin-bottom: var(--spacing-md); display: block; }
.pill-icon svg { width: 44px; height: 44px; stroke: var(--primary); fill: none; }
.pill-title { font-weight: var(--font-weight-semibold); color: var(--primary-deep); margin-bottom: var(--spacing-xs); font-size: 1.05rem; }
.tech-pill p { color: var(--text-secondary); font-size: 0.875rem; margin: 0 0 var(--spacing-md) 0; flex-grow: 1; }
.tech-pill .btn-info { margin-top: auto; }

/* Benefits */
.benefits-section { padding: var(--spacing-3xl) 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--spacing-lg); }
.benefit-card { text-align: center; padding: var(--spacing-lg); }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: var(--spacing-sm); }
.benefit-card p { font-size: 0.875rem; margin-bottom: 0; }

/* Security */
.security-section { padding: var(--spacing-3xl) 0; }
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-lg); justify-items: center; }
.security-item { text-align: center; padding: var(--spacing-xl); transition: all var(--transition-base); display: flex; flex-direction: column; align-items: center; height: 100%; }
.security-item:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow-hover); }
.security-icon svg { width: 48px; height: 48px; stroke: var(--primary); fill: none; margin-bottom: var(--spacing-md); }
.security-item h3 { font-size: 1.15rem; margin-bottom: var(--spacing-xs); }
.security-item h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: var(--spacing-sm); font-weight: var(--font-weight-semibold); }
.security-item p { font-size: 0.9rem; line-height: 1.6; margin-bottom: var(--spacing-md); flex-grow: 1; }
.security-item .btn-info { margin-top: auto; }

/* Benchmarks */
.benchmarks-section { padding: var(--spacing-3xl) 0; }
.benchmarks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); }
.benchmark-card { text-align: center; padding: var(--spacing-xl); transition: all var(--transition-base); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.benchmark-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--glass-shadow-hover), 0 0 30px rgba(20, 56, 82, 0.15); }
.benchmark-icon svg { width: 52px; height: 52px; stroke: var(--primary); fill: none; margin-bottom: var(--spacing-md); }
.benchmark-card h3 { font-size: 1.15rem; margin-bottom: var(--spacing-sm); }
.benchmark-card p { font-size: 0.9rem; margin-bottom: var(--spacing-sm); color: var(--text-secondary); flex-grow: 1; }
.benchmark-impact { font-size: 0.85rem; font-weight: var(--font-weight-semibold); color: var(--primary); padding: var(--spacing-xs) var(--spacing-sm); background: rgba(20, 56, 82, 0.1); border-radius: var(--radius-sm); display: inline-block; margin-top: var(--spacing-sm); margin-bottom: var(--spacing-md); }
.source-note { font-size: 0.8125rem !important; color: var(--text-muted) !important; margin-top: var(--spacing-sm) !important; font-style: italic; }

/* Modal (shared) */
.modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); animation: fadeIn 0.3s ease; }
.modal-content { position: relative; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 2px solid rgba(20, 56, 82, 0.3); border-radius: var(--radius-lg); max-width: 440px; width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 8px 32px rgba(20, 56, 82, 0.15); animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 10000; overflow: hidden; max-height: 85vh; display: flex; flex-direction: column; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 0.75rem; right: 0.75rem; background: rgba(255, 255, 255, 0.9); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 1.375rem; line-height: 1; cursor: pointer; transition: all var(--transition-fast); color: var(--text-primary); display: flex; align-items: center; justify-content: center; z-index: 2; }
.modal-close:hover { background: var(--accent); color: white; transform: rotate(90deg); }
.modal-header { text-align: center; padding: var(--spacing-md) var(--spacing-lg) var(--spacing-sm); border-bottom: 2px solid rgba(20, 56, 82, 0.15); background: linear-gradient(180deg, rgba(20, 56, 82, 0.08) 0%, transparent 100%); flex-shrink: 0; }
.modal-icon svg { width: 44px; height: 44px; stroke: var(--primary); fill: none; margin-bottom: var(--spacing-xs); }
.modal-header h2 { font-size: 1.2rem; color: var(--primary-deep); margin-bottom: var(--spacing-xs); font-weight: var(--font-weight-bold); }
.modal-metric { font-size: 1.9rem; font-weight: var(--font-weight-extrabold); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-top: var(--spacing-xs); }
.modal-body { padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg); overflow-y: auto; }
.modal-body ul { list-style: none; padding: 0; margin: 0; }
.modal-body li { font-size: 0.875rem; color: var(--text-primary); margin-bottom: var(--spacing-sm); padding-left: var(--spacing-lg); position: relative; line-height: 1.5; }
.modal-body li:last-child { margin-bottom: 0; }
.modal-body li::before { content: '•'; position: absolute; left: 0; color: var(--accent); font-size: 1.5rem; font-weight: bold; line-height: 1; top: 0; }
.modal-body li strong { color: var(--primary); font-weight: var(--font-weight-bold); display: block; margin-bottom: 0.25rem; font-size: 1rem; }
.modal-body ul.two-columns { column-count: 2; column-gap: var(--spacing-xl); }
.modal-body ul.two-columns li { break-inside: avoid; }

/* Dashboard viewer */
.dashboard-section { padding: var(--spacing-3xl) 0; background: linear-gradient(180deg, rgba(20, 56, 82, 0.02) 0%, transparent 100%); }
.dash-viewer { display: flex; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 40px rgba(13, 31, 45, 0.35); border: 1px solid rgba(255,255,255,0.08); background: #0D1F2D; min-height: 460px; max-width: 1100px; margin: 0 auto; }
.dash-tabs { display: flex; flex-direction: column; width: 240px; min-width: 240px; background: #091826; border-right: 1px solid rgba(255,255,255,0.07); padding: 8px 0; }
.dash-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; background: none; border: none; border-left: 3px solid transparent; cursor: pointer; text-align: left; transition: all 0.2s ease; color: rgba(255,255,255,0.45); }
.dash-tab:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.75); border-left-color: rgba(156,107,46,0.5); }
.dash-tab.active { background: rgba(20,56,82,0.5); border-left-color: var(--accent-light); color: #fff; }
.dash-tab-num { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; color: var(--accent-light); opacity: 0.8; line-height: 1; }
.dash-tab.active .dash-tab-num { opacity: 1; }
.dash-tab-label { font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.dash-panel { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #0D1F2D; }
.dash-img-wrap { flex: 1; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 30% 30%, rgba(20,56,82,0.9), #0a1628); overflow: hidden; min-height: 340px; flex-direction: column; gap: 14px; text-align: center; padding: var(--spacing-lg); transition: opacity 0.18s ease; }
.dash-img-wrap svg { width: 64px; height: 64px; stroke: var(--accent-light); opacity: 0.85; }
.dash-img-wrap .dash-ph-title { color: #fff; font-weight: 700; font-size: 1.05rem; }
.dash-img-wrap .dash-ph-tag { color: var(--accent-light); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.dash-img-wrap.has-screenshot { padding: 0; background: #0a1628; }
.dash-img-wrap img.dash-screenshot { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.dash-caption { padding: 16px 24px; background: #0f2235; border-top: 1px solid rgba(255,255,255,0.07); }
.dash-caption h4 { margin: 0 0 6px; font-size: 0.9rem; font-weight: 700; color: #fff; }
.dash-caption p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.55; }

/* References / Materials */
.references-section { padding: var(--spacing-3xl) 0; background: linear-gradient(180deg, rgba(20, 56, 82, 0.03) 0%, rgba(156, 107, 46, 0.02) 100%); }
.reference-group { margin-bottom: var(--spacing-2xl); }
.reference-group h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: var(--spacing-md); display: flex; align-items: center; gap: 8px; }
.reference-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-md); }
.reference-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: var(--spacing-md); transition: all var(--transition-base); }
.reference-item:hover { border-color: var(--primary); box-shadow: var(--glass-shadow); transform: translateY(-2px); }
.reference-item a { font-weight: 700; font-size: 0.92rem; display: block; margin-bottom: 4px; }
.reference-item p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.placeholder-card { display: flex; flex-direction: column; min-height: 260px; }
.placeholder-card .download-icon { width: 64px; height: 64px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); display: flex; align-items: center; justify-content: center; margin-bottom: var(--spacing-md); }
.placeholder-card .download-icon svg { width: 30px; height: 30px; stroke: white; fill: none; }
.placeholder-card h3 { font-size: 1.1rem; margin-bottom: var(--spacing-sm); }
.placeholder-card p { font-size: 0.88rem; flex-grow: 1; }
.placeholder-flag { display: inline-flex; align-items: center; gap: 6px; background: rgba(156,107,46,0.12); color: var(--accent); font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: var(--spacing-sm); align-self: flex-start; }

.video-embed-wrap { max-width: 860px; margin: var(--spacing-xl) auto var(--spacing-2xl); }
.video-embed-frame { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 40px rgba(13, 31, 45, 0.25); background: #0a1628; }
.video-embed-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-embed-caption { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin: var(--spacing-md) auto 0; max-width: 700px; }

/* Next steps */
.next-steps-section { padding: var(--spacing-3xl) 0; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); position: relative; }
@media (max-width: 1200px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
.step-item { position: relative; padding: var(--spacing-xl); padding-left: 80px; transition: all var(--transition-base); border: 2px solid transparent; }
.step-item:hover { transform: translateY(-6px); box-shadow: var(--glass-shadow-hover); }
.step-discover { background: linear-gradient(135deg, rgba(20, 56, 82, 0.08) 0%, rgba(255, 255, 255, 0.75) 100%); border-color: rgba(20, 56, 82, 0.3); }
.step-prioritize { background: linear-gradient(135deg, rgba(156, 107, 46, 0.08) 0%, rgba(255, 255, 255, 0.75) 100%); border-color: rgba(156, 107, 46, 0.3); }
.step-design { background: linear-gradient(135deg, rgba(13, 37, 53, 0.08) 0%, rgba(255, 255, 255, 0.75) 100%); border-color: rgba(13, 37, 53, 0.3); }
.step-execute { background: linear-gradient(135deg, rgba(52, 168, 83, 0.08) 0%, rgba(255, 255, 255, 0.75) 100%); border-color: rgba(52, 168, 83, 0.3); }
.step-number { position: absolute; left: var(--spacing-lg); top: var(--spacing-lg); font-size: 3rem; font-weight: var(--font-weight-extrabold); opacity: 0.35; line-height: 1; }
.step-discover .step-number { color: var(--primary); }
.step-prioritize .step-number { color: var(--accent); }
.step-design .step-number { color: var(--primary-deep); }
.step-execute .step-number { color: #34A853; }
.step-item h3 { font-size: 1.05rem; margin-bottom: var(--spacing-sm); margin-top: var(--spacing-xl); }
.step-item p { font-size: 0.9rem; margin-bottom: 0; }
.cta-container { text-align: center; margin-top: var(--spacing-2xl); }
.cta-question { max-width: 700px; margin: 0 auto var(--spacing-lg); background: rgba(20,56,82,0.06); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: var(--spacing-md); font-style: italic; color: var(--primary-deep); }

/* Footer */
.footer { background: var(--primary-deep); color: var(--text-white); padding: var(--spacing-2xl) 0 var(--spacing-lg); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing-xl); margin-bottom: var(--spacing-xl); }
.footer-brand { max-width: 320px; }
.footer-brand-mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--spacing-md); }
.footer-brand-mark .brand-mark { background: linear-gradient(135deg, var(--accent-light), var(--accent)); }
.footer-brand-mark span { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.5px; }
.footer-tagline { color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; }
.footer-contact h4 { color: var(--text-white); margin-bottom: var(--spacing-md); }
.footer-contact p { color: rgba(255, 255, 255, 0.8); margin-bottom: var(--spacing-sm); }
.footer-contact a { color: rgba(255, 255, 255, 0.9); transition: color var(--transition-fast); }
.footer-contact a:hover { color: var(--text-white); }
.footer-presented { text-align: right; }
.presented-label { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; margin-bottom: var(--spacing-sm); }
.footer-drakken-logo { height: 32px; width: auto; display: inline-block; background: white; padding: 4px 10px; border-radius: 6px; }
.presented-date { color: rgba(255, 255, 255, 0.8); font-size: 0.9375rem; }
.footer-bottom { padding-top: var(--spacing-lg); border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
.footer-bottom p { color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; margin: 0; }

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
[data-animate] { opacity: 0; animation: fadeInUp 0.8s ease forwards; }
[data-animate]:nth-child(1) { animation-delay: 0.1s; }
[data-animate]:nth-child(2) { animation-delay: 0.2s; }
[data-animate]:nth-child(3) { animation-delay: 0.3s; }
[data-animate]:nth-child(4) { animation-delay: 0.4s; }
[data-animate]:nth-child(5) { animation-delay: 0.5s; }
[data-animate]:nth-child(6) { animation-delay: 0.6s; }

/* ===================================
   Podcast Player — Slim
   =================================== */
.podcast-section { padding: var(--spacing-lg) 0; background: linear-gradient(180deg, rgba(20,56,82,0.05) 0%, rgba(20,56,82,0.02) 100%); border-bottom: 1px solid var(--glass-border); }

.podcast-player-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border: 2px solid rgba(20, 56, 82, 0.25);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(20,56,82,0.1);
    overflow: hidden;
    position: relative;
}

.podcast-slim-row { display: flex; align-items: center; gap: var(--spacing-md); padding: 14px 20px; }

.podcast-play-btn { position: relative; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: white; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 16px rgba(20,56,82,0.3); }
.podcast-play-btn:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(20,56,82,0.45); }
.podcast-pulse { position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(20,56,82,0.3); opacity: 0; animation: slim-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes slim-pulse { 0% { transform: scale(0.9); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
.podcast-play-btn.playing .podcast-pulse { animation-duration: 1.8s; border-color: rgba(156,107,46,0.4); }

.podcast-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.podcast-slim-meta { display: flex; align-items: center; gap: 8px; min-width: 0; }
.podcast-slim-title { font-size: 0.85rem; font-weight: 700; color: var(--primary-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.podcast-slim-badge { display: inline-flex; align-items: center; gap: 3px; background: linear-gradient(135deg, var(--primary) 0%, #0D2535 100%); color: white; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; white-space: nowrap; flex-shrink: 0; }

.podcast-progress-container { width: 100%; cursor: pointer; padding: 5px 0; }
.podcast-progress-bar { width: 100%; height: 4px; background: rgba(20,56,82,0.15); border-radius: 99px; position: relative; }
.podcast-progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%); border-radius: 99px; width: 0%; pointer-events: none; }
.podcast-progress-thumb { position: absolute; top: 50%; width: 13px; height: 13px; background: var(--primary); border: 2px solid white; border-radius: 50%; box-shadow: 0 1px 5px rgba(20,56,82,0.4); transform: translateY(-50%) translateX(-50%); pointer-events: none; left: 0%; transition: transform 0.15s; }
.podcast-progress-container:hover .podcast-progress-thumb { transform: translateY(-50%) translateX(-50%) scale(1.3); }

.podcast-slim-time { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); padding: 0 1px; }
.podcast-slim-time span:first-child { color: var(--primary); }

.podcast-right-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.podcast-skip-btn { position: relative; background: none; border: none; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 50%; transition: color 0.15s, background 0.15s; width: 32px; height: 32px; }
.podcast-skip-btn:hover { color: var(--primary); background: rgba(20,56,82,0.08); }
.skip-label { position: absolute; bottom: 2px; font-size: 0.5rem; font-weight: 800; letter-spacing: -0.3px; color: inherit; pointer-events: none; }

.podcast-speed-group { display: flex; gap: 3px; }
.podcast-speed-btn { background: rgba(20,56,82,0.07); border: 1px solid rgba(20,56,82,0.16); color: var(--primary-deep); font-size: 0.7rem; font-weight: 700; padding: 3px 7px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.podcast-speed-btn:hover { background: rgba(20,56,82,0.14); }
.podcast-speed-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

.podcast-mute-btn { background: none; border: none; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; padding: 4px; border-radius: 50%; transition: color 0.15s; flex-shrink: 0; }
.podcast-mute-btn:hover { color: var(--primary); }
.podcast-volume-slider { -webkit-appearance: none; appearance: none; width: 80px; height: 4px; border-radius: 99px; background: rgba(20,56,82,0.15); outline: none; cursor: pointer; }
.podcast-volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--primary); border: 2px solid white; box-shadow: 0 1px 5px rgba(20,56,82,0.3); cursor: pointer; }
.podcast-volume-slider::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--primary); border: 2px solid white; cursor: pointer; }

@media (max-width: 700px) {
    .podcast-right-controls { gap: 4px; }
    .podcast-volume-slider { width: 56px; }
    .podcast-speed-group { display: none; }
}
@media (max-width: 520px) {
    .podcast-slim-row { gap: 10px; padding: 12px 14px; }
    .podcast-slim-badge { display: none; }
    .podcast-mute-btn, .podcast-volume-slider { display: none; }
}

/* Toast (for placeholder click feedback) */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--primary-deep); color: white; padding: 12px 22px; border-radius: 30px; font-size: 0.875rem; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 20000; opacity: 0; pointer-events: none; transition: all 0.3s ease; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1200px) {
    .nav-links { gap: 2px; }
    .nav-links a { padding: 4px 7px; font-size: 0.72rem; }
}
@media (max-width: 1024px) {
    .nav-links a { padding: 4px 6px; font-size: 0.68rem; }
    .intro-grid { grid-template-columns: 1fr; }
    .tech-pills { grid-template-columns: repeat(2, 1fr) !important; }
    .models-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); border-bottom: 2px solid var(--glass-border); flex-direction: column; padding: var(--spacing-md); gap: var(--spacing-xs); z-index: 999; }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { width: 100%; justify-content: flex-start; }
    .hero { padding-top: 100px; min-height: 74vh; }
    .hero-title { font-size: 2rem; }
    .tech-pills { grid-template-columns: 1fr !important; }
    .models-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-presented { text-align: left; }
    .modal-body ul.two-columns { column-count: 1; }
    .dash-viewer { flex-direction: column; min-height: auto; }
    .dash-tabs { flex-direction: row; width: 100%; min-width: 0; overflow-x: auto; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 0; }
    .dash-tab { flex-direction: row; gap: 8px; padding: 12px 14px; white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
    .dash-tab.active { border-left-color: transparent; border-bottom-color: var(--accent-light); }
    .dash-img-wrap { min-height: 220px; }
    .dash-img-wrap img.dash-screenshot { min-height: 220px; }
}
@media (max-width: 480px) {
    .container { padding: 0 var(--spacing-sm); }
    h2 { font-size: 1.75rem; }
}

/* ===================================
   Login Page
   =================================== */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 50%, rgba(156, 107, 46, 0.3) 100%); position: relative; overflow: hidden; }
.login-page::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.login-particles { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; width: 4px; height: 4px; background: rgba(255,255,255,0.2); border-radius: 50%; animation: float-particle 8s linear infinite; }
@keyframes float-particle { 0% { transform: translateY(100vh) scale(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100px) scale(1.5); opacity: 0; } }
.login-card { position: relative; background: rgba(255, 255, 255, 0.98); border-radius: var(--radius-xl); padding: var(--spacing-2xl); width: 100%; max-width: 500px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.3); box-sizing: border-box; margin: 0 var(--spacing-md); }
@media (max-width: 480px) {
    .login-card { padding: var(--spacing-lg) var(--spacing-md); margin: 0 var(--spacing-sm); }
    .login-footer-logos { gap: 8px; }
}
.login-logo { text-align: center; margin-bottom: var(--spacing-xl); }
.login-footer-logos { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 1.5rem; flex-wrap: wrap; max-width: 100%; }
.login-logo-text { font-weight: 800; font-size: 1.15rem; color: var(--primary-deep); letter-spacing: 0.5px; }
.login-title { font-size: 1.5rem; font-weight: var(--font-weight-bold); color: var(--primary-deep); text-align: center; margin-bottom: var(--spacing-xs); }
.login-subtitle { font-size: 0.9375rem; color: var(--text-muted); text-align: center; margin-bottom: var(--spacing-xl); }
.form-group { margin-bottom: var(--spacing-md); }
.form-group label { display: block; font-size: 0.875rem; font-weight: var(--font-weight-semibold); color: var(--text-primary); margin-bottom: var(--spacing-xs); }
.form-group input { width: 100%; padding: 0.75rem var(--spacing-md); border: 2px solid var(--glass-border); border-radius: var(--radius-md); font-size: 1rem; color: var(--text-primary); background: white; transition: border-color var(--transition-fast); outline: none; font-family: var(--font-family); }
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20, 56, 82, 0.1); }
.input-wrapper { position: relative; }
.input-wrapper > svg:first-child { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; opacity: 0.5; z-index: 1; }
.input-wrapper input { padding-left: 44px !important; padding-right: 44px !important; }
.toggle-password { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 6px; display: flex; align-items: center; justify-content: center; opacity: 0.5; transition: opacity 0.2s; z-index: 2; }
.toggle-password:hover { opacity: 1; }
.toggle-password svg { pointer-events: none; position: static; transform: none; opacity: 1; }
.btn-login { width: 100%; padding: var(--spacing-md); background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: white; border: none; border-radius: var(--radius-md); font-size: 1.0625rem; font-weight: var(--font-weight-bold); cursor: pointer; transition: all var(--transition-base); font-family: var(--font-family); position: relative; overflow: hidden; }
.btn-login:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20, 56, 82, 0.4); }
.login-error { display: none; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #dc2626; padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-sm); font-size: 0.875rem; text-align: center; margin-top: var(--spacing-sm); }
.login-error.active { display: block; }
.login-badge { display: flex; align-items: center; justify-content: center; gap: var(--spacing-sm); margin-top: var(--spacing-xl); padding-top: var(--spacing-lg); border-top: 1px solid var(--glass-border); }
.login-badge span { font-size: 0.8125rem; color: var(--text-muted); }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-8px); } 30% { transform: translateX(8px); } 45% { transform: translateX(-6px); } 60% { transform: translateX(6px); } 75% { transform: translateX(-4px); } 90% { transform: translateX(4px); } }
