/* Silver Lined platform identity. Keep the existing component class contracts. */
@font-face {
    font-family: 'Montserrat';
    src: url('../brand/silver-lined-v1/Montserrat-Variable.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --bg-void: #0f172a;
    --bg-primary: #0f172a;
    --bg-surface: #182235;
    --bg-elevated: #243044;
    --bg-card: #182235;
    --bg-input: #141e30;
    --brand-silver: #c0c6d4;
    --brand-hover: #d2d8e3;
    --neon-cyan: #c0c6d4;
    --neon-purple: #d2d8e3;
    --neon-blue: #60a5fa;
    --neon-green: #4ade80;
    --neon-amber: #fbbf24;
    --neon-pink: #fb7185;
    --neon-cyan-dim: rgba(192, 198, 212, .16);
    --neon-purple-dim: rgba(192, 198, 212, .16);
    --text-primary: #ffffff;
    --text-secondary: #c0c6d4;
    --text-muted: #94a3b8;
    --font-display: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Cascadia Code', Consolas, monospace;
    --border-glow: 1px solid rgba(192, 198, 212, .4);
}

body::before, .glitch-text::before, .glitch-text::after,
.cyber-card::before, .border-sweep::after { display: none; }

h1, h2, h3, h4, h5, h6 {
    text-transform: none;
    letter-spacing: -.025em;
}

.brand-mark { width: 48px; height: 44px; object-fit: contain; flex-shrink: 0; }
.public-header__logo, .portal__sidebar-logo, .footer__brand-name {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    text-transform: none;
    letter-spacing: -.025em;
}
.public-header, .public-header.scrolled {
    background: rgba(15, 23, 42, .97);
    border-bottom: 1px solid rgba(192, 198, 212, .14);
}
.public-header__link, .mobile-nav__link, .footer__col-title,
.portal__nav-item, .neon-btn, .section__label, .hero__stat-label,
.feature-title, .features-category__label, .showcase__label,
.server-region__name, .trust-item__title, .pricing-card__tier,
.download-card__platform {
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: normal;
}
.public-header__link { font-size: .875rem; }
.public-header__link:hover, .public-header__link.active,
[class*="neon-text--"], .glitch-loader { text-shadow: none; }
.public-footer, .portal__sidebar, .portal__topbar, .mobile-nav {
    background: var(--bg-primary);
    border-color: rgba(192, 198, 212, .18);
}
.portal__nav-item.active, .portal__nav-item:hover {
    color: var(--brand-hover);
    background: rgba(192, 198, 212, .1);
    border-color: var(--brand-silver);
}

.hero { padding-top: 10rem; }
.hero__headline { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.1; }
.hero__sub { max-width: 640px; font-size: 1.1rem; }
.hero__stats { background: var(--bg-surface); border-color: rgba(192, 198, 212, .18); }
.hero__stat-value, .feature-icon, .features-category__icon,
.showcase__label, .server-stat__value, .trust-item__icon,
.download-card__icon, .section__label { color: var(--brand-silver); text-shadow: none; }

.neon-btn { min-height: 44px; font-size: .875rem; border-radius: 8px; }
.neon-btn--green, .neon-btn--cyan, .neon-btn--purple {
    color: var(--brand-hover);
    border-color: rgba(192, 198, 212, .55);
}
.neon-btn:hover {
    box-shadow: none;
    text-shadow: none;
    background: rgba(192, 198, 212, .1);
}
.neon-btn--filled {
    color: #0f172a;
    background: var(--brand-silver);
    border-color: var(--brand-silver);
}
.neon-btn--filled:hover { color: #0f172a; background: var(--brand-hover); }
.cyber-card, .cyber-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(192, 198, 212, .18);
}
.cyber-card:hover { border-color: rgba(192, 198, 212, .4); }
.pricing-card--featured { border-color: var(--brand-silver); box-shadow: none; }
.pricing-card__badge, .pricing-toggle__btn.active {
    background: var(--brand-silver);
    color: #0f172a;
    border-color: var(--brand-silver);
}
.pricing-card__badge { font-family: var(--font-body); letter-spacing: normal; }
.terminal, .terminal__header { border-color: rgba(192, 198, 212, .2); }
.terminal__header { background: var(--bg-elevated); }
.mesh-node__icon { background: var(--bg-elevated); border-color: var(--brand-silver); box-shadow: none; }
.boot-logo.brand-mark { width: 112px; height: 96px; animation: none; filter: none; }
.boot-brand { font-family: var(--font-display); letter-spacing: -.02em; text-transform: none; }
.boot-progress__bar { background: var(--brand-silver); box-shadow: none; }
.fade-in, .slide-in-left, .float, .pulse-glow, .glitch-loader {
    animation: none;
    opacity: 1;
    transform: none;
}
.progress-bar__fill { box-shadow: none; }
.status-badge--active, .status-badge--completed { color: #4ade80; background: rgba(74, 222, 128, .12); }
.status-badge--pending, .status-badge--processing { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.status-badge--error, .status-badge--expired, .status-badge--cancelled { color: #fb7185; background: rgba(251, 113, 133, .12); }
.status-badge--info { color: #93c5fd; background: rgba(96, 165, 250, .12); }

:focus-visible { outline: 2px solid var(--brand-hover); outline-offset: 4px; }
h1[tabindex="-1"]:focus { outline: none; }
::selection { background: #c0c6d4; color: #0f172a; }
@media (max-width: 768px) {
    .public-header { padding: .6rem 1rem; }
    .hero { padding-top: 8rem; }
    .hero__headline { font-size: clamp(2rem, 9vw, 3.6rem); }
    .brand-mark { width: 40px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .typing-line { width: auto; border-right: none; }
}
