
    :root {
      --bg: #faf8f5;
      --bg2: #f3ede4;
      --surface: #ffffff;
      --dark: #1c1917;
      --dark2: #2c2724;
      --muted: #78716c;
      --muted2: #a8a29e;
      --border: rgba(28,25,23,0.1);
      --radius: 20px;
      --radius-sm: 12px;
      --transition: 0.3s cubic-bezier(0.4,0,0.2,1);

      /* Personality Colors */
      --blue:   #3b82f6; --blue-bg:   #eff6ff; --blue-border:   #bfdbfe;
      --red:    #ef4444; --red-bg:    #fef2f2; --red-border:    #fecaca;
      --yellow: #f59e0b; --yellow-bg: #fffbeb; --yellow-border: #fde68a;
      --green:  #22c55e; --green-bg:  #f0fdf4; --green-border:  #bbf7d0;
      --orange: #f97316; --orange-bg: #fff7ed; --orange-border: #fed7aa;
      --purple: #a855f7; --purple-bg: #faf5ff; --purple-border: #e9d5ff;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Nunito', sans-serif;
      background: var(--bg);
      color: var(--dark);
      overflow-x: hidden;
      line-height: 1.75;
    }

    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--bg2); }
    ::-webkit-scrollbar-thumb { background: var(--muted2); border-radius: 3px; }

    /* ── NAVBAR ── */
    .navbar {
      background: rgba(250,248,245,0.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      padding: 14px 0;
      position: sticky; top: 0; z-index: 1000;
    }
    .navbar-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.35rem;
      color: var(--dark) !important;
      display: flex; align-items: center; gap: 10px;
      font-weight: 700;
    }
    .logo-palette {
      width: 34px; height: 34px;
      border-radius: 50%;
      background: conic-gradient(from 0deg, #ef4444 0% 17%, #f97316 17% 33%, #f59e0b 33% 50%, #22c55e 50% 66%, #3b82f6 66% 82%, #a855f7 82% 100%);
      flex-shrink: 0;
      box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    }
    .nav-link {
      color: var(--muted) !important;
      font-weight: 600;
      font-size: 0.875rem;
      padding: 6px 14px !important;
      border-radius: 50px;
      transition: var(--transition);
    }
    .nav-link:hover { color: var(--dark) !important; background: var(--bg2); }
    .btn-nav-cta {
      background: var(--dark);
      color: #fff !important;
      border-radius: 50px;
      padding: 8px 22px !important;
      font-weight: 700;
      font-size: 0.85rem;
      transition: var(--transition);
    }
    .btn-nav-cta:hover { background: var(--dark2); transform: translateY(-1px); }

    /* ── HERO ── */
    .hero {
      min-height: 88vh;
      display: flex; align-items: center;
      position: relative; overflow: hidden;
      padding: 80px 0;
    }
    .hero-shapes {
      position: absolute; inset: 0; pointer-events: none;
      overflow: hidden;
    }
    .shape {
      position: absolute; border-radius: 50%;
      filter: blur(60px); opacity: 0.35;
    }
    .shape-1 { width:500px;height:500px;background:#ef4444;top:-150px;right:-100px;animation:float1 9s ease-in-out infinite; }
    .shape-2 { width:350px;height:350px;background:#f59e0b;bottom:-80px;left:-80px;animation:float2 11s ease-in-out infinite; }
    .shape-3 { width:280px;height:280px;background:#a855f7;top:40%;left:40%;animation:float3 7s ease-in-out infinite; }
    .shape-4 { width:220px;height:220px;background:#22c55e;bottom:10%;right:20%;animation:float1 13s ease-in-out infinite; }
    @keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,20px)} }
    @keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }
    @keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,20px)} }

    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(28,25,23,0.07);
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 0.78rem; font-weight: 700;
      letter-spacing: 0.1em; text-transform: uppercase;
      padding: 6px 16px; border-radius: 50px;
      margin-bottom: 24px;
    }
    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.6rem, 5.5vw, 4.6rem);
      line-height: 1.12; font-weight: 900;
      margin-bottom: 24px; letter-spacing: -0.02em;
    }
    .hero h1 em { font-style: italic; color: var(--red); }
    .hero-desc {
      color: var(--muted); font-size: 1.05rem;
      max-width: 500px; margin-bottom: 36px; font-weight: 400;
    }
    .btn-hero {
      display: inline-flex; align-items: center; gap: 10px;
      background: var(--dark);
      color: #fff; font-weight: 800; font-size: 1rem;
      padding: 16px 36px; border-radius: 50px; border: none;
      transition: var(--transition);
      box-shadow: 0 8px 32px rgba(28,25,23,0.2);
      cursor: pointer; text-decoration: none;
    }
    .btn-hero:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(28,25,23,0.3); color:#fff; }
    .btn-hero-outline {
      display: inline-flex; align-items: center; gap: 8px;
      background: transparent; color: var(--dark);
      font-weight: 700; font-size: 0.95rem;
      padding: 14px 28px; border-radius: 50px;
      border: 2px solid var(--border);
      transition: var(--transition); cursor: pointer; text-decoration:none;
    }
    .btn-hero-outline:hover { border-color: var(--dark); background: var(--dark); color: #fff; }

    .color-pill-row {
      display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px;
    }
    .color-pill {
      display: flex; align-items: center; gap: 6px;
      padding: 6px 14px; border-radius: 50px;
      font-size: 0.8rem; font-weight: 700; border: 1px solid;
    }
    .color-dot { width: 10px; height: 10px; border-radius: 50%; }

    /* ── PALETTE WHEEL ── */
    .palette-wrap {
      position: relative; display: flex; justify-content: center; align-items: center;
    }
    .wheel-canvas { border-radius: 50%; box-shadow: 0 20px 80px rgba(0,0,0,0.15); }
    .wheel-center {
      position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
      width: 90px; height: 90px; background: var(--bg);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-family: 'Satisfy', cursive; font-size: 0.85rem;
      color: var(--muted); text-align: center; line-height: 1.3;
      border: 4px solid #fff;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    .orbit-pill {
      position: absolute;
      padding: 5px 12px; border-radius: 50px;
      font-size: 0.72rem; font-weight: 800;
      color: #fff; white-space: nowrap;
      box-shadow: 0 4px 16px rgba(0,0,0,0.2);
      transform: translate(-50%,-50%);
    }

    /* ── SECTION ── */
    section { padding: 88px 0; }
    .section-eyebrow {
      font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--red); margin-bottom: 12px;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.9rem, 3vw, 2.8rem);
      font-weight: 900; line-height: 1.2;
      margin-bottom: 16px; letter-spacing: -0.02em;
    }
    .section-desc { color: var(--muted); font-size: 1rem; max-width: 560px; }

    /* ── QUIZ TESTS ── */
    #quiz-section { background: var(--bg2); }
    .quiz-wrapper {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 4px 40px rgba(0,0,0,0.06);
      max-width: 780px; margin: 0 auto;
    }
    .quiz-header {
      padding: 28px 36px;
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    }
    .quiz-header-left { display: flex; flex-direction: column; gap: 4px; }
    .quiz-test-label { font-weight: 800; font-size: 1rem; }
    .quiz-test-sub { font-size: 0.8rem; color: var(--muted); }
    .quiz-progress-wrap { flex: 1; max-width: 220px; }
    .quiz-progress-track {
      height: 7px; background: var(--bg2);
      border-radius: 50px; overflow: hidden; margin-top: 6px;
    }
    .quiz-progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow));
      border-radius: 50px;
      transition: width 0.5s ease;
    }
    .q-counter { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
    .quiz-body { padding: 44px 36px 36px; }
    .quiz-q-num {
      font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em;
      text-transform: uppercase; color: var(--muted2); margin-bottom: 10px;
    }
    .quiz-question {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.2rem, 2.5vw, 1.55rem);
      font-weight: 700; line-height: 1.35;
      margin-bottom: 32px; color: var(--dark);
    }
    .quiz-emoji { font-size: 2.4rem; margin-bottom: 16px; display: block; }
    .answers-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .answer-opt {
      background: var(--bg);
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 16px 20px;
      cursor: pointer;
      transition: var(--transition);
      font-weight: 600; font-size: 0.9rem;
      color: var(--dark);
      display: flex; align-items: center; gap: 12px;
      text-align: left;
    }
    .answer-opt:hover { border-color: var(--dark); background: var(--surface); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
    .answer-opt.chosen { border-color: var(--dark); background: var(--dark); color: #fff; }
    .answer-opt.chosen .opt-letter { background: rgba(255,255,255,0.2); color: #fff; }
    .opt-letter {
      width: 28px; height: 28px; border-radius: 8px;
      background: var(--bg2); color: var(--muted);
      font-size: 0.75rem; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
    .btn-quiz-next {
      background: var(--dark);
      color: #fff; font-weight: 800; font-size: 0.9rem;
      padding: 13px 28px; border-radius: 50px; border: none;
      transition: var(--transition); cursor: pointer;
      display: flex; align-items: center; gap: 8px;
    }
    .btn-quiz-next:hover { background: var(--dark2); }
    .btn-quiz-next:disabled { opacity: 0.4; cursor: not-allowed; }
    .btn-quiz-back {
      background: transparent; color: var(--muted);
      font-weight: 700; font-size: 0.875rem;
      padding: 10px 18px; border-radius: 50px;
      border: 1px solid var(--border); cursor: pointer;
      transition: var(--transition);
    }
    .btn-quiz-back:hover { color: var(--dark); border-color: var(--dark); }

    /* ── RESULT ── */
    #result-panel { display: none; }
    .result-hero {
      text-align: center; padding: 16px 0 32px;
    }
    .result-color-circle {
      width: 140px; height: 140px; border-radius: 50%;
      margin: 0 auto 20px;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Playfair Display', serif;
      font-size: 3rem; font-weight: 900;
      animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
      box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    }
    @keyframes popIn { from{transform:scale(0.3);opacity:0} to{transform:scale(1);opacity:1} }
    .result-color-name {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; font-weight: 900; margin-bottom: 4px;
    }
    .result-tagline { color: var(--muted); font-size: 1rem; font-weight: 400; margin-bottom: 20px; }
    .result-bars { margin: 24px 0; }
    .result-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .result-bar-label { font-size: 0.8rem; font-weight: 700; width: 60px; flex-shrink: 0; }
    .result-bar-track { flex: 1; height: 10px; background: var(--bg2); border-radius: 50px; overflow: hidden; }
    .result-bar-fill { height: 100%; border-radius: 50px; transition: width 0.8s ease; }
    .result-bar-pct { font-size: 0.78rem; font-weight: 700; color: var(--muted); width: 34px; text-align: right; flex-shrink: 0; }
    .result-traits { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0; }
    .trait-chip {
      padding: 6px 16px; border-radius: 50px;
      font-size: 0.8rem; font-weight: 700;
      border: 1px solid;
    }
    .result-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
    .btn-retake {
      background: var(--dark); color: #fff; font-weight: 700; font-size: 0.875rem;
      padding: 12px 26px; border-radius: 50px; border: none; cursor: pointer;
      display: flex; align-items: center; gap: 8px; transition: var(--transition);
    }
    .btn-retake:hover { background: var(--dark2); }
    .btn-share {
      background: transparent; color: var(--dark); font-weight: 700; font-size: 0.875rem;
      padding: 12px 26px; border-radius: 50px; border: 2px solid var(--border);
      cursor: pointer; display: flex; align-items: center; gap: 8px;
      transition: var(--transition);
    }
    .btn-share:hover { border-color: var(--dark); }

    /* ── OTHER TESTS ── */
    .test-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px 28px;
      transition: var(--transition);
      height: 100%;
      position: relative; overflow: hidden;
      cursor: pointer; text-decoration: none; display: block; color: inherit;
    }
    .test-card::after {
      content: '';
      position: absolute; inset: 0;
      background: var(--card-grad, transparent);
      opacity: 0; transition: var(--transition);
    }
    .test-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); color: inherit; }
    .test-card:hover::after { opacity: 0.04; }
    .test-card-icon {
      width: 56px; height: 56px; border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.5rem; margin-bottom: 18px;
    }
    .test-card-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
    .test-card-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.65; }
    .test-card-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 0.8rem; font-weight: 800; margin-top: 18px;
      text-decoration: none;
    }

    /* ── COLOR PROFILES ── */
    .profile-tab-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
    .profile-tab {
      padding: 9px 20px; border-radius: 50px;
      border: 2px solid var(--border); background: transparent;
      font-size: 0.85rem; font-weight: 700; cursor: pointer;
      transition: var(--transition); color: var(--muted);
    }
    .profile-tab:hover { border-color: var(--dark); color: var(--dark); }
    .profile-tab.active { color: #fff; border-color: transparent; }
    .profile-panel { display: none; }
    .profile-panel.active { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
    .profile-visual {
      width: 180px; flex-shrink: 0;
      display: flex; flex-direction: column; align-items: center; gap: 14px;
    }
    .profile-color-block {
      width: 160px; height: 160px; border-radius: 28px;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Satisfy', cursive; font-size: 1.2rem;
      color: rgba(255,255,255,0.9); text-align: center;
      box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    }
    .profile-pct-bar { width: 100%; }
    .profile-info { flex: 1; min-width: 260px; }
    .profile-name { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 900; margin-bottom: 4px; }
    .profile-tagline { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
    .profile-traits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 20px; }
    .profile-trait-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
    }
    .profile-trait-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); margin-bottom: 2px; }
    .profile-trait-val { font-weight: 700; font-size: 0.9rem; }
    .profile-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.75; }

    /* ── FAQ ── */
    .faq-item {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      margin-bottom: 10px; overflow: hidden;
      transition: var(--transition);
    }
    .faq-item.open { border-color: rgba(239,68,68,0.3); }
    .faq-btn {
      width: 100%; background: none; border: none;
      color: var(--dark); font-family: 'Nunito', sans-serif;
      font-size: 0.95rem; font-weight: 700;
      padding: 20px 24px;
      text-align: left; cursor: pointer;
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
    }
    .faq-icon { font-size: 1.2rem; color: var(--muted2); transition: var(--transition); flex-shrink: 0; }
    .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--red); }
    .faq-ans {
      display: none; padding: 0 24px 20px;
      color: var(--muted); font-size: 0.9rem; line-height: 1.8;
      border-top: 1px solid var(--border);
    }
    .faq-ans { padding-top: 16px; }

    /* ── TESTIMONIALS ── */
    .testimonial-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
    }
    .testimonial-stars { color: #f59e0b; font-size: 0.875rem; margin-bottom: 12px; }
    .testimonial-text { color: var(--muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 16px; font-style: italic; }
    .testimonial-author { font-weight: 800; font-size: 0.875rem; }
    .testimonial-color { font-size: 0.78rem; color: var(--muted); }
    .testi-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 800; font-size: 0.875rem; color: #fff;
      flex-shrink: 0;
    }

    /* ── FOOTER ── */
    footer {
      background: var(--dark);
      color: rgba(255,255,255,0.7);
      padding: 64px 0 32px;
    }
    .footer-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem; font-weight: 900; color: #fff;
      display: flex; align-items: center; gap: 10px;
      margin-bottom: 12px;
    }
    .footer-desc { font-size: 0.875rem; max-width: 300px; line-height: 1.7; }
    .footer-heading { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
    .footer-links { list-style: none; padding: 0; margin: 0; }
    .footer-links li { margin-bottom: 8px; }
    .footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; transition: var(--transition); }
    .footer-links a:hover { color: #fff; }
    .footer-divider { border-color: rgba(255,255,255,0.1); margin: 32px 0 20px; }
    .footer-copy { color: rgba(255,255,255,0.35); font-size: 0.78rem; }

    /* ── AD ── */
    .ad-slot {
      background: rgba(28,25,23,0.03);
      border: 1px dashed rgba(28,25,23,0.1);
      border-radius: 12px; padding: 24px;
      text-align: center; color: var(--muted2);
      font-size: 0.72rem; font-weight: 700;
      letter-spacing: 0.07em; text-transform: uppercase;
      min-height: 90px; display: flex; align-items: center; justify-content: center;
    }

    /* ── ANIMATE ── */
    .fade-up { opacity: 0; transform: translateY(28px); transition: 0.65s cubic-bezier(0.4,0,0.2,1); }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
    .d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

    /* ── RESPONSIVE ── */
    @media(max-width:768px){
      .answers-grid { grid-template-columns: 1fr; }
      .quiz-header { flex-direction: column; align-items: flex-start; }
      .quiz-progress-wrap { max-width: 100%; width: 100%; }
      .profile-visual { width: 100%; }
      .profile-panel.active { flex-direction: column; }
      .profile-traits-grid { grid-template-columns: 1fr; }
    }

    /* ── DISCLAIMER ── */
    .disclaimer {
      background: rgba(245,158,11,0.07);
      border: 1px solid rgba(245,158,11,0.25);
      border-radius: var(--radius-sm);
      padding: 14px 18px;
      font-size: 0.85rem; color: var(--muted);
      display: flex; gap: 10px; align-items: flex-start;
    }
    .disclaimer .di { color: #f59e0b; flex-shrink: 0; margin-top: 2px; }

    /* Fun number stats */
    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px; text-align: center;
    }
    .stat-num { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 900; line-height: 1; }
    .stat-lbl { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }

    /* ── FOOTER LANGUAGE SWITCHER ── */
.footer-lang-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 20px;
}

.footer-lang-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.footer-lang-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.footer-lang-pills::-webkit-scrollbar {
  display: none;
}

.footer-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}

.footer-lang-pill:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}