/* ═══════════════════════════════════════════════════════════════
   NORDIC IPTV SVERIGE — Global Design System
   Theme  : Dark Luxury
   Version: 1.0
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS (CSS Variables) ────────────────────────── */
:root {

  /* Backgrounds — sky.ch dark navy */
  --bg-base      : #070916;
  --bg-surface   : #0d1022;
  --bg-surface-2 : #13182d;
  --bg-surface-3 : #191f38;
  --bg-overlay   : rgba(7, 9, 22, 0.96);

  /* Accent — Sky Blue */
  --accent        : #1866ee;
  --accent-hover  : #0d52cc;
  --accent-muted  : rgba(24, 102, 238, 0.12);
  --accent-border : rgba(24, 102, 238, 0.30);
  --accent-glow   : 0 0 28px rgba(24, 102, 238, 0.25);

  /* Text */
  --text-primary   : #ffffff;
  --text-secondary : #9ba3bf;
  --text-muted     : #4d5580;
  --text-dimmed    : #363b5e;

  /* Borders */
  --border       : rgba(255, 255, 255, 0.07);
  --border-hover : rgba(255, 255, 255, 0.13);
  --border-focus : rgba(24, 102, 238, 0.60);

  /* Typography */
  --font : 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --nav-h  : 68px;
  --max-w  : 1400px;
  --px     : clamp(1rem, 5vw, 3rem);
  --py-sec : clamp(3rem, 8vw, 6rem);

  /* Border radius */
  --r-xs   : 3px;
  --r-sm   : 6px;
  --r-md   : 10px;
  --r-lg   : 14px;
  --r-xl   : 20px;
  --r-full : 9999px;

  /* Shadows */
  --shadow-sm  : 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md  : 0 8px 32px rgba(0, 0, 0, 0.60);
  --shadow-lg  : 0 20px 60px rgba(0, 0, 0, 0.80);

  /* Transitions */
  --t-fast : 0.15s ease;
  --t-base : 0.25s ease;
  --t-slow : 0.40s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ── 2. RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin    : 0;
  padding   : 0;
}

html {
  scroll-behavior       : smooth;
  -webkit-text-size-adjust: 100%;
  tab-size              : 4;
}

body {
  font-family             : var(--font);
  background-color        : var(--bg-base);
  color                   : var(--text-primary);
  line-height             : 1.6;
  min-height              : 100vh;
  -webkit-font-smoothing  : antialiased;
  -moz-osx-font-smoothing : grayscale;
}

img,
picture,
video,
canvas,
svg {
  display  : block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color          : inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

p,
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

button {
  cursor    : pointer;
  background: none;
  border    : none;
}


/* ── 3. TYPOGRAPHY SCALE ─────────────────────────────────────── */
h1 {
  font-size    : clamp(2rem, 5vw, 3.5rem);
  font-weight  : 900;
  letter-spacing: -0.03em;
  line-height  : 1.08;
  color        : var(--text-primary);
}

h2 {
  font-size    : clamp(1.5rem, 3vw, 2.25rem);
  font-weight  : 800;
  letter-spacing: -0.02em;
  line-height  : 1.2;
  color        : var(--text-primary);
}

h3 {
  font-size    : clamp(1.125rem, 2vw, 1.5rem);
  font-weight  : 700;
  letter-spacing: -0.015em;
  line-height  : 1.3;
  color        : var(--text-primary);
}

h4 {
  font-size  : 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

h5 {
  font-size  : 1rem;
  font-weight: 600;
}

h6 {
  font-size  : 0.875rem;
  font-weight: 600;
  color      : var(--text-secondary);
}

p {
  font-size  : 1rem;
  line-height: 1.75;
  color      : var(--text-secondary);
}

strong {
  font-weight: 700;
  color      : var(--text-primary);
}


/* ── 4. LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  max-width    : var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section {
  padding-block: var(--py-sec);
}

.section-sm {
  padding-block: clamp(2rem, 5vw, 4rem);
}

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
}

/* Flex helpers */
.flex         { display: flex; }
.flex-col     { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }

/* Page offset for fixed nav */
main {
  padding-top: var(--nav-h);
}


/* ── 5. ACCENT LINE (section divider) ────────────────────────── */
.accent-line {
  display      : inline-block;
  width        : 4px;
  height       : 22px;
  border-radius: 2px;
  background   : linear-gradient(to bottom, var(--accent), #ff6b35);
  flex-shrink  : 0;
}

.section-title {
  display    : flex;
  align-items: center;
  gap        : 10px;
  font-size  : clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size : 13px;
  color     : var(--text-muted);
  margin-top: 4px;
  padding-left: 14px;
}


/* ── 6. BUTTONS ──────────────────────────────────────────────── */
.btn {
  display        : inline-flex;
  align-items    : center;
  justify-content: center;
  gap            : 8px;
  padding        : 11px 24px;
  border-radius  : var(--r-sm);
  font-size      : 14px;
  font-weight    : 700;
  line-height    : 1;
  white-space    : nowrap;
  cursor         : pointer;
  border         : 1px solid transparent;
  transition     : background var(--t-base),
                   border-color var(--t-base),
                   color var(--t-base),
                   box-shadow var(--t-base),
                   transform var(--t-base);
}

.btn:active { transform: translateY(1px); }

/* Primary — Accent red */
.btn-primary {
  background  : var(--accent);
  color       : #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background  : var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow  : var(--accent-glow);
  transform   : translateY(-2px);
}

/* Secondary — Glass */
.btn-secondary {
  background  : rgba(255, 255, 255, 0.08);
  color       : var(--text-primary);
  border-color: var(--border-hover);
}
.btn-secondary:hover {
  background  : rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Ghost */
.btn-ghost {
  background  : transparent;
  color       : var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover {
  color       : var(--text-primary);
  border-color: var(--border-hover);
  background  : rgba(255, 255, 255, 0.04);
}

/* Sizes */
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }


/* ── 7. BADGES & PILLS ───────────────────────────────────────── */
.badge {
  display      : inline-flex;
  align-items  : center;
  gap          : 4px;
  padding      : 3px 10px;
  border-radius: var(--r-full);
  font-size    : 11px;
  font-weight  : 700;
  letter-spacing: 0.3px;
  white-space  : nowrap;
}

.badge-accent {
  background  : var(--accent-muted);
  border      : 1px solid var(--accent-border);
  color       : #ff4d4d;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.06);
  border    : 1px solid var(--border);
  color     : var(--text-muted);
}

.badge-success {
  background: rgba(34, 197, 94, 0.12);
  border    : 1px solid rgba(34, 197, 94, 0.30);
  color     : #4ade80;
}

.badge-warning {
  background: rgba(245, 158, 11, 0.12);
  border    : 1px solid rgba(245, 158, 11, 0.30);
  color     : #fbbf24;
}


/* ── 8. CARD ─────────────────────────────────────────────────── */
.card {
  background   : var(--bg-surface);
  border       : 1px solid var(--border);
  border-radius: var(--r-lg);
  padding      : 1.5rem;
  transition   : border-color var(--t-base),
                 transform var(--t-slow),
                 box-shadow var(--t-slow);
}

.card:hover {
  border-color: var(--border-hover);
  transform   : translateY(-3px);
  box-shadow  : var(--shadow-md);
}

.card-flat {
  background: var(--bg-surface);
  border    : 1px solid var(--border);
  border-radius: var(--r-lg);
  padding   : 1.5rem;
}


/* ── 9. DIVIDER ──────────────────────────────────────────────── */
.divider {
  width            : 100%;
  height           : 1px;
  background       : var(--border);
  border           : none;
  margin-block     : 0;
}


/* ── 10. FORM ELEMENTS ───────────────────────────────────────── */
.input {
  width        : 100%;
  padding      : 11px 16px;
  background   : var(--bg-surface-2);
  border       : 1px solid var(--border);
  border-radius: var(--r-sm);
  color        : var(--text-primary);
  font-size    : 14px;
  transition   : border-color var(--t-fast), box-shadow var(--t-fast);
  outline      : none;
}

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

.input:focus {
  border-color: var(--accent);
  box-shadow  : 0 0 0 3px rgba(229, 9, 20, 0.12);
}


/* ── 11. SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar               { width: 6px; height: 6px; }
::-webkit-scrollbar-track         { background: var(--bg-base); }
::-webkit-scrollbar-thumb         { background: #2a2a35; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover   { background: #3a3a48; }

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }


/* ── 12. SELECTION & FOCUS (Accessibility) ────────────────────── */
::selection {
  background: rgba(229, 9, 20, 0.28);
  color     : #fff;
}

:focus-visible {
  outline       : 2px solid var(--accent);
  outline-offset: 3px;
  border-radius : var(--r-xs);
}

/* Skip-to-content (WCAG) */
.skip-link {
  position  : absolute;
  top       : -100%;
  left      : 1rem;
  padding   : 8px 16px;
  background: var(--accent);
  color     : #fff;
  font-weight: 700;
  border-radius: var(--r-sm);
  z-index   : 9999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }


/* ── 13. ACCESSIBILITY HELPERS ────────────────────────────────── */
.sr-only {
  position  : absolute;
  width     : 1px;
  height    : 1px;
  padding   : 0;
  margin    : -1px;
  overflow  : hidden;
  clip      : rect(0, 0, 0, 0);
  white-space: nowrap;
  border    : 0;
}


/* ── 14. TEXT UTILITIES ──────────────────────────────────────── */
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--text-muted); }
.text-secondary{ color: var(--text-secondary); }
.text-sm       { font-size: 13px; }
.text-xs       { font-size: 11px; }
.text-lg       { font-size: 18px; }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 900; }
.truncate      { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }


/* ── 15. GRADIENT UTILITIES ──────────────────────────────────── */
.gradient-text {
  background         : linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip    : text;
}

.gradient-accent-text {
  background         : linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip    : text;
}


/* ── 16. NAV ─────────────────────────────────────────────────── */
.nl-nav {
  position  : fixed;
  top       : 0;
  left      : 0;
  right     : 0;
  z-index   : 200;
  height    : var(--nav-h);
  background: transparent;
  transition: background var(--t-base), box-shadow var(--t-base);
}

.nl-nav.is-scrolled {
  background     : var(--bg-overlay);
  box-shadow     : 0 1px 0 var(--border), var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nl-nav__inner {
  height         : 100%;
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  gap            : 2rem;
}

/* Logo */
.nl-nav__logo {
  font-size     : 17px;
  font-weight   : 900;
  letter-spacing: -0.5px;
  color         : var(--text-primary);
  white-space   : nowrap;
  flex-shrink   : 0;
  line-height   : 1;
}
.nl-nav__logo span { color: var(--accent); }

/* Desktop links */
.nl-nav__links { display: flex; align-items: center; }

.nl-nav__links ul {
  display    : flex;
  align-items: center;
  gap        : 2px;
}

.nl-nav__link {
  display      : block;
  padding      : 6px 13px;
  border-radius: var(--r-sm);
  font-size    : 14px;
  font-weight  : 500;
  color        : var(--text-secondary);
  transition   : color var(--t-fast), background var(--t-fast);
  white-space  : nowrap;
}
.nl-nav__link:hover  { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.nl-nav__link.is-active { color: var(--text-primary); font-weight: 600; }

/* Actions */
.nl-nav__actions {
  display    : flex;
  align-items: center;
  gap        : 0.75rem;
  flex-shrink: 0;
}

/* Hamburger button */
.nl-nav__toggle {
  display        : none;
  width          : 40px;
  height         : 40px;
  align-items    : center;
  justify-content: center;
  border-radius  : var(--r-sm);
  background     : rgba(255,255,255,0.06);
  border         : 1px solid var(--border);
  transition     : background var(--t-fast);
  flex-shrink    : 0;
}
.nl-nav__toggle:hover { background: rgba(255,255,255,0.12); }

/* Hamburger icon — 3 lines */
.nl-hamburger {
  display       : flex;
  flex-direction: column;
  gap           : 5px;
  width         : 20px;
  pointer-events: none;
}
.nl-hamburger span {
  display         : block;
  height          : 2px;
  background      : var(--text-primary);
  border-radius   : 2px;
  transition      : transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}

/* Hamburger → X when open */
#nav-toggle[aria-expanded="true"] .nl-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-toggle[aria-expanded="true"] .nl-hamburger span:nth-child(2) {
  opacity  : 0;
  transform: scaleX(0);
}
#nav-toggle[aria-expanded="true"] .nl-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Overlay (mobile) */
.nav-overlay {
  display        : none;
  position       : fixed;
  inset          : 0;
  background     : rgba(0, 0, 0, 0.72);
  z-index        : 299;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.nav-overlay.is-visible { display: block; }

/* Mobile menu panel */
.nl-mobile-menu {
  position  : fixed;
  top       : 0;
  right     : 0;
  bottom    : 0;
  width     : min(320px, 85vw);
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index   : 300;
  padding   : calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
  transform : translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
}
.nl-mobile-menu.is-open { transform: translateX(0); }

.nl-mobile-menu__links {
  display       : flex;
  flex-direction: column;
  gap           : 2px;
}

.nl-mobile-menu__link {
  display      : block;
  padding      : 12px 16px;
  border-radius: var(--r-md);
  font-size    : 15px;
  font-weight  : 500;
  color        : var(--text-secondary);
  transition   : color var(--t-fast), background var(--t-fast);
}
.nl-mobile-menu__link:hover {
  color     : var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}
.nl-mobile-menu__link.is-active {
  color      : var(--text-primary);
  background : var(--accent-muted);
  border-left: 3px solid var(--accent);
  padding-left: 13px;
  font-weight: 700;
}

.nl-mobile-menu__cta {
  margin-top : 1.5rem;
  padding-top: 1.5rem;
  border-top : 1px solid var(--border);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .nl-nav__links { display: none; }
  .nl-nav__cta   { display: none; }
  .nl-nav__toggle{ display: flex; }
}


/* ── 17. FOOTER ──────────────────────────────────────────────── */
.nl-footer {
  background: var(--bg-surface);
  border-top : 1px solid var(--border);
  padding-top: 3.5rem;
  margin-top : auto;
}

/* Brand row */
.nl-footer__brand {
  display        : flex;
  align-items    : flex-start;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : 1.5rem;
  padding-bottom : 2.5rem;
  margin-bottom  : 2.5rem;
  border-bottom  : 1px solid var(--border);
}

.nl-footer__logo {
  font-size     : 18px;
  font-weight   : 900;
  letter-spacing: -0.5px;
  color         : var(--text-primary);
  line-height   : 1;
}
.nl-footer__logo span { color: var(--accent); }

.nl-footer__tagline {
  font-size : 12px;
  color     : var(--text-muted);
  margin-top: 6px;
  max-width : 260px;
  line-height: 1.5;
}

/* Stats */
.nl-footer__stats {
  display  : flex;
  gap      : 2rem;
  flex-wrap: wrap;
}

.nl-footer__stat { text-align: right; }

.nl-footer__stat-val {
  font-size  : 15px;
  font-weight: 800;
  color      : var(--text-primary);
  white-space: nowrap;
}
.nl-footer__stat-val span { color: var(--accent); }

.nl-footer__stat-lbl {
  font-size : 10px;
  color     : var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* 5-column link grid */
.nl-footer__grid {
  display              : grid;
  grid-template-columns: 1.4fr 1.4fr 0.8fr 0.9fr 0.8fr;
  gap                  : 2rem 2.5rem;
  margin-bottom        : 3rem;
}

/* Column header */
.nl-footer__col-title {
  font-size     : 10px;
  font-weight   : 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color         : var(--text-muted);
  margin-bottom : 1rem;
  padding-bottom: 0.5rem;
  border-bottom : 1px solid var(--border);
}

/* Links list */
.nl-footer__links {
  display       : flex;
  flex-direction: column;
  gap           : 1px;
}

.nl-footer__link {
  display    : inline-block;
  padding    : 4px 0;
  font-size  : 13px;
  color      : var(--text-secondary);
  transition : color var(--t-fast), padding-left var(--t-fast);
  line-height: 1.4;
}
.nl-footer__link:hover {
  color       : var(--text-primary);
  padding-left: 5px;
}

/* Bottom bar */
.nl-footer__bottom {
  border-top     : 1px solid var(--border);
  padding        : 1.25rem 0 1.5rem;
  display        : flex;
  align-items    : center;
  justify-content: space-between;
  flex-wrap      : wrap;
  gap            : 0.75rem;
}

.nl-footer__copy {
  font-size: 12px;
  color    : var(--text-muted);
}

.nl-footer__legal {
  display: flex;
  gap    : 1.5rem;
  flex-wrap: wrap;
}

.nl-footer__legal a {
  font-size : 12px;
  color     : var(--text-dimmed);
  transition: color var(--t-fast);
}
.nl-footer__legal a:hover { color: var(--text-secondary); }

/* Responsive */
@media (max-width: 1100px) {
  .nl-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .nl-footer__stat { text-align: left; }
}
@media (max-width: 680px) {
  .nl-footer__grid  { grid-template-columns: repeat(2, 1fr); }
  .nl-footer__brand { flex-direction: column; }
  .nl-footer__stats { gap: 1.25rem; }
  .nl-footer__bottom{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .nl-footer__grid { grid-template-columns: 1fr; }
}


/* ── 18. LIGHT-PAGE + DARK NAV/FOOTER OVERRIDES ─────────────── */

/* Light content area */
body { background-color: #f5f7fc; color: #0d1020; }

h1, h2, h3, h4, h5 { color: #0d1020; }
h6                  { color: #374463; }
p                   { color: #374463; }
strong              { color: #0d1020; }

.text-secondary { color: #374463; }
.text-muted     { color: #6b7a9f; }

.gradient-text {
  background              : linear-gradient(135deg, #0d1020 0%, #374463 100%);
  -webkit-background-clip : text;
  -webkit-text-fill-color : transparent;
  background-clip         : text;
}

/* Nav — always dark */
.nl-nav                         { background: #070916; }
.nl-nav.is-scrolled             { background: rgba(7, 9, 22, 0.98); }
.nl-nav__logo                   { color: #ffffff; }
.nl-nav__logo span              { color: var(--accent); }
.nl-nav__link                   { color: rgba(255,255,255,0.72); }
.nl-nav__link:hover             { color: #ffffff; background: rgba(255,255,255,0.06); }
.nl-nav__link.is-active         { color: #ffffff; }
.nl-hamburger span              { background: #ffffff; }
.nl-nav__toggle                 { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.10); }
.nl-nav__toggle:hover           { background: rgba(255,255,255,0.14); }

/* Mobile menu — dark panel */
.nl-mobile-menu                 { background: #070916; border-left-color: rgba(255,255,255,0.08); }
.nl-mobile-menu__link           { color: rgba(255,255,255,0.72); }
.nl-mobile-menu__link:hover     { color: #ffffff; background: rgba(255,255,255,0.06); }
.nl-mobile-menu__link.is-active { color: #ffffff; background: var(--accent-muted); border-left-color: var(--accent); }
.nl-mobile-menu__cta            { border-top-color: rgba(255,255,255,0.10); }

/* Footer — always dark */
.nl-footer                      { background: #0d1022; border-top-color: rgba(255,255,255,0.08); }
.nl-footer__brand               { border-bottom-color: rgba(255,255,255,0.08); }
.nl-footer__logo                { color: #ffffff; }
.nl-footer__logo span           { color: var(--accent); }
.nl-footer__tagline             { color: rgba(255,255,255,0.45); }
.nl-footer__col-title           { color: rgba(255,255,255,0.38); border-bottom-color: rgba(255,255,255,0.08); }
.nl-footer__link                { color: rgba(255,255,255,0.58); }
.nl-footer__link:hover          { color: #ffffff; }
.nl-footer__stat-val            { color: #ffffff; }
.nl-footer__stat-val span       { color: var(--accent); }
.nl-footer__stat-lbl            { color: rgba(255,255,255,0.38); }
.nl-footer__bottom              { border-top-color: rgba(255,255,255,0.08); }
.nl-footer__copy                { color: rgba(255,255,255,0.38); }
.nl-footer__legal a             { color: rgba(255,255,255,0.28); }
.nl-footer__legal a:hover       { color: rgba(255,255,255,0.58); }

/* Cards — light surface */
.card, .card-flat {
  background  : #ffffff;
  border-color: rgba(0,0,0,0.09);
  box-shadow  : 0 1px 3px rgba(0,0,0,0.06);
}
.card:hover { border-color: rgba(0,0,0,0.16); box-shadow: 0 4px 16px rgba(0,0,0,0.10); }

/* Buttons — light mode */
.btn-secondary               { background: rgba(0,0,0,0.06); color: #0d1020; border-color: rgba(0,0,0,0.14); }
.btn-secondary:hover         { background: rgba(0,0,0,0.10); border-color: rgba(0,0,0,0.22); }
.btn-ghost                   { color: #374463; border-color: rgba(0,0,0,0.09); }
.btn-ghost:hover             { color: #0d1020; border-color: rgba(0,0,0,0.18); background: rgba(0,0,0,0.04); }

/* Badges — light mode */
.badge-muted  { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.10); color: #6b7a9f; }
.badge-accent { color: var(--accent); }

/* Form inputs */
.input              { background: #ffffff; border-color: rgba(0,0,0,0.14); color: #0d1020; }
.input::placeholder { color: #9ba3bf; }
.input:focus        { box-shadow: 0 0 0 3px rgba(24,102,238,0.12); }

/* Divider */
.divider { background: rgba(0,0,0,0.08); }

/* Accent line */
.accent-line { background: linear-gradient(to bottom, var(--accent), #60a5fa); }

/* Scrollbar */
::-webkit-scrollbar-track       { background: #f5f7fc; }
::-webkit-scrollbar-thumb       { background: #c5cce0; }
::-webkit-scrollbar-thumb:hover { background: #b0b9d4; }

/* Selection */
::selection { background: rgba(24,102,238,0.18); color: #0d1020; }
