/* =========================================================
   Amplead 2.0 by Gupshup — Barcelona Agency Roadshow
   Built from Figma · plain HTML / CSS / JS
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --blue: #2e5bff;
  --purple: #8a2be2;
  --pink: #ec4899;
  --orange: #ff6b35;
  --amber: #f59e0b;
  --mint: #00f298;
  --mint-2: #00d685;
  --green: #10b981;
  --green-dark: #059669;
  --rose: #f43f5e;

  --ink: #0f172a;
  --ink-2: #1e293b;
  --slate: #475569;
  --slate-2: #64748b;
  --slate-3: #94a3b8;
  --slate-4: #cbd5e1;
  --line: #e2e8f0;
  --line-2: #f1f5f9;
  --bg-light: #f8fafc;
  --bg-dark: #0b0e1a;
  --bg-footer: #090c15;

  --glass-line: rgba(255, 255, 255, 0.1);
  --glass-fill: rgba(255, 255, 255, 0.05);

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 10px 15px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 1px 1px rgba(0, 0, 0, 0.05);
  --shadow-deep: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 80px;
  --gutter: 48px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--orange));
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  animation: header-drop 0.8s var(--ease-out) both;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height 0.3s ease;
}
.site-header.is-scrolled .header-inner { height: 68px; }

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 13px;
  background: var(--line-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.brand:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -8px rgba(46, 91, 255, 0.35); }
.brand-gupshup { width: 170px; height: 28px; object-fit: contain; }
.brand-wa { width: 106px; height: 25px; object-fit: contain; }
.brand-divider { width: 1px; height: 20px; background: #cbd5e1; }

.main-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px;
  background: var(--line-2);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 9999px;
}
.main-nav a {
  position: relative;
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--slate);
  border-radius: 9999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.main-nav a:hover { color: var(--ink); background: #fff; }
.main-nav a.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 6px 18px -6px rgba(138, 43, 226, 0.55);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }


/* Register button */
.btn-register {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--blue));
  background-size: 300% 100%;
  box-shadow: 0 10px 30px -4px rgba(138, 43, 226, 0.45);
  animation: gradient-pan 6s linear infinite;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.btn-register img { width: 11px; height: 11px; transition: transform 0.3s var(--ease-spring); }
.btn-register:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px -4px rgba(236, 72, 153, 0.55); }
.btn-register:hover img { transform: translate(2px, -2px); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 97px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  will-change: transform;
}
.blob-1 { width: 420px; height: 420px; top: -120px; left: -80px; background: #c7d2fe; animation: blob-drift-1 18s ease-in-out infinite; }
.blob-2 { width: 360px; height: 360px; bottom: -140px; left: 38%; background: #a7f3d0; animation: blob-drift-2 22s ease-in-out infinite; }
.blob-3 { width: 380px; height: 380px; top: 10%; right: -120px; background: #fed7aa; animation: blob-drift-3 20s ease-in-out infinite; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}

.hero-grid-layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
  min-height: 587px;
}
.hero-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 9999px;
  box-shadow: var(--shadow-soft);
}
.dot-live {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.dot-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot-sm { width: 8px; height: 8px; }

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 52px;
  letter-spacing: -1.3px;
  color: var(--ink);
  max-width: 671px;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%) rotate(3deg);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), filter 0.7s ease;
}
.hero-title.is-in .word { opacity: 1; transform: none; filter: blur(0); }

.hero-sub { margin-top: -8px; font-size: 20px; line-height: 28px; color: var(--slate); max-width: 576px; }

.flow-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.flow-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, filter 0.35s ease;
}
.flow-chip img { width: 13px; height: 13px; }
.chip-meta { padding: 6px 14px; color: var(--ink-2); background: var(--line-2); border: 1px solid var(--line); }
.chip-wa { font-weight: 800; color: #000; background: linear-gradient(90deg, var(--green), #25d366); }
.chip-qualify { color: #fff; background: var(--blue); box-shadow: 0 10px 30px -4px rgba(46, 91, 255, 0.45); }
.chip-retarget { color: #fff; background: var(--orange); box-shadow: 0 10px 30px -4px rgba(255, 107, 53, 0.45); }
.chip-convert { font-weight: 800; color: #fff; background: var(--ink); }
.flow-strip.is-tight { gap: 6px; padding: 11px; }
.flow-strip.is-tight .flow-chip { padding: 6px 10px; font-size: 13px; }
.flow-chip.is-active { transform: translateY(-4px) scale(1.08); filter: saturate(1.2); box-shadow: 0 14px 28px -8px rgba(15, 23, 42, 0.35); }
.flow-arrow { width: 11px; height: 11px; opacity: 0.6; transition: transform 0.35s ease, opacity 0.35s ease; }
.flow-arrow.is-active { opacity: 1; transform: translateX(3px); }

.link-how {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -8px;
  padding-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
}
.link-how:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.bounce-arrow { display: inline-block; animation: bounce-y 1.6s ease-in-out infinite; }

/* Register card */
.register-card {
  position: relative;
  grid-column: 8 / span 5;
  padding: 37px;
  overflow: visible; /* lets the country list open outside the card */
  background: var(--bg-dark);
  border: 1px solid var(--ink-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  isolation: isolate;
}
.card-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.card-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.35), transparent 65%);
  animation: glow-float 8s ease-in-out infinite;
}
.register-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 70%, rgba(255, 107, 53, 0.9) 80%, rgba(245, 158, 11, 0.9) 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 6s linear infinite;
}
.register-head { padding-bottom: 17px; margin-bottom: 24px; border-bottom: 1px solid var(--glass-line); }
.register-meta { font-size: 12px; font-weight: 900; line-height: 16px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--orange); }
.register-title { margin-top: 4px; font-size: 24px; font-weight: 900; line-height: 32px; color: #fff; }

.register-form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--slate-4); }
.field input {
  width: 100%;
  padding: 12px 17px 13px;
  font: 500 16px/26px "Poppins", sans-serif;
  color: #fff;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field input::placeholder { color: var(--slate-2); }
.field input:hover { border-color: rgba(255, 255, 255, 0.2); }
.field input:focus {
  border-color: var(--orange);
  background: rgba(255, 107, 53, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}
.field.is-invalid input { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15); animation: shake 0.4s ease; }

/* Phone with country code */
.phone-group {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.phone-group:hover { border-color: rgba(255, 255, 255, 0.2); }
.phone-group:focus-within {
  border-color: var(--orange);
  background: rgba(255, 107, 53, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}
.field .phone-group input[type="tel"] {
  flex: 1;
  min-width: 0;
  padding-left: 12px;
  background: transparent;
  border: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: none;
}
.field.is-invalid .phone-group { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15); animation: shake 0.4s ease; }
.field.is-invalid .phone-group input { animation: none; box-shadow: none; }

.cc-select { position: relative; display: flex; }
.cc-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--glass-line);
  border-radius: var(--radius) 0 0 var(--radius);
  transition: background 0.2s ease;
}
.cc-btn:hover, .cc-select.is-open .cc-btn { background: rgba(255, 255, 255, 0.06); }
.cc-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.cc-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); }
.cc-dial { font-variant-numeric: tabular-nums; }
.cc-caret { width: 14px; height: 14px; fill: none; stroke: var(--slate-3); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.cc-select.is-open .cc-caret { transform: rotate(180deg); }

.cc-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -1px;
  z-index: 40;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 8px;
  background: #121628;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0.2s;
}
.cc-select.is-open .cc-panel { opacity: 1; visibility: visible; transform: none; }
.field .cc-search {
  padding: 9px 12px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 10px;
}
.cc-list {
  margin-top: 6px;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}
.cc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--slate-4);
  border-radius: 8px;
  cursor: pointer;
}
.cc-list li .cc-flag { flex-shrink: 0; }
.cc-list li .cc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-list li .cc-code { color: var(--slate-3); font-variant-numeric: tabular-nums; }
.cc-list li:hover, .cc-list li.is-hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.cc-list li[aria-selected="true"] { color: #fff; background: rgba(255, 107, 53, 0.18); }
.cc-list li.cc-sep { height: 1px; padding: 0; margin: 6px 4px; background: var(--glass-line); pointer-events: none; }
.cc-empty { padding: 10px; font-size: 13px; color: var(--slate-3); }

.btn-submit {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 900;
  line-height: 24px;
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--orange), var(--amber));
  box-shadow: 0 10px 30px -4px rgba(255, 107, 53, 0.45);
  animation: pulse-glow 2.6s ease-in-out infinite;
  transition: transform 0.3s var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.btn-label { position: relative; }
.btn-arrow {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-spring);
}
.btn-submit:hover .btn-arrow { transform: translate(3px, -3px) scale(1.1); }
.btn-submit:disabled { cursor: wait; }
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.btn-submit:hover { transform: translateY(-2px); }
.btn-submit:active { transform: translateY(0) scale(0.98); }
.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.2s ease-in-out infinite;
}
.form-status { min-height: 20px; font-size: 14px; font-weight: 600; text-align: center; color: var(--mint); }
.form-status.is-error { color: #fda4af; }

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section { position: relative; padding: 96px 0 97px; border-bottom: 1px solid var(--line); }
.section.dark { background: var(--bg-dark); border-bottom-color: var(--glass-line); color: #fff; }
.section.light { background: var(--bg-light); }
.section.light-white { background: #fff; }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 768px; margin-bottom: 56px; }
.section-head.center { align-items: center; text-align: center; margin: 0 auto 48px; }
.section-head.narrow { max-width: 896px; gap: 12px; margin-bottom: 48px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.eyebrow-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.eyebrow-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.eyebrow-orange { color: var(--orange); }
.eyebrow-orange .eyebrow-dot { background: var(--orange); }
.eyebrow-green { color: var(--mint); }
.eyebrow-green .eyebrow-dot { background: var(--green); width: 14px; height: 14px; }
.eyebrow-purple { color: var(--purple); }
.eyebrow-purple .eyebrow-dot { background: var(--purple); width: 14px; height: 14px; }

.h2-xl { font-size: 48px; font-weight: 900; line-height: 48px; letter-spacing: -1.2px; }
.h2-lg { font-size: 36px; font-weight: 900; line-height: 40px; letter-spacing: -0.9px; }
.dark-text { color: var(--ink); }

.lead { padding-top: 8px; font-size: 18px; font-weight: 500; line-height: 28px; color: var(--slate); }
.lead-dark { color: var(--slate-4); }
.lead-sm { font-size: 16px; line-height: 26px; padding-top: 4px; }
.body-text { font-size: 16px; line-height: 26px; color: var(--slate); }
.body-text.medium { font-weight: 500; }

.tag {
  display: inline-block;
  padding: 7px 15px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 9999px;
}
.tag-muted { font-weight: 700; color: var(--slate-4); background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-line); }
.tag-green { font-weight: 900; color: var(--mint); background: rgba(0, 242, 152, 0.15); border: 1px solid rgba(0, 242, 152, 0.3); }

.tag-gradient {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--blue));
  background-size: 200% 100%;
  box-shadow: 0 10px 30px -4px rgba(46, 91, 255, 0.45);
  animation: gradient-pan 5s linear infinite;
}
.pill-green {
  display: inline-block;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 900;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 9999px;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   THE SHIFT
   ========================================================= */
.compare {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.path-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 33px;
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}
.path-old {
  grid-column: 1 / span 5;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-deep);
}
.path-old:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.2); }
.path-new {
  grid-column: 8 / span 5;
  padding: 34px;
  border: 2px solid rgba(16, 185, 129, 0.4);
  background: linear-gradient(153deg, rgba(16, 185, 129, 0.1) 0%, #181534 50%, rgba(0, 242, 152, 0.1) 100%);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.path-new:hover { transform: translateY(-6px); border-color: rgba(0, 242, 152, 0.7); box-shadow: 0 24px 50px -12px rgba(0, 242, 152, 0.3); }
.path-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(0, 242, 152, 0.12) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sheen 5s ease-in-out infinite;
}
.path-top { display: flex; align-items: center; justify-content: space-between; }
.icon-hourglass { width: 17px; height: 22px; animation: hourglass 3s ease-in-out infinite; }
.icon-msg { width: 23px; height: 23px; animation: wiggle 2.8s ease-in-out infinite; }
.path-title { font-size: 24px; font-weight: 700; line-height: 32px; color: #fff; }
.path-title-strong { font-weight: 900; }
.path-text { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--slate-3); }
.path-text-green { color: #d1fae5; }

.vs-wrap { grid-column: 6 / span 2; display: flex; justify-content: center; }
.vs-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.9px;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(45deg, var(--orange), #fbbf24);
  box-shadow: 0 10px 30px -4px rgba(255, 107, 53, 0.45);
  transform: rotate(6deg);
  animation: vs-wobble 3.2s ease-in-out infinite;
}

/* =========================================================
   AMPLEAD
   ========================================================= */
.journey-board {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 33px;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 16px; row-gap: 0; }
/* subgrid keeps every caption the same height, so phones stay aligned
   even when a translated label wraps to two lines */
.step-card {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  align-content: start;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.3s ease;
}
.steps.is-in .step-card { opacity: 1; transform: none; }
.steps.is-in .step-card:nth-child(1) { transition-delay: 0s; }
.steps.is-in .step-card:nth-child(2) { transition-delay: 0.12s; }
.steps.is-in .step-card:nth-child(3) { transition-delay: 0.24s; }
.steps.is-in .step-card:nth-child(4) { transition-delay: 0.36s; }
.steps.is-in .step-card:nth-child(5) { transition-delay: 0.48s; }
.step-card:hover { box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.25); }
.step-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0 5px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}
.step-num { font-size: 10px; font-weight: 900; line-height: 15px; letter-spacing: 0.5px; text-transform: uppercase; }
.step-name { font-size: 12px; font-weight: 700; line-height: 16px; color: var(--ink-2); max-width: 100%; text-wrap: balance; }
.c-blue { color: var(--blue); }
.c-green { color: var(--green-dark); }
.c-purple { color: var(--purple); }
.c-orange { color: var(--orange); }
.c-rose { color: var(--rose); }

.phone-frame {
  flex: 1;
  padding: 1px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.phone-frame img { width: 100%; border-radius: 8px; }
.steps.is-in .phone-frame img { animation: phone-float 5s ease-in-out infinite; }
.steps.is-in .step-card:nth-child(2) .phone-frame img { animation-delay: -1s; }
.steps.is-in .step-card:nth-child(3) .phone-frame img { animation-delay: -2s; }
.steps.is-in .step-card:nth-child(4) .phone-frame img { animation-delay: -3s; }
.steps.is-in .step-card:nth-child(5) .phone-frame img { animation-delay: -4s; }
.step-card.is-current { box-shadow: 0 0 0 2px var(--blue), 0 20px 40px -16px rgba(46, 91, 255, 0.45); }

/* Browser frames */
.browser {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 13px;
  background: var(--line-2);
  border-bottom: 1px solid var(--line);
}
.browser-bar-soft { padding: 14px 20px 15px; background: var(--bg-light); }
.browser-dots { display: flex; gap: 8px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; }
.d-red { background: var(--rose); }
.d-amber { background: var(--amber); }
.d-green { background: var(--green); }
.browser-url { flex: 1; padding-left: 8px; font-size: 12px; font-weight: 700; line-height: 16px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  white-space: nowrap;
}
.badge-live { padding: 5px 13px; border-color: #6ee7b7; }
.browser-body { position: relative; padding: 4px; background: #fff; overflow: hidden; }
.browser-body.pad-8 { padding: 8px; }
.browser-body img { width: 100%; }
.round-bottom { border-radius: 0 0 var(--radius) var(--radius); }
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(46, 91, 255, 0.08), transparent);
  animation: scan 6s ease-in-out infinite;
}
.browser-dark-frame { border-color: var(--glass-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-deep); }

.tilt-in {
  opacity: 0;
  transform: perspective(1400px) rotateX(18deg) translateY(60px) scale(0.96);
  transform-origin: 50% 0;
  transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-out);
}
.tilt-in.is-in { opacity: 1; transform: none; }

/* Feature cards */
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.feat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}
.feat-card h3 { margin-bottom: -9px; font-size: 18px; font-weight: 900; line-height: 28px; }
.feat-card p { font-size: 14px; font-weight: 500; line-height: 19.25px; }
.feat-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.4s var(--ease-spring);
}
.feat-icon-dark { background: rgba(0, 0, 0, 0.1); }
.feat-card:hover .feat-icon { transform: rotate(-10deg) scale(1.12); }
.feat-blue { color: #fff; background: var(--blue); box-shadow: 0 10px 30px -4px rgba(46, 91, 255, 0.45); }
.feat-blue p { color: #dbeafe; }
.feat-mint { color: #000; background: var(--mint); box-shadow: 0 10px 30px -4px rgba(0, 242, 152, 0.4); }
.feat-mint p { color: #022c22; }
.feat-purple { color: #fff; background: var(--purple); box-shadow: 0 10px 30px -4px rgba(138, 43, 226, 0.45); }
.feat-purple p { color: #f3e8ff; }
.feat-orange { color: #fff; background: var(--orange); box-shadow: 0 10px 30px -4px rgba(255, 107, 53, 0.45); }
.feat-orange p { color: #ffedd5; }

/* =========================================================
   CUSTOMER PROFILE
   ========================================================= */
.profile-wrap { display: flex; flex-direction: column; gap: 40px; padding: 0 80px; }
.profile-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 1024px; }
.point-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 25px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, background 0.35s ease;
}
.point-card:hover { transform: translateY(-6px); border-color: rgba(0, 242, 152, 0.4); background: rgba(0, 242, 152, 0.05); }
.point-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.point-num { font-size: 30px; font-style: italic; font-weight: 600; line-height: 30px; color: var(--mint); }
.point-card h3 { font-size: 18px; font-weight: 700; line-height: 28px; text-align: right; }
.point-card p { padding-top: 3px; font-size: 14px; line-height: 19.25px; color: var(--slate-4); }

/* =========================================================
   BUILT FOR AGENCIES
   ========================================================= */
.agency-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: center; }
.agency-copy { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.agency-copy .eyebrow-dot { width: 14px; height: 14px; }
.check-list { grid-column: 6 / span 7; display: flex; flex-direction: column; gap: 14px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
}
.check-item:hover { transform: translateX(8px); border-color: #c7d2fe; box-shadow: 0 16px 32px -16px rgba(46, 91, 255, 0.35); }
.check-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  transition: transform 0.45s var(--ease-spring);
}
.check-item:hover .check-icon { transform: rotate(-12deg) scale(1.1); }
.ci-blue { background: var(--blue); box-shadow: 0 10px 30px -4px rgba(46, 91, 255, 0.45); }
.ci-orange { background: var(--orange); box-shadow: 0 10px 30px -4px rgba(255, 107, 53, 0.45); }
.ci-mint { background: var(--mint); box-shadow: 0 10px 30px -4px rgba(0, 242, 152, 0.4); }
.ci-navy { background: var(--ink); box-shadow: var(--shadow-soft); }
.ci-purple { background: var(--purple); box-shadow: 0 10px 30px -4px rgba(138, 43, 226, 0.45); }

/* =========================================================
   AGENCY OFFER
   ========================================================= */
.section-head .h2-lg { max-width: 672px; }
.offer-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.offer-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}
.offer-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.6s var(--ease-out);
}
.offer-card:hover::after { transform: scale(1.6); }
.offer-card h3 { margin-bottom: -12.6px; font-size: 24px; font-weight: 900; line-height: 32px; color: #fff; }
.offer-card p { font-size: 14px; font-weight: 500; line-height: 22.75px; }
.offer-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.45s var(--ease-spring);
}
.offer-card:hover .offer-icon { transform: translateY(-4px) rotate(8deg); }
.oc-blue { background: var(--blue); box-shadow: 0 10px 30px -4px rgba(46, 91, 255, 0.45); }
.oc-blue p { color: #dbeafe; }
.oc-orange { background: var(--orange); box-shadow: 0 10px 30px -4px rgba(255, 107, 53, 0.45); }
.oc-orange p { color: #ffedd5; }
.oc-green { background: var(--mint-2); box-shadow: 0 10px 30px -4px rgba(0, 242, 152, 0.4); }
.oc-green p { color: #d1fae5; }

/* =========================================================
   AGENDA
   ========================================================= */
.agenda-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: start; }
.agenda-side { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.agenda-side .h2-lg { margin-top: -4px; }
.venue-card {
  width: 100%;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.venue-line { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; color: var(--slate); }
.venue-line img { flex-shrink: 0; }
.venue-green { font-weight: 700; color: var(--green-dark); }
.venue-green img { animation: pin-drop 2.4s ease-in-out infinite; }
.venue-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--orange);
}
.venue-link img { transition: transform 0.3s var(--ease-spring); }
.venue-link:hover img { transform: translateX(6px); }

.agenda-scroll {
  grid-column: 6 / span 7;
  max-height: 580px;
  overflow-y: auto;
  padding-right: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  mask-image: linear-gradient(180deg, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent);
}
.agenda-scroll::-webkit-scrollbar { width: 6px; }
.agenda-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
.agenda-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: var(--radius); }
.agenda-list { display: flex; flex-direction: column; gap: 13.75px; padding-bottom: 40px; }
.session {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 25px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
}
.session:hover { transform: translateX(-6px); border-color: #c7d2fe; box-shadow: 0 16px 32px -16px rgba(46, 91, 255, 0.3); }
.session h3 { font-size: 18px; font-weight: 700; line-height: 28px; color: var(--ink); }
.session p { margin-top: 4px; font-size: 14px; line-height: 22.75px; color: var(--slate); }
.time {
  flex-shrink: 0;
  min-width: 130px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
  border: 1px solid;
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease-spring);
}
.session:hover .time { transform: scale(1.06); }
.t-mint { color: #065f46; background: rgba(0, 242, 152, 0.15); border-color: #a7f3d0; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.t-blue { color: var(--blue); background: #eff6ff; border-color: #bfdbfe; }
.t-purple { color: var(--purple); background: #faf5ff; border-color: #e9d5ff; }
.t-orange { color: var(--orange); background: #fff7ed; border-color: #fed7aa; }
.t-amber { color: var(--amber); background: #fffbeb; border-color: #fde68a; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-panel {
  position: relative;
  overflow: hidden;
  padding: 57px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  isolation: isolate;
}
.about-orb {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  top: -260px;
  right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.28), transparent 65%);
  animation: glow-float 12s ease-in-out infinite;
}
.about-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 187.5px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, background 0.35s ease;
}
.about-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.08); }
.about-card h3 { margin-top: 12px; font-size: 18px; font-weight: 900; line-height: 28px; }
.about-card p { margin-top: 11px; font-size: 14px; font-weight: 500; line-height: 22.75px; color: var(--slate-4); }
.about-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  transition: transform 0.45s var(--ease-spring);
}
.about-card:hover .about-icon { transform: scale(1.15) rotate(-8deg); }
.ai-blue { background: var(--blue); }
.ai-green { background: var(--green); }
.ai-orange { background: var(--orange); }
.ai-blue img { animation: spin-slow 14s linear infinite; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg-footer); border-top: 1px solid var(--glass-line); color: var(--slate-4); }
.site-footer .container { padding-top: 48px; padding-bottom: 48px; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 33px;
  border-bottom: 1px solid var(--glass-line);
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; line-height: 24px; }
.footer-logo { display: flex; align-items: center; height: 36px; padding: 6px 12px; background: #fff; border-radius: var(--radius-sm); }
.footer-logo img { width: 145px; height: 24px; object-fit: contain; }
.footer-mail { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--orange); transition: opacity 0.2s ease; }
.footer-mail:hover { opacity: 0.8; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 12px; line-height: 16px; color: var(--slate-2); }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--slate-4); }

/* Floating CTA (mobile) */
.float-cta {
  position: fixed;
  z-index: 90;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  color: #fff;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  box-shadow: 0 14px 34px -8px rgba(255, 107, 53, 0.6);
  transform: translateY(140%);
  transition: transform 0.45s var(--ease-out);
}
.float-cta.is-visible { transform: translateY(0); }

/* =========================================================
   REVEAL ANIMATIONS (scroll)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-pop { transform: scale(0.4) rotate(-30deg); transition-timing-function: var(--ease-spring); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

@keyframes header-drop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes gradient-pan { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes bounce-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes blob-drift-1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(80px, 60px) scale(1.15); } }
@keyframes blob-drift-2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-90px, -50px) scale(1.2); } }
@keyframes blob-drift-3 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 80px) scale(0.9); } }
@keyframes glow-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 40px); } }
@keyframes border-spin { to { --angle: 360deg; } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 30px -4px rgba(255, 107, 53, 0.45); }
  50% { box-shadow: 0 10px 40px 0 rgba(255, 107, 53, 0.75); }
}
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes sheen { 0%, 40% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes hourglass { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 85% { transform: rotate(10deg); } }
@keyframes vs-wobble { 0%, 100% { transform: rotate(6deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.08); } }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes scan { 0% { transform: translateY(-120px); } 100% { transform: translateY(640px); } }
@keyframes pin-drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* Collapsed navigation — added by JS whenever the menu does not fit
   (small screens, or long translations on desktop). */
.site-header.nav-collapsed .nav-toggle { display: block; }
.site-header.nav-collapsed .main-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 16px;
  right: 16px;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 10px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0.25s;
}
.site-header.nav-collapsed .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.site-header.nav-collapsed .main-nav a { padding: 12px 16px; font-size: 15px; }
@media (min-width: 721px) {
  .site-header.nav-collapsed .main-nav { left: auto; right: var(--gutter); width: 320px; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Tight header — added by JS when the full-size menu doesn't fit
   (narrower laptops, or longer translations such as Spanish). */
.site-header.nav-tight .header-inner { gap: 12px; }
.site-header.nav-tight .main-nav { padding: 5px; gap: 2px; }
.site-header.nav-tight .main-nav a { padding: 7px 9px; font-size: 13px; }
.site-header.nav-tight .brand { gap: 8px; padding: 7px 10px; }
.site-header.nav-tight .brand-wa { width: 80px; height: 20px; }
.site-header.nav-tight .brand-gupshup { width: 120px; height: 22px; }
.site-header.nav-tight .btn-register { padding: 10px 16px; font-size: 15px; }
.site-header.nav-tight .lang-opt { padding: 7px 10px; font-size: 12.5px; }
.site-header.nav-tight .header-actions { gap: 8px; }

@media (max-width: 1024px) {
  :root { --gutter: 32px; }


  .hero-grid-layout { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-copy, .register-card { grid-column: 1 / -1; }
  .register-card { max-width: 560px; }

  .compare { grid-template-columns: 1fr; gap: 16px; }
  .path-old, .path-new, .vs-wrap { grid-column: 1 / -1; }

  .steps { grid-template-columns: repeat(5, 200px); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .step-card { scroll-snap-align: start; }

  .feature-row, .profile-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-wrap { padding: 0; }

  .agency-layout, .agenda-layout { grid-template-columns: 1fr; }
  .agency-copy, .check-list, .agenda-side, .agenda-scroll { grid-column: 1 / -1; }
  .agenda-scroll { max-height: none; overflow: visible; padding-right: 0; mask-image: none; -webkit-mask-image: none; }

  .offer-row, .about-row { grid-template-columns: 1fr; }
  .about-card { min-height: 0; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 68px; }

  .brand { gap: 8px; padding: 6px 10px; }
  .brand-gupshup { width: 110px; height: 22px; }
  .brand-wa { width: 78px; height: 20px; }
  .btn-register { display: none; }
  .nav-toggle { width: 40px; height: 40px; }
  .nav-toggle span { left: 11px; }
  .nav-toggle span:nth-child(1) { top: 13px; }
  .nav-toggle span:nth-child(2) { top: 19px; }
  .nav-toggle span:nth-child(3) { top: 25px; }

  .hero { padding: 40px 0 64px; }
  .hero-title { font-size: 36px; line-height: 40px; letter-spacing: -0.9px; }
  .hero-sub { font-size: 17px; line-height: 26px; }
  .flow-strip { gap: 6px; padding: 10px; }
  .flow-chip { padding: 5px 10px; font-size: 13px; }
  .register-card { padding: 24px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .h2-xl { font-size: 34px; line-height: 38px; letter-spacing: -0.8px; }
  .h2-lg { font-size: 28px; line-height: 34px; letter-spacing: -0.6px; }
  .lead { font-size: 16px; line-height: 26px; }
  .path-card { padding: 24px; }
  .path-title { font-size: 20px; line-height: 28px; }

  .journey-board { padding: 16px; gap: 20px; }
  .steps { grid-template-columns: repeat(5, 72%); }
  .browser-url { font-size: 11px; }
  .browser-badge { display: none; }

  .feature-row, .profile-points { grid-template-columns: 1fr; }
  .feature-row { margin-top: 36px; }

  .check-item { padding: 16px; font-size: 15px; }
  .session { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .session h3 { font-size: 16px; line-height: 24px; }

  .about-panel { padding: 28px 20px; }

  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-brand { flex-direction: column; align-items: flex-start; font-size: 14px; }
  .site-footer { padding-bottom: 72px; }
  .float-cta { display: block; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .tilt-in, .step-card, .hero-title .word { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* Submit loader + status fade (added) */
.btn-spinner {
  position: relative;
  display: none;
  width: 20px; height: 20px; flex-shrink: 0;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
.btn-submit.is-loading { pointer-events: none; cursor: wait; }
.btn-submit.is-loading .btn-arrow { display: none; }
.btn-submit.is-loading .btn-spinner { display: inline-block; }
.btn-submit.is-loading .btn-label { opacity: 0.85; }
.form-status { transition: opacity 0.4s ease, transform 0.4s ease; }
.form-status.is-hiding { opacity: 0; transform: translateY(-4px); }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation: btn-spin 1.2s linear infinite !important; animation-iteration-count: infinite !important; animation-duration: 1.2s !important; }
}

/* =========================================================
   LANGUAGE TOGGLE — English | Español side by side
   ========================================================= */
.lang-toggle {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 9999px;
  isolation: isolate;
  background: #f1f5f9; border: 1px solid #e2e8f0;
}
.lang-thumb {
  position: absolute; z-index: -1;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--blue), var(--purple)); box-shadow: 0 4px 12px -2px rgba(138, 43, 226, 0.45);
  transition: transform 0.35s var(--ease-spring);
}
.lang-toggle[data-active="es"] .lang-thumb { transform: translateX(100%); }
.lang-opt {
  padding: 7px 14px;
  font-size: 13px; font-weight: 600; line-height: 18px;
  text-align: center; white-space: nowrap;
  background: transparent; border: 0; border-radius: 9999px;
  color: var(--slate);
  transition: color 0.25s ease;
}
.lang-opt[aria-pressed="true"] { color: #fff; cursor: default; }
.lang-opt:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 720px) {
  .lang-opt { padding: 6px 10px; font-size: 12px; }
}
@media (max-width: 380px) {
  .lang-opt { padding: 6px 8px; font-size: 11.5px; }
}

/* Phones: language toggle gets its own row under the logo bar,
   so "English | Español" stays fully visible. */
@media (max-width: 720px) {
  .site-header .header-inner { flex-wrap: wrap; height: auto; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .site-header.is-scrolled .header-inner { height: auto; }
  .header-actions { display: contents; }
  .brand { order: 1; }
  .nav-toggle { order: 2; }
  .lang-toggle { order: 3; flex-basis: 100%; }
  .lang-opt { padding: 7px 10px; font-size: 13px; }
}

@media (max-width: 720px) { :root { --header-h: 108px; } }

/* Venue → Google Maps links */
.venue-map { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: currentColor; transition: opacity 0.2s ease; }
.venue-map:hover { opacity: 0.8; text-decoration-thickness: 2px; }
.venue-map:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }