/* ==========================================================================
   Добрый VPN — landing styles
   Design tokens, base, components, animations, responsive.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* surfaces */
  --bg:        #F1EFE2;
  --card:      #FAF7EC;
  --dark:      #10140C;

  /* text */
  --ink:       #1C2018;
  --ink-soft:  #2B3327;
  --muted:     #5A6152;
  --muted-2:   #9AA08E;
  --muted-3:   #B9BEAE;

  /* brand accents */
  --green:       #1C5638;
  --teal:        #157A77;
  --lime:        #BCE645;
  --lime-bright: #D6F25A;
  --lime-deep:   #9FDB3F;
  --mint:        #7FE3D8;
  --pink:        #E89AB0;
  --amber:       #E8B23A;
  --red:         #E0492C;
  --tg:          #229ED9;

  /* type */
  --font-body:    Onest, system-ui, sans-serif;
  --font-display: Unbounded, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ---------- Base / reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body { color: var(--ink); font-family: var(--font-body); }
img { display: block; max-width: 100%; }
::selection { background: var(--lime); color: var(--dark); }

/* ---------- Page shell ---------- */
.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(28,86,56,.11) 1.3px, transparent 1.5px),
    repeating-linear-gradient(135deg, rgba(21,122,119,.035) 0 1px, transparent 1px 22px);
  background-size: 24px 24px, auto;
}

/* film-grain overlay */
.noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22180%22 height=%22180%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E");
}

/* shared section wrapper */
.section {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(3rem,6vw,6rem) clamp(1.2rem,4vw,3.5rem);
}

/* decorative drifting blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* giant outlined glyphs */
.glyph {
  position: absolute;
  font-family: var(--font-display);
  line-height: .7;
  color: transparent;
  pointer-events: none;
  z-index: 0;
}

/* shared eyebrow / kicker label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ==========================================================================
   Buttons (pills)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  padding: .66rem 1.2rem;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, background .15s, filter .15s;
}

.btn--lime { position: relative; overflow: hidden; background: var(--lime); color: var(--dark); }
.btn--lime:hover { background: var(--lime-bright); transform: translateY(-1px); }

.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(224,73,44,.32); }
.btn--red:hover { background: #c43c22; transform: translateY(-1px); }

.btn--gift { background: linear-gradient(100deg, var(--pink), var(--amber)); color: var(--dark); animation: fvGift 2.4s ease-in-out infinite; }
.btn--gift:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #1b8ec4; transform: translateY(-1px); }

.btn__emoji { font-size: .95rem; }

/* sliding light sheen used inside pills/CTAs */
.sheen {
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  transform: skewX(-18deg);
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent);
  animation: fvSheen2 3.4s ease-in-out infinite;
}
.sheen--soft { background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); animation-duration: 4s; }
.sheen--strong { background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); animation-duration: 3.6s; }
.label-z { position: relative; z-index: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.2rem,4vw,3.5rem);
  background: rgba(241,239,226,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid rgba(28,86,56,.16);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand__logo { width: 48px; height: auto; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.brand__name span { color: var(--green); }
.nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(3rem,7vw,6.5rem) clamp(1.2rem,4vw,3.5rem) clamp(2rem,5vw,4rem); }

.hero__glyph {
  top: -9vw; right: -3vw;
  font-size: 42vw;
  -webkit-text-stroke: 2px rgba(28,86,56,.13);
  animation: fvSpin 60s linear infinite;
}

.blob--hero-1 {
  left: -6vw; bottom: 8%;
  width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  background: radial-gradient(circle at 35% 35%, #D6F25A, #9FDB3F 60%, transparent 72%);
  filter: blur(8px); opacity: .45;
  animation: fvDrift 16s ease-in-out infinite;
}
.blob--hero-2 {
  right: 6%; top: 42%;
  width: 18vw; height: 18vw; max-width: 240px; max-height: 240px;
  background: radial-gradient(circle at 50% 50%, #7FE3D8, transparent 70%);
  filter: blur(6px); opacity: .5;
  animation: fvDrift 13s ease-in-out infinite reverse;
}

.hero__body { position: relative; z-index: 2; max-width: 1020px; }
.hero__title {
  margin: 1.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .97;
  font-size: clamp(3.4rem,12vw,10.5rem);
  text-shadow: 5px 6px 0 rgba(28,86,56,.15);
}
.hero__title-line { display: block; animation: fvUp .8s .12s both; }
.hero__title-accent {
  display: inline-block;
  position: relative;
  background: linear-gradient(100deg, #1C5638, #157A77 45%, #9FDB3F);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fvUp .8s .2s both;
}
.hero__tagline {
  margin: 1.8rem 0 0;
  max-width: 30ch;
  font-weight: 500;
  font-size: clamp(1.05rem,2.4vw,1.55rem);
  line-height: 1.35;
  color: var(--ink-soft);
  transform: skew(-5deg);
  transform-origin: left;
  animation: fvUp .8s .3s both;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.4rem; animation: fvUp .8s .4s both; }

.btn--hero {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(.95rem,2vw,1.12rem);
  padding: 1.15rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--lime); color: var(--dark);
  box-shadow: 9px 9px 0 var(--green);
  transform: rotate(-2deg);
  animation: fvPulse 3.4s ease-in-out infinite;
}
.btn--hero:hover { transform: rotate(-2deg) translate(-2px,-2px); }

.btn--ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 1.1rem 1.6rem;
  border: 1.6px solid var(--green);
  border-radius: 999px;
  text-decoration: none;
  background: transparent; color: var(--green);
  transform: rotate(1deg);
  transition: background .15s, color .15s;
}
.btn--ghost:hover { background: var(--green); color: var(--bg); }

.hero__note { margin-top: 1.3rem; font-family: var(--font-mono); font-size: .82rem; color: var(--muted); animation: fvUp .8s .5s both; }
.hero__note b { color: var(--teal); }

/* ==========================================================================
   Country marquee band
   ========================================================================== */
.marquee {
  position: relative;
  margin: clamp(1rem,3vw,2.5rem) 0;
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--green);
  color: var(--bg);
  border-top: 3px solid var(--lime);
  border-bottom: 3px solid var(--lime);
  transform: rotate(-4.5deg) scale(1.06);
}
.marquee__track { display: flex; width: max-content; animation: fvMarq 28s linear infinite; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; gap: 2.2rem;
  padding-right: 2.2rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem,2.4vw,1.6rem);
  white-space: nowrap;
}
.marquee__item { display: inline-flex; align-items: center; gap: .55rem; }
.marquee__item img { height: .78em; width: auto; border-radius: 3px; box-shadow: 0 1px 5px rgba(0,0,0,.32); }
.marquee__item--ru { color: var(--lime-bright); }
/* hand-drawn waving flag (inline SVG) for the РФ item — always renders crisp */
.marquee__flag { height: 1.15em; width: auto; overflow: visible; filter: drop-shadow(0 2px 4px rgba(0,0,0,.42)); }
.marquee__flag .fvcloth { transform-origin: 8px 18px; animation: fvFlagWave 3.8s ease-in-out infinite; }
@keyframes fvFlagWave {
  0%, 100% { transform: skewY(-1.1deg) scaleY(1); }
  50%      { transform: skewY(1.5deg)  scaleY(1.035); }
}
.marquee__sep { color: var(--lime); }

/* ==========================================================================
   12-column grid (connect / how-to / showcase)
   ========================================================================== */
.grid-12 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem,3vw,2.5rem);
  align-items: center;
}

/* shared section title & lead */
.section-title {
  margin: .7rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .92;
  font-size: clamp(2.2rem,5.5vw,4.2rem);
  text-shadow: 4px 4px 0 rgba(28,86,56,.14);
}
.section-title .accent { color: var(--teal); }
.lead { margin: 1.1rem 0 0; max-width: 38ch; font-size: 1.02rem; font-weight: 500; color: var(--ink-soft); }

/* numbered steps */
.steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.05rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step__num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
  color: var(--dark);
}
.step__num--1 { background: var(--lime);  transform: rotate(-6deg); }
.step__num--2 { background: var(--mint);  transform: rotate(5deg); }
.step__num--3 { background: var(--amber); transform: rotate(-4deg); }
.step__num--4 { background: var(--pink);  transform: rotate(5deg); }
.step__text { padding-top: .35rem; font-size: 1.05rem; font-weight: 500; }

/* inline keycap highlight */
.kbd {
  background: var(--dark); color: var(--lime);
  font-family: var(--font-mono); font-size: .82em;
  padding: .14em .5em; border-radius: 7px;
  white-space: nowrap;
}

/* skewed info pill */
.note-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.8rem;
  padding: .6rem 1rem;
  background: var(--dark); color: var(--lime);
  font-family: var(--font-mono); font-size: .8rem;
  border-radius: 999px;
  transform: skew(-6deg);
}
.note-pill > span { transform: skew(6deg); }
.note-pill__icon { font-size: 1.1rem; }

/* ==========================================================================
   Connect / QR section
   ========================================================================== */
.connect { scroll-margin-top: 84px; }
.connect .section-title { margin: .8rem 0 0; font-size: clamp(2.4rem,6vw,4.6rem); }
.connect .lead { max-width: 36ch; }
.connect .steps { margin-top: 2rem; gap: 1rem; }
.connect__copy { grid-column: 1 / span 6; }

.connect__glyph { left: -2vw; bottom: -6vw; font-size: 30vw; -webkit-text-stroke: 2px rgba(21,122,119,.1); }
.blob--connect-1 {
  right: 3%; top: 6%;
  width: 22vw; height: 22vw; max-width: 300px; max-height: 300px;
  background: radial-gradient(circle, #E89AB0, transparent 68%);
  filter: blur(24px); opacity: .34;
  animation: fvDrift 15s ease-in-out infinite;
}
.blob--connect-2 {
  left: 24%; bottom: 2%;
  width: 16vw; height: 16vw; max-width: 220px; max-height: 220px;
  background: radial-gradient(circle, #9FDB3F, transparent 70%);
  filter: blur(20px); opacity: .3;
  animation: fvDrift 12s ease-in-out infinite reverse;
}

/* QR card */
.qr-card-wrap { grid-column: 8 / span 5; position: relative; }
.qr-card__back {
  position: absolute;
  inset: -1.5rem -1rem -2.5rem 1.5rem;
  background: var(--lime-deep);
  border-radius: 30px;
  transform: rotate(5deg);
  z-index: 0;
}
.qr-card {
  position: relative;
  z-index: 2;
  padding: clamp(1.4rem,3vw,2.2rem);
  background: var(--card);
  border: 2px solid var(--dark);
  border-radius: 26px;
  box-shadow: 12px 12px 0 var(--green);
  transform: rotate(-2deg);
  cursor: pointer;
  transition: transform .2s;
}
.qr-card:hover { transform: rotate(-2deg) translateY(-4px); }
.qr-card__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.qr-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.qr-card__tag {
  font-family: var(--font-mono); font-size: .7rem; color: var(--teal);
  border: 1.4px solid rgba(21,122,119,.4);
  padding: .25rem .55rem; border-radius: 999px;
}
.qr-card__code {
  width: 100%; aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: #fff;
  border: 1.5px solid rgba(16,20,12,.1);
  border-radius: 14px;
  padding: 10px;
}
.qr-card__code svg { display: block; }
.qr-card__code-ph { font-family: var(--font-mono); font-size: .75rem; color: var(--muted-2); }
.qr-card__actions { display: grid; gap: .6rem; margin-top: 1rem; }
.qr-card__add {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: 1.05rem 1rem;
  background: var(--green); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--dark); border-radius: 14px;
  box-shadow: 5px 5px 0 var(--lime);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.qr-card__add:hover { background: #16452d; transform: translateY(-2px); box-shadow: 7px 7px 0 var(--lime); }
.qr-card__add:active { transform: translateY(0); box-shadow: 3px 3px 0 var(--lime); }
.qr-card__add-ic { font-size: 1.25rem; line-height: 1; font-weight: 700; }
.qr-card__copy {
  width: 100%;
  padding: .95rem 1rem;
  background: var(--lime); color: var(--dark);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  border: 2px solid var(--dark); border-radius: 14px;
  cursor: pointer;
  transition: background .15s;
}
.qr-card__copy:hover { background: var(--lime-bright); }
.qr-card__hint { text-align: center; margin-top: .7rem; font-family: var(--font-mono); font-size: .7rem; color: var(--muted-2); }

/* ==========================================================================
   How-to (QR instruction) section
   ========================================================================== */
.howto { padding: clamp(2rem,5vw,4.5rem) clamp(1.2rem,4vw,3.5rem); }
.howto .grid-12 { gap: clamp(1.5rem,3vw,3rem); }
.howto .section-title { font-size: clamp(2.2rem,5.5vw,4.2rem); }

.blob--howto-1 {
  right: 6%; top: 10%;
  width: 18vw; height: 18vw; max-width: 240px; max-height: 240px;
  background: radial-gradient(circle, #9FDB3F, transparent 70%);
  filter: blur(22px); opacity: .3;
  animation: fvDrift 13s ease-in-out infinite;
}
.howto__media { grid-column: 1 / span 6; position: relative; display: flex; justify-content: center; min-width: 260px; }
.howto__media-bg {
  position: absolute;
  inset: 8% 2% 6% 4%;
  background: linear-gradient(150deg, #BCE645, #7FE3D8);
  border-radius: 42px;
  transform: rotate(-5deg);
  z-index: 0;
  box-shadow: 16px 16px 0 rgba(28,86,56,.18);
}
.howto__media-glyph {
  position: absolute; left: 6%; top: 4%;
  font-family: var(--font-display); font-size: 10vw; line-height: .7;
  color: transparent; -webkit-text-stroke: 2px rgba(241,239,226,.6);
  pointer-events: none; z-index: 1;
}
.howto__img {
  position: relative; z-index: 2;
  width: min(100%, 600px); height: auto;
  filter: drop-shadow(0 24px 42px rgba(28,86,56,.3));
  animation: fvBob 7s ease-in-out infinite;
}
.howto__copy { grid-column: 7 / span 6; }

/* ==========================================================================
   Pricing section
   ========================================================================== */
.pricing { scroll-margin-top: 84px; }
.pricing .section-title { font-size: clamp(2.4rem,6vw,4.6rem); line-height: .9; }

.blob--pricing-1 {
  left: -3%; top: 16%;
  width: 24vw; height: 24vw; max-width: 320px; max-height: 320px;
  background: radial-gradient(circle, #7FE3D8, transparent 68%);
  filter: blur(26px); opacity: .34;
  animation: fvDrift 14s ease-in-out infinite;
}
.blob--pricing-2 {
  right: 5%; bottom: 4%;
  width: 18vw; height: 18vw; max-width: 240px; max-height: 240px;
  background: radial-gradient(circle, #E8B23A, transparent 70%);
  filter: blur(22px); opacity: .3;
  animation: fvDrift 16s ease-in-out infinite reverse;
}
.pricing__head {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.pricing__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.4rem,3vw,2.2rem);
  margin-top: clamp(2rem,4vw,3.2rem);
}

.price-card {
  position: relative;
  padding: clamp(1.6rem,3vw,2.4rem);
  border: 2px solid var(--dark);
  border-radius: 26px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s cubic-bezier(.2,.7,.2,1);
}
.price-card--eu { background: var(--card); box-shadow: 10px 10px 0 var(--teal); transform: rotate(-1.5deg); }
.price-card--eu:hover { transform: rotate(-1.5deg) translate(-2px,-8px); box-shadow: 16px 22px 0 var(--teal); }
.price-card--bs { background: var(--dark); color: var(--bg); box-shadow: 10px 10px 0 var(--lime); transform: rotate(2deg); }
.price-card--bs:hover { transform: rotate(2deg) translate(-2px,-8px); box-shadow: 16px 22px 0 var(--lime); }

/* aurora glow inside cards */
.aurora-wrap { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; z-index: -1; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; }
.aurora--eu-1 { width: 62%; height: 62%; left: -12%; top: -16%;  background: radial-gradient(circle, rgba(124,227,216,.5), transparent 70%);  filter: blur(26px); animation: fvAurora1 15s ease-in-out infinite; }
.aurora--eu-2 { width: 56%; height: 56%; right: -12%; bottom: -18%; background: radial-gradient(circle, rgba(188,230,69,.42), transparent 70%); filter: blur(28px); animation: fvAurora2 18s ease-in-out infinite; }
.aurora--bs-1 { width: 64%; height: 64%; left: -14%; top: -16%;  background: radial-gradient(circle, rgba(188,230,69,.3), transparent 70%);  filter: blur(30px); animation: fvAurora1 16s ease-in-out infinite; }
.aurora--bs-2 { width: 58%; height: 58%; right: -12%; bottom: -16%; background: radial-gradient(circle, rgba(124,227,216,.28), transparent 70%); filter: blur(32px); animation: fvAurora2 19s ease-in-out infinite; }

.price-card__badge {
  position: absolute; top: -16px; right: 18px; z-index: 3;
  padding: .45rem .9rem;
  background: var(--lime); color: var(--dark);
  font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .06em;
  border: 2px solid var(--dark); border-radius: 999px;
  transform: rotate(6deg);
}
.price-card__kicker { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--teal); }
.price-card--bs .price-card__kicker { color: var(--lime); }
.price-card__price { display: flex; align-items: baseline; gap: .3rem; margin: 1rem 0 .3rem; }
.price-card__amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem,7vw,4.4rem); line-height: .9; }
.price-card--bs .price-card__amount {
  background: linear-gradient(100deg, #BCE645, #7FE3D8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-card__cur { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.price-card__per { font-family: var(--font-mono); font-size: .85rem; color: var(--muted); }
.price-card--bs .price-card__per { color: var(--muted-2); }
.price-card__sub { margin: 0 0 1.3rem; color: var(--muted); font-size: .95rem; }
.price-card--bs .price-card__sub { color: var(--muted-3); }
.price-card__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.price-card__features li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.tick { color: var(--teal); font-weight: 800; }
.price-card--bs .tick { color: var(--lime); }
.feature-mono { font-family: var(--font-mono); font-size: .85rem; }
.price-card--bs .feature-mono { color: var(--muted-3); }

.price-card__cta {
  position: relative; overflow: hidden;
  display: block; text-align: center;
  margin-top: 1.8rem; padding: 1rem;
  font-family: var(--font-display); font-weight: 700;
  border-radius: 14px; text-decoration: none;
  transition: all .15s;
}
.price-card__cta--outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.price-card__cta--outline:hover { background: var(--dark); color: var(--bg); }
.price-card__cta--lime { background: var(--lime); color: var(--dark); border: 2px solid var(--lime); }
.price-card__cta--lime:hover { background: var(--lime-bright); border-color: var(--lime-bright); }

/* ==========================================================================
   Phone showcase
   ========================================================================== */
.showcase {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2rem,5vw,4rem);
  padding: clamp(3rem,6vw,5.5rem) clamp(1.2rem,4vw,3.5rem);
}
.showcase__skew { position: absolute; inset: 0; z-index: 0; background: var(--teal); transform: skewY(-4deg); transform-origin: top left; }
.showcase__inner {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem; align-items: center;
}
.showcase__copy { grid-column: 1 / span 5; color: var(--bg); }
.showcase .eyebrow { color: var(--lime); }
.showcase__title {
  margin: .7rem 0 1.4rem;
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: -.03em; line-height: .92;
  font-size: clamp(2.2rem,5.5vw,4.2rem);
  text-shadow: 4px 4px 0 rgba(0,0,0,.2);
}
.showcase__lead { max-width: 40ch; font-size: 1.1rem; font-weight: 500; color: #D7EFEC; }
.showcase__tags { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.tag {
  padding: .5rem .9rem;
  background: rgba(241,239,226,.12);
  border: 1.4px solid rgba(241,239,226,.35);
  color: var(--bg);
  font-family: var(--font-mono); font-size: .78rem;
  border-radius: 999px;
}
.tag--accent { background: var(--lime); color: var(--dark); border: none; font-weight: 600; }
.showcase__media { grid-column: 6 / span 7; position: relative; display: flex; justify-content: center; padding: .25rem; }
.showcase__glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, #BCE645, transparent 65%);
  filter: blur(26px); opacity: .55;
  animation: fvDrift 12s ease-in-out infinite;
}
.showcase__img {
  position: relative; z-index: 2;
  width: min(100%, 920px); height: auto;
  filter: drop-shadow(0 30px 48px rgba(0,0,0,.45));
  animation: fvBob 7s ease-in-out infinite;
}

/* ==========================================================================
   Footer CTA
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--bg);
  padding: clamp(3.5rem,7vw,6.5rem) clamp(1.2rem,4vw,3.5rem) 2.5rem;
}
.footer__glyph {
  right: -4vw; bottom: -14vw;
  font-weight: 900; font-size: 38vw;
  -webkit-text-stroke: 2px rgba(188,230,69,.14);
}
.footer__inner { position: relative; z-index: 2; max-width: 1480px; margin: 0 auto; }
.footer__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 900;
  letter-spacing: -.04em; line-height: .86;
  font-size: clamp(3rem,11vw,9rem);
  text-shadow: 5px 6px 0 rgba(0,0,0,.32);
}
.footer__title span { color: var(--lime); }
.footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.footer-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1.2rem 2rem;
  background: var(--lime); color: var(--dark);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem,2.2vw,1.25rem);
  border-radius: 999px; text-decoration: none;
  box-shadow: 9px 9px 0 var(--teal);
  transform: rotate(-1.5deg);
  transition: transform .15s;
}
.footer-cta:hover { transform: rotate(-1.5deg) translate(-2px,-2px); }
.footer__trial {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.15rem;
  background: rgba(188,230,69,.12);
  border: 1.5px solid rgba(188,230,69,.55);
  color: var(--bg);
  font-family: var(--font-mono); font-size: 1rem;
  border-radius: 999px;
}
.footer__trial .star { font-size: 1.15rem; color: var(--lime); }
.footer__trial b { color: var(--lime); font-weight: 700; }
.footer__meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: clamp(3rem,6vw,5rem);
  padding-top: 1.6rem;
  border-top: 1.5px solid rgba(241,239,226,.16);
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted-2);
}
.footer__brand { display: flex; align-items: center; gap: .6rem; }
.footer__brand img { width: 30px; height: auto; }
.footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono); font-size: .78rem;
}
.footer__legal a {
  color: var(--muted-2); text-decoration: none;
  border-bottom: 1px solid rgba(241,239,226,.25);
  padding-bottom: 1px; transition: color .15s, border-color .15s;
}
.footer__legal a:hover { color: var(--lime); border-color: var(--lime); }
.footer__legal-dot { color: var(--muted-2); opacity: .6; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fvMarq   { to { transform: translateX(-50%); } }
@keyframes fvSpin   { to { transform: rotate(360deg); } }
@keyframes fvUp     { from { transform: translateY(34px); } to { transform: translateY(0); } }
@keyframes fvDrift  { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } }
@keyframes fvPulse  { 0%,100% { box-shadow: 9px 9px 0 var(--green); } 50% { box-shadow: 5px 5px 0 var(--green); } }
@keyframes fvBob    { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes fvSheen2 { 0% { left: -60%; } 60% { left: 150%; } 100% { left: 150%; } }
@keyframes fvAurora1{ 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20%,14%) scale(1.2); } }
@keyframes fvAurora2{ 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18%,-12%) scale(1.16); } }
@keyframes fvGift   { 0% { box-shadow: 0 0 0 0 rgba(232,154,176,.6); } 70% { box-shadow: 0 0 0 11px rgba(232,154,176,0); } 100% { box-shadow: 0 0 0 0 rgba(232,154,176,0); } }

/* ==========================================================================
   Responsive — stack two-column grids on smaller screens
   ========================================================================== */
@media (max-width: 880px) {
  .connect .grid-12,
  .howto .grid-12,
  .showcase__inner {
    grid-template-columns: 1fr;
  }
  .connect__copy,
  .qr-card-wrap,
  .howto__media,
  .howto__copy,
  .showcase__copy,
  .showcase__media {
    grid-column: auto;
  }
  .qr-card-wrap { max-width: 420px; margin: 1rem auto 3rem; }
  /* keep the QR ahead of the instruction steps on mobile */
  .connect__copy { order: 2; }
  .qr-card-wrap  { order: 1; }
}

/* header: stack nav under the brand so it stops overlapping the logo */
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: .7rem .9rem; }
  .brand { flex: 0 0 auto; }
  .nav { flex: 1 1 100%; justify-content: flex-start; }
  .brand__logo { width: 40px; }
}

@media (max-width: 520px) {
  .site-header { gap: .55rem; padding: .8rem 1rem; }
  .nav { gap: .45rem; }
  .btn { font-size: .76rem; padding: .55rem .9rem; }

  /* QR card: kill the rotation/large decorations that overflow narrow screens */
  .qr-card-wrap { max-width: 100%; margin: .5rem 0 2.5rem; }
  .qr-card { transform: none; box-shadow: 7px 7px 0 var(--green); }
  .qr-card:hover { transform: translateY(-4px); }
  .qr-card__back { inset: -1rem -.6rem -1.4rem 1rem; transform: rotate(4deg); }
  .qr-card__code { padding: 8px; }
}

/* respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
