/* ============================================================
   NettoRechner.de — Main CSS v1.0
   Design: Colorful Modern Fintech
   Fonts: Plus Jakarta Sans + JetBrains Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
a { color: inherit; }

/* ─── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Colors */
  --c-indigo:      #818cf8;
  --c-indigo-d:    #6366f1;
  --c-purple:      #a78bfa;
  --c-pink:        #ec4899;
  --c-pink-d:      #db2777;
  --c-teal:        #06b6d4;
  --c-mint:        #34d399;
  --c-mint-d:      #10b981;
  --c-amber:       #fbbf24;
  --c-red:         #f87171;
  --c-red-d:       #ef4444;

  /* Gradient */
  --grad-primary:  linear-gradient(135deg, #818cf8 0%, #ec4899 100%);
  --grad-bg:       linear-gradient(135deg, #0f0c29 0%, #302b63 40%, #24243e 70%, #0f3460 100%);
  --grad-mint:     linear-gradient(135deg, #6ee7b7, #34d399);
  --grad-soft:     linear-gradient(135deg, rgba(129,140,248,.12), rgba(236,72,153,.08));

  /* Glass */
  --glass:         rgba(255,255,255,0.07);
  --glass-border:  rgba(255,255,255,0.12);
  --glass-hover:   rgba(255,255,255,0.10);

  /* Text */
  --text-1:        #ffffff;
  --text-2:        rgba(255,255,255,0.75);
  --text-3:        rgba(255,255,255,0.45);
  --text-4:        rgba(255,255,255,0.25);

  /* Surfaces */
  --surface:       rgba(255,255,255,0.06);
  --surface-2:     rgba(255,255,255,0.03);
  --line:          rgba(255,255,255,0.09);

  /* Content section (light surface) */
  --content-bg:    #f8f8ff;
  --content-text:  #1e1b4b;
  --content-text2: #4b5563;
  --content-text3: #6b7280;
  --content-line:  #e5e7eb;
  --content-card:  #ffffff;

  /* Typography */
  --font-sans:     'Plus Jakarta Sans', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* Spacing */
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 64px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast:   all 0.15s ease;
  --t-smooth: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --t-spring: all 0.3s cubic-bezier(0.34,1.56,0.64,1);

  /* Container */
  --container: 1140px;
  --container-pad: 20px;
}

/* ─── Light mode (content sections) ──────────────────────── */
.light-section {
  background: var(--content-bg);
  color: var(--content-text);
}

/* ─── Base ────────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background: var(--grad-bg);
  color: var(--text-1);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,12,41,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
  height: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.nav-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}

.nav-logo-name span { color: var(--c-indigo); }
.nav-logo-sub { font-size: 10px; color: var(--text-3); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: var(--t-fast);
}

.nav-link:hover, .nav-link.active {
  background: var(--glass);
  color: var(--text-1);
}

.nav-link-en {
  border: 1px solid var(--glass-border);
  font-size: 12px;
}

.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--t-fast);
}

.nav-theme-btn:hover { background: var(--glass-hover); color: var(--text-1); }
.nav-theme-btn .icon-sun { display: none; }
body.light-mode .nav-theme-btn .icon-sun { display: block; }
body.light-mode .nav-theme-btn .icon-moon { display: none; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--t-smooth);
}

/* ═══════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
}

.hero-glow-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,.3) 0%, transparent 65%);
  top: -300px;
  right: -200px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236,72,153,.2) 0%, transparent 65%);
  bottom: -200px;
  left: -100px;
}

.hero-glow-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,.15) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-mint);
  box-shadow: 0 0 8px var(--c-mint);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .7; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-1);
  margin-bottom: 20px;
}

.hero-title-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 16px 32px;
  backdrop-filter: blur(10px);
}

.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: var(--c-indigo); line-height: 1; }
.hero-stat-label { font-size: 11px; color: var(--text-3); font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }
.hero-stat-div { width: 1px; height: 36px; background: var(--glass-border); }

/* ═══════════════════════════════════════════════════════════
   CALCULATOR SECTION
════════════════════════════════════════════════════════════ */
.calc-section {
  padding: 0 0 80px;
  position: relative;
  z-index: 2;
}

.period-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.period-pills {
  display: flex;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  padding: 4px;
  gap: 4px;
  backdrop-filter: blur(10px);
}

.period-pill {
  padding: 10px 28px;
  border-radius: var(--r-full);
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--text-3);
  transition: var(--t-smooth);
}

.period-pill.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(129,140,248,.4);
}

/* Calculator Grid */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}

/* Panel */
.panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
}

.panel-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-mint);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-mint);
  animation: pulse 1.5s infinite;
}

.panel-body { padding: 24px 26px; }

/* Form Fields */
.field { margin-bottom: 18px; }

.field-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 8px;
}

.field-period { font-weight: 400; opacity: .7; }

.field-input-wrap, .field-select-wrap { position: relative; }

.field-input {
  width: 100%;
  height: 48px;
  padding: 0 48px 0 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  outline: none;
  transition: var(--t-fast);
  -moz-appearance: textfield;
}

.field-input::-webkit-outer-spin-button,
.field-input::-webkit-inner-spin-button { -webkit-appearance: none; }

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

.field-input:focus {
  border-color: rgba(129,140,248,.6);
  background: rgba(255,255,255,.10);
  box-shadow: 0 0 0 3px rgba(129,140,248,.15);
}

.field-input.is-error {
  border-color: rgba(248,113,113,.6);
  background: rgba(248,113,113,.06);
}

.field-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-3);
  pointer-events: none;
}

.field-select {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: var(--t-fast);
}

.field-select:focus {
  border-color: rgba(129,140,248,.6);
  box-shadow: 0 0 0 3px rgba(129,140,248,.15);
}

.field-select option { background: #302b63; color: #fff; }

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
  font-size: 13px;
}

.field-hint {
  display: block;
  font-size: 10px;
  color: var(--text-4);
  margin-top: 5px;
}

.field-error {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--c-red);
  margin-top: 5px;
  min-height: 14px;
}

.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Toggle Groups */
.toggle-group { display: flex; gap: 6px; }

.toggle-btn {
  flex: 1;
  height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--text-3);
  transition: var(--t-fast);
  text-transform: uppercase;
}

.toggle-btn:hover { background: rgba(255,255,255,.09); color: var(--text-2); }

.toggle-btn.active {
  background: linear-gradient(135deg, rgba(129,140,248,.28), rgba(236,72,153,.18));
  border-color: rgba(129,140,248,.5);
  color: var(--text-1);
}

/* Calculate Button */
.calc-btn {
  width: 100%;
  height: 54px;
  background: var(--grad-primary);
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  transition: var(--t-smooth);
  box-shadow: 0 8px 30px rgba(129,140,248,.4);
  letter-spacing: -.1px;
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(129,140,248,.55);
}

.calc-btn:active { transform: translateY(0); }

.calc-btn-arrow { transition: transform .2s; flex-shrink: 0; }
.calc-btn:hover .calc-btn-arrow { transform: translateX(4px); }

.calc-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-4);
  margin-top: 12px;
  text-align: center;
}

/* Results Panel */
.calc-results-col { position: sticky; top: 88px; }

.results-panel { overflow: hidden; }

.results-placeholder {
  padding: 60px 28px;
  text-align: center;
}

.placeholder-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-soft);
}

.placeholder-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 1.8;
}

.placeholder-hint {
  font-size: 11px;
  color: var(--text-4);
  margin-top: 8px;
}

/* Netto Hero */
.netto-hero {
  padding: 26px 26px 22px;
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
}

.netto-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  margin-bottom: 10px;
}

.netto-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  background: var(--grad-mint);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all .3s;
}

.netto-secondary {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-top: 7px;
  min-height: 16px;
}

.netto-badges {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.netto-badge {
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;
}

.netto-badge-tax {
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.28);
  color: var(--c-amber);
}

.netto-badge-net {
  background: rgba(52,211,153,.10);
  border: 1px solid rgba(52,211,153,.28);
  color: var(--c-mint);
}

/* Results period bar */
.results-period-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.1);
}

.rp-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.rp-btn {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-3);
  letter-spacing: .5px;
  transition: var(--t-fast);
  text-transform: uppercase;
}

.rp-btn.active {
  background: rgba(129,140,248,.25);
  border-color: rgba(129,140,248,.5);
  color: var(--c-indigo);
}

/* Breakdown Table */
.breakdown-table {
  width: 100%;
  border-collapse: collapse;
}

.breakdown-table th {
  padding: 11px 26px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-3);
  background: rgba(0,0,0,.1);
  border-bottom: 1px solid var(--line);
}

.th-right { text-align: right !important; }

.brow td {
  padding: 11px 26px;
  font-size: 13px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.brow:last-child td { border-bottom: none; }

.brow:hover td { background: rgba(255,255,255,.03); }

.brow-gross td { color: var(--text-1); }

.brow-total td {
  background: rgba(0,0,0,.15);
  font-weight: 700;
  color: var(--text-1);
}

.brow-netto td {
  background: rgba(52,211,153,.07);
  font-weight: 700;
  color: var(--text-1);
  padding-top: 16px;
  padding-bottom: 16px;
}

.bval {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}

.bval-ded { color: var(--c-red); }
.bval-net { color: var(--c-mint); font-size: 14px; font-weight: 600; }

/* Dots */
.bdot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  flex-shrink: 0;
}

.bdot-gray   { background: rgba(255,255,255,.3); }
.bdot-indigo { background: var(--c-indigo); }
.bdot-purple { background: var(--c-purple); }
.bdot-pink   { background: var(--c-pink); }
.bdot-red    { background: var(--c-red-d); }
.bdot-mint   { background: var(--c-mint); }

/* Variant links bar */
.variant-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 16px 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
}

.variant-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-right: 4px;
}

.variant-link {
  padding: 5px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: var(--t-fast);
}

.variant-link:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   CONTENT SECTION
════════════════════════════════════════════════════════════ */
.content-section {
  background: var(--content-bg);
  color: var(--content-text);
  padding: 80px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.content-main h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--content-text);
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: -.3px;
}

.content-main h2:not(:first-child) {
  margin-top: 48px;
}

.content-main p {
  font-size: 15px;
  color: var(--content-text2);
  line-height: 1.78;
  margin-bottom: 16px;
}

.content-main a {
  color: #6366f1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-main a:hover { color: #818cf8; }

/* Deduction Cards */
.deduction-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

.deduction-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--content-card);
  border: 1px solid var(--content-line);
  border-radius: var(--r-md);
  transition: var(--t-fast);
}

.deduction-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 16px rgba(99,102,241,.08);
}

.deduction-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.deduction-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--content-text);
  margin-bottom: 4px;
}

.deduction-card p {
  font-size: 12px;
  color: var(--content-text3);
  line-height: 1.5;
  margin: 0;
}

/* Steuerklasse Table */
.sk-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--r-md);
  border: 1px solid var(--content-line);
}

.sk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sk-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #6366f1;
  background: #f5f3ff;
  border-bottom: 1px solid var(--content-line);
}

.sk-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--content-line);
  color: var(--content-text2);
}

.sk-table tr:last-child td { border-bottom: none; }
.sk-table tr:hover td { background: #fafaf9; }

.sk-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.sk-1 { background: #e0e7ff; color: #4338ca; }
.sk-2 { background: #ede9fe; color: #6d28d9; }
.sk-3 { background: #fce7f3; color: #9d174d; }
.sk-4 { background: #ecfdf5; color: #065f46; }
.sk-5 { background: #fef3c7; color: #92400e; }
.sk-6 { background: #fee2e2; color: #991b1b; }

/* Content list */
.content-list {
  padding-left: 22px;
  margin: 16px 0 24px;
}

.content-list li {
  color: var(--content-text2);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 10px;
}

/* Sidebar */
.content-sidebar { position: sticky; top: 88px; }

.sidebar-card {
  background: var(--content-card);
  border: 1px solid var(--content-line);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 16px;
}

.sidebar-card h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #6366f1;
  margin-bottom: 14px;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--content-text2);
  text-decoration: none;
  transition: var(--t-fast);
}

.sidebar-links a:hover {
  background: #f5f3ff;
  color: #6366f1;
  padding-left: 16px;
}

.ad-slot { margin-top: 16px; }
.ad-placeholder {
  height: 250px;
  background: var(--content-line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--content-text3);
  border: 1px dashed #d1d5db;
}

/* ═══════════════════════════════════════════════════════════
   FAQ SECTION
════════════════════════════════════════════════════════════ */
.faq-section {
  background: #f0eeff;
  padding: 80px 0;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #1e1b4b;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -.5px;
}

.section-subtitle {
  font-size: 16px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #e0d9ff;
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s;
}

.faq-item[open] { border-color: #818cf8; }

.faq-q {
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #1e1b4b;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .1s;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #818cf8;
  flex-shrink: 0;
  transition: transform .2s;
  line-height: 1;
}

.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-q:hover { background: #fafaf9; }

.faq-a {
  padding: 14px 22px 18px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.75;
  border-top: 1px solid #e0d9ff;
  background: #faf9ff;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: #0a0820;
  color: rgba(255,255,255,.6);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 14px;
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin-top: 10px !important;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
}

.footer-logo span { color: var(--c-indigo); }

.footer-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--grad-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s;
}

.footer-col a:hover { color: var(--c-indigo); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: rgba(255,255,255,.3);
  text-align: center;
}

.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-indigo); }

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-fade-up  { animation: fadeInUp .4s ease both; }
.anim-pop      { animation: popIn .3s cubic-bezier(.34,1.56,.64,1) both; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .calc-grid { grid-template-columns: 1fr 360px; }
  .content-grid { grid-template-columns: 1fr 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results-col { position: static; }
  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero { padding: 60px 0 40px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .deduction-cards { grid-template-columns: 1fr; }
  .field-row-2 { grid-template-columns: 1fr; }
  .hero-stats { padding: 14px 20px; gap: 16px; }
}

@media (max-width: 480px) {
  :root { --container-pad: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -1px; }
  .panel-body { padding: 18px; }
  .netto-value { font-size: 28px; }
}
