/* ============================================================
   ICG-Agency — Main Stylesheet
   Sections:
     RESET & BASE
     VARIABLES
     TYPOGRAPHY
     LAYOUT
     COMPONENTS
     SECTIONS
     ANIMATIONS
     RESPONSIVE
     UTILITIES
   ============================================================ */

    /* ── Variables ─────────────────────────────────────────────── */
    :root {
      --navy:       #080d1a;
      --navy-mid:   #0e1628;
      --navy-light: #162035;
      --blue:       #1a56db;
      --blue-light: #3b82f6;
      --gold:       #f59e0b;
      --gold-light: #fbbf24;
      --orange:     #f97316;
      --white:      #ffffff;
      --gray-100:   #f3f4f6;
      --gray-200:   #e5e7eb;
      --gray-400:   #9ca3af;
      --gray-600:   #4b5563;
      --text:       #1f2937;
      --radius:     14px;
      --radius-lg:  22px;
      --shadow:     0 4px 24px rgba(0,0,0,.12);
      --shadow-lg:  0 12px 56px rgba(0,0,0,.22);
      --tr:         .25s ease;
      --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316, #fbbf24);
      --gradient-blue: linear-gradient(135deg, #1a56db, #3b82f6);
      --gradient-hero: linear-gradient(90deg, #f59e0b 0%, #f97316 40%, #3b82f6 100%);
    }

    /* ── Design upgrade: dot-grid hero overlay ──────────────────── */
    #hero {
      background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(26,86,219,.22) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245,158,11,.13) 0%, transparent 55%),
        var(--navy);
    }
    #hero::before {
      content: '';
      position: absolute; inset: 0; z-index: 0;
      background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
    }
    /* Animated blob */
    #hero::after {
      content: '';
      position: absolute; top: -120px; right: -120px;
      width: 640px; height: 640px; z-index: 0;
      background: radial-gradient(circle, rgba(245,158,11,.12) 0%, rgba(26,86,219,.14) 50%, transparent 70%);
      border-radius: 50%;
      animation: blobFloat 8s ease-in-out infinite;
      pointer-events: none;
    }
    @keyframes blobFloat {
      0%,100% { transform: translate(0,0) scale(1); }
      33%      { transform: translate(-30px, 20px) scale(1.04); }
      66%      { transform: translate(20px, -25px) scale(.97); }
    }

    /* ── Hero title gradient ─────────────────────────────────────── */
    .hero-title .highlight {
      background: var(--gradient-hero) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
    }

    /* ── Hero decorative orbs ────────────────────────────────────── */
    @keyframes orbPulse {
      0%,100% { transform: scale(1); opacity: .4; }
      50%      { transform: scale(1.35); opacity: .7; }
    }
    .hero-deco { display: flex; align-items: center; gap: 0; margin-top: 8px; }
    .hero-deco-orb {
      display: block; width: 8px; height: 8px; border-radius: 50%;
      background: var(--gold);
      box-shadow: 0 0 8px 2px rgba(245,158,11,.4);
      opacity: .4;
      animation: orbPulse 3s ease-in-out infinite;
    }
    .hero-deco-orb--center {
      width: 11px; height: 11px; opacity: .6;
      animation-delay: .6s;
    }
    .hero-deco-line {
      display: block; flex: 0 0 44px; height: 1px;
      background: linear-gradient(90deg, transparent, rgba(245,158,11,.35), transparent);
    }

    /* ── Nav logo glow ───────────────────────────────────────────── */
    .nav-logo span {
      text-shadow: 0 0 18px rgba(245,158,11,.55);
    }

    /* ── Problem cards — gradient left border ───────────────────── */
    .problem-card {
      border: none !important;
      border-radius: var(--radius-lg) !important;
      position: relative;
      background: var(--white);
      box-shadow: 0 0 0 1.5px var(--gray-200);
      transition: transform var(--tr), box-shadow var(--tr);
      overflow: hidden;
    }
    .problem-card::before {
      content: '';
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 3px;
      background: linear-gradient(180deg, var(--gold), var(--blue-light));
      border-radius: 3px 0 0 3px;
    }
    .problem-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 40px rgba(0,0,0,.1), 0 0 0 1.5px rgba(245,158,11,.3);
    }
    .problem-icon {
      background: rgba(245,158,11,.1) !important;
      border: 1px solid rgba(245,158,11,.2);
    }

    /* ── Solution cards — shimmer border on hover ───────────────── */
    .solution-card {
      border: 1.5px solid rgba(255,255,255,.08) !important;
      transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr) !important;
    }
    .solution-card:hover {
      border-color: transparent !important;
      background:
        linear-gradient(var(--navy-light), var(--navy-light)) padding-box,
        linear-gradient(135deg, var(--gold), var(--blue-light)) border-box !important;
      box-shadow: 0 8px 40px rgba(245,158,11,.12) !important;
    }

    /* ── Solution section noise overlay ─────────────────────────── */
    #solution {
      position: relative;
      background: linear-gradient(160deg, var(--navy) 0%, #0d1830 50%, var(--navy) 100%) !important;
    }
    #solution > .container { position: relative; z-index: 1; }

    /* ── Plans: recommended card gold glow ──────────────────────── */
    .plan-card.recommended {
      border-color: transparent !important;
      background:
        linear-gradient(#f0f7ff, #ffffff) padding-box,
        linear-gradient(135deg, var(--gold), var(--blue-light)) border-box !important;
      box-shadow: 0 0 0 2px rgba(245,158,11,.35), 0 20px 60px rgba(245,158,11,.2) !important;
    }
    .plan-recommended-badge {
      background: linear-gradient(135deg, var(--gold), var(--orange)) !important;
      color: var(--navy) !important;
    }
    /* Gradient text on price amounts */
    .plan-card.recommended .plan-price .amount {
      background: linear-gradient(135deg, var(--gold), var(--orange));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .plan-card:not(.recommended) .plan-price .amount {
      background: linear-gradient(135deg, #1f2937, var(--blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }


    /* ── Process: gradient step rings ───────────────────────────── */
    .step-number {
      background:
        linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--blue), var(--gold)) border-box !important;
      border: 3px solid transparent !important;
      box-shadow: 0 4px 20px rgba(26,86,219,.15) !important;
    }
    .step:hover .step-number {
      background:
        linear-gradient(135deg, var(--blue), var(--gold)) padding-box,
        linear-gradient(135deg, var(--blue), var(--gold)) border-box !important;
      color: white !important;
    }
    /* Dashed connector line */
    .process-steps::before {
      background: none !important;
      border-top: 2px dashed rgba(245,158,11,.35) !important;
      height: 0 !important;
    }

    /* ── FAQ open state gold accent (minimalist) ────────────────── */
    .faq-item.open .faq-question { color: var(--navy) !important; }

    /* ── Buttons: shine sweep on hover ───────────────────────────── */
    .btn { overflow: hidden; position: relative; }
    .btn::after {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
      transform: skewX(-20deg);
      transition: left .55s ease;
    }
    .btn:hover::after { left: 160%; }

    /* ── Footer dot grid ─────────────────────────────────────────── */
    footer {
      background:
        radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        var(--navy) !important;
      background-size: 24px 24px, auto !important;
    }

    /* ── Section titles — gold underline ─────────────────────────── */
    .section-accent-line {
      display: block;
      width: 48px; height: 3px;
      background: linear-gradient(90deg, var(--gold), var(--blue-light));
      border-radius: 99px;
      margin: 12px auto 0;
    }
    .text-center .section-accent-line { margin: 12px auto 0; }
    .section-accent-line.left { margin: 12px 0 0; }

    /* ── Score insight upgraded ───────────────────────────────────── */
    .score-insight {
      background: linear-gradient(135deg, rgba(26,86,219,.18) 0%, rgba(245,158,11,.1) 100%) !important;
      border: 1px solid rgba(245,158,11,.3) !important;
      box-shadow: 0 8px 40px rgba(26,86,219,.15) !important;
    }

    /* ── CTA banner upgraded ─────────────────────────────────────── */
    #cta-banner {
      background: linear-gradient(135deg, #0d1f4a 0%, var(--blue) 40%, #1d3a8a 70%, var(--navy-mid) 100%) !important;
      position: relative; overflow: hidden;
    }
    #cta-banner::before {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
    }
    #cta-banner > .container { position: relative; z-index: 1; }

    /* ── Hero cards upgraded ─────────────────────────────────────── */
    .hero-card {
      background: rgba(255,255,255,.055) !important;
      border: 1px solid rgba(255,255,255,.1) !important;
      backdrop-filter: blur(16px) !important;
      box-shadow: 0 8px 32px rgba(0,0,0,.25) !important;
    }

    /* ── Reset ─────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
    img  { max-width: 100%; display: block; }
    a    { text-decoration: none; color: inherit; }
    ul   { list-style: none; }

    /* ── Typography ────────────────────────────────────────────── */
    h1, h2, h3 {
      font-family: Georgia, 'Times New Roman', serif;
      line-height: 1.2;
      letter-spacing: -0.01em;
      font-weight: 400;
    }
    h4 {
      font-family: 'Poppins', sans-serif;
      line-height: 1.25;
      letter-spacing: -0.02em;
      font-weight: 700;
    }

    /* ── Utilities ─────────────────────────────────────────────── */
    .container  { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
    .section    { padding: 96px 0; }
    .text-center{ text-align: center; }
    .text-gold  { color: var(--gold); }
    .text-blue  { color: var(--blue-light); }

    .badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(245,158,11,.12); color: var(--gold);
      border: 1px solid rgba(245,158,11,.3); border-radius: 50px;
      padding: 6px 16px; font-size: .8rem; font-weight: 600;
      letter-spacing: .03em; text-transform: uppercase;
    }


    .section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
    .section-sub   { font-size: 1.05rem; color: var(--gray-600); max-width: 640px; }

    /* ── Buttons ───────────────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: var(--radius);
      font-size: .95rem; font-weight: 600; font-family: 'Poppins', sans-serif;
      cursor: pointer; border: none;
      transition: transform var(--tr), box-shadow var(--tr);
      white-space: nowrap;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
    a:focus-visible    { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
    input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 1px; }
    button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: var(--radius); }
    .btn-primary { background: linear-gradient(135deg,var(--blue),#2563eb); color: var(--white); box-shadow: 0 4px 20px rgba(26,86,219,.4); }
    .btn-primary:hover { box-shadow: 0 8px 32px rgba(26,86,219,.55); }
    .btn-gold    { background: linear-gradient(135deg,var(--gold),#d97706); color: var(--navy); box-shadow: 0 4px 20px rgba(245,158,11,.35); }
    .btn-gold:hover { box-shadow: 0 8px 32px rgba(245,158,11,.5); }
    .btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); }
    .btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); }
    .btn-lg { padding: 17px 36px; font-size: 1rem; border-radius: 14px; }

    /* ── NAV ───────────────────────────────────────────────────── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 14px 0;
      background: rgba(10,15,30,.88); backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(255,255,255,.06);
      transition: background var(--tr);
    }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .nav-logo  { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: 1.35rem; font-weight: 700; color: var(--white); letter-spacing: 0.04em; }
    .nav-logo span { color: var(--gold); }
    .nav-links { display: flex; align-items: center; gap: 24px; }
    .nav-links a { color: rgba(255,255,255,.7); font-size: .88rem; font-weight: 500; transition: color var(--tr); }
    .nav-links a:hover { color: var(--white); }
    .nav-right  { display: flex; align-items: center; gap: 10px; }
    .nav-hamburger { display: none; cursor: pointer; color: var(--white); font-size: 1.4rem; background: none; border: none; }

    /* ── Language dropdown ───────────────────────────────────── */
    .lang-dropdown { position: relative; }
    .lang-trigger {
      display: flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
      border-radius: var(--radius); padding: 9px 17px;
      cursor: pointer; color: rgba(255,255,255,.7);
      font-family: 'Poppins', sans-serif; font-size: .83rem; font-weight: 600;
      letter-spacing: 0;
      transition: background .2s, border-color .2s, color .2s;
    }
    .lang-trigger:hover, .lang-trigger.open {
      background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.24); color: var(--white);
    }
    .lang-globe-ic {
      width: 14px; height: 14px; stroke: currentColor; fill: none;
      stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
    }
    .lang-chevron-ic {
      width: 11px; height: 11px; stroke: currentColor; fill: none;
      stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
      transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .lang-trigger.open .lang-chevron-ic { transform: rotate(180deg); }

    .lang-menu {
      position: absolute; top: calc(100% + 8px); right: 0;
      background: #fff; border-radius: 12px;
      box-shadow: 0 8px 32px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.1);
      overflow: hidden;
      transform-origin: top right;
      transform: scale(.9); opacity: 0; pointer-events: none;
      transition: transform .28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .18s ease;
      min-width: 154px; z-index: 200;
    }
    .lang-menu.open { transform: scale(1); opacity: 1; pointer-events: all; }

    .lang-opt {
      width: 100%; display: flex; align-items: center;
      padding: 10px 14px; background: none; border: none; cursor: pointer;
      font-family: 'Inter', sans-serif; transition: background .12s; gap: 10px;
    }
    .lang-opt:not(:last-child) { border-bottom: 1px solid #F3F4F6; }
    .lang-opt:hover  { background: #FFF5F5; }
    .lang-opt.active { background: #FFF0F0; }
    .lang-opt-name {
      font-size: 13.5px; font-weight: 500; color: #111827; flex: 1;
      transition: font-weight .12s, color .12s; white-space: nowrap; text-align: left;
    }
    .lang-opt.active .lang-opt-name { font-weight: 700; color: #E85555; }
    .lang-opt-badge {
      font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 700;
      letter-spacing: .1em; color: #9CA3AF; transition: color .12s; flex-shrink: 0;
    }
    .lang-opt.active .lang-opt-badge { color: #FF6B6B; }
    .lang-opt-check {
      width: 16px; height: 16px; border-radius: 50%;
      background: #FF6B6B; display: flex; align-items: center; justify-content: center;
      opacity: 0; transform: scale(0); flex-shrink: 0;
      transition: opacity .18s, transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .lang-opt.active .lang-opt-check { opacity: 1; transform: scale(1); }
    .lang-opt-check svg {
      width: 9px; height: 9px; stroke: white; fill: none;
      stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
    }

    /* Mobile nav */
    @media (max-width: 860px) {
      .nav-links { display: none; }
      .nav-cta   { display: none; }
      .nav-hamburger { display: block; }
      .nav-mobile-open .nav-links {
        display: flex; flex-direction: column;
        position: fixed; top: 62px; left: 0; right: 0;
        background: var(--navy-mid); padding: 20px 24px; gap: 18px;
        border-bottom: 1px solid rgba(255,255,255,.08);
      }
      .nav-mobile-open .nav-cta {
        display: flex; flex-direction: column;
        position: fixed; top: calc(62px + 160px); left: 0; right: 0;
        padding: 14px 24px; background: var(--navy-mid); gap: 10px;
      }
    }

    /* ── HERO ──────────────────────────────────────────────────── */
    #hero {
      background: var(--navy); padding: 148px 0 96px;
      position: relative; overflow: hidden;
    }
    #hero::before {
      content:''; position: absolute; top: -200px; right: -200px;
      width: 700px; height: 700px;
      background: radial-gradient(circle, rgba(26,86,219,.25) 0%, transparent 70%);
      pointer-events: none;
    }
    #hero::after {
      content:''; position: absolute; bottom: -100px; left: -100px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%);
      pointer-events: none;
    }
    .hero-inner {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 60px; align-items: center; position: relative; z-index: 1;
    }
    .hero-brand-name {
      font-size: 13px; font-weight: 500; letter-spacing: 0.15em;
      text-transform: uppercase; color: rgba(245,158,11,.55);
      margin-bottom: 14px;
    }
    .hero-eyebrow { margin-bottom: 20px; }
    .hero-title {
      font-size: clamp(2rem, 4.5vw, 3.3rem); color: var(--white);
      margin-bottom: 20px; line-height: 1.2; letter-spacing: -0.02em;
    }
    .hero-sub { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-bottom: 32px; line-height: 1.7; }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }


    /* Hero cards */
    .hero-visual { display: flex; flex-direction: column; gap: 14px; }
    .hero-card {
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius-lg); padding: 18px 22px;
      backdrop-filter: blur(12px); color: var(--white);
    }
    .hero-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
    .card-avatar {
      width: 42px; height: 42px; border-radius: 50%;
      background: linear-gradient(135deg, var(--blue), var(--gold));
      display: flex; align-items: center; justify-content: center;
      font-weight: 600; font-size: .9rem; color: var(--white); flex-shrink: 0;
    }
    .card-name { font-weight: 600; font-size: .9rem; }
    .card-role { font-size: .78rem; color: rgba(255,255,255,.5); }
    .card-stat {
      display: flex; justify-content: space-between;
      font-size: .8rem; color: rgba(255,255,255,.6);
      border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; margin-top: 10px;
    }
    .card-stat span { font-weight: 700; color: var(--gold); }
    .score-bar { height: 5px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; margin-top: 7px; }
    .score-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg,var(--gold),var(--blue-light)); animation: fillBar 2s ease forwards; }
    @keyframes fillBar { from { width: 0; } }
    .floating-badge {
      display: inline-flex; align-self: flex-end; margin-bottom: 8px;
      background: linear-gradient(135deg,var(--gold),#d97706); color: var(--navy);
      font-size: .75rem; font-weight: 700; padding: 5px 13px; border-radius: 50px;
      box-shadow: 0 4px 16px rgba(245,158,11,.4); animation: pulse 2.2s infinite;
    }
    @keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.04)} }

    @media (max-width: 860px) {
      .hero-inner { grid-template-columns: 1fr; }
      .hero-visual { display: none; }
    }

    /* ── PROBLEMS CAROUSEL ─────────────────────────────────────── */
    #problems { background: var(--gray-100); }

    .pc-outer    { position: relative; margin-top: 44px; padding: 6px 44px 0; }
    .pc-viewport { overflow: hidden; }
    .pc-track    {
      display: flex; gap: 18px;
      will-change: transform;
      cursor: grab; user-select: none; -webkit-user-select: none;
    }
    .pc-track.is-dragging { cursor: grabbing; }

    /* Card width via flex-basis — 100% = .pc-track block width = viewport width */
    .pc-track .problem-card { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; }
    @media (max-width: 900px) { .pc-track .problem-card { flex: 0 0 calc((100% - 18px) / 2); } }
    @media (max-width: 640px) { .pc-track .problem-card { flex: 0 0 100%; } }

    /* Arrow buttons */
    .pc-arrow {
      position: absolute; top: calc(50% - 20px); transform: translateY(-50%);
      z-index: 10; background: var(--white); border: 1.5px solid var(--gray-200);
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; color: var(--navy);
      transition: background var(--tr), border-color var(--tr), color var(--tr);
    }
    .pc-arrow:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
    .pc-arrow--prev { left: 0; }
    .pc-arrow--next { right: 0; }
    @media (max-width: 900px) { .pc-arrow { display: none; } }

    /* Dot indicators */
    .pc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
    .pc-dot  {
      width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none;
      background: #D1D5DB; cursor: pointer;
      transition: background 0.25s ease, transform 0.25s ease;
    }
    .pc-dot.pc-dot--active { background: var(--gold); transform: scale(1.3); }

    /* Card visual style (unchanged) */
    .problem-card {
      background: var(--white); border: 1.5px solid var(--gray-200);
      border-radius: var(--radius-lg); padding: 26px;
      transition: transform var(--tr), box-shadow var(--tr);
    }
    .problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .problem-icon { width: 48px; height: 48px; background: rgba(245,158,11,.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--gold); flex-shrink: 0; }
    .problem-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 7px; font-family: 'Poppins', sans-serif; letter-spacing: -0.01em; }
    .problem-card p  { font-size: .875rem; color: var(--gray-600); line-height: 1.65; }

    /* ── SOLUTION ──────────────────────────────────────────────── */
    #solution { background: var(--navy); }
    .solution-header { margin-bottom: 52px; }
    .solution-header .section-title { color: var(--white); }
    .solution-header .section-sub   { color: rgba(255,255,255,.6); }
    .solution-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 22px; }
    .solution-card {
      background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius-lg); padding: 30px;
      transition: transform var(--tr), border-color var(--tr);
    }
    .solution-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,.4); }
    .solution-icon { width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; }
    .icon-blue   { background: rgba(59,130,246,.15); }
    .icon-gold   { background: rgba(245,158,11,.15); }
    .icon-green  { background: rgba(16,185,129,.15); }
    .icon-purple { background: rgba(139,92,246,.15); }
    .solution-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
    .solution-card p  { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.65; }
    .solution-features { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
    .feat-item { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.65); }
    .feat-item::before { content:'✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

    .score-insight {
      background: linear-gradient(135deg,rgba(26,86,219,.2),rgba(245,158,11,.1));
      border: 1px solid rgba(245,158,11,.25); border-radius: var(--radius-lg);
      padding: 28px 32px; margin-top: 36px;
      display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    }
    .score-emoji { font-size: 2.2rem; flex-shrink: 0; }
    .score-text  { flex: 1; min-width: 220px; }
    .score-text h4 { color: var(--gold); font-size: 1.05rem; margin-bottom: 5px; }
    .score-text p  { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.65; }

    /* ── PLANS ─────────────────────────────────────────────────── */
    #plans { background: var(--white); }
    .plans-header { margin-bottom: 52px; }
    .plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 28px; }
    .plan-card {
      border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
      padding: 30px 26px; position: relative;
      transition: transform var(--tr), box-shadow var(--tr);
      display: flex; flex-direction: column;
    }
    .plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
    .plan-card.recommended {
      border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
      background: linear-gradient(180deg,#f0f7ff,var(--white));
    }
    .plan-recommended-badge {
      position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
      background: linear-gradient(135deg,var(--blue),#2563eb); color: var(--white);
      font-size: .72rem; font-weight: 700; padding: 4px 16px; border-radius: 50px;
      letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
    }
    .plan-name    { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; letter-spacing: -0.01em; }
    .plan-tagline { font-size: .83rem; color: var(--gray-600); margin-bottom: 18px; }
    .plan-price   { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
    .plan-price .amount   { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
    .plan-price .currency { font-size: 1.1rem; vertical-align: super; }
    .plan-price .period   { font-size: .83rem; color: var(--gray-400); margin-left: 2px; }
    .plan-ideal   { font-size: .79rem; color: var(--gray-600); background: var(--gray-100); border-radius: 8px; padding: 7px 11px; margin-bottom: 18px; }
    .plan-features { display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 24px; }
    .plan-feature  { display: flex; align-items: flex-start; gap: 9px; font-size: .855rem; }
    .plan-feature .check { width: 19px; height: 19px; border-radius: 50%; background: #dcfce7; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .6rem; color: #15803d; font-weight: 900; margin-top: 1px; }
    .plan-cta { margin-top: auto; }
    .plan-cta .btn { width: 100%; justify-content: center; }

    /* Subscription card */
    .subscription-card {
      background: linear-gradient(135deg,var(--navy),var(--navy-light));
      border-radius: var(--radius-lg); padding: 34px 38px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
      position: relative; overflow: hidden;
    }
    .subscription-card::before {
      content:''; position: absolute; top: -60px; right: -60px;
      width: 240px; height: 240px;
      background: radial-gradient(circle,rgba(245,158,11,.2),transparent 70%);
      pointer-events: none;
    }
    .sub-title { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 7px; letter-spacing: -0.02em; }
    .sub-desc  { color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: 18px; line-height: 1.65; }
    .sub-price-block { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
    .sub-price { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 11px; padding: 11px 18px; text-align: center; }
    .sub-price .amt { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
    .sub-price .lbl { font-size: .73rem; color: rgba(255,255,255,.5); margin-top: 2px; }
    .sub-price.best { border-color: var(--gold); background: rgba(245,158,11,.1); position: relative; }
    .sub-price.best::after {
      content: attr(data-tag);
      position: absolute; top: -10px; right: -6px;
      background: var(--gold); color: var(--navy); font-size: .58rem; font-weight: 700;
      padding: 3px 7px; border-radius: 50px; white-space: nowrap;
    }
    .sub-features { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
    .sub-feature  { display: flex; align-items: flex-start; gap: 7px; font-size: .83rem; color: rgba(255,255,255,.7); }
    .sub-feature::before { content:'✦'; color: var(--gold); font-size: .68rem; flex-shrink: 0; margin-top: 2px; }

    @media (max-width: 860px) {
      .plans-grid { grid-template-columns: 1fr; }
      .subscription-card { grid-template-columns: 1fr; padding: 26px; }
      .sub-features { grid-template-columns: 1fr; }
    }

    /* ── PROCESS ───────────────────────────────────────────────── */
    #process { background: var(--gray-100); }
    .process-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 0; margin-top: 52px; position: relative; }
    .process-steps::before {
      content:''; position: absolute; top: 35px; left: 10%; right: 10%;
      height: 2px; background: linear-gradient(90deg,var(--blue),var(--gold)); z-index: 0;
    }
    .step { text-align: center; padding: 0 18px; position: relative; z-index: 1; }
    .step-number {
      width: 70px; height: 70px; border-radius: 50%;
      background: var(--white); border: 3px solid var(--blue);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700;
      color: var(--blue); margin: 0 auto 18px; box-shadow: var(--shadow);
      transition: background var(--tr), color var(--tr);
    }
    .step:hover .step-number { background: var(--blue); color: var(--white); }
    .step h3 { font-size: .95rem; font-weight: 600; margin-bottom: 7px; letter-spacing: -0.01em; }
    .step p  { font-size: .855rem; color: var(--gray-600); line-height: 1.65; }
    @media (max-width: 600px) { .process-steps::before { display: none; } }

    /* ── FORM ──────────────────────────────────────────────────── */
    #form { background: var(--white); }
    .form-wrapper {
      background: var(--navy); border-radius: 22px; padding: 52px 44px;
      position: relative; overflow: hidden;
    }
    .form-wrapper::before {
      content:''; position: absolute; top: -80px; right: -80px;
      width: 380px; height: 380px;
      background: radial-gradient(circle,rgba(26,86,219,.28),transparent 70%);
      pointer-events: none;
    }
    .form-title { color: var(--white); margin-bottom: 6px; }
    .form-sub   { color: rgba(255,255,255,.6); margin-bottom: 36px; font-size: .92rem; }

    .form-section-title {
      color: var(--gold); font-size: .78rem; font-weight: 700;
      letter-spacing: .06em; text-transform: uppercase;
      margin: 32px 0 14px; display: flex; align-items: center; gap: 8px;
    }
    .form-section-title::before { content:''; display: block; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }

    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-group { display: flex; flex-direction: column; gap: 5px; }
    .form-group.full { grid-column: 1 / -1; }

    label { color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600; letter-spacing: .01em; }
    input, select, textarea {
      width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
      border-radius: 10px; padding: 11px 15px; color: var(--white);
      font-size: .88rem; font-family: 'Inter', sans-serif; outline: none;
      transition: border-color var(--tr), background var(--tr);
    }
    input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }
    input:focus, select:focus, textarea:focus { border-color: var(--blue-light); background: rgba(59,130,246,.08); }
    select option { background: var(--navy-mid); color: var(--white); }
    textarea { resize: vertical; min-height: 85px; }

    .exp-block { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px; margin-bottom: 10px; }
    .exp-block-label { color: rgba(255,255,255,.5); font-size: .78rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }

    /* ── Dynamic experience block header / buttons ───────────── */
    .exp-block-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 12px;
    }
    .exp-block-header .exp-block-label { margin-bottom: 0; }
    .exp-remove-btn {
      background: transparent;
      border: 1px solid rgba(239,68,68,.35);
      color: rgba(239,68,68,.7);
      border-radius: 7px; padding: 4px 10px;
      font-size: .74rem; font-weight: 600; cursor: pointer;
      font-family: 'Inter', sans-serif; line-height: 1.4;
      transition: background var(--tr), color var(--tr), border-color var(--tr);
      min-height: 0;
    }
    .exp-remove-btn:hover { background: rgba(239,68,68,.1); color: #f87171; border-color: rgba(239,68,68,.6); }
    .exp-add-btn {
      display: flex; align-items: center; justify-content: center; gap: 7px;
      width: 100%; margin-top: 2px;
      background: rgba(245,158,11,.07);
      border: 1.5px dashed rgba(245,158,11,.4);
      color: var(--gold); border-radius: 10px;
      padding: 11px 20px; font-size: .875rem; font-weight: 600;
      cursor: pointer; font-family: 'Poppins', sans-serif;
      transition: background var(--tr), border-color var(--tr);
      min-height: 44px;
    }
    .exp-add-btn:hover { background: rgba(245,158,11,.13); border-color: rgba(245,158,11,.65); }

    .checkbox-group {
      display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px;
      background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
      border-radius: 10px; cursor: pointer; transition: border-color var(--tr);
    }
    .checkbox-group:hover { border-color: rgba(245,158,11,.4); }
    .checkbox-group input[type=checkbox],
    .checkbox-group input[type=radio] { width: 17px; height: 17px; accent-color: var(--gold); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
    .checkbox-label { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.5; }

    /* ── Individual-form plan cards ──────────────────────────── */
    .plan-card-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px;
    }
    @media (max-width: 560px) { .plan-card-grid { grid-template-columns: 1fr; } }
    .plan-card { position: relative; cursor: pointer; display: block; }
    .plan-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
    .plan-card-inner {
      position: relative; background: rgba(255,255,255,.04);
      border: 1.5px solid rgba(255,255,255,.1); border-radius: 10px;
      padding: 16px 16px 14px; transition: border-color .18s, background .18s;
      height: 100%; box-sizing: border-box;
    }
    .plan-card:hover .plan-card-inner { border-color: rgba(245,158,11,.45); }
    .plan-card input[type="radio"]:checked + .plan-card-inner {
      border-color: #F59E0B; background: rgba(245,158,11,.07);
    }
    .plan-card-badge {
      display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .08em;
      color: #92400E; background: #FEF3C7; border-radius: 4px;
      padding: 2px 7px; margin-bottom: 8px; text-transform: uppercase;
    }
    .plan-card-name { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
    .plan-card-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; }
    .plan-card-price { color: #F59E0B; font-size: 1.5rem; font-weight: 800; line-height: 1; }
    .plan-card-period { font-size: .78rem; color: #9CA3AF; font-weight: 400; }
    .plan-card-desc { font-size: .78rem; color: #9CA3AF; line-height: 1.5; }

    /* ── Enterprise-form subscription cards ─────────────────── */
    .ent-plan-cards {
      display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px;
    }
    @media (max-width: 560px) { .ent-plan-cards { grid-template-columns: 1fr; } }
    .ent-plan-card { position: relative; cursor: pointer; display: block; }
    .ent-plan-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
    .ent-plan-card-inner {
      position: relative; background: rgba(255,255,255,.04);
      border: 1.5px solid rgba(255,255,255,.1); border-radius: 10px;
      padding: 18px 16px 16px; transition: border-color .18s, background .18s;
      height: 100%; box-sizing: border-box;
    }
    .ent-plan-card:hover .ent-plan-card-inner { border-color: rgba(245,158,11,.45); }
    .ent-plan-card input[type="radio"]:checked + .ent-plan-card-inner {
      border-color: #F59E0B; background: rgba(245,158,11,.07);
    }
    .ent-plan-card-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
    .ent-plan-card-price {
      font-size: 1.45rem; font-weight: 800; color: #F59E0B;
      margin-bottom: 10px; line-height: 1;
    }
    .ent-plan-card-price span { font-size: .8rem; font-weight: 400; color: #9CA3AF; margin-left: 4px; }
    .ent-plan-card-desc { font-size: .8rem; color: #9CA3AF; line-height: 1.55; }

    .form-submit-area { margin-top: 30px; text-align: center; }
    .form-privacy     { font-size: .76rem; color: rgba(255,255,255,.65); margin-top: 10px; }

    /* ── CV file input (onboarding form only) ────────────────── */
    #cv_upload {
      background-color: transparent;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 8px;
      color: rgba(255,255,255,.5);
      padding: 8px 12px;
      width: 100%;
      cursor: pointer;
    }
    #cv_upload::file-selector-button {
      background-color: #F59E0B;
      color: #000;
      border: none;
      border-radius: 6px;
      padding: 8px 16px;
      margin-right: 12px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      transition: background-color .2s ease;
    }
    #cv_upload::file-selector-button:hover { background-color: #D97706; }

    /* ── File upload drop zone ─────────────────────────────────── */
    .drop-zone {
      border: 2px dashed rgba(255,255,255,.2);
      border-radius: var(--radius);
      padding: 36px 24px;
      text-align: center;
      cursor: pointer;
      transition: border-color var(--tr), background var(--tr);
      position: relative;
    }
    .drop-zone:hover,
    .drop-zone.dragover { border-color: var(--gold); background: rgba(245,158,11,.06); }
    .drop-zone input[type="file"] {
      position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
    }
    .drop-zone-icon { font-size: 2rem; margin-bottom: 10px; }
    .drop-zone-text { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.55; }
    .drop-zone-text strong { color: var(--gold); }
    .drop-zone-hint { font-size: .76rem; color: rgba(255,255,255,.35); margin-top: 6px; }

    /* File list */
    .file-list { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
    .file-item {
      display: flex; align-items: center; justify-content: space-between;
      gap: 10px; background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1); border-radius: 9px;
      padding: 9px 14px; font-size: .83rem; color: rgba(255,255,255,.8);
    }
    .file-item-left  { display: flex; align-items: center; gap: 9px; min-width: 0; }
    .file-item-icon  { font-size: 1.1rem; flex-shrink: 0; }
    .file-item-name  { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .file-item-size  { color: rgba(255,255,255,.4); font-size: .76rem; flex-shrink: 0; }
    .file-item-remove {
      background: none; border: none; color: rgba(255,255,255,.35); cursor: pointer;
      font-size: 1rem; line-height: 1; flex-shrink: 0; padding: 2px 4px;
      border-radius: 4px; transition: color var(--tr), background var(--tr);
    }
    .file-item-remove:hover { color: #ef4444; background: rgba(239,68,68,.12); }
    .file-item.error { border-color: rgba(239,68,68,.4); background: rgba(239,68,68,.06); }
    .file-item.error .file-item-size { color: #f87171; }

    @media (max-width: 700px) {
      .form-wrapper { padding: 28px 20px; }
      .form-grid    { grid-template-columns: 1fr; }
      .drop-zone    { padding: 28px 16px; }
    }

    /* ── FAQ — minimalist accordion ────────────────────────────── */
    #faq { background: #f9f7f2; }
    .faq-label {
      display: block; text-align: center;
      font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 18px;
    }
    .faq-heading {
      text-align: center;
      font-size: clamp(1.9rem, 3.5vw, 2.8rem);
      color: var(--navy);
      margin-bottom: 52px;
    }
    .faq-grid  { max-width: 760px; margin: 0 auto; }
    .faq-item  { border-top: 1px solid #d9d5cc; }
    .faq-item:last-child { border-bottom: 1px solid #d9d5cc; }
    .faq-question {
      width: 100%; background: none; border: none; text-align: left;
      padding: 22px 4px; font-size: 1rem; font-weight: 500;
      color: var(--navy); cursor: pointer;
      display: flex; justify-content: space-between; align-items: center; gap: 20px;
      font-family: 'Inter', sans-serif; transition: color var(--tr);
    }
    .faq-question:hover { color: var(--gold); }
    .faq-icon {
      flex-shrink: 0; font-size: 1.1rem; color: var(--gold);
      transition: transform .35s ease; line-height: 1;
    }
    .faq-item.open .faq-icon { transform: rotate(180deg); }
    .faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
    .faq-answer-inner {
      padding: 0 4px 22px;
      font-size: .9rem; color: #5a5650; line-height: 1.75;
    }
    .faq-item.open .faq-answer { max-height: 500px; }

    /* ── CTA BANNER ────────────────────────────────────────────── */
    #cta-banner { background: linear-gradient(135deg,var(--blue),#1d4ed8 50%,var(--navy)); padding: 76px 0; text-align: center; }
    #cta-banner h2 { color: var(--white); margin-bottom: 14px; }
    #cta-banner p  { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 1rem; }
    .cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

    /* ── FOOTER ────────────────────────────────────────────────── */
    footer { background: var(--navy); color: rgba(255,255,255,.55); padding: 44px 0 28px; }
    .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
    .footer-brand .nav-logo { margin-bottom: 9px; }
    .footer-desc  { font-size: .84rem; line-height: 1.7; max-width: 250px; }
    .footer-col h4 { color: var(--white); font-size: .82rem; font-weight: 600; margin-bottom: 13px; font-family: 'Poppins', sans-serif; letter-spacing: .03em; text-transform: uppercase; }
    .footer-col ul { display: flex; flex-direction: column; gap: 7px; }
    .footer-col ul li a { font-size: .83rem; transition: color var(--tr); }
    .footer-col ul li a:hover { color: var(--white); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .78rem; }


    @media (max-width: 700px) {
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1/-1; }
    }
    @media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

    /* ── Language multi-select picker ─────────────────────────── */
    .lang-picker { position: relative; }

    .lang-picker-trigger {
      width: 100%;
      background: rgba(255,255,255,.07);
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 10px;
      padding: 11px 15px;
      color: var(--white);
      font-size: .88rem;
      font-family: 'Inter', sans-serif;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      text-align: left;
      transition: border-color var(--tr), background var(--tr);
      min-height: 44px;
    }
    .lang-picker-trigger:hover,
    .lang-picker.open .lang-picker-trigger { border-color: var(--blue-light); background: rgba(59,130,246,.08); }

    .lang-picker-tags {
      display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-width: 0;
    }
    .lang-tag {
      background: rgba(245,158,11,.18); border: 1px solid rgba(245,158,11,.35);
      color: var(--gold); font-size: .72rem; font-weight: 600;
      padding: 2px 8px; border-radius: 50px; white-space: nowrap;
    }
    .lang-picker-placeholder { color: rgba(255,255,255,.3); font-size: .88rem; }
    .lang-picker-arrow {
      flex-shrink: 0; font-size: .7rem; color: rgba(255,255,255,.4);
      transition: transform var(--tr);
    }
    .lang-picker.open .lang-picker-arrow { transform: rotate(180deg); }

    /* dropdown panel */
    .lang-picker-panel {
      position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
      background: #1a2236;
      border: 1px solid rgba(255,255,255,.15);
      border-radius: 12px;
      box-shadow: 0 12px 40px rgba(0,0,0,.5);
      overflow: hidden;
      display: none;
    }
    .lang-picker.open .lang-picker-panel { display: block; }

    .lang-picker-search {
      padding: 10px 14px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .lang-picker-search input {
      background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px; padding: 8px 12px;
      color: var(--white); font-size: .84rem; font-family: 'Inter', sans-serif;
      width: 100%; outline: none;
    }
    .lang-picker-search input:focus { border-color: var(--blue-light); }
    .lang-picker-search input::placeholder { color: rgba(255,255,255,.3); }

    .lang-picker-list {
      max-height: 260px; overflow-y: auto;
      padding: 6px 0;
      scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
    }
    .lang-picker-list::-webkit-scrollbar { width: 5px; }
    .lang-picker-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 99px; }

    .lang-option-row {
      display: flex; align-items: center; gap: 0;
      padding: 0 14px;
      transition: background var(--tr);
    }
    .lang-option-row:hover { background: rgba(255,255,255,.05); }
    .lang-option-row.selected { background: rgba(245,158,11,.06); }

    .lang-option-check {
      display: flex; align-items: center; gap: 10px;
      flex: 1; padding: 10px 0; cursor: pointer;
    }
    .lang-option-check input[type=checkbox] {
      width: 16px; height: 16px; accent-color: var(--gold);
      flex-shrink: 0; cursor: pointer;
      background: transparent; border: none; padding: 0;
    }
    .lang-option-name { font-size: .88rem; color: rgba(255,255,255,.85); font-weight: 500; }

    .lang-level-select {
      background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
      border-radius: 7px; color: var(--white); font-size: .76rem;
      font-family: 'Inter', sans-serif; padding: 4px 8px;
      outline: none; cursor: pointer; margin-left: auto;
      transition: border-color var(--tr);
      display: none; /* shown only when row is selected */
    }
    .lang-option-row.selected .lang-level-select { display: block; }
    .lang-level-select:focus { border-color: var(--blue-light); }
    .lang-level-select option { background: #1a2236; }

    .lang-picker-footer {
      padding: 10px 14px;
      border-top: 1px solid rgba(255,255,255,.08);
      display: flex; justify-content: space-between; align-items: center;
      font-size: .78rem; color: rgba(255,255,255,.45);
    }
    .lang-picker-clear {
      background: none; border: none; color: rgba(255,255,255,.35);
      font-size: .78rem; cursor: pointer; font-family: 'Inter', sans-serif;
      padding: 3px 6px; border-radius: 5px;
      transition: color var(--tr), background var(--tr);
    }
    .lang-picker-clear:hover { color: #f87171; background: rgba(239,68,68,.1); }

    .lang-no-results {
      padding: 16px 14px; color: rgba(255,255,255,.35);
      font-size: .84rem; text-align: center;
    }


    /* ── Scroll animations ─────────────────────────────────────── */
    .fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

    /* Honeypot — visually hidden from users */
    .visually-hidden-trap {
      position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
      pointer-events: none; tabindex: -1;
    }

    .recaptcha-wrapper { margin-bottom: 16px; }

    .ssi-fill { width: 82%; }

    /* ═══════════════════════════════════════════════════════════
       REVIEWS SECTION
    ═══════════════════════════════════════════════════════════ */

    #reviews { background: var(--white); }
    .reviews-header { margin-bottom: 44px; }
    .reviews-header-top {
      display: flex; align-items: flex-start;
      justify-content: space-between; gap: 24px; flex-wrap: wrap;
      margin-bottom: 24px;
    }
    .rv-summary {
      display: flex; align-items: center; gap: 20px;
      background: var(--gray-100); border-radius: var(--radius);
      padding: 16px 24px;
    }
    .rv-avg { display: flex; align-items: center; gap: 14px; }
    .rv-avg-score {
      font-family: 'Poppins', sans-serif;
      font-size: 2.6rem; font-weight: 700; color: var(--navy);
      letter-spacing: -0.03em; line-height: 1;
    }
    .rv-avg-stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 2px; }
    .rv-avg-count { font-size: .82rem; color: var(--gray-600); margin-top: 3px; }

    .rv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 32px; }
    @media (max-width: 900px) { .rv-grid { grid-template-columns: repeat(2,1fr); } }
    @media (max-width: 580px) { .rv-grid { grid-template-columns: 1fr; } }

    .rv-card {
      background: var(--white); border: 1.5px solid var(--gray-200);
      border-radius: var(--radius-lg); padding: 24px;
      display: flex; flex-direction: column; gap: 12px;
      transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
      position: relative;
    }
    .rv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(245,158,11,.35); }
    .rv-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .rv-card-stars { color: var(--gold); font-size: 1rem; letter-spacing: 1.5px; }
    .rv-card-date  { font-size: .74rem; color: var(--gray-400); white-space: nowrap; }
    .rv-card-text  { font-size: .875rem; color: var(--gray-600); line-height: 1.72; font-style: italic; flex: 1; }
    .rv-card-author { display: flex; align-items: center; gap: 11px; padding-top: 12px; border-top: 1px solid var(--gray-200); }
    .rv-card-avatar {
      width: 38px; height: 38px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: .85rem; color: var(--white);
      flex-shrink: 0; background: linear-gradient(135deg, var(--blue), var(--gold));
    }
    .rv-card-name  { font-weight: 600; font-size: .875rem; color: var(--navy); }
    .rv-card-verified {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: .7rem; color: #15803d; font-weight: 600;
      background: #dcfce7; border-radius: 50px; padding: 2px 8px; margin-left: 6px;
    }

    .rv-status-badge {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: .68rem; font-weight: 700; padding: 3px 9px;
      border-radius: 50px; position: absolute; top: 14px; right: 14px;
    }
    .rv-status-pending  { background: rgba(245,158,11,.15); color: #b45309; border: 1px solid rgba(245,158,11,.3); }
    .rv-status-approved { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
    .rv-status-rejected { background: rgba(239,68,68,.1); color: #dc2626; border: 1px solid rgba(239,68,68,.25); }

    .rv-admin-controls { display: flex; gap: 7px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed rgba(245,158,11,.3); }
    .rv-admin-btn { font-size: .74rem; font-weight: 600; padding: 5px 12px; border-radius: 7px; border: none; cursor: pointer; font-family: 'Inter', sans-serif; transition: opacity var(--tr); }
    .rv-admin-btn:hover { opacity: .8; }
    .rv-admin-btn-approve { background: #dcfce7; color: #15803d; }
    .rv-admin-btn-reject  { background: rgba(245,158,11,.15); color: #92400e; }
    .rv-admin-btn-delete  { background: rgba(239,68,68,.1); color: #dc2626; }

    .rv-admin-bar { background: linear-gradient(135deg, var(--navy), var(--navy-light)); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 24px; }
    .rv-admin-bar-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    .rv-admin-badge { font-size: .78rem; font-weight: 700; color: var(--gold); background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3); border-radius: 50px; padding: 4px 12px; }
    #rvAdminStats { font-size: .8rem; color: rgba(255,255,255,.65); flex: 1; }
    .rv-admin-toggle-rejected { background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3); color: #f87171; font-size: .78rem; font-weight: 600; padding: 5px 14px; border-radius: 7px; cursor: pointer; font-family: 'Inter', sans-serif; transition: background var(--tr); }
    .rv-admin-toggle-rejected:hover { background: rgba(239,68,68,.25); }
    .rv-admin-section-title { font-family: 'Poppins', sans-serif; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-top: 8px; }
    .rv-pending-section, .rv-rejected-section { margin-top: 16px; }

    .rv-empty { text-align: center; padding: 52px 24px; color: var(--gray-600); font-size: .9rem; }
    .rv-empty-icon { font-size: 2.5rem; margin-bottom: 12px; }

    /* ═══════════════════════════════════════════════════════════
       REVIEW MODAL
    ═══════════════════════════════════════════════════════════ */

    .rv-modal-overlay {
      position: fixed; inset: 0; z-index: 500;
      background: rgba(8,13,26,.8); backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: center;
      padding: 20px; animation: rvFadeIn .2s ease;
    }
    .rv-modal-overlay[hidden] { display: none !important; }
    @keyframes rvFadeIn  { from { opacity: 0; } to { opacity: 1; } }
    @keyframes rvSlideUp { from { transform: translateY(28px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
    .rv-modal-box {
      background: var(--navy); border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius-lg); padding: 36px 32px;
      width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
      position: relative; animation: rvSlideUp .3s cubic-bezier(0.34,1.56,0.64,1);
      scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
    }
    @media (max-width: 580px) {
      .rv-modal-overlay { padding: 0; align-items: flex-end; }
      .rv-modal-box { border-radius: 20px 20px 0 0; max-height: 95vh; }
    }
    .rv-modal-close {
      position: absolute; top: 16px; right: 16px;
      background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
      color: rgba(255,255,255,.6); cursor: pointer;
      width: 32px; height: 32px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: .9rem; transition: background var(--tr), color var(--tr);
    }
    .rv-modal-close:hover { background: rgba(255,255,255,.15); color: var(--white); }
    .rv-modal-header { margin-bottom: 24px; }
    .rv-modal-header h3 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 5px; letter-spacing: -0.02em; }
    .rv-modal-header p { color: rgba(255,255,255,.55); font-size: .88rem; }

    .rv-form-group { margin-bottom: 18px; }
    .rv-form-group label { display: block; color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600; margin-bottom: 7px; letter-spacing: .01em; }
    .rv-required { color: var(--gold); }
    .rv-form-group input[type=text],
    .rv-form-group textarea {
      width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
      border-radius: 10px; padding: 11px 15px; color: var(--white);
      font-size: .88rem; font-family: 'Inter', sans-serif;
      transition: border-color var(--tr), background var(--tr);
    }
    .rv-form-group input[type=text]:focus,
    .rv-form-group textarea:focus { border-color: var(--blue-light); background: rgba(59,130,246,.08); outline: 2px solid var(--blue-light); outline-offset: 1px; }
    .rv-form-group textarea { resize: vertical; min-height: 100px; }
    .rv-form-group input::placeholder, .rv-form-group textarea::placeholder { color: rgba(255,255,255,.3); }
    .rv-char-counter { text-align: right; font-size: .74rem; color: rgba(255,255,255,.35); margin-top: 5px; }

    .rv-star-picker { display: flex; gap: 6px; margin-bottom: 6px; }
    .rv-star-btn { background: none; border: none; cursor: pointer; font-size: 2rem; color: rgba(255,255,255,.2); transition: color .15s, transform .15s; line-height: 1; padding: 2px 4px; }
    .rv-star-btn:hover, .rv-star-btn.active { color: var(--gold); transform: scale(1.15); }
    .rv-star-hint { font-size: .76rem; color: rgba(255,255,255,.4); min-height: 18px; transition: color .15s; }
    .rv-star-hint.filled { color: var(--gold); font-weight: 600; }

    .rv-gdpr-label { display: flex !important; align-items: flex-start; gap: 10px; cursor: pointer; color: rgba(255,255,255,.65) !important; font-size: .82rem !important; font-weight: 400 !important; line-height: 1.55; letter-spacing: 0 !important; }
    .rv-gdpr-label input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
    .rv-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

    .rv-submit-btn { width: 100%; justify-content: center; margin-top: 8px; }
    .rv-form-msg { padding: 13px 16px; border-radius: 10px; font-size: .875rem; line-height: 1.55; margin-bottom: 14px; }
    .rv-form-msg[hidden] { display: none; }
    .rv-form-msg.success { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }
    .rv-form-msg.warning { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3); color: var(--gold); }
    .rv-form-msg.error   { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.25); color: #fca5a5; }

    /* ═══════════════════════════════════════════════════════════
       FOOTER LEGAL LINKS — gold color
    ═══════════════════════════════════════════════════════════ */
    #openCgv, #openCgu, #openMentions, #openPrivacyPolicy {
      color: var(--gold) !important;
      cursor: pointer;
    }
    #openCgv:hover, #openCgu:hover, #openMentions:hover, #openPrivacyPolicy:hover {
      color: var(--gold-light) !important;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    /* ═══════════════════════════════════════════════════════════
       LEGAL MODALS (CGV / CGU / Privacy) — white background, clean design
    ═══════════════════════════════════════════════════════════ */

    .legal-modal-overlay {
      position: fixed; inset: 0; z-index: 600;
      background: rgba(8,13,26,.75); backdrop-filter: blur(6px);
      display: flex; align-items: center; justify-content: center;
      padding: 20px; animation: legalFadeIn .22s ease;
    }
    .legal-modal-overlay[hidden] { display: none !important; }
    @keyframes legalFadeIn  { from { opacity: 0; } to { opacity: 1; } }
    @keyframes legalSlideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    .legal-modal-box {
      background: #ffffff;
      border-radius: 16px;
      width: 100%; max-width: 720px;
      max-height: 90vh;
      display: flex; flex-direction: column;
      animation: legalSlideUp .28s cubic-bezier(0.34,1.2,0.64,1);
      overflow: hidden;
    }

    .legal-modal-header {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 16px; padding: 28px 32px 20px;
      border-bottom: 1px solid #e5e7eb;
      position: sticky; top: 0; background: #ffffff; z-index: 1;
      flex-shrink: 0;
    }
    .legal-modal-header h2 {
      font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700;
      color: #111827; letter-spacing: -0.02em; margin: 0;
    }
    .legal-modal-date {
      font-size: .78rem; color: #6b7280; margin-top: 4px;
    }

    .legal-modal-close {
      flex-shrink: 0;
      background: #f3f4f6; border: 1px solid #e5e7eb;
      color: #6b7280; cursor: pointer;
      width: 32px; height: 32px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: .9rem; transition: background .15s, color .15s;
    }
    .legal-modal-close:hover { background: #e5e7eb; color: #111827; }

    .legal-modal-body {
      overflow-y: auto; padding: 24px 32px 32px;
      scrollbar-width: thin; scrollbar-color: #d1d5db transparent;
    }

    .legal-section { margin-bottom: 28px; }
    .legal-section:last-child { margin-bottom: 0; }
    .legal-section h3 {
      font-family: 'Poppins', sans-serif; font-size: .92rem; font-weight: 700;
      color: #111827; margin-bottom: 8px; letter-spacing: -0.01em;
    }
    .legal-section p {
      font-size: .875rem; line-height: 1.75; color: #374151;
    }
    .legal-link { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
    .legal-link:hover { color: var(--blue-light); }

    @media (max-width: 580px) {
      .legal-modal-overlay { padding: 0; align-items: flex-end; }
      .legal-modal-box { border-radius: 20px 20px 0 0; max-height: 92vh; }
      .legal-modal-header { padding: 20px 20px 16px; }
      .legal-modal-body { padding: 16px 20px 28px; }
    }

    /* ── RTL support (Arabic) ────────────────────────────────── */
    .rtl {
      direction: rtl;
      text-align: right;
    }
    .rtl .navbar {
      flex-direction: row-reverse;
    }
    .rtl .hero-content {
      text-align: right;
    }
    .rtl .footer-grid {
      text-align: right;
    }

    /* ── Cookie Banner ───────────────────────────────────────────── */
    #cookie-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 9000;
      background: #1a1f2e;
      border-top: 1px solid rgba(245,158,11,.25);
      box-shadow: 0 -4px 24px rgba(0,0,0,.45);
      padding: 16px 24px;
    }
    .cookie-banner-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }
    .cookie-banner-text {
      flex: 1 1 320px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: .875rem;
      color: rgba(255,255,255,.75);
      line-height: 1.45;
    }
    .cookie-banner-text strong {
      color: #fff;
      font-size: .9375rem;
      margin-bottom: 2px;
    }
    .cookie-banner-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }
    .cookie-btn {
      font-size: .875rem;
      font-weight: 600;
      border-radius: 7px;
      padding: 9px 18px;
      cursor: pointer;
      transition: background .18s, color .18s, border-color .18s;
      white-space: nowrap;
      font-family: inherit;
      line-height: 1;
    }
    .cookie-btn-gold {
      background: #F59E0B;
      color: #000;
      border: 2px solid #F59E0B;
    }
    .cookie-btn-gold:hover { background: #D97706; border-color: #D97706; }
    .cookie-btn-outline {
      background: transparent;
      color: rgba(255,255,255,.85);
      border: 2px solid rgba(255,255,255,.3);
    }
    .cookie-btn-outline:hover {
      border-color: rgba(255,255,255,.7);
      color: #fff;
    }
    .cookie-btn-text {
      background: transparent;
      color: rgba(255,255,255,.6);
      border: 2px solid transparent;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .cookie-btn-text:hover { color: #fff; }
    @media (max-width: 640px) {
      .cookie-banner-actions { width: 100%; justify-content: flex-end; }
      .cookie-btn { padding: 9px 14px; }
    }

    /* ── Cookie Modal ────────────────────────────────────────────── */
    #cookie-modal {
      position: fixed;
      inset: 0;
      z-index: 9100;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .cookie-modal-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,.65);
      backdrop-filter: blur(3px);
    }
    .cookie-modal-box {
      position: relative;
      z-index: 1;
      background: #1a1f2e;
      border: 1px solid rgba(245,158,11,.3);
      border-radius: 14px;
      width: 100%;
      max-width: 520px;
      margin: 16px;
      box-shadow: 0 20px 60px rgba(0,0,0,.6);
      display: flex;
      flex-direction: column;
    }
    .cookie-modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 24px 16px;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .cookie-modal-header h3 {
      margin: 0;
      font-size: 1.0625rem;
      font-weight: 700;
      color: #fff;
    }
    .cookie-modal-close {
      background: transparent;
      border: none;
      color: rgba(255,255,255,.5);
      font-size: 1.5rem;
      cursor: pointer;
      line-height: 1;
      padding: 0 4px;
      transition: color .15s;
    }
    .cookie-modal-close:hover { color: #fff; }
    .cookie-modal-body {
      padding: 8px 24px 4px;
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .cookie-toggle-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 0;
      border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .cookie-toggle-row:last-child { border-bottom: none; }
    .cookie-toggle-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
    }
    .cookie-toggle-name {
      font-size: .9rem;
      font-weight: 600;
      color: #fff;
    }
    .cookie-toggle-desc {
      font-size: .8rem;
      color: rgba(255,255,255,.55);
      line-height: 1.45;
    }
    .cookie-toggle-control {
      flex-shrink: 0;
      padding-top: 2px;
    }
    .cookie-toggle-always {
      font-size: .8rem;
      color: #F59E0B;
      font-weight: 700;
    }
    /* Toggle switch */
    .cookie-switch {
      position: relative;
      display: inline-block;
      width: 44px;
      height: 24px;
      cursor: pointer;
    }
    .cookie-switch input { opacity: 0; width: 0; height: 0; }
    .cookie-switch-slider {
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,.15);
      border-radius: 24px;
      transition: background .2s;
    }
    .cookie-switch-slider::before {
      content: '';
      position: absolute;
      width: 18px;
      height: 18px;
      background: #fff;
      border-radius: 50%;
      top: 3px;
      left: 3px;
      transition: transform .2s;
    }
    .cookie-switch input:checked + .cookie-switch-slider { background: #F59E0B; }
    .cookie-switch input:checked + .cookie-switch-slider::before { transform: translateX(20px); }
    .cookie-modal-footer {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      padding: 16px 24px 20px;
      border-top: 1px solid rgba(255,255,255,.08);
      flex-wrap: wrap;
    }
    @media (max-width: 480px) {
      .cookie-modal-footer { flex-direction: column; }
      .cookie-modal-footer .cookie-btn { width: 100%; text-align: center; }
      .cookie-modal-body { padding: 4px 16px 0; }
      .cookie-modal-header { padding: 16px 16px 12px; }
      .cookie-modal-footer { padding: 12px 16px 16px; }
    }

    /* ════════════════════════════════════════════════════════════
       FULL RESPONSIVE DESIGN SYSTEM
       Mobile-first approach — breakpoints:
         ≤ 375px  iPhone SE / smallest phones
         ≤ 390px  iPhone 14 / Galaxy S22
         ≤ 430px  iPhone 14 Pro Max
         ≤ 480px  Standard small phones
         ≤ 640px  Large phones / small tablets
         ≤ 768px  iPad Mini / tablets
         ≤ 860px  iPad Air (nav collapse point)
         ≤ 1024px iPad Pro / small laptops
         ≥ 1280px MacBook / desktop
         ≥ 1440px Large desktop
         ≥ 1920px 4K / ultra-wide
    ════════════════════════════════════════════════════════════ */

    /* ── 1. Global touch-target enforcement ──────────────────── */
    .btn, .lang-trigger, .nav-hamburger,
    .faq-question, .cookie-btn,
    .pc-arrow, .rv-modal-close, .legal-modal-close {
      min-height: 44px;
    }
    .nav-links a {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }

    /* ── 2. Section padding scale ────────────────────────────── */
    @media (max-width: 1024px) {
      .section { padding: 76px 0; }
    }
    @media (max-width: 768px) {
      .section { padding: 56px 0; }
    }
    @media (max-width: 480px) {
      .section { padding: 40px 0; }
    }

    /* ── 3. Large desktop: 1440px+ ───────────────────────────── */
    @media (min-width: 1440px) {
      .container  { max-width: 1300px; }
      .hero-title { font-size: 3.6rem; }
    }

    /* ── 4. MacBook / desktop: 1280px+ ──────────────────────── */
    @media (min-width: 1280px) {
      .container  { max-width: 1200px; }
    }

    /* ── 5. 4K / ultra-wide: 1920px+ ────────────────────────── */
    @media (min-width: 1920px) {
      .container { max-width: 1480px; }
      html { font-size: 17px; }
    }

    /* ── 6. iPad Pro / small laptop: max 1024px ──────────────── */
    @media (max-width: 1024px) {
      .container { max-width: 960px; }
      /* Plans: 2-col at laptop size */
      .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
      .plans-grid .plan-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 430px;
        margin: 0 auto;
      }
      /* Footer: collapse 4→3 col */
      .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
      .footer-inner .footer-col:last-child { grid-column: 1 / -1; }
      /* Solution: 2 col */
      .solution-grid { grid-template-columns: repeat(2, 1fr); }
      /* Process connector: hide on tablets */
      .process-steps::before { display: none; }
    }

    /* ── 7. iPad Air / tablet: max 860px (existing nav collapse point) */
    @media (max-width: 860px) {
      /* Hero */
      #hero { padding: 110px 0 60px; }
      /* CTA banner */
      #cta-banner { padding: 56px 0; }
      /* Score insight: stack */
      .score-insight {
        flex-direction: column;
        gap: 14px;
        padding: 22px 20px;
      }
      /* Plans: restore to 1-col (existing rule already sets this) */
    }

    /* ── 8. Improved mobile nav ──────────────────────────────── */
    @media (max-width: 860px) {
      nav { padding: 10px 0; }
      /* Full-screen dropdown — links */
      .nav-mobile-open .nav-links {
        position: fixed;
        top: 57px;
        left: 0; right: 0;
        background: var(--navy-mid);
        display: flex !important;
        flex-direction: column;
        padding: 10px 18px 8px;
        gap: 2px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 8px 28px rgba(0,0,0,.38);
        z-index: 99;
        overflow-y: auto;
        max-height: calc(100dvh - 57px - 100px);
      }
      .nav-mobile-open .nav-links a {
        padding: 11px 14px;
        border-radius: 9px;
        font-size: .92rem;
        min-height: 46px;
        display: flex;
        align-items: center;
        color: rgba(255,255,255,.8);
        width: 100%;
        transition: background var(--tr), color var(--tr);
      }
      .nav-mobile-open .nav-links a:hover,
      .nav-mobile-open .nav-links a:active {
        background: rgba(245,158,11,.1);
        color: var(--gold);
      }
      /* CTA buttons — fixed to bottom of screen */
      .nav-mobile-open .nav-cta {
        position: fixed;
        left: 0; right: 0;
        bottom: 0;
        background: var(--navy-mid);
        border-top: 1px solid rgba(255,255,255,.1);
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        padding: 12px 18px 16px;
        z-index: 99;
      }
      .nav-mobile-open .nav-cta .btn {
        width: 100%;
        justify-content: center;
        min-height: 46px;
        font-size: .92rem;
      }
      .nav-hamburger {
        font-size: 1.5rem;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 4px 6px;
        border-radius: 8px;
        transition: background var(--tr);
      }
      .nav-hamburger:hover { background: rgba(255,255,255,.08); }
    }

    /* ── 9. iPad Mini / small tablets: max 768px ─────────────── */
    @media (max-width: 768px) {
      .container { padding: 0 18px; }
      /* Hero */
      #hero { padding: 100px 0 52px; }
      .hero-title   { font-size: clamp(1.8rem, 5vw, 2.6rem); }
      .hero-sub     { font-size: .96rem; }
      .hero-brand-name { font-size: 11px; }
      .hero-cta     { gap: 10px; flex-wrap: wrap; }
      .hero-cta .btn { flex: 1 1 auto; justify-content: center; min-width: 140px; }
      /* Plans: 2 col on tablets */
      .plans-grid { grid-template-columns: repeat(2, 1fr); }
      .plans-grid .plan-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 380px;
        margin: 0 auto;
      }
      /* Reviews */
      .reviews-header-top { flex-direction: column; }
      .rv-summary { width: 100%; }
      /* Section titles */
      .section-title  { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
      .faq-heading    { font-size: clamp(1.65rem, 4.5vw, 2.4rem); margin-bottom: 36px; }
      /* Process: 2 col on tablets */
      .process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 36px; }
      /* Subscription card */
      .subscription-card { padding: 24px 20px; }
    }

    /* ── 10. Large phones: max 640px ─────────────────────────── */
    @media (max-width: 640px) {
      .container { padding: 0 16px; }
      /* Hero */
      #hero { padding: 88px 0 44px; }
      .hero-title { font-size: clamp(1.65rem, 7vw, 2.2rem); line-height: 1.22; }
      .hero-sub   { font-size: .9rem; }
      .hero-cta   { flex-direction: column; }
      .hero-cta .btn { width: 100%; justify-content: center; flex: none; }
      .hero-eyebrow .badge { font-size: .74rem; padding: 5px 13px; }
      /* Process: stack vertically */
      .process-steps {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
      }
      .step {
        display: grid;
        grid-template-columns: 52px 1fr;
        grid-template-rows: auto auto;
        column-gap: 14px;
        row-gap: 3px;
        text-align: left;
        padding: 0;
        align-items: start;
      }
      .step-number {
        grid-column: 1;
        grid-row: 1 / 3;
        margin: 0;
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
        align-self: start;
      }
      .step h3 { grid-column: 2; grid-row: 1; font-size: .92rem; }
      .step p  { grid-column: 2; grid-row: 2; font-size: .84rem; }
      /* Plans: 1 col */
      .plans-grid { grid-template-columns: 1fr; }
      .plans-grid .plan-card:nth-child(3) { grid-column: auto; max-width: none; margin: 0; }
      /* Form */
      .form-wrapper { padding: 28px 16px 24px; border-radius: 16px; }
      .form-title   { font-size: clamp(1.3rem, 5.5vw, 1.75rem); }
      .form-sub     { font-size: .85rem; }
      /* Score insight */
      .score-insight { padding: 18px 16px; gap: 12px; }
      .score-emoji   { font-size: 1.8rem; }
      /* CTA banner */
      #cta-banner { padding: 44px 0; }
      .cta-buttons { flex-direction: column; align-items: stretch; }
      .cta-buttons .btn { width: 100%; justify-content: center; }
      /* Section */
      .section-title  { font-size: clamp(1.5rem, 6vw, 2rem); }
      .section-sub    { font-size: .9rem; }
      .plans-header   { margin-bottom: 32px; }
      .solution-header { margin-bottom: 32px; }
      /* Reviews */
      .rv-summary { flex-direction: column; gap: 10px; padding: 14px 16px; }
      .rv-avg-score { font-size: 2rem; }
    }

    /* ── 11. Standard phones: max 480px ──────────────────────── */
    @media (max-width: 480px) {
      .container { padding: 0 14px; }
      /* Hero */
      #hero { padding: 82px 0 38px; }
      .hero-title  { font-size: clamp(1.5rem, 8.5vw, 2rem); }
      /* Typography */
      .section-title { font-size: clamp(1.35rem, 7.5vw, 1.8rem); }
      .faq-heading   { font-size: clamp(1.4rem, 7.5vw, 1.9rem); margin-bottom: 28px; }
      .faq-question  { font-size: .92rem; padding: 17px 4px; }
      .badge         { font-size: .72rem; padding: 5px 12px; }
      /* Buttons */
      .btn    { min-height: 44px; padding: 11px 20px; font-size: .88rem; }
      .btn-lg { min-height: 48px; padding: 13px 24px; font-size: .92rem; }
      /* Plan card grids */
      .plan-card-grid { grid-template-columns: 1fr; }
      .ent-plan-cards { grid-template-columns: 1fr; }
      /* Form */
      .form-wrapper     { padding: 22px 14px 20px; }
      .form-section-title { margin: 22px 0 11px; }
      .exp-block        { padding: 14px 12px; }
      /* Footer */
      .footer-bottom    { flex-direction: column; text-align: center; gap: 8px; }
      .footer-desc      { max-width: 100%; }
      /* Reviews */
      .rv-card      { padding: 18px; }
      .rv-avg-score { font-size: 1.9rem; }
      /* CTA banner */
      #cta-banner { padding: 40px 0; }
      #cta-banner h2 { font-size: clamp(1.35rem, 6.5vw, 1.8rem); }
      #cta-banner p  { font-size: .88rem; }
    }

    /* ── 12. iPhone 14 / Galaxy S22: max 390px ───────────────── */
    @media (max-width: 390px) {
      html { font-size: 15px; }
      .container { padding: 0 12px; }
      #hero { padding: 78px 0 34px; }
      .hero-title  { font-size: clamp(1.4rem, 9vw, 1.85rem); }
      .hero-sub    { font-size: .85rem; line-height: 1.62; }
      .nav-logo    { font-size: 1.2rem; }
      .lang-trigger { padding: 7px 11px; font-size: .78rem; }
      .plan-card-inner     { padding: 13px 12px; }
      .ent-plan-card-inner { padding: 13px 12px; }
      .plan-card-price     { font-size: 1.3rem; }
      .step-number { width: 46px; height: 46px; font-size: 1rem; }
      .step { grid-template-columns: 46px 1fr; }
      .rv-modal-box { padding: 26px 18px; }
      .rv-star-btn  { font-size: 1.75rem; }
    }

    /* ── 13. iPhone SE / smallest: max 375px ─────────────────── */
    @media (max-width: 375px) {
      html { font-size: 14.5px; }
      .container { padding: 0 12px; }
      .hero-title  { font-size: clamp(1.3rem, 9.5vw, 1.72rem); }
      .hero-sub    { font-size: .83rem; }
      .btn         { padding: 10px 16px; font-size: .84rem; }
      .badge       { font-size: .68rem; padding: 4px 10px; }
      .hero-cta    { gap: 8px; }
      .cta-buttons { gap: 8px; }
      .form-wrapper        { padding: 18px 12px; border-radius: 12px; }
      .plan-card-inner     { padding: 12px 10px; }
      .ent-plan-card-inner { padding: 12px 10px; }
      .faq-question { font-size: .88rem; }
    }

    /* ── 14. Samsung Galaxy S series: max 412px ──────────────── */
    @media (max-width: 412px) and (min-width: 391px) {
      .container { padding: 0 14px; }
      .hero-title { font-size: clamp(1.45rem, 8.5vw, 1.9rem); }
      .plan-card-inner     { padding: 14px 12px; }
      .ent-plan-card-inner { padding: 14px 12px; }
    }

    /* ── 15. Landscape mode on short phones ──────────────────── */
    @media (max-height: 500px) and (max-width: 860px) {
      #hero { padding: 76px 0 32px; }
      .section { padding: 32px 0; }
      .nav-mobile-open .nav-links {
        overflow-y: auto;
        max-height: 55vh;
      }
      .nav-mobile-open .nav-cta {
        position: static;
        border-top: 1px solid rgba(255,255,255,.1);
        padding: 10px 18px 12px;
      }
    }

    /* ── 16. High-resolution screens: retina ─────────────────── */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
      .hero-card {
        border-width: 0.5px;
      }
    }

    /* ── 17. Reduced motion preference ───────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .fade-up { opacity: 1; transform: none; }
      #hero::after { animation: none; }
      .floating-badge { animation: none; }
      .score-fill { animation: none; width: 82%; }
    }

    /* ════════════════════════════════════════════════════════════
       LAYOUT PRESERVATION OVERRIDES
       Rule: horizontal sections NEVER stack — scale/shrink only.
       These rules win over all earlier responsive overrides.
    ════════════════════════════════════════════════════════════ */

    /* ─── 1. Pricing cards — always 3 columns ────────────────── */
    .plans-grid {
      grid-template-columns: repeat(3, 1fr) !important;
    }
    .plans-grid .plan-card:nth-child(3) {
      grid-column: auto !important;
      max-width: none !important;
      margin: 0 !important;
    }
    @media (max-width: 1024px) {
      .plans-grid      { gap: 14px !important; }
      .plan-card       { padding: 24px 18px; }
      .plan-price .amount { font-size: 2rem; }
    }
    @media (max-width: 860px) {
      .plans-grid      { gap: 10px !important; }
      .plan-card       { padding: 18px 14px; }
      .plan-name       { font-size: 1rem; }
      .plan-price .amount { font-size: 1.8rem; }
      .plan-tagline    { font-size: .78rem; }
    }
    @media (max-width: 768px) {
      .plans-grid      { gap: 8px !important; }
      .plan-card       { padding: 16px 11px; border-radius: 12px; }
      .plan-name       { font-size: .93rem; }
      .plan-price .amount   { font-size: 1.55rem; }
      .plan-price .currency { font-size: .88rem; }
      .plan-tagline    { font-size: .72rem; margin-bottom: 12px; }
      .plan-ideal      { font-size: .7rem; padding: 5px 8px; margin-bottom: 12px; }
      .plan-features   { gap: 7px; margin-bottom: 16px; }
      .plan-feature    { font-size: .76rem; gap: 6px; }
      .plan-feature .check { width: 16px; height: 16px; font-size: .55rem; }
      .plan-cta .btn   { padding: 10px 10px; font-size: .78rem; }
    }
    @media (max-width: 640px) {
      .plans-grid      { gap: 6px !important; }
      .plan-card       { padding: 12px 8px; border-radius: 10px; }
      .plan-name       { font-size: .83rem; letter-spacing: 0; }
      .plan-tagline    { font-size: .67rem; margin-bottom: 9px; }
      .plan-price .amount   { font-size: 1.3rem; }
      .plan-price .currency { font-size: .76rem; }
      .plan-price .period   { font-size: .63rem; }
      .plan-price      { margin-bottom: 9px; padding-bottom: 9px; }
      .plan-ideal      { display: none; }
      .plan-features   { gap: 5px; margin-bottom: 11px; }
      .plan-feature    { font-size: .68rem; gap: 4px; }
      .plan-feature .check { width: 13px; height: 13px; font-size: .48rem; }
      .plan-recommended-badge { font-size: .6rem; padding: 3px 10px; }
      .plan-cta .btn   { padding: 8px 5px; font-size: .68rem; min-height: 36px !important; }
    }
    @media (max-width: 480px) {
      .plans-grid      { gap: 5px !important; }
      .plan-card       { padding: 10px 6px; border-radius: 8px; }
      .plan-name       { font-size: .73rem; margin-bottom: 3px; }
      .plan-tagline    { font-size: .61rem; margin-bottom: 7px; }
      .plan-price .amount   { font-size: 1.1rem; }
      .plan-price      { margin-bottom: 7px; padding-bottom: 7px; }
      .plan-features   { gap: 4px; margin-bottom: 9px; }
      .plan-feature    { font-size: .61rem; gap: 3px; }
      .plan-feature .check { width: 11px; height: 11px; font-size: .4rem; }
      .plan-cta .btn   { padding: 6px 4px; font-size: .6rem; min-height: 30px !important; border-radius: 7px; }
      .plan-recommended-badge { font-size: .52rem; padding: 2px 7px; top: -10px; }
    }
    @media (max-width: 390px) {
      .plan-card       { padding: 8px 5px; }
      .plan-name       { font-size: .65rem; }
      .plan-tagline    { font-size: .56rem; margin-bottom: 5px; }
      .plan-price .amount   { font-size: .92rem; }
      .plan-price .currency { font-size: .63rem; }
      .plan-price .period   { font-size: .55rem; }
      .plan-price      { margin-bottom: 5px; padding-bottom: 5px; }
      .plan-features   { gap: 3px; margin-bottom: 7px; }
      .plan-feature    { font-size: .53rem; gap: 3px; }
      .plan-feature .check { width: 10px; height: 10px; font-size: .36rem; }
      .plan-cta .btn   { padding: 5px 3px; font-size: .54rem; min-height: 26px !important; }
    }

/* ============================================================
   AFFILIATE PAGE
   ============================================================ */

/* ── Fade-in animation ─────────────────────────────────────── */
@keyframes affiliateFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
#affiliate-page.affiliate-fade-in {
  animation: affiliateFadeIn 0.4s ease both;
}

/* ── Base ──────────────────────────────────────────────────── */
#affiliate-page {
  background: var(--navy);
  color: #fff;
  min-height: 100vh;
  font-family: var(--font-body, 'Inter', sans-serif);
}

/* ── Nav affiliate button (works for both <a> and <button>) ─── */
.nav-affiliate-link {
  /* reset button defaults */
  background: rgba(245,158,11,.07) !important;
  border: 1.5px solid rgba(245,158,11,.4) !important;
  /* shared styles */
  color: var(--gold) !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  border-radius: 7px !important;
  padding: 5px 13px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: background .18s, border-color .18s;
  white-space: nowrap !important;
  min-height: 32px !important;
  vertical-align: middle !important;
}
.nav-affiliate-link:hover,
.nav-affiliate-link:focus {
  background: rgba(245,158,11,.16) !important;
  border-color: var(--gold) !important;
  outline: none !important;
}

/* ── Top bar ────────────────────────────────────────────────── */
.aff-topbar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 14px 0;
}
.aff-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.7);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .87rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
  min-height: 44px;
}
.aff-back-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,158,11,.06);
}
.aff-back-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Hero ───────────────────────────────────────────────────── */
.aff-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1020 60%, rgba(245,158,11,.06) 100%);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.aff-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 500px at 50% 30%, rgba(245,158,11,.08) 0%, transparent 70%);
  pointer-events: none;
}
.aff-hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.aff-hero-title {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.aff-hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Commission badge ───────────────────────────────────────── */
.aff-commission {
  padding: 40px 0;
  text-align: center;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.aff-commission-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,.1);
  border: 2px solid rgba(245,158,11,.35);
  border-radius: 20px;
  padding: 24px 56px;
}
.aff-commission-pct {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.03em;
}
.aff-commission-lbl {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── Generic section ────────────────────────────────────────── */
.aff-section {
  padding: 64px 0;
}
.aff-section-header {
  text-align: center;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.aff-section-title {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.aff-section-sub {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  max-width: 520px;
  text-align: center;
}

/* ── How-it-works steps ─────────────────────────────────────── */
.aff-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.aff-step {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: border-color .2s, transform .2s;
}
.aff-step:hover {
  border-color: rgba(245,158,11,.35);
  transform: translateY(-4px);
}
.aff-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245,158,11,.15);
  border: 2px solid rgba(245,158,11,.45);
  color: var(--gold);
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aff-step h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.aff-step p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Earnings table ─────────────────────────────────────────── */
.aff-earnings-section {
  background: var(--navy-mid);
}
.aff-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  max-width: 740px;
  margin: 0 auto;
}
.aff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.aff-table thead tr {
  background: rgba(245,158,11,.1);
  border-bottom: 1px solid rgba(245,158,11,.25);
}
.aff-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--gold);
  font-size: .87rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.aff-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}
.aff-table tbody tr:last-child td {
  border-bottom: none;
}
.aff-table tbody tr:hover td {
  background: rgba(255,255,255,.03);
}
.aff-earn-highlight {
  color: var(--gold) !important;
  font-weight: 700;
  font-size: 1rem;
}
.aff-popular-tag {
  display: inline-block;
  background: rgba(245,158,11,.18);
  color: var(--gold);
  border-radius: 5px;
  padding: 2px 8px;
  font-size: .72rem;
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
}
.aff-row-monthly td {
  background: rgba(245,158,11,.04);
}
.aff-table-note {
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: .8rem;
  margin-top: 16px;
}

/* ── Form section ───────────────────────────────────────────── */
.aff-form-section {
  background: var(--navy);
}
.aff-form-wrap {
  max-width: 660px;
  margin: 0 auto;
}

/* ── Footer note ────────────────────────────────────────────── */
.aff-footer-note {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 28px 0;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
}

/* ── RTL support ─────────────────────────────────────────────── */
#affiliate-page[dir="rtl"] .aff-back-btn {
  flex-direction: row-reverse;
}
#affiliate-page[dir="rtl"] .aff-back-icon {
  transform: scaleX(-1);
}
#affiliate-page[dir="rtl"] .aff-step,
#affiliate-page[dir="rtl"] .aff-table th,
#affiliate-page[dir="rtl"] .aff-table td {
  text-align: right;
}
#affiliate-page[dir="rtl"] .aff-hero,
#affiliate-page[dir="rtl"] .aff-section-header,
#affiliate-page[dir="rtl"] .aff-commission,
#affiliate-page[dir="rtl"] .aff-footer-note {
  text-align: right;
}
#affiliate-page[dir="rtl"] .aff-hero-inner,
#affiliate-page[dir="rtl"] .aff-section-header {
  align-items: flex-end;
}
#affiliate-page[dir="rtl"] .aff-section-sub {
  text-align: right;
}
#affiliate-page[dir="rtl"] .aff-popular-tag {
  margin-left: 0;
  margin-right: 8px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .aff-hero { padding: 56px 0 48px; }
  .aff-steps { grid-template-columns: 1fr; gap: 16px; }
  .aff-step { padding: 24px 20px; }
  .aff-commission-badge { padding: 20px 32px; }
  .aff-table th,
  .aff-table td { padding: 12px 14px; font-size: .85rem; }
  .aff-section { padding: 44px 0; }
  .aff-form-wrap { max-width: 100%; }
}
@media (max-width: 480px) {
  .aff-hero { padding: 40px 0 36px; }
  .nav-affiliate-link { display: none; } /* shown in hamburger menu */
  .aff-commission-pct { font-size: 2.8rem; }
  .aff-table { font-size: .8rem; }
  .aff-table th,
  .aff-table td { padding: 10px 10px; }
}

    /* ─── 2. Review cards — always 3 columns ─────────────────── */
    .rv-grid {
      grid-template-columns: repeat(3, 1fr) !important;
    }
    @media (max-width: 900px) {
      .rv-grid         { gap: 14px !important; }
      .rv-card         { padding: 18px 14px; }
      .rv-card-text    { font-size: .82rem; }
    }
    @media (max-width: 768px) {
      .rv-grid         { gap: 10px !important; }
      .rv-card         { padding: 14px 11px; border-radius: 10px; }
      .rv-card-text    { font-size: .77rem; line-height: 1.62; }
      .rv-card-name    { font-size: .8rem; }
      .rv-card-stars   { font-size: .9rem; }
    }
    @media (max-width: 640px) {
      .rv-grid         { gap: 8px !important; }
      .rv-card         { padding: 11px 9px; gap: 8px; }
      .rv-card-text    { font-size: .7rem; line-height: 1.52; }
      .rv-card-name    { font-size: .72rem; }
      .rv-card-date    { font-size: .6rem; }
      .rv-card-stars   { font-size: .8rem; }
      .rv-card-avatar  { width: 28px; height: 28px; font-size: .67rem; }
      .rv-card-verified { font-size: .58rem; padding: 2px 5px; }
    }
    @media (max-width: 480px) {
      .rv-grid         { gap: 5px !important; }
      .rv-card         { padding: 9px 7px; gap: 6px; border-radius: 8px; }
      .rv-card-text    { font-size: .62rem; line-height: 1.48; font-style: normal; }
      .rv-card-name    { font-size: .63px; }
      .rv-card-stars   { font-size: .7rem; letter-spacing: .5px; }
      .rv-card-date    { font-size: .54rem; }
      .rv-card-avatar  { width: 24px; height: 24px; font-size: .58rem; }
      .rv-avg-score    { font-size: 1.7rem; }
    }
    @media (max-width: 390px) {
      .rv-card         { padding: 7px 5px; }
      .rv-card-text    { font-size: .56rem; }
      .rv-card-name    { font-size: .57rem; }
      .rv-card-stars   { font-size: .62rem; }
      .rv-card-avatar  { width: 20px; height: 20px; font-size: .52rem; }
    }

    /* ─── 3. Process steps — always 4 columns ────────────────── */
    .process-steps {
      grid-template-columns: repeat(4, 1fr) !important;
    }
    .step {
      /* reset any stacking override from earlier breakpoints */
      display: block !important;
      text-align: center !important;
    }
    .step-number { margin: 0 auto 18px !important; }
    @media (max-width: 768px) {
      .process-steps   { gap: 10px !important; margin-top: 32px; }
      .step            { padding: 0 4px; }
      .step-number     { width: 52px; height: 52px; font-size: 1.1rem; margin-bottom: 12px !important; }
      .step h3         { font-size: .82rem; }
      .step p          { font-size: .76rem; }
    }
    @media (max-width: 640px) {
      .process-steps   { gap: 6px !important; }
      .step            { padding: 0 2px; }
      .step-number     { width: 44px; height: 44px; font-size: .98rem; margin-bottom: 10px !important; }
      .step h3         { font-size: .72rem; margin-bottom: 3px; }
      .step p          { font-size: .66rem; }
    }
    @media (max-width: 480px) {
      .process-steps   { gap: 4px !important; }
      .step            { padding: 0 1px; }
      .step-number     { width: 36px; height: 36px; font-size: .85rem; border-width: 2px; margin-bottom: 7px !important; }
      .step h3         { font-size: .62rem; }
      .step p          { font-size: .57rem; }
    }
    @media (max-width: 390px) {
      .step-number     { width: 30px; height: 30px; font-size: .75rem; margin-bottom: 5px !important; }
      .step h3         { font-size: .57rem; }
      .step p          { font-size: .52rem; }
    }

    /* ─── 4. Solution cards — scale minmax, keep multi-column ── */
    @media (max-width: 768px) {
      .solution-grid   { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important; gap: 14px; }
      .solution-card   { padding: 22px 18px; }
      .solution-card h3 { font-size: .98rem; }
      .solution-card p  { font-size: .82rem; }
    }
    @media (max-width: 640px) {
      .solution-grid   { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; gap: 10px; }
      .solution-card   { padding: 16px 13px; }
      .solution-icon   { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 12px; }
      .solution-card h3 { font-size: .88rem; margin-bottom: 5px; }
      .solution-card p  { font-size: .77rem; }
      .feat-item       { font-size: .74rem; }
    }
    @media (max-width: 480px) {
      .solution-grid   { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important; gap: 7px; }
      .solution-card   { padding: 13px 10px; }
      .solution-card h3 { font-size: .8rem; }
      .solution-card p  { font-size: .7rem; }
      .feat-item       { font-size: .68rem; }
    }

    /* ─── 5. Form plan card grids — always 2 columns ─────────── */
    .plan-card-grid,
    .ent-plan-cards {
      grid-template-columns: 1fr 1fr !important;
    }
    @media (max-width: 480px) {
      .plan-card-grid      { gap: 8px; }
      .plan-card-inner     { padding: 12px 10px; }
      .plan-card-name      { font-size: .85rem; }
      .plan-card-price     { font-size: 1.25rem; }
      .plan-card-period    { font-size: .7rem; }
      .plan-card-desc      { font-size: .7rem; }
      .ent-plan-cards      { gap: 8px; }
      .ent-plan-card-inner { padding: 12px 10px; }
      .ent-plan-card-name  { font-size: .88rem; }
      .ent-plan-card-price { font-size: 1.25rem; }
      .ent-plan-card-desc  { font-size: .7rem; }
    }
    @media (max-width: 390px) {
      .plan-card-inner     { padding: 10px 8px; }
      .plan-card-name      { font-size: .77rem; }
      .plan-card-price     { font-size: 1.1rem; }
      .plan-card-badge     { font-size: .58rem; }
      .ent-plan-card-inner { padding: 10px 8px; }
      .ent-plan-card-name  { font-size: .78rem; }
      .ent-plan-card-price { font-size: 1.1rem; }
    }
