:root {
    --red: #e01b24;
    --red-dim: #a01015;
    --red-glow: rgba(224, 27, 36, 0.18);
    --black: #080808;
    --surface: #111111;
    --surface2: #181818;
    --border: #222222;
    --text: #e8e8e8;
    --text-muted: #777;
    --text-dim: #444;
    --mono: 'DM Mono', monospace;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NOISE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: rgba(8,8,8,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    color: var(--text);
    text-decoration: none;
  }
  .nav-logo span { color: var(--red); }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--red); }

  .nav-cta {
    background: var(--red);
    color: #fff !important;
    padding: 0.45rem 1.1rem;
    border-radius: 2px;
    font-weight: 500 !important;
  }
  .nav-cta:hover { background: var(--red-dim); color: #fff !important; }

  /* ── HERO ── */
  #hero {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 3rem 3rem 2rem;
    overflow: hidden;
  }

  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(224,27,36,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(224,27,36,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  }

  .hero-glow {
    position: absolute;
    top: 20%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(224,27,36,0.12) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-inner {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    animation: fadeUp 1s ease both;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(224,27,36,0.1);
    border: 1px solid rgba(224,27,36,0.3);
    color: var(--red);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 2px;
    margin-bottom: 2rem;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }

  .hero-h1-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  @media (max-width: 900px) {
    .hero-h1-split { grid-template-columns: 1fr; gap: 0.5rem; }
  }

  .hero-subtitle {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2.5rem;
    line-height: 1.5;
  }

  .hero-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2rem;
  }

  .hero-row {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
  }
  .hero-row:last-child { border-bottom: none; }

  .hero-row-reverse {
    grid-template-columns: 320px 1fr;
  }
  .hero-row-reverse .hero-row-video { order: -1; }

  .hero-row-text h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    white-space: nowrap;
    margin-bottom: 0.8rem;
  }

  .hero-row-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text);
    border: 1px solid #333;
    border-radius: 2px;
    padding: 0.35rem 0.9rem;
    font-weight: 400;
    letter-spacing: 0.03em;
  }

  .video-placeholder {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
  }
  .video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224,27,36,0.05) 0%, transparent 60%);
  }
  .video-placeholder:hover { border-color: rgba(224,27,36,0.4); background: var(--surface2); }
  .video-ph-icon { font-size: 2rem; color: var(--text-dim); transition: color 0.3s; }
  .video-placeholder:hover .video-ph-icon { color: var(--red); }
  .video-ph-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }

  @media (max-width: 900px) {
    .hero-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-row-reverse { grid-template-columns: 1fr; }
    .hero-row-reverse .hero-row-video { order: 0; }
    .hero-row-text h1 { white-space: normal; }
  }

  h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
  }
  h1 .accent { color: var(--red); }
  h1 .outline {
    -webkit-text-stroke: 1px rgba(232,232,232,0.2);
    color: transparent;
  }

  .hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 3rem;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--red);
    color: #fff;
    padding: 0.85rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--red-dim); transform: translateY(-2px); }

  .btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.85rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

  .hero-stat-row {
    position: absolute;
    bottom: 3rem; left: 3rem; right: 3rem;
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    animation: fadeUp 1s 0.4s ease both;
  }
  .stat-item { }
  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--red);
    letter-spacing: 0.05em;
    line-height: 1;
  }
  .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.3rem;
  }

  /* ── SECTIONS ── */
  section {
    position: relative;
    padding: 4rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  section.full-bleed {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .section-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--red);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
  }

  h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
  }
  h2 .accent { color: var(--red); }

  .section-intro-expand {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-height: 5em;
    overflow: hidden;
    transition: max-height 0.6s ease;
    margin-bottom: 1rem;
  }
  .section-intro-expand.expanded {
    max-height: 2000px;
  }

  .expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    margin-bottom: 3rem;
    transition: border-color 0.2s, background 0.2s;
  }
  .expand-btn:hover { border-color: var(--red); background: var(--surface2); }
  .expand-btn-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: transform 0.4s, color 0.2s;
    display: inline-block;
  }
  .expand-btn:hover .expand-btn-icon { color: var(--red); }
  .expand-btn.open .expand-btn-icon { transform: rotate(180deg); }

  .section-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.8;
  }

  /* ── WHAT IS IT ── */
  #co-to-je {
    border-bottom: 1px solid var(--border);
  }

  .explainer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .explainer-card {
    background: var(--surface);
    padding: 2.5rem;
    transition: background 0.3s;
  }
  .explainer-card:hover { background: var(--surface2); }

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

  .explainer-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
    color: var(--text);
  }

  .explainer-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
  }

  /* ── HOW IT WORKS ── */
  #jak-to-funguje {
    border-bottom: 1px solid var(--border);
  }

  .steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }

  .step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s, transform 0.5s;
  }
  .step.visible { opacity: 1; transform: translateX(0); }
  .step:last-child { border-bottom: none; }

  .step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--border);
    line-height: 1;
    transition: color 0.3s;
  }
  .step:hover .step-num { color: var(--red); }

  .step-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
  }
  .step-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

  .step-badge {
    display: inline-block;
    background: rgba(224,27,36,0.1);
    border: 1px solid rgba(224,27,36,0.2);
    color: var(--red);
    font-family: var(--mono);
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    margin-top: 0.8rem;
    letter-spacing: 0.1em;
  }

  /* ── KEY CONCEPTS ── */
  #klicove-pojmy {
    border-bottom: 1px solid var(--border);
  }

  .concepts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .concept-card {
    background: var(--surface);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .concept-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
  }
  .concept-card:hover { background: var(--surface2); }
  .concept-card:hover::before { transform: scaleX(1); }

  .concept-abbr {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--red);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 0.4rem;
  }

  .concept-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--mono);
    margin-bottom: 1rem;
  }

  .concept-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
  }

  .concept-value {
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--text);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .concept-value span { color: var(--red); }

  /* ── PLATFORMS ── */
  #platformy {
    border-bottom: 1px solid var(--border);
  }

  .platforms-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .platform-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 2rem;
    background: var(--surface);
    padding: 2rem 2.5rem;
    transition: background 0.3s;
    position: relative;
  }
  .platform-row:hover { background: var(--surface2); }

  .platform-row.featured {
    background: linear-gradient(135deg, #130505 0%, #1a0808 100%);
    border-left: 3px solid var(--red);
  }
  .platform-row.featured:hover { background: linear-gradient(135deg, #1c0707 0%, #220909 100%); }

  .platform-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
  }
  .platform-row.featured .platform-name { color: var(--red); }

  .platform-tag {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .platform-row.featured .platform-tag { color: rgba(224,27,36,0.6); }

  .platform-details {
    display: flex;
    gap: 2rem;
  }

  .platform-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  .platform-stat-label {
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--mono);
  }
  .platform-stat-value {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
  }

  .platform-badge {
    background: var(--red);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  /* ── WARNINGS ── */
  #pozor {
    border-bottom: 1px solid var(--border);
  }

  .warnings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .warning-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s;
  }
  .warning-card:hover {
    border-color: rgba(224,27,36,0.4);
    background: var(--surface2);
  }

  .warning-card.critical {
    border-color: rgba(224,27,36,0.3);
    background: linear-gradient(135deg, #110505, #150606);
  }

  .warning-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .warning-card h3 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
  }

  .warning-card.critical h3 { color: var(--red); }

  .warning-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
  }

  /* ── EXPERIMENT ── */
  #experiment {
    background: linear-gradient(135deg, #0e0303 0%, #0a0808 50%, #080808 100%);
  }

  .experiment-inner {
    border: 1px solid rgba(224,27,36,0.25);
    border-radius: 6px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    background: rgba(224,27,36,0.03);
  }

  .experiment-inner::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(224,27,36,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(224,27,36,0.12);
    border: 1px solid rgba(224,27,36,0.35);
    color: var(--red);
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 0.3rem 0.85rem;
    border-radius: 2px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
  }
  .live-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
  }

  .experiment-inner h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.2rem;
  }

  .experiment-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.85;
    margin-bottom: 3rem;
  }

  .experiment-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(224,27,36,0.15);
    border-bottom: 1px solid rgba(224,27,36,0.15);
    flex-wrap: nowrap;
  }

  .metric { }
  .metric-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--red);
    line-height: 1;
    white-space: nowrap;
  }
  .metric-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 0.3rem;
  }

  .experiment-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .herohero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s;
  }
  .herohero-btn:hover { background: var(--red-dim); transform: translateY(-2px); }

  .herohero-btn svg { width: 18px; height: 18px; }

  /* ── ROLLING LOAN VISUAL ── */
  .rolling-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem;
    margin: 3rem 0;
    overflow-x: auto;
  }

  .timeline {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 700px;
  }

  .t-block {
    flex: 1;
    background: rgba(224,27,36,0.08);
    border: 1px solid rgba(224,27,36,0.2);
    border-radius: 3px;
    padding: 1rem 1.2rem;
    position: relative;
    text-align: center;
  }

  .t-block.active {
    background: rgba(224,27,36,0.15);
    border-color: var(--red);
  }

  .t-block-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
  }
  .t-block.active .t-block-label { color: var(--red); }

  .t-block-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
  }

  .t-arrow {
    width: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.2rem;
  }

  .calc-res-card--liq {
    background: linear-gradient(135deg, #130505, #1c0707) !important;
    border: 1px solid rgba(224,27,36,0.4) !important;
  }
  .calc-res-card--liq .calc-res-card-label { color: var(--red); }
  .calc-res-card--liq .calc-res-card-value { color: #ff6b6b; font-size: 1.6rem; }
  .calc-res-card--liq .calc-res-card-sub   { color: rgba(224,27,36,0.6); }

  .calc-currency-row {
    display: flex;
    gap: 0.5rem;
  }

  .calc-cur-btn {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .calc-cur-btn:hover { border-color: rgba(224,27,36,0.4); color: var(--text); }
  .calc-cur-btn.active { border-color: var(--red); color: var(--red); background: rgba(224,27,36,0.08); }

  .calc-input-row--output {
    background: rgba(224,27,36,0.05);
    border-color: rgba(224,27,36,0.2);
    cursor: default;
  }

  .calc-output-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    color: var(--red);
    padding: 0.6rem 0.9rem;
    flex: 1;
  }

  .calc-breakdown {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .calc-bd-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid var(--border);
  }
  .calc-bd-row:last-child { border-bottom: none; }

  .calc-bd-row--total {
    background: rgba(224,27,36,0.06);
    border-top: 1px solid rgba(224,27,36,0.2) !important;
  }
  .calc-bd-row--total .calc-bd-label { color: var(--text); font-weight: 700; }
  .calc-bd-row--total .calc-bd-value { color: var(--red); font-size: 1.1rem; }

  .calc-bd-label {
    font-size: 0.82rem;
    color: var(--text-muted);
  }

  .calc-bd-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--text);
  }

  .calc-tab-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
  }

  .calc-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 1.4rem 0.9rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
    letter-spacing: 0.02em;
  }
  .calc-tab-btn:hover { color: var(--text); }
  .calc-tab-btn.active { color: var(--red); border-bottom-color: var(--red); }

  /* ── KALKULAČKA ── */
  .calc-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
  }

  .calc-group { display: flex; flex-direction: column; gap: 0.5rem; }

  .calc-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: flex;
    justify-content: space-between;
  }

  .calc-unit {
    color: var(--red);
    font-weight: 500;
  }

  .calc-input-row {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .calc-input-row:focus-within { border-color: var(--red); }

  .calc-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    padding: 0.6rem 0.9rem;
    flex: 1;
    width: 0;
    -moz-appearance: textfield;
  }
  .calc-input::-webkit-inner-spin-button,
  .calc-input::-webkit-outer-spin-button { -webkit-appearance: none; }

  .calc-suffix {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    padding: 0 0.8rem;
    letter-spacing: 0.1em;
    border-left: 1px solid var(--border);
  }

  .calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
  }
  .calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px;
    background: var(--red);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.15s;
  }
  .calc-range::-webkit-slider-thumb:hover { transform: scale(1.3); }

  .calc-hint {
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
  }

  .calc-duration-btns {
    display: flex;
    gap: 0.5rem;
  }

  .calc-dur-btn {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 0.7rem;
    padding: 0.55rem 0;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .calc-dur-btn:hover { border-color: rgba(224,27,36,0.4); color: var(--text); }
  .calc-dur-btn.active { border-color: var(--red); color: var(--red); background: rgba(224,27,36,0.08); }

  /* Results */
  .calc-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .calc-result-main {
    background: linear-gradient(135deg, #130505, #1a0808);
    border: 1px solid rgba(224,27,36,0.3);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
  }

  .calc-res-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: rgba(224,27,36,0.7);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
  }

  .calc-res-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--red);
    line-height: 1;
    letter-spacing: 0.04em;
  }

  .calc-res-sub {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
  }

  .calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .calc-res-card {
    background: var(--surface);
    padding: 1.2rem;
    transition: background 0.2s;
  }
  .calc-res-card:hover { background: var(--surface2); }

  .calc-res-card-label {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
  }

  .calc-res-card-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--text);
    letter-spacing: 0.03em;
    line-height: 1.1;
  }

  .calc-res-card-sub {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
  }

  /* Health bar */
  .calc-health-bar-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
  }

  .calc-health-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
  }

  .calc-health-track {
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    position: relative;
    overflow: hidden;
  }

  .calc-health-zones {
    position: absolute;
    inset: 0;
    display: flex;
  }

  .calc-health-needle {
    position: absolute;
    top: -3px;
    width: 3px;
    height: 14px;
    background: var(--red);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 6px rgba(224,27,36,0.8);
  }

  .calc-health-scale {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-top: 0.4rem;
  }

  .calc-disclaimer {
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 1.6;
    font-family: var(--mono);
  }

  @media (max-width: 900px) {
    .calc-wrap { grid-template-columns: 1fr; }
    .calc-duration-btns { flex-wrap: wrap; }
  }

  /* ── NÁVOD NA PŮJČKU ── */
  .navod-intro {
    max-width: 720px;
    margin-bottom: 3rem;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
  }

  .navod-step {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
  }

  .navod-step-header {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
  }

  .navod-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.3s;
  }
  .navod-step:hover .navod-num { color: var(--red); }

  .navod-step-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
  }

  .navod-step-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .navod-step-body--full {
    grid-template-columns: 1fr;
  }

  .navod-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.85;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }
  .navod-text strong { color: var(--text); }

  .navod-ol, .navod-ul {
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
  }
  .navod-ol li::marker { color: var(--red); font-weight: 700; }
  .navod-ul { list-style: none; padding-left: 0; }
  .navod-ul li::before { content: '→ '; color: var(--red); }

  .navod-imgs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .navod-imgs--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .navod-img-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .navod-img-wrap img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border);
    display: block;
    transition: border-color 0.3s;
  }
  .navod-img-wrap:hover img { border-color: rgba(224,27,36,0.4); }
  .navod-img-wrap--security img { max-height: 200px; object-fit: contain; background: var(--surface); }

  .navod-img-caption {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .navod-ref-link {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: rgba(224,27,36,0.07);
    border: 1px solid rgba(224,27,36,0.25);
    border-radius: 3px;
    padding: 0.9rem 1.2rem;
    color: var(--red);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: background 0.2s, border-color 0.2s;
  }
  .navod-ref-link:hover { background: rgba(224,27,36,0.12); border-color: rgba(224,27,36,0.5); }
  .navod-ref-badge {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 400;
  }

  .navod-fees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .navod-fee-card {
    background: var(--surface);
    padding: 1.8rem;
    transition: background 0.2s;
  }
  .navod-fee-card:hover { background: var(--surface2); }

  .navod-fee-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1rem;
  }

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

  .navod-security-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
  }
  .navod-security-item strong { color: var(--text); }

  .navod-conclusion {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 780px;
    margin-bottom: 0.8rem;
  }
  .navod-conclusion strong { color: var(--text); }

  @media (max-width: 900px) {
    .navod-step-body { grid-template-columns: 1fr; gap: 1.5rem; }
    .navod-imgs--two { grid-template-columns: 1fr; }
    .navod-fees-grid { grid-template-columns: 1fr; }
    .navod-security-grid { grid-template-columns: 1fr; }
  }

  /* ── INVESTOVAT ── */
  .invest-variant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .invest-step-card {
    background: var(--surface);
    padding: 1.4rem 1.6rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.75;
    transition: background 0.2s;
  }
  .invest-step-card:hover { background: var(--surface2); }
  .invest-step-card strong { color: var(--text); }
  .invest-step-card em { color: var(--text-muted); font-style: normal; }

  .invest-step-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--red);
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
  }

  .invest-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .invest-compare-card {
    background: var(--surface);
    padding: 2rem;
    transition: background 0.2s;
  }
  .invest-compare-card:hover { background: var(--surface2); }

  .invest-compare-card--accent {
    background: linear-gradient(135deg, #100404, #111111);
    border-left: 2px solid rgba(224,27,36,0.3);
  }
  .invest-compare-card--accent:hover { background: linear-gradient(135deg, #160505, #181818); }

  .invest-compare-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1rem;
  }

  @media (max-width: 900px) {
    .invest-variant-grid { grid-template-columns: 1fr; }
    .invest-compare-grid { grid-template-columns: 1fr; }
  }

  /* ── TESTIMONIALS ── */
  .test-group { }

  .test-group-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding: 0 3rem;
  }
  .test-group-icon { font-size: 1rem; }

  .test-track-wrap {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .test-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
  }
  .test-track--reverse {
    animation: scrollRight 45s linear infinite;
  }
  .test-track:hover,
  .test-track--reverse:hover {
    animation-play-state: paused;
  }

  .test-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.6rem 2rem;
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.2rem;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
  }
  .test-card::before {
    content: '"';
    position: absolute;
    top: 0.8rem; left: 1.2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--border);
    line-height: 1;
    pointer-events: none;
  }
  .test-card:hover {
    border-color: rgba(224,27,36,0.3);
    background: var(--surface2);
  }

  .test-card--investor {
    border-color: rgba(224,27,36,0.12);
    background: linear-gradient(135deg, #100404, #111111);
  }
  .test-card--investor:hover {
    border-color: rgba(224,27,36,0.4);
    background: linear-gradient(135deg, #160505, #181818);
  }

  .test-quote {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.75;
    padding-top: 1.5rem;
    font-style: italic;
  }

  .test-source {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-top: 1px solid var(--border);
    padding-top: 0.8rem;
  }
  .test-card--investor .test-source { color: rgba(224,27,36,0.5); border-color: rgba(224,27,36,0.15); }

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

  /* ── FAQ ── */
  .faq-list {
    max-width: 780px;
  }

  .faq-item {
    border-bottom: 1px solid var(--border);
  }

  .faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 1.4rem 0;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    gap: 1rem;
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--red); }
  .faq-q:hover .faq-icon { color: var(--red); }

  .faq-icon {
    font-size: 1.4rem;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: transform 0.3s, color 0.2s;
    font-weight: 300;
    line-height: 1;
  }

  .faq-a {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
  }

  .faq-item.faq-open .faq-a {
    max-height: 600px;
    padding-bottom: 1.4rem;
  }
  .faq-item.faq-open .faq-icon {
    transform: rotate(45deg);
    color: var(--red);
  }

  .faq-more {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
  }
  .faq-more.visible {
    max-height: 4000px;
  }

  .faq-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.6rem;
    border-radius: 2px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
  }
  .faq-toggle-btn:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(224,27,36,0.05);
  }
  .faq-toggle-icon {
    transition: transform 0.3s;
    display: inline-block;
    font-size: 1rem;
  }
  .faq-toggle-btn.open .faq-toggle-icon { transform: rotate(180deg); }

  /* ── PDF POPUP ── */
  .pdf-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }
  .pdf-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .pdf-modal {
    background: var(--surface);
    border: 1px solid rgba(224,27,36,0.25);
    border-radius: 6px;
    max-width: 820px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
  }
  .pdf-overlay.active .pdf-modal { transform: translateY(0); }

  .pdf-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    z-index: 10;
    transition: border-color 0.2s, color 0.2s;
  }
  .pdf-modal-close:hover { border-color: var(--red); color: var(--red); }

  .pdf-modal-inner {
    display: grid;
    grid-template-columns: 220px 1fr;
  }

  .pdf-cover-wrap {
    position: relative;
    background: #000;
  }
  .pdf-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
  }
  .pdf-cover-badge {
    position: absolute;
    bottom: 1rem; left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    white-space: nowrap;
    text-transform: uppercase;
  }

  .pdf-modal-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .pdf-modal-tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--red);
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .pdf-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    letter-spacing: 0.04em;
    line-height: 0.95;
    margin: 0;
  }

  .pdf-modal-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
  }

  .pdf-modal-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
  }

  .pdf-contest-box {
    background: rgba(224,27,36,0.07);
    border: 1px solid rgba(224,27,36,0.2);
    border-radius: 3px;
    padding: 0.9rem 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
  }
  .pdf-contest-icon { font-size: 1.2rem; flex-shrink: 0; }
  .pdf-contest-title { font-weight: 700; font-size: 0.85rem; color: var(--text); margin-bottom: 0.2rem; }
  .pdf-contest-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
  .pdf-contest-desc strong { color: var(--text); }

  .pdf-form-wrap { display: flex; flex-direction: column; gap: 0.6rem; }

  .pdf-email-input {
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
  }
  .pdf-email-input:focus { border-color: var(--red); }
  .pdf-email-input::placeholder { color: var(--text-dim); }

  .pdf-submit-btn {
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.04em;
  }
  .pdf-submit-btn:hover { background: var(--red-dim); }

  .pdf-form-note {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-align: center;
    margin: 0;
  }

  .pdf-success {
    text-align: center;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .pdf-success-icon {
    width: 44px; height: 44px;
    background: rgba(0,200,80,0.12);
    border: 1px solid rgba(0,200,80,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4caf50;
    font-size: 1.2rem;
  }
  .pdf-success-title { font-weight: 700; font-size: 1rem; color: var(--text); }
  .pdf-success-desc { font-size: 0.82rem; color: var(--text-muted); }
  .pdf-download-btn {
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 0.4rem;
    transition: background 0.2s;
    display: inline-block;
  }
  .pdf-download-btn:hover { background: var(--red-dim); }

  @media (max-width: 700px) {
    .pdf-modal-inner { grid-template-columns: 1fr; }
    .pdf-cover-wrap { height: 180px; }
    .pdf-modal-title { font-size: 2rem; }
    .pdf-modal-content { padding: 1.5rem; }
  }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
  }
  .footer-logo span { color: var(--red); }

  .footer-note {
    font-size: 0.75rem;
    color: var(--text-dim);
    max-width: 400px;
    text-align: right;
    line-height: 1.6;
  }

  /* ── DIVIDER ── */
  .section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  /* ── SCROLL REVEAL ── */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s, transform 0.7s;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── TICKER ── */
  .ticker-bar {
    position: relative;
    z-index: 99;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .ticker-inner {
    display: inline-flex;
    gap: 4rem;
    animation: ticker 30s linear infinite;
  }
  .ticker-item {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
  }
  .ticker-item span { color: var(--red); margin-left: 0.5rem; }

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

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    section { padding: 2.5rem 1.5rem; }
    #hero { padding: 6rem 1.5rem 3rem; }
    .hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; bottom: 2rem; left: 1.5rem; right: 1.5rem; }
    .explainer-grid { grid-template-columns: 1fr; }
    .concepts-grid { grid-template-columns: 1fr; }
    .warnings-grid { grid-template-columns: 1fr; }
    .platform-row { grid-template-columns: 1fr; }
    .platform-details { flex-wrap: wrap; gap: 1rem; }
    .experiment-inner { padding: 2rem 1.5rem; }
    .experiment-metrics { flex-wrap: wrap; gap: 1.5rem; }
    footer { flex-direction: column; gap: 1.5rem; }
    .footer-note { text-align: center; }
    .step { grid-template-columns: 60px 1fr; gap: 1rem; }
    h1 { font-size: clamp(3rem, 14vw, 5rem); }
  }
