/* ===================================================================
   kk — Official Site
   Brand: kk — coral/red IM app
   =================================================================== */

:root {
  /* Brand */
  --brand: #ff3b30;          /* icon red */
  --brand-coral: #e46342;    /* in-app accent */
  --grad-1: #ff8364;         /* wallet gradient start */
  --grad-2: #ff4d26;         /* wallet gradient end */
  --gold: #ffc247;           /* red-packet coin */

  /* Neutrals */
  --ink: #1d1d20;
  --text: #313131;
  --muted: #8a8a8f;
  --line: #ececec;
  --bg: #ffffff;
  --bg-soft: #fbf6f4;        /* warm off-white */
  --bg-soft2: #f6f6f6;
  --surface: #ffffff;

  /* Effects */
  --shadow-sm: 0 4px 16px rgba(20, 20, 30, .06);
  --shadow-md: 0 12px 32px rgba(228, 99, 66, .12);
  --shadow-lg: 0 30px 70px rgba(20, 20, 30, .14);
  --shadow-phone: 0 40px 80px -20px rgba(228, 70, 50, .35), 0 12px 30px rgba(0, 0, 0, .12);

  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;

  --grad: linear-gradient(135deg, var(--grad-1), var(--grad-2));
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Motion easings */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  padding: 12px 22px; white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--solid { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(255, 77, 38, .3); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 77, 38, .42); }

/* Store buttons (App Store / Android) */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1c1c1e; color: #fff; padding: 11px 20px; border-radius: 14px;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .22); }
.store-btn--android { background: linear-gradient(135deg, #2a2a2e, #161618); }
.store-btn__icon { width: 26px; height: 26px; fill: #fff; flex: none; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__text small { font-size: 11px; opacity: .8; font-weight: 400; }
.store-btn__text strong { font-size: 17px; font-weight: 600; letter-spacing: .2px; }

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__logo { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 10px rgba(255, 77, 38, .28); }
.brand__name { font-size: 22px; letter-spacing: -.5px; color: var(--ink); }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: #46464b; position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--grad); border-radius: 2px; transition: width .25s ease;
}
.nav__links a:hover { color: var(--brand-coral); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
  color: #46464b; background: rgba(0, 0, 0, .04); border: none; padding: 8px 14px;
  border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease;
}
.lang-toggle:hover { background: rgba(255, 77, 38, .1); color: var(--brand-coral); }
.lang-toggle__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; background: var(--bg-soft); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, #ffb199, transparent 70%); top: -120px; right: -80px; }
.blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, #ffd0c2, transparent 70%); bottom: -120px; left: -100px; }
.grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 99, 66, .12) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
}

.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid rgba(255, 99, 66, .25); color: var(--brand-coral);
  font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.eyebrow__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-2); box-shadow: 0 0 0 0 rgba(255, 77, 38, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 38, .55); } 70% { box-shadow: 0 0 0 9px rgba(255, 77, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 38, 0); } }

.hero__title {
  font-size: clamp(34px, 5vw, 60px); line-height: 1.1; letter-spacing: -1px;
  color: var(--ink); font-weight: 800; margin: 22px 0 18px;
}
.hero__title-accent { position: relative; display: inline-block; }
.hero__title-accent > span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title-accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: linear-gradient(90deg, rgba(255, 131, 100, .35), rgba(255, 77, 38, .25));
  border-radius: 8px; z-index: -1;
}

.hero__sub { font-size: clamp(16px, 1.6vw, 19px); color: #555; max-width: 540px; margin-bottom: 32px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__meta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat b { font-size: 24px; font-weight: 800; color: var(--ink); }
.hero__stat .stat-sym { font-size: .72em; font-weight: 700; margin-left: 1px; }
.hero__stat span { font-size: 13px; color: var(--muted); }
.hero__divider { width: 1px; height: 34px; background: var(--line); }

/* Hero device wrapper */
.hero__device { position: relative; display: flex; justify-content: center; }

/* ---------- Phone component (realistic iPhone) ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 620;
  background: linear-gradient(150deg, #4b4b50 0%, #29292d 20%, #161618 52%, #0a0a0c 100%);
  border-radius: 56px; padding: 11px;
  box-shadow: var(--shadow-phone), inset 0 0 0 2px rgba(255,255,255,.08), inset 0 0 2px 3px rgba(0,0,0,.55);
}
.phone--sm { width: 252px; border-radius: 48px; }
.phone--float { animation: floaty 6s ease-in-out infinite; }
.phone--float::before, .phone--float::after {
  content: ""; position: absolute; z-index: 0; border-radius: 3px;
  background: linear-gradient(180deg, #45454a, #1d1d20);
}
.phone--float::before { left: -3px; top: 122px; width: 3px; height: 84px; }
.phone--float::after  { right: -3px; top: 160px; width: 3px; height: 66px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.phone__notch {
  position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 26px; background: #000; border-radius: 999px; z-index: 6;
}
.phone__notch::after {
  content: ""; position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #353556, #000 72%);
  box-shadow: inset 0 0 0 1px rgba(95,105,150,.5);
}
.phone--sm .phone__notch { width: 74px; height: 22px; top: 13px; }
.phone__screen {
  width: 100%; height: 100%; background: #ededf0; border-radius: 46px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
}
.phone--sm .phone__screen { border-radius: 40px; }

/* ---------- Chat screen (realistic iOS) ---------- */
.chat {
  display: flex; flex-direction: column; height: 100%;
  --chat-bg: #ededf0; background: var(--chat-bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
}

/* status bar */
.chat__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px 6px; color: #000;
}
.chat__time { font-size: 14.5px; font-weight: 600; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.chat__statusbar-icons { display: inline-flex; gap: 5px; align-items: center; }
.st-ico { height: 12px; width: auto; display: block; }
.st-bat { height: 13px; }

/* nav bar */
.chat__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 3px 14px 9px;
  background: rgba(247,247,249,.84);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid rgba(0,0,0,.1);
}
.chat__back { display: inline-flex; align-items: center; gap: 1px; flex: none; }
.chat__back svg { width: 12px; height: 21px; fill: none; stroke: var(--grad-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chat__unread { font-style: normal; font-size: 13px; font-weight: 500; color: var(--grad-2); }
.chat__titlewrap { display: flex; flex-direction: column; align-items: center; line-height: 1.12; }
.chat__title { font-weight: 600; font-size: 15.5px; color: #000; letter-spacing: -.2px; }
.chat__subtitle { font-size: 11px; color: var(--muted); margin-top: 2px; }
.chat__actions { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.chat__actions svg { width: 22px; height: 22px; fill: none; stroke: var(--grad-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* message body */
.chat__body {
  flex: 1; min-height: 0; overflow: hidden; background: var(--chat-bg);
  padding: 12px 12px 6px; display: flex; flex-direction: column; gap: 11px;
}
.chat__daytime { align-self: center; font-size: 11px; color: #9a9aa0; margin: 0 0 2px; }
.chat__daytime b { font-weight: 500; }

.msg { display: flex; align-items: flex-start; gap: 7px; max-width: 84%; }
.msg--in { align-self: flex-start; }
.msg--out { align-self: flex-end; flex-direction: row-reverse; }
.msg__avatar {
  width: 33px; height: 33px; border-radius: 10px; flex: none; display: grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 2px 6px rgba(0,0,0,.14);
}
.msg__col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.msg--out .msg__col { align-items: flex-end; }
.msg__name { font-size: 10.5px; color: #9a9aa0; padding: 0 5px; }
.msg__read { font-size: 10px; color: #b2b2b8; padding: 0 4px; }

.bubble {
  padding: 9px 13px; font-size: 13.5px; line-height: 1.42; position: relative;
  max-width: 100%; word-break: break-word;
}
.bubble--in { background: #fff; color: #1a1a1c; border-radius: 19px 19px 19px 6px; box-shadow: 0 1px 2px rgba(0,0,0,.07); }
.bubble--out {
  background: linear-gradient(135deg, #ff8364, #ff4d26); color: #fff;
  border-radius: 19px 19px 6px 19px; box-shadow: 0 3px 9px rgba(255,77,38,.34);
}

/* Red packet card */
.redpacket { width: 198px; border-radius: 13px; overflow: hidden; box-shadow: 0 6px 16px rgba(255, 77, 38, .3); }
.redpacket__top {
  background: linear-gradient(135deg, #ff7a52, #f23c1c); padding: 12px 13px;
  display: flex; align-items: center; gap: 11px;
}
.redpacket__coin {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 28%, #ffe7a3, var(--gold) 72%);
  color: #b9601c; font-weight: 800; font-size: 15px;
  box-shadow: inset 0 -2px 4px rgba(150, 80, 0, .45), 0 1px 2px rgba(0,0,0,.18);
}
.redpacket__txt { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.redpacket__bottom { background: #fff3e6; color: #c4863a; font-size: 10.5px; font-weight: 500; padding: 6px 13px; }

/* input bar + home indicator */
.chat__input {
  display: flex; align-items: center; gap: 9px; padding: 8px 13px;
  background: rgba(247,247,249,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: .5px solid rgba(0,0,0,.08);
}
.chat__inico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; }
.chat__inico svg { width: 23px; height: 23px; fill: none; stroke: #9a9aa0; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chat__field {
  flex: 1; background: #fff; border: .5px solid rgba(0,0,0,.07); border-radius: 999px;
  padding: 8px 14px; font-size: 12.5px; color: #b2b2b8;
}
.chat__home { height: 20px; flex: none; background: rgba(247,247,249,.92); position: relative; }
.chat__home::after {
  content: ""; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  width: 38%; height: 5px; border-radius: 3px; background: #000; opacity: .82;
}

/* Floating chips around hero phone */
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px);
  padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600; color: var(--ink); border: 1px solid rgba(255,255,255,.6);
}
.chip__ico { font-size: 16px; }
.chip--1 { top: 60px; left: -10px; animation: floaty 5s ease-in-out infinite; }
.chip--2 { bottom: 90px; right: -16px; animation: floaty 5.5s ease-in-out .8s infinite; }

/* ===================================================================
   TRUST STRIP
   =================================================================== */
.strip { padding: 30px 0; background: #fff; border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.strip__label { font-size: 14px; color: var(--muted); font-weight: 500; }
.strip__items { display: flex; gap: 14px; flex-wrap: wrap; }
.strip__items span {
  font-size: 13.5px; font-weight: 600; color: #555; background: var(--bg-soft);
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  white-space: nowrap; flex: none;
}

/* ===================================================================
   SECTIONS (generic)
   =================================================================== */
.section { padding: 100px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--brand-coral); background: rgba(255, 99, 66, .1); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section__tag--light { color: #fff; background: rgba(255, 255, 255, .18); }
.section__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--ink); letter-spacing: -.5px; line-height: 1.2; }
.section__title--light { color: #fff; }
.section__desc { font-size: 17px; color: #666; margin-top: 16px; }

/* ===================================================================
   FEATURES
   =================================================================== */
.features { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; transition: transform .25s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.fcard::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255, 131, 100, .5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard:hover::before { opacity: 1; }
.fcard__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--g1), var(--g2)); margin-bottom: 20px;
  box-shadow: 0 10px 22px -6px var(--g2);
}
.fcard__icon svg { width: 28px; height: 28px; fill: #fff; }
.fcard h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.fcard p { font-size: 14.5px; color: #6b6b70; line-height: 1.6; }

/* ===================================================================
   SHOWCASE
   =================================================================== */
.showcase { background: var(--bg-soft); }
.showcase__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.show-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.show-item .phone { margin-bottom: 26px; }
.show-item--lift .phone { transform: translateY(-22px); }
.show-item figcaption h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.show-item figcaption p { font-size: 14.5px; color: #6b6b70; max-width: 280px; }

/* mini screens */
.mini { height: 100%; display: flex; flex-direction: column; background: var(--bg-soft2); font-size: 12px; }
.mini__header {
  padding: 38px 18px 14px; color: #fff; font-weight: 700; font-size: 16px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}
.mini__header--plain { background: #1c2733; color: #fff; }

/* conversation list */
.conv { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--line); }
.conv__av { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; background: linear-gradient(135deg, var(--c1), var(--c2)); flex: none; }
.conv__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.conv__body b { font-size: 13.5px; color: var(--ink); }
.conv__body small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv__badge { background: var(--grad-2); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }

/* wallet */
.mini--wallet { background: #f2f4f8; }
.wallet__card {
  margin: 30px 16px 18px; padding: 20px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #ff8364, #ff4d26); box-shadow: 0 12px 26px rgba(255, 77, 38, .35);
  display: flex; flex-direction: column; gap: 6px;
}
.wallet__label { font-size: 12.5px; opacity: .9; }
.wallet__amount { font-size: 26px; font-weight: 800; letter-spacing: .5px; }
.wallet__actions { display: flex; gap: 10px; margin-top: 12px; }
.wallet__actions span { flex: 1; text-align: center; background: rgba(255, 255, 255, .22); border-radius: 10px; padding: 7px 0; font-size: 12.5px; font-weight: 600; }
.wallet__list { background: #fff; margin: 0 16px; border-radius: 14px; overflow: hidden; }
.wallet__row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.wallet__row:last-child { border-bottom: none; }
.wallet__ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.wallet__row b { flex: 1; text-align: left; font-size: 13px; color: var(--ink); font-weight: 500; }
.wallet__row em { font-style: normal; font-weight: 700; color: #1aa260; font-size: 13.5px; }
.wallet__row em.minus { color: var(--muted); }

/* group call */
.mini--group { background: #131c26; }
.mini__header--plain { padding-top: 38px; }
.call-grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; }
.call-grid__cell {
  border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 20px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); aspect-ratio: 1 / 1.05;
}
.call-grid__cell--me { background: #243140; font-size: 14px; color: #cdd6e0; }
.call-bar { display: flex; justify-content: center; gap: 22px; padding: 16px 0 24px; background: #131c26; }
.call-bar__btn { width: 44px; height: 44px; border-radius: 50%; background: #243140; display: grid; place-items: center; font-size: 18px; }
.call-bar__btn--end { background: #ff3b30; transform: rotate(135deg); }

/* ===================================================================
   SECURITY
   =================================================================== */
.security { background: linear-gradient(135deg, #2a1410, #54221a 55%, #7a2a18); position: relative; overflow: hidden; }
.security__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.security__desc { color: rgba(255, 255, 255, .8); font-size: 17px; margin: 18px 0 26px; max-width: 520px; }
.security__list { display: grid; gap: 14px; }
.security__list li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15.5px; font-weight: 500; }
.tick { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }

.security__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.shield { position: relative; width: 190px; height: 190px; display: grid; place-items: center; animation: floaty 6s ease-in-out infinite; }
.shield svg { width: 100%; height: 100%; fill: url(#none); fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .35); stroke-width: .4; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.shield__lock { position: absolute; font-size: 56px; }
.orbit { position: absolute; font-size: 28px; background: rgba(255, 255, 255, .12); width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.15); }
.orbit--1 { top: 10%; left: 8%; animation: floaty 5s ease-in-out infinite; }
.orbit--2 { bottom: 16%; left: 0; animation: floaty 5.6s ease-in-out .6s infinite; }
.orbit--3 { top: 22%; right: 4%; animation: floaty 6.2s ease-in-out .3s infinite; }

/* ===================================================================
   DOWNLOAD
   =================================================================== */
.download { background: var(--bg); }
.download__card {
  position: relative; border-radius: 36px; overflow: hidden; padding: 70px 24px;
  background: var(--bg-soft); border: 1px solid var(--line); text-align: center;
}
.download__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob--3 { width: 380px; height: 380px; background: radial-gradient(circle, #ffb199, transparent 70%); top: -140px; left: -80px; opacity: .55; }
.blob--4 { width: 380px; height: 380px; background: radial-gradient(circle, #ffd0c2, transparent 70%); bottom: -150px; right: -90px; opacity: .55; }
.download__content { position: relative; max-width: 720px; margin: 0 auto; scroll-margin-top: 100px; }
.download__logo { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 22px; box-shadow: var(--shadow-md); }
.download__title { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.download__sub { font-size: 17px; color: #555; margin: 14px auto 40px; max-width: 480px; }

.download__platforms { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.dl-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.qr {
  width: 150px; height: 150px; background: #fff; border-radius: 18px; padding: 12px;
  box-shadow: var(--shadow-md); display: grid; place-items: center; position: relative;
}
.qr canvas, .qr svg { width: 100%; height: 100%; }
.dl-col__hint { font-size: 13px; color: var(--muted); }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: #14110f; color: #b6b3b0; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand .brand__name { color: #fff; }
.footer__tagline { margin-top: 16px; font-size: 14px; color: #8d8a86; max-width: 320px; line-height: 1.7; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 72px; }
.footer__col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; font-weight: 700; }
.footer__col a { display: block; font-size: 14px; color: #9b9794; padding: 6px 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--grad-1); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7d7a77; }

/* ===================================================================
   REVEAL ANIMATION
   =================================================================== */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s); will-change: opacity, transform;
}
.reveal--left { transform: translateX(-42px); }
.reveal--right { transform: translateX(42px); }
.reveal--scale { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  /* prevent flex children from sizing to max-content (avoids horizontal overflow) */
  .hero__copy > * { max-width: 100%; }
  .hero__cta, .hero__meta { width: 100%; justify-content: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase__row { grid-template-columns: 1fr; gap: 50px; max-width: 360px; margin: 0 auto; }
  .show-item--lift .phone { transform: none; }
  .security__inner { grid-template-columns: 1fr; gap: 40px; }
  .security__copy { text-align: center; }
  .security__list { justify-items: center; }
  .security__list li { justify-content: center; }
  .security__desc { margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(18px);
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .1);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 90;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav__burger { display: flex; }
  .nav .btn--solid { display: none; }
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .strip__inner { justify-content: center; text-align: center; }
  .download__platforms { gap: 14px; flex-wrap: nowrap; }
  .dl-col { flex: 1 1 0; min-width: 0; gap: 10px; }
  .qr { width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; padding: 9px; }
  .dl-col .store-btn { width: 100%; justify-content: center; padding: 9px 6px; gap: 6px; }
  .dl-col .store-btn__icon { width: 20px; height: 20px; }
  .dl-col .store-btn__text small { font-size: 9.5px; }
  .dl-col .store-btn__text strong { font-size: 13px; }
  .dl-col__hint { font-size: 10.5px; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero { padding-top: 120px; }
  .phone { width: 270px; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ===================================================================
   MODERN MOTION & INTERACTIONS
   =================================================================== */
/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: var(--grad); border-radius: 0 3px 3px 0; box-shadow: 0 0 10px rgba(255,77,38,.55);
}

/* nav entrance + active link */
@keyframes nav-drop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.nav { animation: nav-drop .7s var(--ease-out) both; }
.nav__links a.is-active { color: var(--brand-coral); }
.nav__links a.is-active::after { width: 100%; }

/* hero ambient parallax + drifting blobs */
.hero__bg { transition: transform .3s var(--ease-out); will-change: transform; }
.blob--1 { animation: drift1 16s var(--ease-in-out) infinite alternate; }
.blob--2 { animation: drift2 20s var(--ease-in-out) infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(-44px,32px) scale(1.14); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(52px,-28px) scale(1.1); } }

/* hero accent: animated gradient + underline reveal */
.hero__title-accent > span {
  background: linear-gradient(100deg, var(--grad-1), var(--grad-2) 45%, #ff5e62 60%, var(--grad-1));
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% 0; } }
.hero__title-accent::after { transform-origin: left; animation: underline-grow .9s var(--ease-spring) .45s both; }
@keyframes underline-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* hero phone 3D tilt stage */
.phone-stage { transition: transform .3s var(--ease-out); transform-style: preserve-3d; will-change: transform; }

/* red packets + gold coins bursting out (desktop: phone, mobile: screen centre) */
.rp-fly { position: fixed; inset: 0; overflow: visible; pointer-events: none; z-index: 60; }
.rp {
  position: absolute; width: 30px; height: 38px; border-radius: 7px; opacity: 0;
  background: linear-gradient(160deg, #ff6f4d 0%, #f5371b 60%, #d62a12 100%);
  box-shadow: 0 9px 20px rgba(214, 42, 18, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
  will-change: transform, opacity;
}
.rp::after {            /* envelope flap */
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 15px;
  background: linear-gradient(180deg, #ff9269, #ff5e3a);
  border-radius: 7px 7px 60% 60% / 7px 7px 80% 80%;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .12);
}
.rp::before {           /* gold seal */
  content: ""; position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
  width: 16px; height: 16px; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 35% 30%, #fff2c6, #ffc63f 55%, #e89c1e 100%);
  box-shadow: inset 0 -1px 2px rgba(150, 80, 0, .5), 0 0 0 1px rgba(255, 255, 255, .3);
}
.rp--coin {            /* gold coin variant */
  width: 28px; height: 28px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fff4cc, #ffc844 52%, #e89b1c 100%);
  box-shadow: 0 8px 16px rgba(214, 120, 18, .45), inset 0 -2px 3px rgba(150, 80, 0, .45), inset 0 1px 2px rgba(255, 255, 255, .65);
  display: grid; place-items: center; color: #b5550f; font-weight: 800; font-size: 15px;
}
.rp--coin::before, .rp--coin::after { display: none; }

/* animated counters */
.count { font-variant-numeric: tabular-nums; }

/* button shine sweep + press */
.btn--solid, .store-btn { position: relative; overflow: hidden; }
.btn--solid::after, .store-btn::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); transition: left .65s var(--ease-out);
}
.btn--solid:hover::after, .store-btn:hover::after { left: 150%; }
.btn--solid:active, .store-btn:active { transform: translateY(0) scale(.97); }

/* feature cards: cursor spotlight + spring lift + icon pop */
.fcard { transition: transform .35s var(--ease-spring), box-shadow .35s ease, border-color .3s ease; }
.fcard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255,99,66,.16), transparent 46%);
  transition: opacity .35s ease;
}
.fcard:hover::after { opacity: 1; }
.fcard__icon { transition: transform .4s var(--ease-spring); }
.fcard:hover .fcard__icon { transform: translateY(-4px) rotate(-7deg) scale(1.07); }

/* showcase phones hover lift */
.show-item .phone { transition: transform .45s var(--ease-spring), box-shadow .4s ease; will-change: transform; }
.show-item:hover .phone { transform: translateY(-12px); }
.show-item--lift:hover .phone { transform: translateY(-32px); }

/* trust strip marquee */
.strip__items {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.strip__track { display: inline-flex; flex-wrap: nowrap; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__dup { display: contents; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 720px) {
  .strip__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .strip__label { text-align: center; }
  .strip__items { width: 100%; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .strip__track { animation: none !important; }
}
