/* ============================================================================
   EarnLines — marketing site  ·  Figma 1:1 redesign
   Design tokens sampled directly from the Figma mockups.
   ========================================================================== */

/* ---------- Tokens -------------------------------------------------------- */
:root {
  --purple:        #671EF7;
  --purple-bright: #7A2BFF;
  --purple-deep:   #4A12C0;
  --purple-ink:    #5B17D6;
  --light-purple:  #F6EEFF;
  --light-purple-2:#EFE7FF;

  --green-1: #42BC84;
  --green-2: #91D148;

  --ink:    #16161D;   /* headings */
  --body:   #5C5C6E;   /* paragraph text */
  --muted:  #8A8A9A;   /* small / meta */
  --line:   #ECECF1;   /* hairline borders */
  --card:   #FFFFFF;
  --bg:     #FFFFFF;
  --footer-bg: #F6F6F6;

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(22,22,29,.05);
  --shadow:    0 18px 50px rgba(22,22,29,.08);
  --shadow-card: 0 12px 36px rgba(80,40,200,.10);

  --container: 1108px;   /* 1060px content + 2x24 padding */
  --hero-grad: linear-gradient(205deg, #661DF7 0%, #5733F8 48%, #3677F9 100%);
  --green-grad: linear-gradient(100deg, var(--green-1) 0%, var(--green-2) 100%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Layout ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
/* The nav is deliberately wider than the content column in the design. */
.site-header .container, .mobile-menu { max-width: 1248px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 14px; font-weight: 700; letter-spacing: .2px;
  color: var(--purple);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: #D9C9FF; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; }
.h1 { font-size: clamp(32px, 4.1vw, 50px); font-weight: 700; }
.h2 { font-size: clamp(25px, 2.9vw, 36px); font-weight: 700; }
.h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; }
.lead { font-size: 16px; color: var(--body); max-width: 560px; }
.section-head { max-width: 620px; margin: 0 auto 56px; }
.section-head .lead { margin: 14px auto 0; }
.text-purple { color: var(--purple); }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  padding: 13px 26px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark   { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(22,22,29,.25); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-bright); box-shadow: 0 10px 26px rgba(103,30,247,.34); }
.btn-white  { background: #fff; color: var(--ink); }
.btn-white:hover { box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.btn-ghost  { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ============================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(22,22,29,.06);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo .gem { width: 24px; height: 24px; flex: none; }
/* real logo images (white for dark bg, color for light/scrolled) */
.logo img { height: 28px; width: auto; display: block; }
.nav.on-dark .l-white { display: block; }
.nav.on-dark .l-color { display: none; }
.nav.on-light .l-white { display: none; }
.nav.on-light .l-color { display: block; }
.site-header.scrolled .nav.on-dark .l-white { display: none; }
.site-header.scrolled .nav.on-dark .l-color { display: block; }
.footer-brand .logo img { height: 28px; }
/* real store badges */
.store-badges img { height: 46px; width: auto; }
.platforms img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav-links a { font-size: 15px; font-weight: 500; opacity: .92; transition: opacity .15s; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav.on-dark, .nav.on-dark a, .nav.on-dark .logo { color: #fff; }
.site-header.scrolled .nav.on-dark,
.site-header.scrolled .nav.on-dark a,
.site-header.scrolled .nav.on-dark .logo { color: var(--ink); }
.nav.on-light, .nav.on-light a, .nav.on-light .logo { color: var(--ink); }
/* keep solid-white button text dark even on the dark nav */
.nav.on-dark .btn-white { color: var(--ink); }
.nav.on-dark .btn-purple, .nav.on-light .btn-purple { color: #fff; }
/* On light headers the design shows Sign in as a solid BLACK pill and
   Download as a light-gray pill (not plain white/transparent). */
.nav.on-light .btn-white { background: var(--ink); color: #fff; }
.nav.on-light .btn-ghost { background: #F1F1F3; color: var(--ink); border-color: transparent; }
/* Design marks the current page with a grey pill, not just bold text. */
.nav.on-light .nav-links a.is-active { background:#F1F1F3; border-radius:var(--radius-pill); padding:7px 14px; }
.nav.on-dark .nav-links a.is-active { font-weight:700; opacity:1; }
.site-header.scrolled .nav.on-dark .nav-links a.is-active { background:#F1F1F3; border-radius:var(--radius-pill); padding:7px 14px; }

/* Design's nav has no language switcher — hide the visible control to match
   the Figma 1:1 (the i18n machinery in i18n.js still works, it just isn't
   surfaced as a nav button). */
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-switch.__legacy { position: relative; }
.lang-switch > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; color: inherit; font-size: 15px; font-weight: 500;
  padding: 6px 8px; border-radius: 8px;
}
.lang-menu {
  position: absolute; right: 0; top: 120%;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 6px; min-width: 168px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .16s;
}
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink) !important; font-size: 14px; }
.lang-menu a:hover { background: var(--light-purple); }
.lang-menu { max-height: 60vh; overflow-y: auto; }
/* Mobile language chooser (inside the mobile menu) */
.lang-menu-mobile { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 4px; margin-top: 6px; border-top: 1px solid var(--line); }
.lang-menu-mobile a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink) !important; }
.lang-menu-mobile a:hover { background: var(--light-purple); }

.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; color: inherit; }
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s; }

.mobile-menu { display: none; }

/* ============================================================================
   Hero (purple)
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero-grad);
  color: #fff;
  margin-top: -76px;
  padding: 110px 0 70px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 70% -12%, rgba(255,255,255,.16), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero h1 { color: #fff; max-width: 780px; margin: 8px auto 0; }
.hero .lead { color: rgba(255,255,255,.86); margin: 18px auto 0; }
.hero-devices { margin: 26px auto 0; max-width: 1040px; }
.hero-devices img { width: 100%; height: auto; }
/* composed hero: clean phones + floating cards */
.hero-stage { position: relative; max-width: 1080px; margin: 36px auto 0; }
.hero-stage .phones-main { display: block; width: 54%; max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.hero-card { position: absolute; width: 29%; max-width: 318px; height: auto; z-index: 3; filter: drop-shadow(0 18px 36px rgba(20,10,60,.22)); }
.hero-card.hc-tl { top: 4%;  left: 0; }
.hero-card.hc-tr { top: 0;   right: 0; }
.hero-card.hc-ml { top: 46%; left: 0;  z-index: 1; }
.hero-card.hc-mr { top: 40%; right: 0; z-index: 1; }
@media (max-width: 820px) {
  .hero-stage .phones-main { width: 66%; }
  .hero-card { width: 40%; }
  .hero-card.hc-ml, .hero-card.hc-mr { display: none; }
}

.page-hero {
  background: var(--hero-grad); color: #fff; text-align: center;
  margin-top: -76px; padding: 150px 0 90px; position: relative; overflow: hidden;
}
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(800px 380px at 50% -20%, rgba(255,255,255,.16), transparent 60%); }
.page-hero h1 { color: #fff; position: relative; }
.page-hero .lead { color: rgba(255,255,255,.86); margin: 16px auto 0; position: relative; }
.page-hero .crumbs { position: relative; color: rgba(255,255,255,.7); font-size: 14px; margin-top: 18px; }
.page-hero .crumbs a { color: #fff; }

/* ============================================================================
   Feature cards (Why earnlines)
   ========================================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
  text-align: center; /* design centres the "Why earnlines?" cards */
}
.feature-card .feature-illu, .feature-card .feature-illu-img { margin-left: auto; margin-right: auto; }
.feature-card .feature-illu-img { justify-content: center; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-illu {
  width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--light-purple);
}
.feature-illu svg { width: 32px; height: 32px; color: var(--purple); }
/* image illustration variant (no background square) */
.feature-illu-img { height: 78px; margin-bottom: 14px; display: flex; align-items: center; }
.feature-illu-img img { height: 78px; width: auto; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--body); }

/* ============================================================================
   Calculator (purple band)
   ========================================================================== */
.calc-band { background: linear-gradient(90deg, #661DF7 0%, #347AF9 100%); color: #fff; position: relative; overflow: hidden; }
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.calc-band h2 { color: #fff; }
.calc-band .lead { color: rgba(255,255,255,.85); }
.calc-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: 0 30px 60px rgba(30,10,90,.3);
}
.calc-card .earned-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.calc-avatars { width: 100px; height: auto; flex: none; }
.calc-card .total-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.calc-card .total-val { font-weight: 800; font-size: 20px; }
.calc-card .you-earn { font-size: 26px; font-weight: 800; color: var(--ink); margin-top: 8px; letter-spacing:-.02em; }
.calc-card .earn-amt { font-size: 44px; font-weight: 800; color: var(--purple); line-height: 1.1; }
.calc-field { margin-top: 18px; }
.calc-field label { display:block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.calc-field .gb { font-size: 22px; font-weight: 700; margin-top: 4px; }
input[type=range] { width: 100%; accent-color: var(--purple); margin-top: 10px; }
.range-ends { display: none; }
.range-row { display:flex; align-items:center; gap:12px; margin-top:14px; }
.range-row span { font-size:14px; font-weight:700; color:var(--ink); flex:none; }
.range-row input[type=range] { flex:1; margin:0; }

/* ============================================================================
   Task cards (Games / Surveys / Quests)
   ========================================================================== */
.tasks-head { display:grid; grid-template-columns: 1.4fr 1fr; gap:40px; align-items:center; margin-bottom:48px; }
.tasks-head .earn-callout { text-align:left; }
.tasks-head .earn-callout .dot { width:40px;height:40px;border-radius:50%;background:var(--green-1);display:grid;place-items:center;color:#fff;margin-bottom:12px; }
.tasks-head .earn-callout .lbl { color:var(--body); font-size:18px; }
.tasks-head .earn-callout .big { font-size:30px; font-weight:800; }
@media (max-width:900px){ .tasks-head{ grid-template-columns:1fr; gap:20px; } }
.tasks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.task-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); text-align: center; }
.task-card .task-icon { margin-left: auto; margin-right: auto; }
.task-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; }
.task-icon svg { width: 26px; height: 26px; color:#fff; }
.task-icon.orange { background: linear-gradient(135deg,#FF9E45,#FF7A2F); }
.task-icon.violet { background: linear-gradient(135deg,#8B5CF6,#671EF7); }
.task-icon.pink   { background: linear-gradient(135deg,#C04BE6,#8B2FD6); }
.task-card h3 { font-size: 18px; margin-bottom: 8px; }
.task-card p { font-size: 14.5px; color: var(--body); }
.earn-pill { display:inline-flex; align-items:center; gap:8px; background: var(--light-purple); color: var(--purple); font-weight:700; padding:8px 14px; border-radius: var(--radius-pill); }
.earn-pill .dot { width:26px;height:26px;border-radius:50%;background:var(--green-1);display:grid;place-items:center;color:#fff; }

/* ============================================================================
   Share & Earn (light purple)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero .split .why-text { max-width: 430px; }
/* Contact + SDK partner sections top-align their heading to the form card. */
.section:not(.hero) .split { align-items: start; }
.bg-light-purple { background: var(--light-purple); }
.bg-offwhite { background: #FAFAFB; }
.safe-badge { display:flex; gap:14px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:18px 20px; box-shadow: var(--shadow-sm); margin-top: 22px; }
.safe-badge .check { width:40px;height:40px;border-radius:12px;background:var(--green-grad);display:grid;place-items:center;color:#fff;flex:none; }
.safe-badge h4 { font-size:15px; }
.safe-badge p { font-size:13.5px;color:var(--body); }

/* ============================================================================
   Invite (coins)
   ========================================================================== */
.invite-illu { max-width: 760px; margin: 26px auto 0; }
/* Design puts faint concentric ripple rings behind the invite illustration. */
.invite-band { position: relative; overflow: hidden; }
.invite-band::before {
  content:""; position:absolute; left:50%; bottom:-14%; width:1100px; height:1100px;
  transform:translateX(-50%); z-index:0; pointer-events:none;
  background: repeating-radial-gradient(circle, rgba(103,30,247,.07) 0 1px, transparent 1px 58px);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 78%);
          mask-image: radial-gradient(closest-side, #000 40%, transparent 78%);
}
.invite-band > .container { position: relative; z-index: 1; }
.split img { border-radius: var(--radius); }
.qr-card img { border-radius: 8px; }

/* ============================================================================
   Green secure band
   ========================================================================== */
/* Full-bleed green "100% secure" band (Home) — spans edge to edge like the design. */
.green-section { background: var(--green-grad); color:#fff; position:relative; overflow:hidden; padding: 72px 0; }
.green-section::after { content:""; position:absolute; right:2%; top:50%; transform:translateY(-50%); width:300px; height:300px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.4'%3E%3Cpath d='M12 2 4 6v6c0 5 8 10 8 10s8-5 8-10V6l-8-4Z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat; opacity:.14; }
/* Design: big solid white shield to the LEFT of a 4-line display heading. */
.green-inner { display:flex; align-items:flex-start; gap:26px; }
.green-section .shield { width:56px; height:56px; flex:none; background:none; margin:0; display:block; }
.green-section .shield svg { width:56px; height:56px; }
.green-copy { max-width:640px; }
.green-section h2 { font-size:clamp(28px,3.4vw,42px); line-height:1.18; }
.green-sub { font-size:13.5px; color:rgba(255,255,255,.82); margin-top:16px; }
.green-sub a { color:#fff; text-decoration:underline; font-weight:600; }
.green-section h2 { color:#fff; position:relative; }
.green-section p { color:rgba(255,255,255,.9); position:relative; max-width:560px; margin-top:14px; }

.green-band { background: var(--green-grad); color:#fff; position: relative; overflow:hidden; border-radius: var(--radius-lg); }
.green-band::after { content:""; position:absolute; right:-40px; top:50%; transform:translateY(-50%); width:340px;height:340px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; opacity:.12; }
.green-band h2 { color:#fff; position:relative; max-width:560px; }
.green-band p { color: rgba(255,255,255,.9); position:relative; max-width: 540px; margin-top:14px; }
.green-band .shield { width:54px;height:54px;border-radius:14px;background:rgba(255,255,255,.18);display:grid;place-items:center;margin-bottom:18px; }

/* ============================================================================
   About — hero cards, dark section, testimonials
   ========================================================================== */
.about-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; text-align:left; }
.about-card { background:#fff; border-radius:var(--radius-lg); padding:26px 24px; box-shadow:0 24px 50px rgba(30,10,90,.22); }
.about-card .feature-illu { margin-bottom:14px; }
.about-card h3 { font-size:19px; margin-bottom:14px; }
.check-list li { display:flex; align-items:center; gap:10px; font-size:14.5px; color:var(--body); padding:6px 0; }
.check-list li svg { width:12px; height:12px; color:#fff; flex:none;
  box-sizing:content-box; padding:4px; border-radius:50%; background:var(--purple); }

.dark-section { background:#0E0E12; color:#fff; position:relative; overflow:hidden; }
.dark-section .split { align-items:center; }
.dark-section h2 { color:#fff; margin-bottom:18px; }
.dark-section p { color:rgba(255,255,255,.7); font-size:15.5px; margin-bottom:16px; max-width:520px; }
.dark-gem { display:grid; place-items:center; }
.dark-gem svg { width:170px; height:170px; filter: drop-shadow(0 20px 50px rgba(103,30,247,.5)); }
.dark-gem img { width:170px; max-width:60%; height:auto; filter: drop-shadow(0 20px 60px rgba(103,30,247,.55)); }

.testi-head { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:34px; }
.testi-head .h2 { margin:0; }
.testi-head p { color:var(--muted); margin:12px 0 0; max-width:440px; font-size:15px; }
.testi-arrows { display:flex; gap:12px; flex:0 0 auto; }
.testi-arrows button { width:46px; height:46px; border-radius:50%; border:1.5px solid var(--line); background:#fff; display:grid; place-items:center; color:var(--ink); cursor:pointer; transition:background .18s,color .18s,border-color .18s; }
.testi-arrows button svg { width:20px; height:20px; }
.testi-arrows button:hover { background:var(--ink); color:#fff; border-color:var(--ink); }
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.testi-card { background:#EEF4FE; border:1px solid transparent; border-radius:20px; padding:24px; display:flex; gap:20px; box-shadow:none; }
.testi-grid .testi-card:nth-child(2) { background:#F6EEFE; }
.testi-grid .testi-card:nth-child(3) { background:#EEF4FE; }
.stars { color:#FFB020; font-size:15px; letter-spacing:2px; margin-bottom:10px; }
.testi-person { flex:0 0 86px; display:flex; flex-direction:column; align-items:center; text-align:center; position:relative; }
.testi-person::before { content:"\201C"; position:absolute; left:-10px; top:-10px; width:30px; height:30px;
  border-radius:50%; background:#fff; color:var(--purple); font:800 22px/34px Georgia,serif; text-align:center; z-index:1;
  box-shadow:0 2px 8px rgba(22,22,29,.10); }
.testi-photo { width:86px; height:104px; border-radius:16px; object-fit:cover; margin-bottom:12px; }
.testi-person strong { font-size:14px; color:var(--ink); }
.testi-person .role { font-size:12.5px; color:var(--muted); margin-top:2px; }
.testi-text { flex:1; min-width:0; }
.testi-text .q-mark { display:none; }
.testi-text h4 { font-size:16px; margin-bottom:8px; color:var(--ink); }
.testi-text p { font-size:14px; color:var(--body); margin:0; line-height:1.6; }
@media (max-width:980px){ .about-cards,.testi-grid{ grid-template-columns:1fr; } .dark-gem{ margin-top:24px; } .dark-gem svg{ width:160px;height:160px; } .testi-head{ flex-direction:column; align-items:flex-start; } }

/* ============================================================================
   Contact form
   ========================================================================== */
.contact-form { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:13.5px; color:var(--muted); margin-bottom:7px; }
.input, textarea.input {
  width:100%; padding:13px 16px; border:1.5px solid var(--line); border-radius:12px;
  font-family:inherit; font-size:15px; color:var(--ink); background:#fff; transition:border-color .15s;
}
.input:focus, textarea.input:focus { outline:none; border-color: var(--purple); }
textarea.input { min-height: 120px; resize: vertical; }
.check-row { display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--body); margin-bottom:16px; }

/* ============================================================================
   White hero (Contact / FAQs) + partner card + sub-page patterns
   ========================================================================== */
/* Download hero: laptop + phone combo on a radial ray-burst, matching the design. */
.dl-hero-visual { position:relative; display:flex; justify-content:center; align-items:center; padding:14px 0 34px; }
.dl-hero-visual::before {
  content:""; position:absolute; inset:-20% -16%; z-index:0;
  background:
    repeating-conic-gradient(from 0deg at 50% 46%, rgba(255,255,255,.20) 0deg 4deg, transparent 4deg 11deg),
    radial-gradient(closest-side, rgba(255,255,255,.42), rgba(255,255,255,.12) 52%, transparent 78%);
  -webkit-mask-image: radial-gradient(closest-side, #000 18%, rgba(0,0,0,.65) 46%, transparent 80%);
          mask-image: radial-gradient(closest-side, #000 18%, rgba(0,0,0,.65) 46%, transparent 80%);
}
.dl-device { position:relative; z-index:1; width:100%; max-width:600px; height:auto;
  filter: drop-shadow(0 30px 60px rgba(18,8,60,.38)); }
.laptop { position:relative; z-index:1; width:100%; max-width:540px; }
.laptop-lid {
  background:#1B1B24; border-radius:14px 14px 4px 4px; padding:10px;
  box-shadow:0 26px 60px rgba(18,8,60,.42);
}
.laptop-lid img { display:block; width:100%; border-radius:6px; }
.laptop-base {
  position:relative; height:14px; margin:0 -6%;
  border-radius:0 0 12px 12px;
  background:linear-gradient(180deg,#2A2A35,#15151C);
  box-shadow:0 14px 28px rgba(18,8,60,.35);
}
.laptop-base::after {
  content:""; position:absolute; left:50%; top:0; transform:translateX(-50%);
  width:15%; height:4px; border-radius:0 0 6px 6px; background:rgba(255,255,255,.20);
}
.dl-phone {
  position:absolute; z-index:2; right:-1%; bottom:-4%;
  width:29%; max-width:168px; height:auto;
  filter:drop-shadow(0 22px 44px rgba(18,8,60,.48));
}
@media (max-width:980px){ .dl-phone{ right:2%; width:26%; } }

.hero-white { text-align:center; padding: 56px 0 8px; }
.hero-white h1 { margin: 0 auto; font-size: clamp(26px, 2.7vw, 36px); }
.hero-white .lead { margin: 16px auto 0; }

.partner-card {
  background: linear-gradient(100deg, #661DF7 0%, #5733F8 46%, #3677F9 100%);
  color:#fff; border-radius: var(--radius-lg);
  text-align:center; padding: 48px 32px; position:relative; overflow:hidden;
}
.partner-card::before { content:""; position:absolute; inset:0; background:radial-gradient(600px 300px at 50% -30%, rgba(255,255,255,.18), transparent 60%); }
.partner-card h2 { color:#fff; position:relative; max-width:600px; margin:0 auto; font-size:clamp(26px, 3vw, 34px); }
.partner-card p { color:rgba(255,255,255,.9); position:relative; margin:14px auto 22px; max-width:520px; }
.partner-card .btn { position:relative; }

.faq-split { display:grid; grid-template-columns: 0.8fr 1.2fr; gap:48px; align-items:start; }
.faq-split .faq-list { margin:0; max-width:none; }

.steps-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 24px; box-shadow:var(--shadow-sm); text-align:left; }
.step-card .feature-illu { margin-bottom:16px; }
.step-card h3 { font-size:18px; margin-bottom:8px; }
.step-card p { font-size:14.5px; color:var(--body); }

.platforms { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:26px; }
.platforms .btn { background:rgba(255,255,255,.14); color:#fff; border:1.5px solid rgba(255,255,255,.4); }
.platforms .btn:hover { background:rgba(255,255,255,.24); }
.platforms .btn svg { width:18px;height:18px; }

.why-row { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; margin-bottom:48px; }
.why-row:nth-child(even) .why-text { order:2; }
.why-row .device-card { background:var(--hero-grad); border-radius:var(--radius-lg); padding:30px; display:grid; place-items:center; }
/* Download "Why Choose" — single unified card: accordion-style list + one phone. */
.why-card { border:1px solid var(--line); border-radius:24px; padding:36px 44px; display:grid;
  grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.why-list .why-li { padding:22px 0; border-bottom:1px solid var(--line); }
.why-list .why-li:last-child { border-bottom:0; }
.why-list .why-li .eyebrow { color:var(--purple); }
.why-list .why-li h3 { color:#12081F; margin-top:6px; }
.why-list .why-li p { margin-top:10px; }
/* collapsed items read de-emphasised (gray) */
.why-list .why-li:not(.open) .eyebrow { color:var(--muted); }
.why-list .why-li:not(.open) h3 { color:#8A8393; font-weight:700; }
.why-device { background:var(--hero-grad); border-radius:22px; padding:30px; display:grid; place-items:center; }
.why-device img { max-width:100%; border-radius:16px; }
@media (max-width:860px){ .why-card{ grid-template-columns:1fr; gap:28px; padding:26px; } }

/* Invite hero: purple warming to magenta, with faint concentric rings (per design). */
.invite-hero {
  background:
    repeating-radial-gradient(circle at 50% 44%, rgba(255,255,255,.05) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, #6A1DE0 0%, #7B1FD8 55%, #B026C9 100%);
}
.invite-hero { padding-bottom: 0; overflow: hidden; }
.invite-illu { max-width:820px; margin: 30px auto 0; }
.invite-illu img { display:block; width:100%; height:auto; }
.steps-3 .feature-illu-img { width:96px; margin:0 auto 22px; }
.steps-3 .feature-illu-img img { width:100%; height:auto; }
/* Invite "how it works" cards centered per design. */
.steps-3 .step-card { text-align:center; }
.steps-3 .step-card .feature-illu { margin:0 auto 16px; }
/* FAQ "need more support" helper card (left column). */
.support-card { display:flex; gap:12px; align-items:flex-start; background:#fff; border:1px solid var(--line);
  border-radius:14px; padding:16px 18px; max-width:300px; margin-top:24px; }
.support-card .chat-ico { color:var(--purple); flex:none; }
.support-card .chat-ico svg { width:22px; height:22px; }
.support-card p { font-weight:600; margin-bottom:2px; }
.support-card a { font-weight:700; text-decoration:underline; }
.why-row .device-card img { max-width:260px; border-radius:22px; }

.filter-tabs { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin:22px 0 0; }
.hero-white + .section-sm { padding-top: 30px; }
/* Design: unselected pills are light-gray (no border); selected is solid black. */
.filter-tabs button { border:1.5px solid transparent; background:#F1F1F3; color:var(--body); padding:9px 20px; border-radius:var(--radius-pill); font-size:14px; font-weight:600; }
.filter-tabs button.active { background:var(--ink); color:#fff; border-color:var(--ink); }

@media (max-width:980px){ .faq-split,.why-row{ grid-template-columns:1fr; gap:24px; } .steps-3{ grid-template-columns:1fr; } .why-row:nth-child(even) .why-text{ order:0; } }

/* ============================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { max-width: none; margin: 0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item { border:1px solid var(--line); border-radius:16px; background:#fff; overflow:hidden; }
.faq-q { width:100%; text-align:left; background:transparent; border:0; padding:20px 22px; font-size:16px; font-weight:600; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:16px; }
/* Design uses a plain +/− glyph (no filled circle badge). */
.faq-q .pm { flex:none; width:24px; text-align:center; background:transparent; color:var(--ink); font-size:0; transition:.2s; }
.faq-q .pm::before { content:"+"; font-size:26px; font-weight:400; line-height:1; }
.faq-item.open .pm { background:transparent; color:var(--ink); transform:none; }
.faq-item.open .pm::before { content:"\2212"; }
.faq-a { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; color:var(--body); font-size:15px; }

/* ============================================================================
   SDK page + Blog
   ========================================================================== */
.revenue-card { background:#fff; border-radius:var(--radius-lg); padding:24px; box-shadow:0 30px 60px rgba(30,10,90,.28); color:var(--ink); max-width:380px; }
.revenue-card .rc-top { display:flex; justify-content:space-between; align-items:flex-start; }
.revenue-card .rc-amt { font-size:32px; font-weight:800; }
.revenue-card .rc-up { color:#16A34A; font-size:13px; font-weight:700; }
.rc-bars { display:flex; align-items:flex-end; gap:10px; height:120px; margin-top:18px; }
.rc-bars span { flex:1; background:linear-gradient(180deg,var(--purple),#A98BFF); border-radius:6px 6px 0 0; }
.rc-bars span:nth-child(3){ background:linear-gradient(180deg,#FF9E45,#FF7A2F); }
/* ---- SDK page: revenue calculator card (matches Earnlines/SDK.png) -------- */
.calc-note { font-size: 13.5px; color: var(--body); margin-top: 10px; line-height: 1.5; }
.calc-input {
  margin-top: 6px; padding: 8px 12px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
.calc-input-cap { display: block; font-size: 11px; color: var(--muted); }
.calc-input .gb { font-size: 16px; font-weight: 700; color: var(--ink); }
.calc-cta { width: 100%; margin-top: 20px; }

/* ---- SDK page: STEP 01/02/03 integration list ---------------------------- */
.steps-list { display: flex; flex-direction: column; }
.step-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-row:first-child { padding-top: 0; }
.step-row:last-child { border-bottom: 0; }
.step-no { display: block; font-size: 12px; font-weight: 700; letter-spacing: .4px; color: var(--purple); margin-bottom: 6px; }
.step-row p { font-size: 14.5px; color: var(--body); margin-top: 8px; }

/* ---- SDK page: 2-column partner contact form ----------------------------- */
.partner-form .form-title { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { width: 100%; min-height: 110px; margin-top: 12px; resize: vertical; }
.form-submit { width: auto; padding-inline: 34px; margin-top: 14px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.revenue-img { max-width: 640px; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(30,10,90,.32)); }
@media (prefers-reduced-motion: no-preference) { .revenue-img { animation: popIn .7s .3s both, floatY 8s ease-in-out 1.2s infinite; } }

.integ-list { display:flex; flex-direction:column; gap:16px; }
.integ-item { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px 22px; box-shadow:var(--shadow-sm); }
.integ-item h4 { font-size:16px; margin-bottom:6px; display:flex; align-items:center; gap:10px; }
.integ-item .num { width:26px;height:26px;border-radius:50%;background:var(--purple);color:#fff;display:grid;place-items:center;font-size:13px;flex:none; }
.integ-item p { font-size:14px; color:var(--body); }

/* Featured card: flat light-grey panel, no border/shadow (design). */
.blog-featured { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; background:#F5F5F7; border-radius:24px; padding:40px 40px 40px 52px; }
.blog-featured .bf-img img { display:block; width:100%; height:auto; border-radius:18px; }
.blog-featured .tag,
.blog-card .tag { display:inline-block; background:var(--purple); color:#fff; font-weight:700; border-radius:var(--radius-pill); }
.blog-featured .tag { font-size:12px; padding:5px 13px; margin-bottom:16px; }
.blog-featured h2 { font-size:clamp(24px,2.5vw,31px); line-height:1.25; margin-bottom:14px; }
.blog-featured p { color:var(--body); font-size:15px; line-height:1.65; margin-bottom:14px; }
.bf-date, .bc-date { color:var(--muted); font-size:13px; }
.bc-date { margin-top:auto; }
.bf-date { margin-bottom:20px; }
.bf-cta { display:inline-block; background:var(--ink); color:#fff; font-weight:700; font-size:14px; padding:11px 24px; border-radius:var(--radius-pill); }

.contents-head { font-size:clamp(24px,2.6vw,32px); margin-bottom:4px; }
.filter-tabs.left { justify-content:flex-start; }

.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.blog-card { background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .18s,box-shadow .2s;
  display:flex; flex-direction:column; height:100%; }
.blog-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.blog-card .thumb { aspect-ratio:16/9; overflow:hidden; background:#2FD3DE; }
.blog-card .thumb img { width:100%; height:100%; object-fit:cover; }
.blog-card .bc-body { padding:18px 18px 16px; display:flex; flex-direction:column; align-items:flex-start; flex:1; }
.blog-card .tag { font-size:11px; padding:4px 11px; margin-bottom:12px; }
.blog-card h3 { font-size:19px; margin-bottom:8px; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
/* Excerpt is clamped to 3 lines like the design, so every card is the same height. */
.blog-card p { font-size:14.5px; color:var(--body); line-height:1.6; margin-bottom:14px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
@media (max-width:980px){ .blog-featured{ grid-template-columns:1fr; padding:22px; } .blog-grid{ grid-template-columns:1fr; } }

/* ============================================================================
   Article (blog detail) + legal
   ========================================================================== */
.article-wrap { max-width:820px; margin:0 auto; padding:0 24px; }
.article-hero { padding-top:40px; }
.article-hero .tag { display:inline-block; background:var(--purple); color:#fff; font-size:12px; font-weight:700; padding:5px 13px; border-radius:var(--radius-pill); margin-bottom:16px; }
.article-hero h1 { font-size:clamp(28px,4vw,42px); }
.article-meta { color:var(--muted); font-size:14px; margin-top:14px; }
.article-cover { border-radius:var(--radius-lg); overflow:hidden; margin:30px 0; }
.article-cover img, .article-figure img { display:block; width:100%; height:auto; border-radius:16px; }
.article-figure { margin:28px 0; }
.article-body h2 { font-size:24px; margin:32px 0 12px; }
.article-body p { color:var(--body); font-size:16px; line-height:1.7; margin-bottom:16px; }

/* Blog detail: article column + sticky "In This Article" TOC (design). */
.crumbs { font-size:13px; color:var(--muted); padding:26px 0 22px; }
.crumbs a { color:var(--ink); font-weight:600; }
.crumbs span { margin:0 8px; color:#C6C6CE; }
.article-layout { display:grid; grid-template-columns:minmax(0,1fr) 204px; gap:57px; align-items:start; }
.article-layout .article-hero { padding-top:0; }
.article-toc { position:sticky; top:104px; }
.article-toc h4 { font-size:15px; margin-bottom:14px; }
.article-toc a { display:block; font-size:13px; color:var(--body); padding:7px 0; line-height:1.45; }
.article-toc a:hover { color:var(--purple); }
.article-toc a.active { color:var(--ink); font-weight:700; }
.article-divider { height:1px; background:var(--line); margin:48px 0 40px; }
.related-head { font-size:clamp(22px,2.4vw,28px); margin-bottom:26px; }
@media (max-width:980px){ .article-layout { grid-template-columns:1fr; gap:0; } .article-toc { display:none; } }
.article-body ul.bullets { margin:0 0 16px; padding-left:0; }
.article-body ul.bullets li { color:var(--body); font-size:16px; padding:4px 0 4px 28px; position:relative; }
.article-body ul.bullets li::before { content:""; position:absolute; left:6px; top:14px; width:8px;height:8px;border-radius:50%;background:var(--purple); }
.back-link { display:inline-block; color:var(--purple); font-weight:600; margin-bottom:18px; }

/* ============================================================================
   Download CTA banner + footer
   ========================================================================== */
/* Download CTA banner. In the design this is a SLIM bar and the phone mockups
   spill out above/left of it rather than being boxed inside a tall block — so
   overflow must stay visible and the phones get a negative top margin. */
.dl-banner {
  /* Sampled from the design: purple on the left, blue on the right, horizontal. */
  background: linear-gradient(90deg, #6E42F9 0%, #4558F8 58%, #3578F9 100%);
  border-radius: 18px; color:#fff; position:relative; overflow:visible;
  display:grid; grid-template-columns: 300px minmax(0,1fr) auto auto; align-items:center; gap:26px;
  padding: 18px 28px;
  margin-top: 70px; /* room for the phones to overhang */
}
/* The phones spill out above AND to the left of the bar, they are not boxed inside it. */
.dl-banner .phones {
  width: 358px; max-width: none; margin: -70px 0 -10px -46px;
  position: relative; z-index: 2;
  filter: drop-shadow(0 18px 34px rgba(20,10,60,.32));
}
.dl-banner h3 { color:#fff; font-size:19px; line-height:1.38; }
.store-badges { display:flex; gap:10px; margin-top:14px; flex-wrap:nowrap; }
.store-badges img { height: 34px; }
/* vertical 'OR' divider between the store badges and the QR card (per design) */
.or-divide { display:flex; align-items:center; justify-content:center; align-self:stretch;
  color:rgba(255,255,255,.85); font-size:13px; font-weight:700; letter-spacing:.08em; position:relative; }
.or-divide::before { content:""; position:absolute; top:8px; bottom:8px; width:1px; background:rgba(255,255,255,.35); }
.or-divide span { background:transparent; padding:4px 0; position:relative; z-index:1; }
.qr-card { background:#fff; color:var(--ink); border-radius:12px; padding:12px 14px; display:flex; gap:12px; align-items:center; }
.qr-card img { width:72px; height:72px; }
.qr-card span { font-size:13.5px; font-weight:600; white-space:nowrap; line-height:1.45; }

.site-footer { background: var(--footer-bg); padding-top: 70px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.1fr; gap: 30px; padding: 56px 0 40px; }
.footer-brand .logo { color: var(--ink); margin-bottom:14px; }
.footer-brand p { color: var(--muted); font-size:14px; max-width:240px; }
.footer-col h5 { font-size:13px; color:var(--muted); font-weight:600; margin-bottom:16px; letter-spacing:.04em; }
.footer-col a { display:block; color:var(--ink); font-size:14.5px; font-weight:500; margin-bottom:12px; opacity:.9; }
.footer-col a:hover { color: var(--purple); }
.footer-social { display:flex; gap:14px; margin-bottom:22px; }
.footer-social a { width:34px;height:34px; display:grid;place-items:center; color:var(--ink); }
.footer-social svg { width:20px;height:20px; }
.get-touch h5 { font-size:13px;color:var(--muted);margin-bottom:8px; }
.get-touch .mail { font-size:14.5px; font-weight:600; }
.live-badge { background:#DCFCE7; color:#16A34A; font-size:11px; font-weight:700; padding:2px 8px; border-radius:6px; }
.footer-bottom { border-top:1px solid var(--line); padding: 22px 0 34px; display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.payout-partners { display:flex; flex-direction:column; align-items:flex-start; gap:10px; color:var(--muted); font-size:13px; }
/* Design shows real grayscale brand logos here (not a text list). */
.payout-partners .logos { display:flex; align-items:center; gap:20px; color:#9A9AA8; }
.payout-partners .pl { display:inline-flex; align-items:center; gap:5px; height:20px; }
.payout-partners .pl svg { height:20px; width:auto; display:block; }
.payout-partners .pl-word { font-size:14px; font-weight:800; font-style:italic; letter-spacing:-.2px; }
.payout-partners .pl-btc svg { height:17px; }
.payout-partners .pl-pp svg { height:16px; }
.payout-partners .pl-mc { height:16px; }
.payout-partners .pl-mc svg { height:16px; }
.copyright { color: var(--muted); font-size:13px; }

/* ============================================================================
   Skip link / scroll progress
   ========================================================================== */
.skip-link { position:fixed; left:50%; top:12px; transform:translate(-50%,-200%); background:var(--ink); color:#fff; padding:10px 18px; border-radius:10px; z-index:200; transition:transform .2s; }
.skip-link:focus { transform:translate(-50%,0); }
.scroll-progress { position:fixed; top:0; left:0; height:3px; width:0; background:linear-gradient(90deg,var(--purple),var(--green-2)); z-index:100; transition:width .1s; }

/* ============================================================================
   Animations & effects
   ========================================================================== */
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeUp { from { opacity:0; transform: translateY(26px); } to { opacity:1; transform:none; } }
@keyframes popIn { from { opacity:0; transform: scale(.94); } to { opacity:1; transform:none; } }

@media (prefers-reduced-motion: no-preference) {
  /* scroll reveal */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }

  /* hero entrance */
  .hero h1 { animation: fadeUp .7s .05s both; }
  .hero .lead { animation: fadeUp .7s .18s both; }
  .hero-devices { animation: fadeUp .8s .3s both; }
  .hero-devices img { animation: floatY 7s ease-in-out 1s infinite; }
  .hero-stage { animation: fadeUp .8s .3s both; }
  .hero-stage .phones-main { animation: floatY 7s ease-in-out 1s infinite; }
  .hero-card.hc-tl { animation: fadeUp .7s .5s both; }
  .hero-card.hc-tr { animation: fadeUp .7s .65s both; }
  .page-hero h1 { animation: fadeUp .7s .05s both; }
  .page-hero .lead { animation: fadeUp .7s .18s both; }
  .page-hero .about-cards, .page-hero .invite-illu { animation: fadeUp .8s .32s both; }

  .revenue-card { animation: popIn .7s .3s both, floatY 8s ease-in-out 1.2s infinite; }
  .calc-card { animation: popIn .7s .15s both; }
}

/* hover micro-interactions */
.btn { transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn-purple:hover, .btn-dark:hover, .btn-white:hover { transform: translateY(-2px); }
.feature-card, .task-card, .step-card, .testi-card, .about-card, .blog-card, .integ-item { transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease; }
.task-icon, .feature-illu-img img { transition: transform .25s ease; }
.task-card:hover .task-icon { transform: scale(1.08) rotate(-4deg); }
.feature-card:hover .feature-illu-img img { transform: translateY(-4px) scale(1.04); }
.lang-menu a, .footer-col a, .nav-links a { transition: color .15s ease, background .15s ease, opacity .15s ease, transform .15s ease; }
.footer-social a { transition: transform .18s ease, color .15s ease; }
.footer-social a:hover { transform: translateY(-3px); color: var(--purple); }
.store-badges .btn, .platforms .btn { transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }

/* back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--purple); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(103,30,247,.4);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--purple-bright); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .tasks-grid { grid-template-columns: 1fr; }
  .calc-wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dl-banner { grid-template-columns: 1fr; text-align:center; }
  .dl-banner .phones { margin: 0 auto; }
  .store-badges { justify-content:center; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-actions .btn-white, .nav-actions .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items:flex-start; }

  .mobile-menu.open { display:block; position:fixed; inset:0; top:0; z-index:90; background:#fff; padding:90px 28px 40px; }
  .mobile-menu a { display:block; font-size:20px; font-weight:600; padding:14px 0; border-bottom:1px solid var(--line); color:var(--ink); }
  .mobile-menu .btn { width:100%; margin-top:16px; border-bottom:0; }
  .mobile-menu a.btn-purple { color:#fff; }
  body.menu-open { overflow:hidden; }
}

/* ============================================================================
   POLISH — image depth & fit, hovers, links, gradients
   ========================================================================== */
/* consistent depth on illustration / device images */
.split img,
.invite-illu img,
.revenue-img,
.dl-banner .phones,
.why-row .device-card img { filter: drop-shadow(0 26px 50px rgba(28,12,80,.20)); }
.split img { width: 100%; height: auto; }

/* device cards on Download: contain + zoom on hover */
.why-row .device-card { overflow: hidden; }
.why-row .device-card img { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.why-row:hover .device-card img { transform: scale(1.045) translateY(-4px); }

/* blog images zoom inside their frames */
.blog-card .thumb, .blog-featured .bf-img { overflow: hidden; }
.blog-card .thumb img, .blog-featured .bf-img img { transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover .thumb img { transform: scale(1.07); }
.blog-featured:hover .bf-img img { transform: scale(1.035); }

/* nav links — animated underline */
.nav-links a { position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; right:0; bottom:-7px; height:2px; background:currentColor; border-radius:2px; transform:scaleX(0); transform-origin:left; transition:transform .24s ease; opacity:.85; }
.nav-links a:hover::after { transform: scaleX(1); }

/* in-content links — sliding underline */
.article-body a, .check-row a, .lead a, .partner-card a.text-purple, p a.text-purple {
  color: var(--purple); text-decoration: none;
  background-image: linear-gradient(var(--purple), var(--purple));
  background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .28s ease; padding-bottom: 1px;
}
.article-body a:hover, .check-row a:hover, .lead a:hover, p a.text-purple:hover { background-size: 100% 2px; }

/* read-more arrow + back link nudge */
.blog-card:hover .read { color: var(--purple-bright); }
.back-link { transition: transform .18s ease, color .15s ease; }
.back-link:hover { transform: translateX(-3px); }

/* card hover: subtle purple ring + stronger lift */
.feature-card:hover, .task-card:hover, .step-card:hover, .testi-card:hover,
.about-card:hover, .integ-item:hover, .faq-item:hover { border-color: rgba(103,30,247,.28); }
.faq-item { transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item:hover { box-shadow: 0 8px 24px rgba(22,22,29,.06); }

/* store badges / qr hover */
.store-badges a, .platforms a { transition: transform .18s ease, box-shadow .2s ease, background .2s ease; }
.store-badges a:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.qr-card { transition: transform .2s ease, box-shadow .25s ease; }
.dl-banner:hover .qr-card { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }

/* arrows inside buttons nudge on hover */
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(2px); }

/* eyebrow accent dot */
.eyebrow { position: relative; }

/* calculator slider thumb polish */
input[type=range] { height: 6px; border-radius: 999px; background: rgba(103,30,247,.15); }
.calc-band input[type=range] { background: rgba(255,255,255,.25); }

/* footer link subtle slide */
.footer-col a { transition: color .15s ease, transform .15s ease; }
.footer-col a:hover { transform: translateX(2px); }

/* lang menu item hover slide */
.lang-menu a { transition: background .15s ease, padding-left .15s ease; }
.lang-menu a:hover { padding-left: 16px; }

/* green band richer gradient + glow */
.green-band { box-shadow: 0 30px 70px rgba(66,188,132,.30); }

/* selection color on-brand */
::selection { background: rgba(103,30,247,.22); }
