/* =============================================================================
   AIREDALE CORP — Design System
   Theme: Precision Altitude | Dark Cockpit · Electric Precision
   Display: Rajdhani | Body: Barlow
   Primary: Electric Cyan #00d4ff | Accent: Amber Gold #f5a623
   ============================================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* --- Design Tokens --- */
:root {
    --bg-deep: #060912;
    --bg-dark: #09101f;
    --bg-mid: #0d162b;
    --bg-card: #101828;
    --bg-card-alt: #0c1422;
    --border: #1c2d4a;
    --border-glow: rgba(0, 212, 255, 0.18);
    --cyan: #00d4ff;
    --cyan-80: rgba(0, 212, 255, 0.8);
    --cyan-40: rgba(0, 212, 255, 0.4);
    --cyan-15: rgba(0, 212, 255, 0.15);
    --cyan-08: rgba(0, 212, 255, 0.08);
    --cyan-glow: 0 0 24px rgba(0, 212, 255, 0.35), 0 0 64px rgba(0, 212, 255, 0.12);
    --amber: #f5a623;
    --amber-40: rgba(245, 166, 35, 0.4);
    --amber-12: rgba(245, 166, 35, 0.12);
    --amber-glow: 0 0 24px rgba(245, 166, 35, 0.3);
    --green: #22c55e;
    --red: #ef4444;
    --text-bright: #eef4fb;
    --text-main: #a8bdd6;
    --text-muted: #526880;
    --text-dim: #2d4260;
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --nav-h: 68px;
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --section-py: 5.5rem;
    --container: 1200px;
    --logo-accent: #FACC15; /* gold */
    --color-primary-deeper: #2D3F8A; /* deep navy, headings/nav */
}

.logo-mark {
    width: 30px;
    height: 30px;
    border: 2px solid var(--logo-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -1px 1px rgba(0, 0, 0, 0.2);
}

    .logo-mark::before {
        content: '';
        width: 12px;
        height: 12px;
        background: radial-gradient(circle at 32% 28%, #fff2a6 0%, #FACC15 45%, #a17007 100%);
        border-radius: 50%;
        box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 0 8px rgba(250, 204, 21, 0.55);
    }

.logo-wordmark {
    font-family: 'Signika Negative', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1;
    color: #fff; /* white for black bg — was var(--color-primary-deeper) navy on app */
    letter-spacing: 0.01em;
    text-decoration: none;
}

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

html, body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text-bright); }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* Override Bootstrap scaffolding */
.page { display: block !important; }
.sidebar { display: none !important; }
.top-row { display: none !important; }
.content { padding-top: 0 !important; }

/* =============================================================================
   SITE STRUCTURE
   ============================================================================= */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

.container-site {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section { padding: var(--section-py) 0; }
.section-dark  { background: var(--bg-dark); }
.section-mid   { background: var(--bg-mid); }
.section-deep  { background: var(--bg-deep); }
.section-card  { background: var(--bg-card); }

/* Section typography */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.85rem;
}

.section-label::before,
.section-label::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--cyan-40);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: var(--text-bright);
    margin-bottom: 1.1rem;
    letter-spacing: -0.01em;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 540px;
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(6, 9, 18, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    color: var(--text-bright) !important;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 0.1rem;
    margin-left: auto;
}

.nav-links a {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.4rem 0.95rem;
    border-radius: var(--r-sm);
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan);
    background: var(--cyan-08);
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg-deep) !important;
    background: var(--cyan);
    padding: 0.45rem 1.15rem;
    border-radius: var(--r-sm);
    transition: box-shadow 0.25s;
    flex-shrink: 0;
}

.nav-cta-btn:hover {
    box-shadow: var(--cyan-glow);
    color: var(--bg-deep) !important;
}

/* Mobile hamburger (CSS-only) */
.nav-toggle-label {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-main);
    margin-left: auto;
    padding: 0.25rem;
    line-height: 1;
}

#nav-toggle { display: none; }

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cyan);
    color: var(--bg-deep) !important;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.78rem 1.8rem;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.25s, transform 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    box-shadow: var(--cyan-glow);
    transform: translateY(-2px);
    color: var(--bg-deep) !important;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--cyan) !important;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.78rem 1.8rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--cyan-40);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.2s;
    white-space: nowrap;
}

.btn-outline:hover {
    border-color: var(--cyan);
    background: var(--cyan-08);
    transform: translateY(-2px);
}

.btn-amber {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--amber);
    color: var(--bg-deep) !important;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.78rem 1.8rem;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    transition: box-shadow 0.25s, transform 0.2s;
}

.btn-amber:hover {
    box-shadow: var(--amber-glow);
    transform: translateY(-2px);
    color: var(--bg-deep) !important;
}

/* =============================================================================
   PAGE HEADER (inner pages)
   ============================================================================= */
.page-header {
    padding-top: calc(var(--nav-h) + 4.5rem);
    padding-bottom: 4rem;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 55px 55px;
    opacity: 0.3;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 40%;
    background: radial-gradient(ellipse at left center, var(--cyan-08), transparent 70%);
    pointer-events: none;
}

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

.page-header-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.85rem;
}

.page-header-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--cyan-40);
}

.page-header-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.05;
    color: var(--text-bright);
    margin-bottom: 1rem;
}

.page-header-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
}

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-h);
}

/* Animated grid lines */
.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-deep);
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: -60px;
    background-image:
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: 0.6;
    animation: grid-drift 24s linear infinite;
}

@keyframes grid-drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(58px, 58px); }
}

/* Main cyan glow */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 30%;
    width: 900px;
    height: 700px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.07) 0%, transparent 65%);
    animation: hero-glow 5s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    from { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.2); }
}

.hero-amber {
    position: absolute;
    bottom: 5%;
    right: 8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(245, 166, 35, 0.05) 0%, transparent 65%);
    pointer-events: none;
    animation: amber-pulse 6s ease-in-out infinite alternate;
}

@keyframes amber-pulse {
    from { opacity: 0.5; }
    to   { opacity: 1; }
}

/* Scan line overlay */
.hero-scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.04) 3px,
        rgba(0, 0, 0, 0.04) 4px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.6rem;
    animation: anim-up 0.7s 0.05s ease both;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--cyan-40);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.8rem, 9vw, 7.5rem);
    line-height: 0.93;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: 0.4rem;
    animation: anim-up 0.7s 0.12s ease both;
}

.hero-title-line2 {
    display: block;
    color: var(--cyan);
    font-weight: 700;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-bottom: 2rem;
    animation: anim-up 0.7s 0.2s ease both;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.78;
    margin-bottom: 2.5rem;
    animation: anim-up 0.7s 0.28s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: anim-up 0.7s 0.36s ease both;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    margin-top: 4.5rem;
    flex-wrap: wrap;
    animation: anim-up 0.7s 0.48s ease both;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    flex-shrink: 0;
}

.badge-dot.amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.badge-dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    animation: anim-up 1s 0.8s ease both;
    z-index: 1;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-dim), transparent);
    animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(0.5); opacity: 0.2; }
}

/* =============================================================================
   TICKER STRIP
   ============================================================================= */
.ticker-strip {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 0.9rem 0;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: ticker-scroll 35s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 2.5rem;
}

.ticker-sep {
    color: var(--cyan-40);
    font-size: 0.6rem;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =============================================================================
   FEATURE CARDS
   ============================================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2rem 1.75rem;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 32px var(--cyan-08);
    transform: translateY(-5px);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--r-sm);
    background: var(--cyan-08);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    transition: box-shadow 0.3s;
}

.feature-card:hover .feature-icon { box-shadow: 0 0 20px var(--cyan-15); }
.feature-icon.amber { background: var(--amber-12); border-color: rgba(245,166,35,0.2); }
.feature-card:hover .feature-icon.amber { box-shadow: 0 0 20px var(--amber-12); }

.feature-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.12rem;
    color: var(--text-bright);
    margin-bottom: 0.55rem;
    letter-spacing: 0.02em;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.68;
}

/* =============================================================================
   MODULE SHOWCASE
   ============================================================================= */
.module-section {
    padding: var(--section-py) 0;
    border-top: 1px solid var(--border);
}

.module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.module-grid.reversed { direction: rtl; }
.module-grid.reversed > * { direction: ltr; }

.module-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.module-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.module-list li::before {
    content: '▸';
    color: var(--cyan);
    font-size: 0.65rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

/* Mock dashboard panel */
.mock-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
}

.mock-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.mock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card-alt);
}

.mock-title-bar {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-main);
}

.mock-live {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--green);
    text-transform: uppercase;
}

.mock-live::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}

.mock-body { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }

.mock-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    background: var(--bg-card-alt);
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    font-size: 0.8rem;
}

.mock-row-label {
    font-family: var(--font-display);
    color: var(--text-muted);
    flex: 1;
    font-size: 0.78rem;
}

.mock-row-val {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-bright);
    font-size: 0.8rem;
}

.tag {
    font-size: 0.63rem;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.tag-ok     { background: rgba(34,197,94,0.12); color: var(--green); }
.tag-warn   { background: var(--amber-12); color: var(--amber); }
.tag-danger { background: rgba(239,68,68,0.12); color: var(--red); }
.tag-info   { background: var(--cyan-08); color: var(--cyan); }
.tag-done   { background: rgba(139,92,246,0.12); color: #a78bfa; }

/* Gauge progress bar in mock */
.mock-progress-row { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.mock-progress-header { display: flex; justify-content: space-between; width: 100%; }
.mock-progress-bar { width: 100%; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.mock-progress-fill { height: 100%; border-radius: 2px; }
.fill-ok    { background: var(--green); }
.fill-warn  { background: var(--amber); }
.fill-danger { background: var(--red); }

/* =============================================================================
   STATS STRIP
   ============================================================================= */
.stats-strip {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

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

.stat-item {
    padding: 3rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* =============================================================================
   PRICING
   ============================================================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.pricing-card.featured {
    border-color: var(--cyan-40);
    box-shadow: 0 0 50px var(--cyan-08);
    transform: scale(1.04);
}

.pricing-card.featured:hover { transform: scale(1.04) translateY(-5px); }

.pricing-badge {
    display: inline-block;
    background: var(--cyan);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.pricing-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--text-bright);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.pricing-price sup {
    font-size: 1.3rem;
    font-weight: 500;
    vertical-align: super;
    color: var(--text-muted);
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.65;
    min-height: 3.3rem;
}

.pricing-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2.25rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.pricing-features li::before {
    content: '✓';
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.pricing-features li.na {
    color: var(--text-dim);
}

.pricing-features li.na::before {
    content: '—';
    color: var(--text-dim);
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */
.cta-section {
    position: relative;
    text-align: center;
    padding: 6rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, var(--cyan-08) 0%, transparent 65%);
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-bright);
    margin-bottom: 1rem;
    position: relative;
}

.cta-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.72;
    position: relative;
}

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* =============================================================================
   VALUES / ABOUT CARDS
   ============================================================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2.25rem;
    transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
}

.value-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-dim);
    line-height: 1;
    margin-bottom: 1rem;
}

.value-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.value-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* =============================================================================
   CONTACT FORM
   ============================================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 5rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    background: var(--cyan-08);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-info-value {
    font-size: 0.92rem;
    color: var(--text-bright);
}

.form-field { margin-bottom: 1.25rem; }

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.field-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 0.75rem 1rem;
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 0.93rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    border-color: var(--cyan-40);
    box-shadow: 0 0 0 3px var(--cyan-08);
}

.field-input::placeholder,
.field-textarea::placeholder { color: var(--text-dim); }

.field-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23526880' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field-select option { background: var(--bg-card); }

.field-textarea { min-height: 130px; resize: vertical; }

.form-error { color: var(--red); font-size: 0.8rem; margin-top: 0.3rem; }
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 4rem 2rem;
    border: 1px solid var(--border-glow);
    border-radius: var(--r-lg);
    background: var(--bg-card);
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(34,197,94,0.12);
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 0 24px rgba(34,197,94,0.2);
}

.success-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-bright);
}

.success-desc { font-size: 0.93rem; color: var(--text-muted); max-width: 360px; }

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    color: var(--text-bright);
    margin-bottom: 0.85rem;
}

.footer-brand-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 1.5rem;
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    font-size: 0.87rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--cyan); }

/* =============================================================================
   ERROR UI
   ============================================================================= */
#blazor-error-ui {
    background: #1a0a0a;
    border-top: 1px solid var(--red);
    bottom: 0;
    box-shadow: 0 -2px 20px rgba(239,68,68,0.2);
    color: var(--text-bright);
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.6rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

#blazor-error-ui .reload { color: var(--cyan); }

/* =============================================================================
   ANIMATIONS
   ============================================================================= */
@keyframes anim-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes anim-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================================================
   PRODUCTS PAGE — module detail cards
   ============================================================================= */
.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 2.5rem;
    transition: border-color 0.3s, transform 0.3s;
}

.module-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
}

.module-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.module-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.module-card-sub {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.module-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.module-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.22rem 0.6rem;
    border-radius: 3px;
    background: var(--cyan-08);
    color: var(--cyan);
    border: 1px solid var(--border-glow);
}

.module-tag.amber {
    background: var(--amber-12);
    color: var(--amber);
    border-color: rgba(245,166,35,0.2);
}

/* Modules grid 2-col */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* =============================================================================
   NOT FOUND
   ============================================================================= */
.notfound-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-h);
}

.notfound-code {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--text-dim);
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.notfound-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.notfound-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 900px) {
    :root { --section-py: 4rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .module-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .module-grid.reversed { direction: ltr; }
    .modules-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .pricing-card.featured { transform: none; }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
    .stat-item:nth-child(4) { border-right: none; }
}

@media (max-width: 640px) {
    :root { --section-py: 3rem; }
    .nav-links, .nav-cta-btn { display: none; }
    .nav-toggle-label { display: flex; }
    #nav-toggle:checked ~ .nav-mobile-links { display: flex; }
    .nav-mobile-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: rgba(6