/**
 * EUAICheck — Main Stylesheet
 * Author: RednBlue Team
 * Date: 2026-09-12
 */

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

    :root {
      --ink:     #1A1A2E;
      --ink2:    #2D2D44;
      --soft:    #6B6B88;
      --pale:    #F7F7FB;
      --white:   #FFFFFF;
      --accent:  #4F46E5;
      --accent2: #6366F1;
      --warn:    #D97706;
      --ok:      #059669;
      --border:  rgba(26,26,46,0.10);
      --shadow:  0 2px 24px rgba(26,26,46,0.08);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--white);
      color: var(--ink);
      min-height: 100vh;
      line-height: 1.6;
      font-size: 16px;
      overflow-x: hidden;
    }

    /* ══ NAV ══ */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.1rem 2.5rem;
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      transform: translateY(-100%);
      transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    }
    nav.visible { transform: translateY(0); }

    .logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem;
      color: var(--ink);
      text-decoration: none;
      letter-spacing: -0.01em;
    }
    .logo span { color: var(--accent); }

    .nav-links {
      display: flex; gap: 2rem; list-style: none;
    }
    .nav-links a {
      font-size: 0.85rem; font-weight: 500;
      color: var(--soft); text-decoration: none;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--ink); }

    .nav-cta {
      font-size: 0.82rem; font-weight: 600;
      background: var(--accent); color: #fff;
      padding: 0.5rem 1.25rem;
      text-decoration: none;
      border-radius: 6px;
      transition: background 0.2s;
    }
    .nav-cta:hover { background: var(--accent2); }

    /* ══ HERO · full screen, transparent so canvas shows ══ */
    #hero {
      min-height: 100vh;
      display: flex; flex-direction: column;
      justify-content: center; align-items: center;
      text-align: center;
      padding: 2rem;
      background: transparent;
    }

    .hero-inner { position: relative; z-index: 1; max-width: 620px; }

    .hero-tag {
      display: inline-block;
      font-size: 0.72rem; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--accent);
      background: rgba(79,70,229,0.08);
      border: 1px solid rgba(79,70,229,0.18);
      padding: 0.3rem 0.9rem;
      border-radius: 999px;
      margin-bottom: 2rem;
    }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.2rem, 5.5vw, 3.6rem);
      line-height: 1.15;
      letter-spacing: -0.02em;
      color: var(--ink);
      margin-bottom: 1.25rem;
    }
    .hero-title em {
      font-style: italic;
      color: var(--accent);
    }

    .hero-sub {
      font-size: 1rem; color: var(--soft);
      max-width: 460px; margin: 0 auto 2.5rem;
      line-height: 1.7;
    }

    .hero-btn {
      display: inline-flex; align-items: center; gap: 0.6rem;
      background: var(--ink);
      color: #fff;
      font-size: 0.95rem; font-weight: 600;
      padding: 1rem 2.25rem;
      border: none; cursor: pointer;
      border-radius: 8px;
      font-family: inherit;
      transition: background 0.2s, transform 0.15s;
      box-shadow: 0 4px 20px rgba(26,26,46,0.18);
    }
    .hero-btn:hover {
      background: var(--accent);
      transform: translateY(-1px);
      box-shadow: 0 8px 28px rgba(79,70,229,0.25);
    }
    .hero-btn svg { transition: transform 0.2s; }
    .hero-btn:hover svg { transform: translateX(3px); }

    .hero-reassure {
      margin-top: 1.5rem;
      font-size: 0.75rem; color: var(--soft);
      display: flex; align-items: center; justify-content: center;
      gap: 0.4rem;
    }

    /* scroll indicator */
    .scroll-hint {
      position: absolute; bottom: 2rem; left: 50%;
      transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
      font-size: 0.72rem; color: var(--soft); letter-spacing: 0.05em;
      animation: bobble 2s ease-in-out infinite;
      cursor: pointer;
    }
    @keyframes bobble {
      0%,100% { transform: translateX(-50%) translateY(0); }
      50%      { transform: translateX(-50%) translateY(6px); }
    }

    /* ══ QUIZ OVERLAY ══ */
    #quizOverlay {
      display: none;
      position: fixed; inset: 0; z-index: 300;
      background: rgba(238,238,248,0.88);
      backdrop-filter: blur(2px);
      overflow-y: auto;
    }
    #quizOverlay.open { display: flex; flex-direction: column; }

    .quiz-top {
      position: sticky; top: 0; z-index: 10;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 1rem 2rem;
      display: flex; align-items: center; gap: 1.5rem;
    }
    .quiz-close {
      background: none; border: none; cursor: pointer;
      color: var(--soft); font-size: 1.3rem; line-height: 1;
      padding: 0.25rem; border-radius: 4px;
      transition: color 0.2s, background 0.2s;
      flex-shrink: 0;
    }
    .quiz-close:hover { color: var(--ink); background: var(--pale); }

    .quiz-progress-wrap { flex: 1; }
    .quiz-progress-track {
      height: 3px; background: var(--border); border-radius: 2px; overflow: hidden;
    }
    .quiz-progress-fill {
      height: 100%; background: var(--accent); border-radius: 2px;
      transition: width 0.5s cubic-bezier(0.16,1,0.3,1);
    }
    .quiz-progress-label {
      font-size: 0.72rem; color: var(--soft); margin-top: 0.35rem;
    }

    /* quiz body */
    .quiz-body {
      flex: 1;
      display: flex; align-items: center; justify-content: center;
      padding: 3rem 2rem;
      min-height: calc(100vh - 70px);
    }

    /* quiz card panel */
    .quiz-stage {
      width: 100%; max-width: 600px;
      position: relative;
      min-height: 420px;
      background: rgba(255,255,255,0.88);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255,255,255,0.7);
      border-radius: 16px;
      padding: 2.5rem;
      box-shadow: 0 4px 40px rgba(79,70,229,0.08);
    }

    .result-container {
      max-width: 660px; margin: 0 auto;
      padding: 4rem 2rem 6rem;
      background: rgba(255,255,255,0.88);
      backdrop-filter: blur(16px);
      border-radius: 16px;
      margin-top: 2rem;
      margin-bottom: 2rem;
      border: 1px solid rgba(255,255,255,0.7);
      box-shadow: 0 4px 40px rgba(79,70,229,0.08);
    }

    /* individual step */
    .q-step {
      position: absolute; inset: 0;
      opacity: 0; pointer-events: none;
      transform: translateX(40px);
      transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    }
    .q-step.active {
      opacity: 1; pointer-events: all;
      transform: translateX(0);
      position: relative;
    }
    .q-step.exit {
      opacity: 0;
      transform: translateX(-40px);
    }

    .q-block-label {
      font-size: 0.7rem; font-weight: 600;
      letter-spacing: 0.07em; text-transform: uppercase;
      color: var(--accent); margin-bottom: 1rem;
    }
    .q-text {
      font-size: 1.25rem; font-weight: 500;
      line-height: 1.5; margin-bottom: 0.5rem; color: var(--ink);
    }
    .q-hint {
      font-size: 0.82rem; color: var(--soft);
      margin-bottom: 1.75rem; line-height: 1.6; max-width: 480px;
    }

    /* options */
    .options { display: flex; flex-direction: column; gap: 0.6rem; }
    .option {
      display: flex; align-items: flex-start; gap: 0.85rem;
      padding: 0.9rem 1.1rem;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      transition: border-color 0.18s, background 0.18s, transform 0.15s;
      user-select: none;
      background: var(--white);
    }
    .option:hover {
      border-color: rgba(79,70,229,0.35);
      background: rgba(79,70,229,0.03);
      transform: translateX(2px);
    }
    .option.selected {
      border-color: var(--accent);
      background: rgba(79,70,229,0.06);
    }
    .option input[type="radio"] { display: none; }
    .opt-circle {
      width: 18px; height: 18px; border-radius: 50%;
      border: 2px solid var(--border);
      flex-shrink: 0; margin-top: 0.15rem;
      transition: border-color 0.18s;
      position: relative;
    }
    .option.selected .opt-circle { border-color: var(--accent); }
    .option.selected .opt-circle::after {
      content: '';
      position: absolute; top: 50%; left: 50%;
      transform: translate(-50%,-50%);
      width: 8px; height: 8px; border-radius: 50%;
      background: var(--accent);
    }
    .opt-text { font-size: 0.9rem; line-height: 1.5; color: var(--ink2); }

    /* text inputs */
    .q-input {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      color: var(--ink);
      font-family: inherit; font-size: 0.95rem;
      padding: 0.85rem 1rem; outline: none;
      transition: border-color 0.18s;
      background: var(--white);
    }
    .q-input:focus { border-color: var(--accent); }
    .q-input::placeholder { color: #B0B0C8; }
    textarea.q-input { resize: vertical; min-height: 90px; }

    /* nav */
    .q-nav {
      display: flex; justify-content: space-between; align-items: center;
      margin-top: 2rem;
    }
    .btn-back {
      background: none; border: none; cursor: pointer;
      color: var(--soft); font-size: 0.85rem; font-family: inherit;
      padding: 0.5rem 0; transition: color 0.2s;
    }
    .btn-back:hover { color: var(--ink); }
    .btn-next {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--ink); color: #fff;
      border: none; cursor: pointer;
      font-size: 0.88rem; font-weight: 600; font-family: inherit;
      padding: 0.75rem 1.75rem; border-radius: 7px;
      transition: background 0.2s, opacity 0.2s;
    }
    .btn-next:hover:not(:disabled) { background: var(--accent); }
    .btn-next:disabled { opacity: 0.3; cursor: not-allowed; }

    /* disclaimer inline */
    .inline-disclaimer {
      font-size: 0.7rem; color: #A0A0BC;
      margin-top: 1.5rem; line-height: 1.6;
      padding-top: 1rem; border-top: 1px solid var(--border);
    }

    /* ══ RESULT OVERLAY ══ */
    #resultOverlay {
      display: none;
      position: fixed; inset: 0; z-index: 400;
      background: rgba(238,238,248,0.88);
      backdrop-filter: blur(2px);
      overflow-y: auto;
    }
    #resultOverlay.open { display: block; }

    .result-top-label {
      font-size: 0.7rem; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--soft); margin-bottom: 1.5rem;
    }

    /* tier pill · calm, not alarming */
    .tier-pill {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.4rem 1rem;
      border-radius: 999px;
      font-size: 0.78rem; font-weight: 600;
      margin-bottom: 1.5rem;
    }
    .tier-pill.high     { background: rgba(217,119,6,0.10); color: var(--warn); }
    .tier-pill.limited  { background: rgba(99,102,241,0.10); color: var(--accent2); }
    .tier-pill.minimal  { background: rgba(5,150,105,0.10); color: var(--ok); }
    .tier-pill.prohibited { background: rgba(217,119,6,0.12); color: #B45309; }
    .tier-dot {
      width: 7px; height: 7px; border-radius: 50%; background: currentColor;
    }

    .result-headline {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.6rem, 3.5vw, 2.2rem);
      line-height: 1.2; margin-bottom: 1.5rem; color: var(--ink);
    }

    /* typewriter area */
    #typewriterBox {
      font-size: 0.95rem; color: var(--ink2);
      line-height: 1.85; margin-bottom: 2.5rem;
      min-height: 120px;
    }
    #typewriterBox .cursor {
      display: inline-block; width: 2px; height: 1em;
      background: var(--accent); margin-left: 2px;
      vertical-align: text-bottom;
      animation: blink 0.8s step-end infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

    /* gap list */
    .gap-section { margin-bottom: 2.5rem; }
    .gap-section-title {
      font-size: 0.72rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.07em;
      color: var(--soft); margin-bottom: 1rem;
    }
    .gap-list { display: flex; flex-direction: column; gap: 0.5rem; }
    .gap-row {
      display: flex; align-items: center; gap: 0.85rem;
      padding: 0.8rem 1rem;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 7px;
      font-size: 0.85rem;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .gap-row.show { opacity: 1; transform: translateY(0); }
    .gap-row.locked { opacity: 0.35; filter: blur(0.5px); }
    .gap-indicator {
      width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    }
    .gap-indicator.pass    { background: var(--ok); }
    .gap-indicator.action  { background: var(--warn); }
    .gap-indicator.critical{ background: #B45309; }
    .gap-name { flex: 1; color: var(--ink2); }
    .gap-art  { font-size: 0.72rem; color: var(--soft); white-space: nowrap; }
    .gap-status { font-size: 0.72rem; font-weight: 500; white-space: nowrap; }
    .gap-status.pass    { color: var(--ok); }
    .gap-status.action  { color: var(--warn); }
    .gap-status.critical{ color: #B45309; }

    /* CTA card */
    .cta-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: var(--shadow);
      opacity: 0; transform: translateY(12px);
      transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
    }
    .cta-card.show { opacity: 1; transform: translateY(0); }

    .cta-card h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--ink);
    }
    .cta-card p { font-size: 0.875rem; color: var(--soft); margin-bottom: 1.5rem; line-height: 1.7; }

    .price-row {
      display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1.25rem;
    }
    .price-amount {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; color: var(--ink);
    }
    .price-note { font-size: 0.78rem; color: var(--soft); }

    .feat-list { list-style: none; margin-bottom: 1.5rem; }
    .feat-list li {
      font-size: 0.83rem; color: var(--soft);
      padding: 0.3rem 0;
      display: flex; align-items: center; gap: 0.5rem;
    }
    .feat-list li::before {
      content: '';
      width: 4px; height: 4px; border-radius: 50%;
      background: var(--accent); flex-shrink: 0;
    }

    /* contact form inside CTA */
    .contact-form { display: flex; flex-direction: column; gap: 0.65rem; }
    .form-row { display: flex; gap: 0.65rem; }
    .form-input {
      flex: 1;
      border: 1.5px solid var(--border);
      border-radius: 7px;
      color: var(--ink);
      font-family: inherit; font-size: 0.875rem;
      padding: 0.75rem 1rem; outline: none;
      transition: border-color 0.18s;
      background: var(--pale);
    }
    .form-input:focus { border-color: var(--accent); background: var(--white); }
    .form-input::placeholder { color: #B0B0C8; }

    .submit-btn {
      background: var(--ink); color: #fff;
      border: none; cursor: pointer;
      font-size: 0.88rem; font-weight: 600; font-family: inherit;
      padding: 0.85rem 1.5rem; border-radius: 7px;
      transition: background 0.2s;
      width: 100%;
    }
    .submit-btn:hover { background: var(--accent); }

    .guarantee-note {
      font-size: 0.72rem; color: var(--soft);
      text-align: center; margin-top: 0.75rem;
      font-style: italic;
    }

    /* disclaimer block */
    .legal-block {
      font-size: 0.72rem; color: #A8A8C0;
      line-height: 1.7;
      padding: 1.25rem;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 7px;
      margin-bottom: 1.5rem;
    }

    .restart-btn {
      background: none; border: none; cursor: pointer;
      color: var(--soft); font-size: 0.82rem; font-family: inherit;
      text-decoration: underline; padding: 0;
      transition: color 0.2s;
    }
    .restart-btn:hover { color: var(--ink); }

    /* ══ CONTENT SECTIONS (below hero, before footer) ══ */
    .content-section {
      max-width: 800px; margin: 0 auto;
      padding: 5rem 2rem;
    }
    /* white "card" panels so sections are readable over canvas */
    .section-panel {
      background: rgba(255,255,255,0.82);
      backdrop-filter: blur(6px);
      border-radius: 16px;
      padding: 3rem;
      box-shadow: 0 2px 32px rgba(79,70,229,0.06);
      margin-bottom: 2rem;
    }
    .section-label {
      font-size: 0.7rem; font-weight: 600;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--accent); margin-bottom: 1rem;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.9rem; margin-bottom: 0.5rem; line-height: 1.2;
    }
    .section-sub { color: var(--soft); font-size: 0.9rem; margin-bottom: 2.5rem; }

    /* stats bar */
    .stats-bar {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 1px; background: var(--border);
      border: 1px solid var(--border); border-radius: 10px;
      overflow: hidden; margin-bottom: 3rem;
    }
    .stat-cell {
      background: var(--white); padding: 1.5rem 1.75rem;
      text-align: center;
    }
    .stat-number {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; color: var(--accent); line-height: 1;
      margin-bottom: 0.35rem;
    }
    .stat-label { font-size: 0.78rem; color: var(--soft); line-height: 1.4; }

    /* news layout */
    .news-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      gap: 1rem;
    }
    .news-card {
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 1.5rem;
      background: var(--white);
      transition: box-shadow 0.22s, transform 0.22s;
      cursor: pointer;
    }
    .news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
    .news-card.featured {
      grid-column: 1 / -1;
      display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
      align-items: center;
      background: linear-gradient(135deg, rgba(79,70,229,0.04) 0%, var(--white) 100%);
      border-color: rgba(79,70,229,0.18);
      padding: 2rem;
    }
    .news-card.featured .news-badge {
      display: inline-block;
      font-size: 0.65rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.07em;
      color: var(--accent); background: rgba(79,70,229,0.08);
      border: 1px solid rgba(79,70,229,0.18);
      padding: 0.2rem 0.65rem; border-radius: 999px;
      margin-bottom: 0.75rem;
    }
    .news-card.featured .news-title { font-size: 1.15rem; margin-bottom: 0.75rem; }
    .news-card.featured .news-visual {
      background: rgba(79,70,229,0.06);
      border-radius: 8px; height: 120px;
      display: flex; align-items: center; justify-content: center;
      font-size: 2.5rem; color: rgba(79,70,229,0.25);
      font-family: 'Playfair Display', serif;
    }
    .news-date { font-size: 0.72rem; color: var(--soft); margin-bottom: 0.5rem; }
    .news-title { font-size: 0.92rem; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 0.5rem; }
    .news-excerpt { font-size: 0.8rem; color: var(--soft); line-height: 1.6; }
    .news-readmore { font-size: 0.75rem; color: var(--accent); font-weight: 500; margin-top: 0.75rem; }

    .articles-list { display: flex; flex-direction: column; gap: 0; }
    .article-row {
      display: flex; align-items: flex-start; gap: 1.5rem;
      padding: 1.25rem 0;
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      transition: opacity 0.2s;
    }
    .article-row:hover { opacity: 0.7; }
    .article-num {
      font-family: 'Playfair Display', serif;
      font-size: 1.4rem; color: var(--border);
      min-width: 2rem; line-height: 1;
      padding-top: 0.1rem;
    }
    .article-body { flex: 1; }
    .article-tag {
      font-size: 0.68rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.06em;
      color: var(--accent); margin-bottom: 0.35rem;
    }
    .article-title { font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
    .article-meta  { font-size: 0.78rem; color: var(--soft); }

    /* contact */
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
    .contact-info p { font-size: 0.9rem; color: var(--soft); line-height: 1.7; margin-bottom: 1rem; }
    .contact-info a { color: var(--accent); text-decoration: none; }
    .contact-form-standalone { display: flex; flex-direction: column; gap: 0.75rem; }

    /* divider */
    .divider { border: none; border-top: 1px solid var(--border); margin: 0; }

    /* ══ CANVAS BACKGROUND ══ */
    #bgCanvas {
      position: fixed; inset: 0; z-index: 0;
      pointer-events: none;
    }
    body { background: #EEEEF8; }
    nav, #hero, section, .footer-full { position: relative; z-index: 1; }

    /* ══ FOOTER FULL ══ */
    .footer-full {
      background: var(--ink);
      color: rgba(240,244,255,0.7);
      padding: 4rem 2.5rem 2rem;
    }
    .footer-grid {
      max-width: 900px; margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 3rem;
      padding-bottom: 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-brand .foot-logo {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem; color: #fff; text-decoration: none;
      display: block; margin-bottom: 0.75rem;
    }
    .footer-brand .foot-logo span { color: var(--accent2); }
    .footer-brand p {
      font-size: 0.8rem; line-height: 1.7;
      color: rgba(240,244,255,0.5); max-width: 240px;
    }
    .footer-col h4 {
      font-size: 0.72rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.07em;
      color: rgba(240,244,255,0.4); margin-bottom: 1rem;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
    .footer-col ul li a {
      font-size: 0.83rem; color: rgba(240,244,255,0.6);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-col ul li a:hover { color: #fff; }
    .footer-bottom {
      max-width: 900px; margin: 0 auto;
      display: flex; justify-content: space-between; align-items: center;
      padding-top: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
    }
    .footer-bottom p { font-size: 0.73rem; color: rgba(240,244,255,0.35); }
    .footer-bottom a { color: rgba(240,244,255,0.4); text-decoration: none; }
    .footer-bottom a:hover { color: rgba(240,244,255,0.8); }
    .footer-partners {
      display: flex; align-items: center; gap: 1rem;
    }
    .partner-badge {
      font-size: 0.68rem; font-weight: 500;
      color: rgba(240,244,255,0.35);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 0.25rem 0.65rem; border-radius: 4px;
      text-decoration: none; transition: color 0.2s, border-color 0.2s;
    }
    .partner-badge:hover { color: rgba(240,244,255,0.7) !important; border-color: rgba(255,255,255,0.25); }

    @media (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    }
    @media (max-width: 600px) {
      nav { padding: 1rem 1.25rem; }
      .nav-links { display: none; }
      .quiz-top { padding: 1rem 1.25rem; }
      .quiz-body { padding: 2rem 1.25rem; align-items: flex-start; padding-top: 2.5rem; }
      .q-step { position: relative; }
      .q-step:not(.active) { display: none; }
      .result-container { padding: 2rem 1.25rem 4rem; }
      .contact-grid { grid-template-columns: 1fr; }
      .form-row { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }
/* Language switcher buttons */
.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  color: var(--soft);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.lang-btn:hover { color: var(--ink); border-color: var(--border); }
.lang-btn.active { color: var(--accent); border-color: rgba(79,70,229,0.3); background: rgba(79,70,229,0.06); }

/* Fixed language bar — always visible top right */
#langBar {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 500;
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang-btn {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 5px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(26,26,46,0.08);
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Logo with icon */
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-img { width: 28px; height: 28px; object-fit: contain; }

/* Nav always visible */
nav { transform: translateY(0) !important; }

/* Logo sizing */
.logo { display: inline-flex; align-items: center; gap: 0.5rem; }
.logo-img { width: 26px; height: 26px; }

/* Fix lang bar position - move left to avoid CTA overlap */
#langBar {
  top: 16px !important;
  right: 160px !important;
}

/* LangBar fixed top right — clear of nav */
#langBar {
  position: fixed !important;
  top: 16px !important;
  right: 200px !important;
  z-index: 600 !important;
  display: flex;
  gap: 6px;
}

/* Radar bigger */
canvas.radar { max-width: 420px !important; width: 100% !important; }
