/* =========================================================
   PageMint – One-page website
   Theme matched to the app icon & screenshots:
   deep navy → violet gradient, coral highlight, cream pages.
   ========================================================= */

:root {
  --navy: #140F5C;
  --navy-deep: #0E0A45;
  --navy-ink: #0B0830;
  --violet: #5B2AA6;
  --violet-light: #7B3FD1;
  --coral: #F25C5C;
  --coral-dark: #DD4747;
  --cream: #F8F0E8;
  --peach: #F8D8C0;
  --lavender: #B9A6F0;
  --lavender-soft: #ECE6FA;
  --bg-light: #F6F3FC;
  --text: #1B1733;
  --muted: #5D5878;
  --white: #FFFFFF;
  --border: rgba(20, 15, 92, 0.10);

  --font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 18px rgba(20, 15, 92, 0.08);
  --shadow: 0 18px 40px rgba(20, 15, 92, 0.14);
  --shadow-lg: 0 30px 70px rgba(20, 15, 92, 0.28);
  --header-h: 76px;
  --container: 1140px;
  --gutter: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.nav-open, body.lb-open { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--coral); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.hl { color: var(--coral); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--coral); color: #fff; padding: 10px 16px; border-radius: 8px;
  z-index: 2000; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px rgba(91, 42, 166, 0.28); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-accent { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(242, 92, 92, 0.32); }
.btn-accent:hover { background: var(--coral-dark); color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* Official store badges */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 32px 0 24px; }
.store-badge { display: inline-block; border-radius: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.store-badge img { height: 56px; width: auto; border-radius: 10px; }
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.store-badges.compact { margin: 20px 0 0; gap: 10px; }
.store-badges.compact img { height: 44px; }
.store-badges.center { justify-content: center; margin: 32px 0 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(14, 10, 69, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: #fff; letter-spacing: -0.01em; }
.brand-name span { color: var(--coral); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; }
.site-nav ul a {
  color: rgba(255, 255, 255, 0.86); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.site-nav ul a:hover, .site-nav ul a.is-active { color: #fff; }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, 0.1); border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #0E0A45 0%, #1C1270 42%, #4A1F8E 100%);
  padding: calc(var(--header-h) + 72px) 0 96px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.glow-coral { width: 560px; height: 560px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(242, 92, 92, 0.75), rgba(242, 92, 92, 0) 70%); }
.glow-violet { width: 620px; height: 620px; left: -260px; bottom: -300px; background: radial-gradient(circle, rgba(123, 63, 209, 0.7), rgba(123, 63, 209, 0) 70%); }
.float-shape {
  position: absolute; border-radius: 30% 70% 30% 70% / 60% 30% 70% 40%;
  opacity: .14; background: var(--cream);
  animation: drift 14s ease-in-out infinite;
}
.shape-1 { width: 140px; height: 110px; left: -40px; top: 62%; }
.shape-2 { width: 90px; height: 70px; left: 50%; top: 12%; animation-delay: -5s; background: var(--peach); }
.shape-3 { width: 120px; height: 95px; right: 6%; bottom: 14%; animation-delay: -9s; background: var(--lavender); }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(14px, -18px) rotate(8deg); }
}

.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px;
}
.hero .eyebrow { color: var(--peach); }
.lead { font-size: 1.125rem; color: rgba(255, 255, 255, 0.84); max-width: 560px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.92);
}
.trust-chips svg { width: 16px; height: 16px; color: var(--peach); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.phone {
  position: relative; width: 300px; padding: 10px;
  background: var(--navy-ink); border-radius: 48px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  animation: phone-float 7s ease-in-out infinite;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 999px; background: #050318; z-index: 2;
}
.phone-screen { border-radius: 38px; overflow: hidden; background: var(--navy); }
.phone-screen img { width: 100%; }
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); color: #fff; z-index: 3;
  animation: card-float 6s ease-in-out infinite;
}
.hero-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.hero-card small { display: block; font-size: 12px; opacity: .78; }
.hero-card-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--violet-light), var(--violet)); color: #fff;
}
.hero-card-icon.coral { background: linear-gradient(135deg, #FF8A7A, var(--coral)); }
.hero-card-icon svg { width: 20px; height: 20px; }
.card-a { left: -10px; top: 56%; animation-delay: -2s; }
.card-b { right: -10px; bottom: 10%; animation-delay: -4s; }
@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-light { background: var(--bg-light); }
.section-dark {
  background: linear-gradient(160deg, #0E0A45 0%, #1C1270 45%, #3C1A82 100%); color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.8); }
.section-dark .eyebrow { color: var(--peach); }

.section-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.78); }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card, .audience-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover, .audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card h3, .audience-card h3 { font-size: 1.2rem; margin: 20px 0 10px; }
.feature-card p, .audience-card p { color: var(--muted); font-size: 15px; }
.feature-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--violet-light), var(--navy)); color: #fff;
  box-shadow: 0 10px 22px rgba(91, 42, 166, 0.3);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon.small { width: 46px; height: 46px; border-radius: 13px; }
.feature-icon.small svg { width: 22px; height: 22px; }

/* ---------- Zigzag features ---------- */
.zig {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  margin-bottom: 96px;
}
.zig:last-child { margin-bottom: 0; }
.zig-reverse .zig-media { order: 2; }
.zig-media img {
  width: 100%; max-width: 360px; margin: 0 auto; border-radius: 30px;
  box-shadow: var(--shadow-lg);
}
.zig-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.zig-copy p { color: var(--muted); font-size: 1.05rem; }
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
  background: var(--lavender-soft); color: var(--violet);
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
}
.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; font-weight: 500; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background-color: rgba(242, 92, 92, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23F25C5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.checks.light li { color: #fff; }
.checks.light li::before { background-color: rgba(248, 216, 192, 0.18); }

/* ---------- Screenshots gallery ---------- */
.platform-toggle {
  display: inline-flex; gap: 4px; padding: 4px; margin-top: 24px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
}
.platform-toggle button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; border: 0; background: transparent; color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; transition: background .2s ease, color .2s ease;
}
.platform-toggle button svg { width: 16px; height: 16px; }
.platform-toggle button:hover { color: #fff; }
.platform-toggle button.is-active { background: #fff; color: var(--navy); }

.gallery { position: relative; }
.gallery-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px 4px 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track[hidden] { display: none; }
.gallery-track figure {
  flex: 0 0 236px; margin: 0; scroll-snap-align: center; cursor: zoom-in;
  transition: transform .25s ease;
}
.gallery-track figure:hover { transform: translateY(-6px); }
.gallery-track img {
  width: 100%; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background: var(--navy);
}
.gallery-track figcaption { text-align: center; margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }

.gallery-arrow {
  position: absolute; top: 42%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy); display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gallery-arrow svg { width: 22px; height: 22px; }
.gallery-arrow:hover { background: var(--coral); color: #fff; transform: scale(1.06); }
.gallery-arrow.prev { left: -22px; }
.gallery-arrow.next { right: -22px; }

.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.gallery-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.3); transition: width .25s ease, background .25s ease; }
.gallery-dots span.is-active { width: 26px; background: var(--coral); }

/* ---------- Topics ---------- */
.topics-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
.topics-grid > div > p { color: var(--muted); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li {
  padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-weight: 500; font-size: 14px; color: var(--navy); box-shadow: var(--shadow-sm);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.chips li:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }

.popular-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm);
}
.popular-card .eyebrow { margin-bottom: 18px; }
.popular-list { display: grid; gap: 0; }
.popular-list li {
  display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--navy);
}
.popular-list li:last-child { border-bottom: 0; }
.popular-list .num { font-size: 12px; color: var(--coral); font-weight: 700; letter-spacing: .06em; min-width: 24px; }
.popular-more { margin-top: 14px; color: var(--muted); font-size: 14px; }

.request-card {
  margin-top: 24px; display: flex; gap: 18px; align-items: flex-start;
  padding: 26px 28px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--violet) 100%); box-shadow: var(--shadow);
}
.request-card .feature-icon { background: rgba(255, 255, 255, 0.14); box-shadow: none; }
.request-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.request-card p { color: rgba(255, 255, 255, 0.82); font-size: 15px; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ---------- Premium ---------- */
.premium-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.premium-copy p { font-size: 1.08rem; }
.premium-copy .btn { margin-top: 32px; }
.premium-card {
  position: relative; padding: 40px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.premium-badge {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--peach), var(--coral)); color: #fff; margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(242, 92, 92, 0.4);
}
.premium-badge svg { width: 30px; height: 30px; }
.premium-card h3 { font-size: 1.6rem; margin-bottom: 4px; }
.premium-tagline { color: var(--lavender) !important; font-weight: 500; margin-bottom: 24px; }
.premium-notes { margin: 0; }
.premium-notes dt {
  font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--peach); margin-bottom: 4px;
}
.premium-notes dd { margin: 0 0 16px; font-size: 14.5px; color: rgba(255, 255, 255, 0.78); line-height: 1.6; }
.premium-notes dd:last-child { margin-bottom: 0; }

/* ---------- Download ---------- */
.download-card {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 64px 48px; border-radius: 36px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--violet) 60%, #8A3FC8 100%);
  box-shadow: var(--shadow-lg);
}
.download-card::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 92, 92, 0.55), rgba(242, 92, 92, 0) 70%); pointer-events: none;
}
.download-card::after {
  content: ""; position: absolute; width: 420px; height: 420px; left: -180px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 216, 192, 0.25), rgba(248, 216, 192, 0) 70%); pointer-events: none;
}
.download-card > * { position: relative; }
.download-icon { width: 112px; height: 112px; margin: 0 auto 24px; border-radius: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.download-card h2 { color: #fff; }
.download-card > p { color: rgba(255, 255, 255, 0.84); max-width: 560px; margin: 0 auto; font-size: 1.08rem; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 840px; margin: 36px auto 0; }
.download-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 26px 22px; border-radius: 20px; background: #fff; color: var(--navy);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25); transition: transform .2s ease, box-shadow .2s ease;
}
.download-tile:hover { transform: translateY(-4px); color: var(--navy); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }
.download-tile .tile-badge { height: 52px; width: auto; border-radius: 10px; margin-bottom: 6px; }
.download-tile strong { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.download-tile em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lavender-soft); color: var(--violet);
  font-weight: 600; font-size: 20px; line-height: 1; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--coral); color: #fff; }
.faq-body { padding: 0 24px 22px; }
.faq-body p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-grid > div > p { color: var(--muted); font-size: 1.05rem; }
.contact-email {
  display: flex; align-items: center; gap: 16px; margin: 30px 0 22px;
  padding: 18px 20px; border-radius: 18px; background: var(--bg-light); border: 1px solid var(--border);
  color: var(--navy); transition: transform .2s ease, box-shadow .2s ease;
}
.contact-email:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--navy); }
.contact-email small { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-email strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; word-break: break-all; }
.contact-links { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-links a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label span { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid rgba(20, 15, 92, 0.16); border-radius: 12px;
  font: inherit; font-size: 15px; color: var(--text); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91, 42, 166, 0.14);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin-top: 18px; max-width: 420px; font-size: 15px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding: 24px var(--gutter); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px;
}
.footer-bottom p { margin: 0; }
.footer-legal { font-size: 12px; color: rgba(255, 255, 255, 0.45); max-width: 560px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 5, 36, 0.94); padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 84vh; max-width: min(90vw, 460px); width: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); margin: 0 auto; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.85); margin-top: 14px; font-size: 15px; }
.lightbox-close, .lightbox-arrow {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: var(--coral); }
.lightbox-close svg, .lightbox-arrow svg { width: 22px; height: 22px; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-arrow.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-arrow.next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--coral); color: #fff; box-shadow: 0 12px 28px rgba(242, 92, 92, 0.4);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--coral-dark); color: #fff; }

/* ---------- Contact form status ---------- */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-status { margin: 14px 0 0; font-size: 14px; }
.form-status:empty { display: none; }
.form-status.is-info { color: var(--muted); }
.form-status.is-success { color: #1E7F4F; background: #E7F7EE; padding: 12px 14px; border-radius: 12px; }
.form-status.is-error { color: #B42318; background: #FDECEC; padding: 12px 14px; border-radius: 12px; }
.form-status a { font-weight: 600; color: inherit; text-decoration: underline; word-break: break-all; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-grid > div { display: flex; }
.blog-card {
  display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-cover {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--violet) 100%);
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-violet { background: linear-gradient(135deg, #1C1270 0%, #6B34C0 100%); }
.cover-coral  { background: linear-gradient(135deg, #5B2AA6 0%, #F25C5C 100%); }
.cover-navy   { background: linear-gradient(135deg, #0E0A45 0%, #2A1D8C 100%); }
.cover-peach  { background: linear-gradient(135deg, #F25C5C 0%, #F8D8C0 100%); }
.blog-cover::before {
  content: ""; position: absolute; width: 220px; height: 220px; left: -60px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%);
}
.blog-cover-mark {
  position: absolute; right: -18px; bottom: -26px; width: 150px; height: 150px;
  background: url("../img/icon-192.png") center / contain no-repeat;
  transform: rotate(-12deg); filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  transition: transform .4s ease;
}
.blog-card:hover .blog-cover-mark { transform: rotate(-4deg) scale(1.05); }
.blog-cover-cat {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--navy);
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .03em;
}
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.blog-meta { display: flex; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--coral); }
.blog-card-body > p:not(.blog-meta) { color: var(--muted); font-size: 15px; flex: 1; }
.blog-more { margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--violet); }
.blog-more span { display: inline-block; transition: transform .2s ease; }
.blog-more:hover span { transform: translateX(4px); }
.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Inner page hero (blog) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(160deg, #0E0A45 0%, #1C1270 50%, #4A1F8E 100%);
  padding: calc(var(--header-h) + 64px) 0 72px;
}
.page-hero-inner { position: relative; max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero .eyebrow { color: var(--peach); }
.page-hero .lead { margin: 0 auto; }
.page-hero .btn { margin-top: 28px; }

.blog-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.blog-filter a {
  padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  color: var(--navy); font-weight: 500; font-size: 14px; box-shadow: var(--shadow-sm);
}
.blog-filter a:hover { color: var(--violet); border-color: var(--lavender); }
.blog-filter a.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.blog-pagination a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); color: var(--navy); font-weight: 600;
}
.blog-pagination a.is-active { background: var(--coral); border-color: var(--coral); color: #fff; }
.blog-empty { text-align: center; color: var(--muted); }

/* ---------- Article ---------- */
.post-hero { text-align: left; padding-bottom: 64px; }
.post-hero-inner { position: relative; max-width: 820px; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.5); }
.breadcrumb a { color: var(--peach); font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255, 255, 255, 0.75); font-size: 15px; margin: 0; }

.post-layout { max-width: 820px; padding-top: 56px; padding-bottom: 80px; }
.post-image { width: 100%; border-radius: var(--radius); margin-bottom: 40px; box-shadow: var(--shadow); }

.prose { font-size: 1.08rem; line-height: 1.8; color: #2D2848; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2em 0 0; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 0; }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li + li, .prose ol li + li { margin-top: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
}
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose ol li::marker { color: var(--coral); font-weight: 700; }
.prose blockquote {
  margin: 2em 0; padding: 24px 28px; border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0;
  background: var(--bg-light); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; line-height: 1.5; color: var(--navy);
}

.post-cta {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 22px;
  margin-top: 56px; padding: 30px 32px; border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--violet) 100%); box-shadow: var(--shadow);
}
.post-cta > img { width: 64px; height: 64px; border-radius: 16px; grid-row: span 2; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.post-cta h2 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.post-cta p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.post-cta .store-badges { grid-column: 2; margin-top: 10px; }
.post-back { margin-top: 36px; font-weight: 600; }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 56px; }
}
@media (max-width: 640px) {
  .store-badge img { height: 48px; }
  .store-badges { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-layout { padding-top: 36px; padding-bottom: 56px; }
  .prose { font-size: 1.02rem; }
  .prose blockquote { padding: 18px 20px; font-size: 1.08rem; }
  .post-cta { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .post-cta > img { grid-row: auto; margin: 0 auto; }
  .post-cta .store-badges { grid-column: auto; justify-content: center; }
}

/* ---------- Reveal animations (only when JS is on) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js .reveal.delay-1 { transition-delay: .12s; }
html.js .reveal.delay-2 { transition-delay: .24s; }
html.js .reveal.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .hero-card, .float-shape { animation: none; }
  .gallery-track { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .gallery-arrow.prev { left: -8px; }
  .gallery-arrow.next { right: -8px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14, 10, 69, 0.98); padding: 12px 20px 24px; display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .site-nav ul a::after { display: none; }
  .nav-cta { margin-top: 18px; align-self: flex-start; }
  .nav-toggle { display: flex; }
  .site-header.is-scrolled, .site-header:has(.site-nav.is-open) { background: rgba(14, 10, 69, 0.96); }

  .hero { padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 56px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin: 0 auto; }
  .trust-chips { justify-content: center; }
  .hero-visual { min-height: 0; }
  .card-a { left: 2%; }
  .card-b { right: 2%; }

  .section { padding: 72px 0; }
  .zig, .zig-reverse { grid-template-columns: 1fr; gap: 36px; margin-bottom: 72px; }
  .zig-media, .zig-reverse .zig-media { order: -1; }
  .zig-media img { max-width: 300px; }
  .zig-copy { text-align: center; }
  .checks { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }

  .topics-grid, .premium-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .lead { font-size: 1.05rem; }
  .phone { width: 250px; border-radius: 42px; }
  .phone-screen { border-radius: 32px; }
  .phone::before { width: 70px; height: 20px; top: 18px; }
  .hero-card { display: none; }
  .section-head { margin-bottom: 40px; }
  .feature-card, .audience-card { padding: 26px 22px; }
  .gallery-track figure { flex: 0 0 200px; }
  .gallery-arrow { display: none; }
  .popular-card, .contact-form { padding: 24px 20px; }
  .request-card { padding: 22px; flex-direction: column; }
  .download-card { padding: 44px 20px; border-radius: 28px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-tile { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .faq summary { padding: 16px 18px; font-size: 1rem; }
  .faq-body { padding: 0 18px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .premium-card { padding: 28px 22px; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-arrow.prev { left: 8px; }
  .lightbox-arrow.next { right: 8px; }
  .back-to-top { right: 16px; bottom: 16px; }
}
