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

:root {
  --orange:      #FBB104;
  --orange-mid:  #FDDB8D;
  --orange-light:#FEF4DB;
  --blue:        #0185F3;
  --blue-mid:    #8AC7FA;
  --blue-light:  #B0D9F9;
  --blue-super:  #EDF7FF;
  --navy:        #111782;
  --navy-mid:    #2D39D4;
  --grey:        #6b5f6e;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; top: -999px; left: 6px; z-index: 999;
  background: var(--navy); color: #fff;
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-size: .9rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── FOCUS RING ── */
:focus-visible {
  outline: 3px solid var(--navy-mid);
  outline-offset: 3px;
  border-radius: 4px;
}
/* navy-mid outline is unreadable against the dark navy sections — switch to white there */
.why :focus-visible,
.cta-banner :focus-visible {
  outline-color: #fff;
}

/* ── SCREEN-READER ONLY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17,23,130,0.07);
}
.nav-logo {
  font-family: 'Comfortaa', cursive;
  font-size: 1.6rem;
  color: var(--navy);
  text-decoration: none;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.95rem; color: var(--grey);
  transition: color .2s;
  position: relative;
}
/* expanding underline on nav links */
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--navy);
  transition: width .25s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--navy); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--orange); color: var(--navy) !important;
  padding: 10px 22px; border-radius: 100px;
  font-size: 0.9rem !important; font-weight: 700;
  transition: background .2s, transform .2s, box-shadow .2s !important;
}
.nav-cta:hover {
  background: var(--orange-mid) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(251,177,4,.4) !important;
}

/* ── LANG SWITCHER ── */
.lang-switcher {
  display: flex; align-items: center;
  background: var(--blue-super);
  border-radius: 100px;
  padding: 3px; gap: 2px;
}
.lang-btn {
  border: none; background: transparent; cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: .78rem; font-weight: 700;
  color: var(--grey);
  padding: 5px 11px; border-radius: 100px;
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active, .lang-btn[aria-pressed="true"] {
  background: var(--navy); color: #fff;
}

/* ── HERO ENTRANCE (cascades in on load) ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-enter-1 { animation: fade-up .75s cubic-bezier(.22,.61,.36,1) .05s both; }
.hero-enter-2 { animation: fade-up .75s cubic-bezier(.22,.61,.36,1) .2s  both; }
.hero-enter-3 { animation: fade-up .75s cubic-bezier(.22,.61,.36,1) .35s both; }
.hero-enter-4 { animation: fade-up .75s cubic-bezier(.22,.61,.36,1) .5s  both; }
.hero-enter-5 { animation: fade-up .9s  cubic-bezier(.22,.61,.36,1) .3s  both; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 6vw 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--blue-super) 0%, #fff 50%, var(--orange-light) 100%);
}
/* mouse-follow glow */
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--gx, -600px) var(--gy, -600px),
    rgba(1,133,243,.12) 0%, transparent 65%);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45;
}
.hero-blob-1 {
  width: 520px; height: 520px;
  background: var(--blue-mid);
  top: -120px; right: -80px;
  animation: float 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 380px; height: 380px;
  background: var(--orange-mid);
  bottom: -60px; left: 30%;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

.hero-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.hero-text h1 {
  font-family: 'Comfortaa', cursive;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 24px;
}
/* animated gradient on the keyword */
.hero-text h1 span {
  background: linear-gradient(90deg, var(--blue) 0%, var(--navy-mid) 45%, var(--blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-flow 5s linear infinite;
}
@keyframes text-flow {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero-text p {
  font-size: 1.15rem; line-height: 1.7;
  color: var(--grey); max-width: 460px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

/* small "coming soon" note — reuses the site's orange-dot eyebrow motif */
.mobile-soon-note {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  color: var(--navy-mid);
  margin-top: 24px;
}
.mobile-soon-note::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.mobile-soon-note-dark { color: var(--blue-light); margin-top: 28px; }

/* ── BUTTONS ── */
/* "stamped tag" primary CTA — a price-tag-style press, not a generic pill */
.btn-primary {
  background: var(--orange); color: var(--navy);
  padding: 16px 34px; border-radius: 14px;
  font-size: .95rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none;
  border: 2.5px solid var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  transition: transform .15s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease, background .15s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary .btn-arrow { transition: transform .2s ease; }
.btn-primary:hover {
  background: var(--orange-mid);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--navy);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--navy);
}
/* on the dark CTA banner, flip the ink so the stamp still reads */
.btn-primary.on-dark { border-color: #fff; box-shadow: 5px 5px 0 #fff; }
.btn-primary.on-dark:hover { box-shadow: 8px 8px 0 #fff; }
.btn-primary.on-dark:active { box-shadow: 2px 2px 0 #fff; }

.btn-secondary {
  background: transparent; color: var(--navy);
  padding: 14px 32px; border-radius: 100px;
  font-size: 1rem; font-weight: 700;
  text-decoration: none; border: 2px solid var(--navy);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn-secondary:hover {
  background: var(--navy); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(17,23,130,.2);
}

/* phone mockup */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.phone-frame {
  width: 280px; height: 560px;
  background: var(--navy);
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 40px 100px rgba(17,23,130,.3), 0 0 0 1px rgba(255,255,255,.1);
  position: relative;
  animation: float 7s ease-in-out infinite;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--blue-super);
  border-radius: 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-topbar {
  background: #fff;
  padding: 16px 16px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--blue-super);
}
.phone-title { font-size: .8rem; font-weight: 700; color: var(--navy); }
.phone-icon { width: 24px; height: 24px; background: var(--blue-super); border-radius: 6px; }
.phone-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.phone-card {
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 2px 12px rgba(17,23,130,.06);
}
.phone-card-title { font-size: .72rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.phone-card-sub  { font-size: .65rem; color: var(--grey); margin-bottom: 8px; }
.phone-chip {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: .6rem; font-weight: 700; color: #fff;
}
.chip-blue   { background: var(--blue); }
.chip-orange { background: var(--orange); color: var(--navy); }
.chip-navy   { background: var(--navy); }
.phone-budget { font-size: .75rem; font-weight: 700; color: var(--navy-mid); margin-top: 6px; }
.phone-fab {
  position: absolute; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(251,177,4,.4);
  font-size: 1.2rem;
}

/* ── WHY ── */
.why {
  background: var(--navy);
  padding: 60px 6vw;
}
.why-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-card {
  display: flex; flex-direction: column; gap: 10px;
  cursor: default;
}
.why-icon {
  font-size: 1.8rem; line-height: 1;
  display: inline-block;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.why-card:hover .why-icon { transform: scale(1.25) rotate(-8deg); }
.why-title {
  font-family: 'Comfortaa', cursive;
  font-size: 1.05rem; font-weight: 700;
  color: var(--orange);
}
.why-desc { font-size: .9rem; color: var(--blue-mid); line-height: 1.6; }

/* footnote superscript links in the dark why-bar */
.why sup a { color: var(--orange-mid); text-decoration: none; }
.why sup a:hover { text-decoration: underline; }

/* ── SECTION LABELS ── */
.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--navy-mid);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
/* orange dot personality accent */
.section-label::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── HOW IT WORKS ── */
.section { padding: 100px 6vw; }
.section-title {
  font-family: 'Comfortaa', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy); margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--grey); max-width: 520px;
  line-height: 1.7; margin-bottom: 64px;
}

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; max-width: 1200px; margin: 0 auto;
}
.step {
  background: var(--blue-super);
  border-radius: 24px; padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s;
  box-shadow: 0 0 0 1px rgba(17,23,130,.04);
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(1,133,243,.14), 0 0 0 1px rgba(1,133,243,.09);
}
.step-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Comfortaa', cursive;
  font-size: 4rem; font-weight: 700;
  color: rgba(1,133,243,.08);
  line-height: 1;
}
.step-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.step:hover .step-icon { transform: scale(1.1) rotate(5deg); }
.step-icon-blue   { background: var(--blue); }
.step-icon-orange { background: var(--orange); }
.step-icon-navy   { background: var(--navy); }
.step h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.step p  { font-size: .95rem; color: var(--grey); line-height: 1.7; }

/* ── TWO SIDES ── */
.sides { background: var(--blue-super); }
.sides-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.side-card {
  border-radius: 28px; padding: 52px 44px;
  position: relative; overflow: hidden;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s;
}
.side-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(17,23,130,.1); }
.side-client { background: #fff; }
.side-shop   { background: var(--orange-light); }
.side-tag {
  display: inline-block; padding: 6px 16px;
  border-radius: 100px; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px;
}
.side-client .side-tag { background: rgba(1,133,243,.1); color: var(--navy-mid); }
.side-shop   .side-tag { background: rgba(17,23,130,.1); color: var(--navy); }
.side-card h3 {
  font-family: 'Comfortaa', cursive;
  font-size: 1.8rem; margin-bottom: 16px;
}
.side-client h3, .side-shop h3 { color: var(--navy); }
.side-card p { font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.side-client p, .side-shop p { color: var(--grey); }
.side-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.side-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem;
}
.side-client .side-list li, .side-shop .side-list li { color: var(--navy); }
.side-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; margin-top: 1px;
}
.side-client .side-list li::before { background: var(--blue); color: #fff; }
.side-shop   .side-list li::before { background: var(--navy); color: #fff; }

/* ── CATEGORIES ── */
.cats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; max-width: 1200px; margin: 0 auto;
}
.cat-pill {
  background: var(--blue-super);
  border-radius: 16px; padding: 20px;
  display: flex; align-items: center; gap: 14px;
  transition: background .2s, transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  cursor: default;
}
.cat-pill:hover {
  background: var(--blue-super);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(1,133,243,.12);
}
.cat-pill:hover .cat-emoji { animation: wiggle .4s ease; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25%       { transform: rotate(-10deg); }
  75%       { transform: rotate(10deg); }
}
.cat-emoji { font-size: 1.6rem; display: inline-block; }
.cat-name  { font-size: .95rem; font-weight: 700; color: var(--navy); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 100px 6vw;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1,133,243,.2) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1);   opacity: 1; }
  50%       { transform: translateX(-50%) scale(1.1); opacity: .7; }
}
.cta-banner h2 {
  font-family: 'Comfortaa', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff; margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  color: var(--blue-light); font-size: 1.1rem;
  max-width: 500px; margin: 0 auto 44px;
  line-height: 1.7; position: relative;
}
.cta-stores { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.store-btn {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: 14px 28px; border-radius: 14px;
  text-decoration: none; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  transition: background .2s, transform .2s, box-shadow .2s;
  font-size: .95rem;
}
.store-btn:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
}
.store-btn svg { width: 20px; height: 20px; fill: #fff; }

/* ── FOOTER ── */
footer {
  background: #fff; border-top: 1px solid var(--blue-super);
  padding: 40px 6vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
footer .nav-logo { font-size: 1.3rem; }
footer p { font-size: .85rem; color: var(--grey); }

/* ── INLINE BRAND NAME ── */
.brand-name {
  font-family: 'Comfortaa', cursive;
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue) 0%, var(--navy-mid) 45%, var(--blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-flow 5s linear infinite;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay:  80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }
.reveal[data-delay="7"] { transition-delay: 560ms; }
.reveal[data-delay="8"] { transition-delay: 640ms; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p  { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual  { display: none; }
  .steps        { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .sides-inner  { grid-template-columns: 1fr; }
  .cats-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-inner    { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.nav-cta):not(.lang-btn) { display: none; }
}
@media (max-width: 480px) {
  .cats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  /* make sure load-animated hero elements and reveals are immediately visible */
  .reveal,
  .hero-enter-1, .hero-enter-2, .hero-enter-3, .hero-enter-4, .hero-enter-5 {
    opacity: 1 !important; transform: none !important;
    animation: none !important;
  }
}
