/* ============================================================
   COINSHIELD — Plain CSS (converted from React/Tailwind)
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Colors */
  --background:         oklch(0.985 0.012 230);
  --foreground:         oklch(0.18 0.03 230);
  --surface:            oklch(1 0 0);
  --surface-2:          oklch(0.965 0.015 225);
  --card:               oklch(1 0 0);

  --primary:            oklch(0.45 0.08 215);
  --primary-foreground: oklch(0.99 0.005 230);
  --primary-soft:       oklch(0.92 0.04 215);

  --secondary:          oklch(0.94 0.02 225);

  --muted:              oklch(0.95 0.012 225);
  --muted-foreground:   oklch(0.45 0.025 230);

  --accent:             oklch(0.58 0.24 24);
  --accent-foreground:  oklch(0.99 0.005 25);
  --accent-soft:        oklch(0.95 0.04 28);

  --cta-red-1: oklch(0.69 0.21 27);
  --cta-red-2: oklch(0.62 0.24 25);
  --cta-red-3: oklch(0.57 0.24 23);
  --cta-red-4: oklch(0.52 0.22 21);
  --cta-red-glow: oklch(0.58 0.23 24 / 0.34);

  --border:        oklch(0.9 0.015 225);
  --border-strong: oklch(0.82 0.02 225);
  --input:         oklch(0.97 0.012 225);
  --ring:          oklch(0.45 0.08 215);

  --radius:    16px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 28px;

  --gradient-hero:
    radial-gradient(ellipse at 0% 0%, oklch(0.88 0.06 215 / 0.5), transparent 55%),
    radial-gradient(ellipse at 100% 100%, oklch(0.9 0.05 230 / 0.45), transparent 60%);
  --gradient-primary: linear-gradient(135deg, oklch(0.5 0.09 215), oklch(0.38 0.07 220));
  --gradient-accent: linear-gradient(135deg, var(--cta-red-1), var(--cta-red-3));

  --shadow-elegant: 0 30px 80px -30px oklch(0.3 0.08 220 / 0.25), 0 1px 0 0 oklch(1 0 0 / 0.6) inset;
  --shadow-card: 0 1px 2px oklch(0.2 0.05 220 / 0.04), 0 8px 24px -8px oklch(0.2 0.05 220 / 0.08);
  --shadow-cta: 0 16px 34px -16px var(--cta-red-glow);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01","cv11","tnum";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.025em;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
::selection { background: var(--primary); color: var(--primary-foreground); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
  .container { padding-inline: 2.5rem; }
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.text-balance { text-wrap: balance; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-tag::before {
  content: "";
  display: inline-block;
  height: 1px;
  width: 2rem;
  background: var(--primary);
}

.section-title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.text-gradient-primary {
  background: linear-gradient(135deg, oklch(0.4 0.09 215), oklch(0.55 0.1 210));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-accent-red { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) both; }
.animate-fade-up-delay { animation: fade-up 0.8s cubic-bezier(0.16,1,0.3,1) 0.2s both; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.08); }
  66%       { transform: translate(-30px, 25px) scale(0.95); }
}
.animate-drift      { animation: drift 18s ease-in-out infinite; }
.animate-drift-slow { animation: drift 26s ease-in-out infinite; }

@keyframes aurora {
  0%, 100% { transform: translate3d(-10%, 0, 0) rotate(0deg); }
  50%       { transform: translate3d(10%, -5%, 0) rotate(8deg); }
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 0.95; }
}
.animate-grid-pulse { animation: grid-pulse 8s ease-in-out infinite; }

@keyframes shimmer-slide {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes btn-shine {
  0%       { transform: translateX(-150%) skewX(-12deg); opacity: 0; }
  8%       { opacity: 0.95; }
  45%      { transform: translateX(350%) skewX(-12deg); opacity: 0.95; }
  46%, 100%{ transform: translateX(-150%) skewX(-12deg); opacity: 0; }
}

@keyframes ping {
  0%    { transform: scale(1); opacity: 0.75; }
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite; }

@keyframes shine-sweep {
  0%        { transform: translateX(-150%) skewX(-12deg); opacity: 0; }
  10%       { opacity: 1; }
  50%       { transform: translateX(350%) skewX(-12deg); opacity: 1; }
  51%, 100% { transform: translateX(350%) skewX(-12deg); opacity: 0; }
}
.animate-shine-sweep { animation: shine-sweep 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .animate-drift, .animate-drift-slow, .aurora-bg,
  .animate-grid-pulse, .animate-shimmer-slide, .animate-shine-sweep,
  .animate-float, .animate-ping, .animate-fade-up, .animate-fade-up-delay,
  .btn-shimmer { animation: none !important; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.bg-hero { background-image: var(--gradient-hero); }
.bg-gradient-primary { background-image: var(--gradient-primary); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-card    { box-shadow: var(--shadow-card); }
.shadow-cta     { box-shadow: var(--shadow-cta); }

.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, oklch(0.85 0.02 225 / 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.85 0.02 225 / 0.4) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}

.aurora-bg {
  position: absolute; inset: -20%;
  background:
    radial-gradient(closest-side at 30% 40%, oklch(0.85 0.10 215 / 0.35), transparent 70%),
    radial-gradient(closest-side at 70% 60%, oklch(0.78 0.14 190 / 0.28), transparent 70%),
    radial-gradient(closest-side at 50% 50%, oklch(0.62 0.21 28 / 0.10), transparent 70%);
  filter: blur(40px);
  animation: aurora 22s ease-in-out infinite;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

/* ============================================================
   BUTTON — SHIMMER (Premium CTA)
   ============================================================ */
.btn-shimmer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background:
    radial-gradient(circle at 18% 18%, oklch(0.9 0.08 30 / 0.22), transparent 34%),
    linear-gradient(
      112deg,
      var(--cta-red-4) 0%,
      var(--cta-red-3) 20%,
      var(--cta-red-2) 46%,
      var(--cta-red-1) 62%,
      var(--cta-red-2) 78%,
      var(--cta-red-4) 100%
    );
  background-size: 180% 180%, 240% 240%;
  animation: shimmer-slide 7s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid oklch(0.82 0.1 26 / 0.22);
  box-shadow:
    0 16px 34px -16px var(--cta-red-glow),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -1px 0 rgba(255,255,255,0.06);
  color: var(--accent-foreground);
  font-weight: 600;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-shimmer::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  background-size: 160px 160px;
  opacity: 0.09;
  mix-blend-mode: soft-light;
  z-index: 0;
}
.btn-shimmer::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255,255,255,0.1) 44%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.1) 56%, transparent 66%);
  transform: translateX(-150%) skewX(-12deg);
  animation: btn-shine 5.8s ease-in-out infinite;
  z-index: 1;
}
.btn-shimmer > * { position: relative; z-index: 2; }
.btn-shimmer:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 38px -18px oklch(0.6 0.24 24 / 0.44), inset 0 1px 0 rgba(255,255,255,0.28), inset 0 -1px 0 rgba(255,255,255,0.08);
}
.btn-shimmer:disabled {
  cursor: not-allowed;
  filter: saturate(0.86) brightness(1.02);
  transform: none;
  box-shadow: 0 10px 22px -16px oklch(0.58 0.23 24 / 0.26), inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(255,255,255,0.04);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--surface-2); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  background: oklch(0.985 0.012 230 / 0.6);
  backdrop-filter: blur(8px);
}
.site-header.scrolled {
  background: oklch(0.985 0.012 230 / 0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 oklch(1 0 0);
}
.header-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .header-inner { padding-inline: 2.5rem; }
}
.header-logo { flex-shrink: 0; }
.header-logo img { height: 2.5rem; width: auto; }

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.18 0.03 230 / 0.8);
}
@media (min-width: 1024px) { .header-nav { display: flex; } }

.header-nav a {
  position: relative;
  padding-block: 0.5rem;
  transition: color 0.2s;
}
.header-nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  border-radius: 9999px;
  transition: width 0.3s;
}
.header-nav a:hover { color: var(--accent); }
.header-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta {
  display: none;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  box-shadow: var(--shadow-cta);
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s;
}
.menu-btn:hover { background: var(--surface-2); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-nav.open { display: block; }
.mobile-nav nav {
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  font-size: 1rem;
}
.mobile-nav a { padding-block: 0.5rem; display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
  background-image: var(--gradient-hero);
}
@media (min-width: 1024px) { .hero { padding-top: 9rem; } }

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 7fr 5fr; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: oklch(1 0 0 / 0.8);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.pulse-dot {
  position: relative;
  display: flex;
  height: 0.5rem; width: 0.5rem;
}
.pulse-dot span:first-child {
  position: absolute; inset: 0;
  border-radius: 9999px;
  background: var(--accent);
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
  opacity: 0.75;
}
.pulse-dot span:last-child {
  position: relative;
  border-radius: 9999px;
  height: 0.5rem; width: 0.5rem;
  background: var(--accent);
}

.hero-title {
  margin-top: 1.75rem;
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-title-underline {
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.hero-title-underline svg {
  position: absolute;
  bottom: -0.5rem; left: 0;
  width: 100%;
  color: var(--accent);
}

.hero-desc {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.hero-desc strong { color: var(--foreground); font-weight: 600; }

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.hero-cta-main {
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  font-size: 1rem;
}

.trust-strip {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 1.75rem;
  font-size: 0.875rem;
}
.star-row {
  display: flex;
  gap: 0.125rem;
}
.star-box {
  display: inline-flex;
  align-items: center; justify-content: center;
  height: 1.25rem; width: 1.25rem;
  background: oklch(0.62 0.18 145);
}
.trust-divider {
  display: none;
  height: 1rem;
  width: 1px;
  background: var(--border-strong);
}
@media (min-width: 640px) { .trust-divider { display: block; } }

/* Hero image side */
.hero-img-wrap {
  position: relative;
}
.hero-img-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 1.5rem;
  background: var(--gradient-primary);
  opacity: 0.15;
  filter: blur(2rem);
}
.hero-img-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elegant);
  background: var(--surface);
}
.hero-img-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.45 0.08 215 / 0.3), transparent, transparent);
}
.hero-result-badge {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  backdrop-filter: blur(24px);
  background: oklch(1 0 0 / 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.hero-result-icon {
  height: 3rem; width: 3rem;
  border-radius: 0.75rem;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Trustpilot floating badge */
.trustpilot-badge {
  position: absolute;
  top: -1rem; left: -1rem;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-elegant);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #00B67A;
  border: 1px solid rgba(0,0,0,0.08);
  animation: float 6s ease-in-out infinite;
  text-decoration: none;
}
.trustpilot-stars {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.375rem;
}
.tp-star {
  display: inline-flex;
  height: 1rem; width: 1rem;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.95);
}

/* Regulation strip */
.reg-strip {
  position: relative;
  margin-top: 5rem;
}
.reg-strip p {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-weight: 500;
}
.reg-logos {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 3rem;
  opacity: 0.6;
}
.reg-logos span {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
}
@media (min-width: 1024px) { .about { padding-block: 8rem; } }

.about-header {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .about-header { grid-template-columns: 7fr 5fr; gap: 3.5rem; }
}

.about-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 7fr 5fr; }
}

/* Image card */
.about-img-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  min-height: 440px;
}
.about-img-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.45 0.08 215 / 0.55) 0%, oklch(0.45 0.08 215 / 0.1) 40%, transparent 100%);
}
.about-status-tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: oklch(1 0 0 / 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.about-bottom-card {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: oklch(1 0 0 / 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}
.about-bottom-icon {
  height: 2.75rem; width: 2.75rem;
  border-radius: 0.75rem;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Block cards */
.about-blocks { display: grid; gap: 1.25rem; }
.about-block {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.about-block:hover { border-color: oklch(0.45 0.08 215 / 0.3); transform: translateY(-2px); }
.about-block-icon {
  height: 2.75rem; width: 2.75rem;
  border-radius: 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.about-block h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.about-block p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

/* Differentiators panel */
.differentiators {
  margin-top: 1.25rem;
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.differentiators-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.diff-grid {
  display: grid;
}
@media (min-width: 640px)  { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(4, 1fr); } }

.diff-item {
  padding: 1.75rem;
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}
@media (min-width: 640px) {
  .diff-item:nth-child(1) { border-top: none; border-left: none; }
  .diff-item:nth-child(2) { border-top: none; border-left: 1px solid var(--border); }
  .diff-item:nth-child(3) { border-left: none; }
  .diff-item:nth-child(4) { border-left: 1px solid var(--border); }
}
@media (min-width: 1024px) {
  .diff-item { border-top: none; border-left: 1px solid var(--border); }
  .diff-item:first-child { border-left: none; }
}
.diff-item:hover { background: var(--surface-2); }
.diff-icon {
  height: 2.75rem; width: 2.75rem;
  border-radius: 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.diff-item:hover .diff-icon { background: var(--primary); color: var(--primary-foreground); }
.diff-metric { margin-top: 1.25rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.03em; }
.diff-title  { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.diff-desc   { margin-top: 0.375rem; font-size: 0.75rem; color: var(--muted-foreground); line-height: 1.7; }

.about-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .about-cta { flex-direction: row; align-items: center; }
}
.about-cta a {
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  font-size: 1rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  position: relative;
  padding-block: 6rem;
  background: oklch(0.965 0.015 225 / 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
@media (min-width: 1024px) { .services { padding-block: 8rem; } }

.services-header {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .services-header { grid-template-columns: 8fr 4fr; }
}

.services-note {
  border-radius: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem;
  box-shadow: var(--shadow-elegant);
  font-size: 0.875rem;
  line-height: 1.7;
}

.services-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 2.5rem;
  overflow: hidden;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}
.service-card:hover { border-color: oklch(0.45 0.08 215 / 0.4); box-shadow: var(--shadow-elegant); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.service-tag { font-size: 0.75rem; font-family: monospace; letter-spacing: 0.15em; color: var(--muted-foreground); }
.service-icon {
  height: 3.5rem; width: 3.5rem;
  border-radius: 1rem;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-icon { background: var(--primary); color: var(--primary-foreground); }
.service-card h3 { margin-top: 2.5rem; font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.service-card p  { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; min-height: 7rem; }
.service-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 2px solid oklch(0.58 0.24 24 / 0.3);
  padding-bottom: 0.25rem;
  transition: gap 0.2s, border-color 0.2s;
}
.service-card:hover .service-link { gap: 0.75rem; border-color: var(--accent); }

/* CTA banner */
.services-cta-banner {
  display: block;
  margin-top: 2.5rem;
  position: relative;
  border-radius: 1rem;
  padding: 1.5px;
  overflow: hidden;
  box-shadow: var(--shadow-cta);
  background-image: linear-gradient(110deg, oklch(0.55 0.22 28), oklch(0.75 0.20 35), oklch(0.50 0.24 22), oklch(0.65 0.21 30), oklch(0.55 0.22 28));
  background-size: 200% 200%;
  animation: shimmer-slide 7s ease-in-out infinite alternate;
  transition: transform 0.2s;
}
.services-cta-banner:hover { transform: scale(1.005); }
.services-cta-inner {
  position: relative;
  border-radius: calc(1rem - 1.5px);
  overflow: hidden;
}
.services-cta-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(110deg, oklch(0.55 0.22 28) 0%, oklch(0.62 0.24 30) 35%, oklch(0.48 0.22 25) 65%, oklch(0.58 0.23 32) 100%);
  background-size: 200% 200%;
  animation: shimmer-slide 7s ease-in-out infinite alternate;
}
.services-cta-dots {
  position: absolute; inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.9) 1px, transparent 0);
  background-size: 18px 18px;
}
.services-cta-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  color: var(--accent-foreground);
}
@media (min-width: 768px) {
  .services-cta-content { flex-direction: row; align-items: center; justify-content: space-between; }
}
.services-cta-icon {
  display: none;
  height: 2.75rem; width: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 640px) { .services-cta-icon { display: flex; } }
.services-cta-text-row { display: flex; align-items: center; gap: 1rem; }
.services-cta-label { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.8); }
.services-cta-desc { margin-top: 0.25rem; font-size: 1rem; font-weight: 500; line-height: 1.4; }
.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: white;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  transition: gap 0.2s;
}
.services-cta-banner:hover .services-cta-btn { gap: 0.75rem; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
}
@media (min-width: 1024px) { .stats { padding-block: 8rem; } }
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--gradient-hero);
  pointer-events: none;
}

.stats-header { max-width: 48rem; position: relative; }
.stats-desc {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.stats-grid {
  margin-top: 3.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 480px)  { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  padding: 2rem 2.5rem;
}
.stat-item--accent {
  background: var(--primary);
  color: var(--primary-foreground);
}
/* 1-column (<480px): stacked, dividers between rows */
.stat-item:nth-child(1) { border-bottom: 1px solid var(--border); }
.stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
.stat-item:nth-child(3) { border-bottom: 1px solid var(--border); }
/* 2-column (480px+): 2×2 grid */
@media (min-width: 480px) {
  .stat-item:nth-child(1) { border-right: 1px solid var(--border); border-bottom: none; }
  .stat-item:nth-child(2) { border-bottom: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: none; }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}
/* 4-column (1024px+): single row */
@media (min-width: 1024px) {
  .stat-item:nth-child(2) { border-left: 1px solid var(--border); border-bottom: none; }
  .stat-item:nth-child(3) { border-top: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: none; border-left: 1px solid var(--border); }
}
.stat-value {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.stat-value--gradient { background: linear-gradient(135deg, oklch(0.4 0.09 215), oklch(0.55 0.1 210)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-value--white { color: white; }
.stat-label { margin-top: 1rem; font-size: 1rem; font-weight: 600; }
.stat-sub   { margin-top: 0.25rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-foreground); }
.stat-sub--white { color: rgba(255,255,255,0.7); }
.stat-tp-badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.15);
  font-size: 0.625rem;
  font-weight: 600;
}
.stat-item { position: relative; }

/* ============================================================
   REVIEWS / CAROUSEL
   ============================================================ */
.reviews {
  position: relative;
  padding-block: 6rem;
  background: oklch(0.965 0.015 225 / 0.4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
@media (min-width: 1024px) { .reviews { padding-block: 8rem; } }

.reviews-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .reviews-top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.reviews-tp-box {
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 280px;
  flex-shrink: 0;
}
.reviews-tp-divider { height: 3.5rem; width: 1px; background: var(--border); }

/* Carousel */
.carousel-wrap { margin-top: 3rem; overflow: hidden; }
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc(100% - 0px);
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
@media (min-width: 768px)  { .review-card { flex: 0 0 calc(50% - 0.625rem); } }
@media (min-width: 1024px) { .review-card { flex: 0 0 calc(33.333% - 0.833rem); } }
.review-card:hover { box-shadow: var(--shadow-elegant); transform: translateY(-4px); border-color: oklch(0.45 0.08 215 / 0.3); }

.review-card-top { display: flex; align-items: center; justify-content: space-between; }
.review-when { font-size: 0.75rem; color: var(--muted-foreground); }
.review-tag { margin-top: 1.25rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.review-body { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.7; color: oklch(0.18 0.03 230 / 0.9); flex: 1; text-wrap: balance; }
.review-footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; }
.review-avatar { height: 2.75rem; width: 2.75rem; border-radius: 9999px; object-fit: cover; ring: 2px solid var(--primary-soft); border: 2px solid var(--primary-soft); flex-shrink: 0; }
.review-name { font-size: 0.875rem; font-weight: 600; }
.review-place { font-size: 0.75rem; color: var(--muted-foreground); }
.review-tp-mark {
  margin-left: auto;
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; color: var(--muted-foreground);
  flex-shrink: 0;
}

.carousel-controls {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.carousel-count { font-size: 0.75rem; color: var(--muted-foreground); }
.carousel-buttons { display: flex; align-items: center; gap: 0.5rem; }
.carousel-btn {
  height: 2.75rem; width: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.carousel-btn:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding-block: 6rem;
  background: oklch(0.965 0.015 225 / 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) { .faq { padding-block: 8rem; } }

.faq-inner { max-width: 56rem; margin-inline: auto; }
.faq-title { text-align: center; }
.faq-title h2 { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; text-wrap: balance; letter-spacing: -0.025em; }

.faq-list {
  margin-top: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item { border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: none; }

.faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  text-align: left;
  background: none; border: none;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--foreground);
  transition: background 0.2s, color 0.2s;
}
.faq-btn:hover { background: oklch(0.965 0.015 225 / 0.6); color: var(--primary); }

.faq-icon {
  height: 2.25rem; width: 2.25rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.3s, border-color 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s, opacity 0.3s;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p {
  padding: 0 1.75rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 48rem;
}

/* ============================================================
   QUIZ / CONTACT
   ============================================================ */
.contact {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
  background-image: var(--gradient-hero);
}
@media (min-width: 1024px) { .contact { padding-block: 8rem; } }

.contact-header { max-width: 48rem; position: relative; }
.contact-header p.desc {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: oklch(0.18 0.03 230 / 0.8);
  line-height: 1.7;
  max-width: 40rem;
}

.contact-grid {
  margin-top: 3.5rem;
  position: relative;
  display: grid;
  gap: 1.5rem 2rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 7fr; }
}

/* Team photo side */
.contact-photo {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  min-height: 480px;
}
.contact-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.contact-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0.45 0.08 215 / 0.7) 0%, oklch(0.45 0.08 215 / 0.15) 40%, transparent 100%);
  pointer-events: none;
}
.contact-online-tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: oklch(1 0 0 / 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.contact-team-card {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: oklch(1 0 0 / 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.contact-team-card .label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary);
}
.contact-team-card h4 { margin-top: 0.5rem; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.contact-team-card p  { margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* Quiz card */
.quiz-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.quiz-card-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, oklch(0.965 0.015 225 / 0.6), transparent);
}
.quiz-card-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.quiz-card-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.quiz-card-title { margin-top: 0.5rem; font-size: clamp(1.25rem, 2vw, 1.875rem); font-weight: 600; letter-spacing: -0.02em; }
.quiz-step-count { text-align: right; flex-shrink: 0; }
.quiz-step-label { font-size: 0.75rem; color: var(--muted-foreground); letter-spacing: 0.1em; text-transform: uppercase; }
.quiz-step-num { font-size: 1.125rem; font-weight: 600; }
.quiz-step-num span { color: var(--muted-foreground); }

/* Progress dots */
.quiz-progress-dots {
  margin-top: 1.25rem;
  display: flex; align-items: center; gap: 0.375rem;
}
.progress-dot {
  height: 0.375rem;
  border-radius: 9999px;
  flex: 1;
  background: var(--border);
  transition: background 0.3s;
}
.progress-dot.done    { background: var(--accent); }
.progress-dot.current { background: oklch(0.58 0.24 24 / 0.6); }

.quiz-card-body { padding: 2rem 2.5rem; flex: 1; }

/* Each pre-rendered step — hidden by default, JS toggles display */
.quiz-step { display: none; }

/* Question + options */
.quiz-question { font-size: 1.25rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.quiz-hint { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

.radio-grid {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.625rem;
}
@media (min-width: 640px) { .radio-grid { grid-template-columns: 1fr 1fr; } }

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.radio-label:hover { border-color: oklch(0.45 0.08 215 / 0.4); background: oklch(0.965 0.015 225 / 0.5); }
.radio-label.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px oklch(0.58 0.24 24 / 0.15);
}
.radio-circle {
  height: 1.25rem; width: 1.25rem;
  border-radius: 9999px;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.radio-label.selected .radio-circle { border-color: var(--accent); }
.radio-dot {
  height: 0.625rem; width: 0.625rem;
  border-radius: 9999px;
  background: var(--accent);
  display: none;
}
.radio-label.selected .radio-dot { display: block; }
.radio-text { font-size: 0.875rem; font-weight: 500; }

/* Text input */
.text-step { margin-top: 1.75rem; }
.quiz-input {
  width: 100%;
  border-radius: 0.75rem;
  background: var(--input);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quiz-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.45 0.08 215 / 0.15);
}

/* Final contact step */
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.contact-fields label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}
.contact-field-wide { grid-column: 1 / -1; }
.full-name-value { display: none; }
.form-group.invalid .quiz-input {
  border-color: oklch(0.58 0.24 24);
  box-shadow: 0 0 0 3px oklch(0.58 0.24 24 / 0.12);
}
.phone-wrap {
  display: flex;
  align-items: stretch;
  min-height: 3.45rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--input);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.45 0.08 215 / 0.15);
}
.phone-wrap.invalid {
  border-color: oklch(0.58 0.24 24);
  box-shadow: 0 0 0 3px oklch(0.58 0.24 24 / 0.12);
}
.countrySelect,
.phoneInput {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--foreground);
  font: inherit;
  outline: none;
}
.countrySelect {
  width: 8.5rem;
  padding: 0 1.25rem 0 0;
  cursor: pointer;
}
.phoneInput {
  flex: 1;
  width: 100%;
  padding: 0 1rem;
}
@media (max-width: 639px) {
  .quiz-card-header { padding: 1.5rem 1.25rem 1.25rem; }
  .quiz-card-body { padding: 1.5rem 1.25rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-field-wide { grid-column: auto; }
  .phone-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }
  .phone-wrap .flagIcon {
    grid-column: 1;
    grid-row: 1;
  }
  .countrySelect {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-height: 3.45rem;
    padding: 0 1rem 0 0;
    border-right: 0;
    color: var(--foreground);
    font-size: 1rem;
  }
  .phoneInput {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 3.45rem;
    padding: 0 1rem;
    border-top: 1px solid var(--border);
  }
  #step-6 .quiz-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  #step-6 .btn-next {
    width: 100%;
    margin-left: 0;
    white-space: nowrap;
  }
  #step-6 .btn-back { justify-content: center; }
  .quiz-card-footer {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Navigation buttons */
.quiz-nav { margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem; }
.btn-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: none;
  font-size: 0.875rem; font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
}
.btn-back:hover { background: var(--surface-2); }
.btn-next {
  margin-left: auto;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.9375rem;
  justify-content: center;
}

@media (max-width: 639px) {
  .quiz-card-header {
    padding: 1.25rem 0.75rem 1rem;
  }
  .quiz-card-body {
    padding: 1.25rem 0.75rem;
  }
  .radio-grid {
    gap: 0.5rem;
  }
  .radio-label {
    padding: 0.875rem;
  }
  .quiz-nav {
    gap: 0.5rem;
  }
  .quiz-nav .btn-back {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
  }
  .quiz-nav .btn-next {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0;
    padding: 0.875rem 1rem;
    white-space: nowrap;
  }
  .quiz-nav .btn-next svg {
    flex: 0 0 auto;
  }
  .phone-wrap {
    display: flex;
    align-items: stretch;
  }
  .countrySelect {
    width: 5rem;
    min-width: 0;
    min-height: auto;
    flex: 0 1 5rem;
    padding: 0 20px 0 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
  }
  .phoneInput {
    width: 0;
    min-width: 0;
    min-height: auto;
    flex: 1 1 auto;
    padding: 0 0.75rem;
    border-top: 0;
  }
  #step-6 .quiz-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  #step-6 .btn-next {
    width: 100%;
  }
}

/* Progress bar */
.quiz-bar-wrap {
  margin-top: 1.5rem;
  height: 4px;
  border-radius: 9999px;
  background: var(--border);
  overflow: hidden;
}
.quiz-bar {
  height: 100%;
  background: linear-gradient(to right, var(--accent), oklch(0.55 0.2 22));
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
}

/* Done state */
.quiz-done { padding: 1.5rem 0; }
.quiz-done-icon {
  height: 4rem; width: 4rem;
  border-radius: 1rem;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.quiz-done h3 { margin-top: 1.5rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; }
.quiz-done p  { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.7; max-width: 28rem; }
.quiz-done-privacy {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.875rem; color: var(--muted-foreground);
}

/* Quiz card footer */
.quiz-card-footer {
  padding: 1rem 2.5rem;
  border-top: 1px solid var(--border);
  background: oklch(0.965 0.015 225 / 0.4);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted-foreground);
}
.footer-enc, .footer-tp { display: flex; align-items: center; gap: 0.5rem; }

/* Trust strip */
.trust-strip-panel {
  margin-top: 2rem;
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: oklch(1 0 0 / 0.8);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.trust-grid {
  display: grid;
}
@media (min-width: 640px)  { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  transition: background 0.2s;
}
.trust-item:first-child { border-top: none; }
@media (min-width: 640px) {
  .trust-item:nth-child(1) { border-top: none; }
  .trust-item:nth-child(2) { border-top: none; border-left: 1px solid var(--border); }
  .trust-item:nth-child(3) { border-left: none; }
  .trust-item:nth-child(4) { border-left: 1px solid var(--border); }
}
@media (min-width: 1024px) {
  .trust-item { border-top: none; border-left: 1px solid var(--border); }
  .trust-item:first-child { border-left: none; }
}
.trust-item:hover { background: oklch(0.965 0.015 225 / 0.4); }
.trust-item-icon {
  height: 2.5rem; width: 2.5rem;
  border-radius: 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  transition: background 0.2s, color 0.2s;
}
.trust-item:hover .trust-item-icon { background: var(--primary); color: var(--primary-foreground); }
.trust-item h4 { font-size: 0.875rem; font-weight: 600; line-height: 1.3; }
.trust-item p  { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.375rem; line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-main {
  max-width: 80rem;
  margin-inline: auto;
  padding: 4rem 1.5rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .footer-main { grid-template-columns: 4fr 5fr 3fr; padding-inline: 2.5rem; }
}
.footer-brand img { height: 2.5rem; width: auto; }
.footer-brand .tagline {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: oklch(0.18 0.03 230 / 0.8);
  max-width: 24rem;
}
.footer-brand .legal {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 24rem;
}

.footer-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.office-name { font-size: 0.875rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.office-addr { margin-top: 0.75rem; font-size: 0.875rem; color: oklch(0.18 0.03 230 / 0.75); line-height: 1.7; }

.footer-contact .contact-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary);
}
.footer-contact a { display: block; margin-top: 0.75rem; font-size: 1rem; font-weight: 500; transition: color 0.2s; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact .contact-group { margin-top: 1.5rem; }
.footer-contact .footer-cta { margin-top: 1.5rem; padding: 0.75rem 1.25rem; border-radius: 9999px; font-size: 0.875rem; box-shadow: var(--shadow-cta); }

.footer-bottom {
  border-top: 1px solid var(--border);
}
.footer-bottom-inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  align-items: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; padding-inline: 2.5rem; }
}
.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-links a:hover { color: var(--foreground); transition: color 0.2s; }

/* ============================================================
   SURVEY MODAL
   ============================================================ */
.survey-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  background: oklch(0.18 0.03 230 / 0.55);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.survey-overlay.open { opacity: 1; pointer-events: all; }
.survey-modal {
  position: relative;
  width: 100%; max-width: 36rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s;
  opacity: 0;
}
.survey-overlay.open .survey-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.survey-blob-top    { position: absolute; top: -6rem; right: -5rem; height: 16rem; width: 16rem; border-radius: 9999px; background: oklch(0.58 0.24 24 / 0.2); filter: blur(3rem); pointer-events: none; }
.survey-blob-bottom { position: absolute; bottom: -6rem; left: -5rem; height: 16rem; width: 16rem; border-radius: 9999px; background: oklch(0.45 0.08 215 / 0.15); filter: blur(3rem); pointer-events: none; }
.survey-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  height: 2.25rem; width: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.survey-close:hover { background: var(--muted); }
.survey-body {
  position: relative;
  padding: 2.5rem 2rem 2.25rem;
  text-align: center;
}
@media (min-width: 640px) { .survey-body { padding: 3rem 2.5rem 2.5rem; } }
.survey-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.survey-title { margin-top: 1.25rem; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.survey-desc  { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted-foreground); line-height: 1.7; max-width: 28rem; margin-inline: auto; }
.survey-actions {
  margin-top: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
@media (min-width: 640px) { .survey-actions { flex-direction: row; justify-content: center; } }
.survey-cta { padding: 0.875rem 1.75rem; border-radius: 9999px; font-size: 0.9375rem; }
.survey-later { font-size: 0.875rem; color: var(--muted-foreground); background: none; border: none; padding: 0.5rem 0.75rem; transition: color 0.2s; }
.survey-later:hover { color: var(--foreground); }
.survey-trust {
  margin-top: 1.75rem;
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-foreground);
}
.survey-trust span { display: flex; align-items: center; gap: 0.375rem; }
.survey-divider { height: 0.75rem; width: 1px; background: var(--border-strong); }

/* Thank-you popup */
.pop-up {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}
.pop-up.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.pop-up__area {
  position: absolute;
  inset: 0;
  background: oklch(0.18 0.03 230 / 0.62);
  backdrop-filter: blur(8px);
}
.pop-up__body {
  position: relative;
  z-index: 1;
  width: min(100%, 30rem);
}
.pop-up__content {
  position: relative;
  padding: 2.75rem 2rem 2.25rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-elegant);
  text-align: center;
  transform: translateY(1rem) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
}
.pop-up.active .pop-up__content { transform: translateY(0) scale(1); }
.pop-up__content-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface-2);
  color: var(--foreground);
  font-size: 1.35rem;
  line-height: 1;
}
.pop-up__content-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  border-radius: 1rem;
  background: var(--primary);
  color: white;
  font-size: 1.75rem;
}
.pop-up__content-title {
  margin-top: 1.25rem;
  font-size: 1.75rem;
  font-weight: 600;
}
.pop-up__content-text {
  margin: 0.75rem auto 0;
  max-width: 24rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ============================================================
   STARS COMPONENT
   ============================================================ */
.stars { display: flex; gap: 2px; }
.star {
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(0.62 0.18 145);
}
.star-sm { height: 18px; width: 18px; }
.star-xs { height: 17px; width: 17px; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0 5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}
.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, oklch(0.45 0.08 215 / 0.1) 1px, transparent 0);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  pointer-events: none;
}
.legal-shell {
  position: relative;
  width: min(calc(100% - 3rem), 62rem);
  margin-inline: auto;
}
.legal-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}
.legal-eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.legal-heading h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.legal-updated {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}
.legal-card {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-elegant);
}
.legal-intro {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  font-size: 1.0625rem;
  line-height: 1.8;
}
.legal-intro p + p { margin-top: 1rem; }
.legal-section {
  padding-top: 2.25rem;
}
.legal-section + .legal-section {
  margin-top: 2.25rem;
  border-top: 1px solid var(--border);
}
.legal-section h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.legal-section h3 {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.legal-section p {
  margin-top: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}
.legal-section ul {
  margin: 0.875rem 0 0 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  list-style: disc;
}
.legal-section li + li { margin-top: 0.35rem; }
.legal-company {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0.875rem;
  background: var(--surface-2);
  color: var(--foreground);
  line-height: 1.7;
}
.legal-company strong { display: block; margin-bottom: 0.25rem; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}
.legal-back:hover { color: var(--accent); }
.footer-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 639px) {
  .legal-page { padding: 6.75rem 0 3rem; }
  .legal-shell { width: min(calc(100% - 1.5rem), 62rem); }
  .legal-heading { margin-bottom: 1.5rem; padding-inline: 0.25rem; }
  .legal-card { padding: 1.25rem; border-radius: 1.25rem; }
  .legal-intro { font-size: 1rem; }
  .legal-section { padding-top: 1.75rem; }
  .legal-section + .legal-section { margin-top: 1.75rem; }
  .legal-company { padding: 1rem; }
}
