/* ============================================================
   NDLab — Independent Software Studio
   Shared stylesheet
   ============================================================ */

/* App-mode: hide chrome when page is opened inside the iOS/Android app (?app=1) */
.app-mode .skip-link,
.app-mode .nav,
.app-mode .footer,
.app-mode .back-link { display: none !important; }
.app-mode main { padding-top: 0; }

:root {
  --bg:            #07070c;
  --bg-soft:       #0c0c14;
  --surface:       #101019;
  --surface-2:     #14141f;
  --surface-hover: #181826;
  --border:        rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.13);

  --text:        #f4f5fb;
  --text-soft:   #aeb0c2;
  --text-dim:    #71738a;

  --cyan:   #18c8ff;
  --blue:   #3b82f6;
  --violet: #8b5cf6;
  --magenta:#d946ef;

  --grad:        linear-gradient(120deg, #18c8ff 0%, #6366f1 50%, #d946ef 100%);
  --grad-text:   linear-gradient(120deg, #2dd4ff 0%, #818cf8 55%, #e879f9 100%);
  --grad-cyan:   linear-gradient(135deg, #18c8ff 0%, #3b82f6 100%);
  --grad-violet: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);

  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  --maxw: 1180px;
  --nav-h: 76px;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

  --shadow-glow: 0 0 60px -15px rgba(99,102,241,0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* atmospheric background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(620px 420px at 78% -5%, rgba(99,102,241,0.16), transparent 70%),
    radial-gradient(560px 400px at 8% 8%, rgba(24,200,255,0.10), transparent 70%),
    radial-gradient(700px 500px at 90% 85%, rgba(217,70,239,0.08), transparent 70%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 60%);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: top 150ms ease;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--cyan); outline-offset: 2px; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--text-soft); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 26px -10px rgba(99,102,241,0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(99,102,241,0.85); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(7,7,12,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo-img {
  display: block;
  height: 40px;
  width: auto;
}
.footer .logo-img { height: 44px; }
@media (max-width: 720px) {
  .logo-img { height: 34px; }
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  transition: color .2s;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--grad-cyan);
  border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.menu-toggle span { display: block; width: 19px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: .3s; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-hover); }

.icon-box {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; }
.ic-cyan   { background: rgba(24,200,255,0.12); color: var(--cyan); }
.ic-violet { background: rgba(139,92,246,0.14); color: #a78bfa; }
.ic-blue   { background: rgba(59,130,246,0.14); color: #60a5fa; }
.ic-magenta{ background: rgba(217,70,239,0.13); color: #e879f9; }

.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.tag-new {
  background: var(--grad-cyan);
  color: #06121a; border: none;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}

/* ---------- Phone mockup of the app ---------- */
.phone {
  width: 248px;
  border-radius: 34px;
  padding: 11px;
  background: linear-gradient(160deg, #2a2a3a, #0d0d16);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9), var(--shadow-glow);
}
.phone-screen {
  border-radius: 26px;
  background: radial-gradient(120% 120% at 50% 0%, #1a2230 0%, #0a0d16 60%);
  padding: 22px 18px 16px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex; flex-direction: column;
}
.phone-notch { width: 56px; height: 5px; border-radius: 5px; background: rgba(255,255,255,0.18); margin: 0 auto 22px; }
.app-title { text-align: center; }
.app-title h4 { font-size: 21px; }
.app-title span { font-size: 12px; color: var(--text-dim); letter-spacing: 0.05em; }
.cast-icon {
  width: 96px; height: 96px;
  margin: 30px auto;
  border-radius: 24px;
  background: rgba(24,200,255,0.08);
  display: grid; place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(24,200,255,0.2);
}
.cast-icon svg { width: 50px; height: 50px; }
.app-desc { text-align: center; font-size: 12px; color: var(--text-soft); padding: 0 12px; margin-bottom: auto; }
.app-cta {
  margin: 18px 4px 6px;
  text-align: center;
  background: var(--grad-cyan);
  color: #06121a;
  font-weight: 700; font-size: 14px;
  padding: 11px; border-radius: 12px;
}
.app-tabs { display: flex; justify-content: space-around; padding-top: 16px; margin-top: 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.app-tab { text-align: center; color: var(--text-dim); font-size: 10px; }
.app-tab svg { width: 19px; height: 19px; margin-bottom: 4px; }
.app-tab:first-child { color: var(--cyan); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 34px 0;
  margin-top: 40px;
}
.footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 14px; color: var(--text-soft); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: .2s;
}
.socials a:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.copyright { width: 100%; text-align: center; color: var(--text-dim); font-size: 13px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px 44px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 100% 0%, rgba(139,92,246,0.18), transparent 70%);
  pointer-events: none;
}
.cta-banner h3 { font-size: 26px; margin-bottom: 6px; }
.cta-banner p { color: var(--text-soft); }
.cta-banner > * { position: relative; z-index: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,18,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 22px;
    transform: translateY(-130%);
    transition: transform .35s ease;
    align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--border); }
  .nav-links a.active::after { display: none; }
  .menu-toggle { display: block; }
  .nav-right .btn { display: none; }
  .section { padding: 70px 0; }
  .cta-banner { flex-direction: column; align-items: flex-start; text-align: left; padding: 30px; }
}

/* ============================================================
   Page layouts
   ============================================================ */

/* Hero */
.hero { display: grid; grid-template-columns: 0.9fr 1.15fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; margin-bottom: 24px; }
.hero-lead { color: var(--text-soft); font-size: 18px; max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background:
    radial-gradient(120% 80% at 20% 20%, rgba(24,200,255,0.18), transparent 60%),
    radial-gradient(120% 80% at 80% 80%, rgba(217,70,239,0.16), transparent 60%),
    linear-gradient(180deg, #0f1020, #07070c);
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), var(--shadow-glow);
}
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* link arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--text-soft); transition: gap .2s, color .2s; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 11px; color: var(--text); }
.link-arrow.cyan { color: var(--cyan); }
.link-arrow.violet { color: #a78bfa; }

/* featured head */
.featured-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.featured-head h2 { font-size: clamp(24px, 3vw, 32px); }

/* grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.feature-card { padding: 28px; }
.feature-card .icon-box { margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 20px; }

/* product list cards */
.product-row {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 0;
  overflow: hidden;
}
.product-info { padding: 34px; }
.product-info .pi-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product-info h3 { font-size: 23px; line-height: 1.15; }
.product-info p { color: var(--text-soft); margin: 16px 0 20px; max-width: 380px; }
.product-tags { display: flex; gap: 8px; margin-bottom: 6px; }
.product-shots {
  background: radial-gradient(120% 120% at 70% 0%, #182234 0%, #0a0d16 70%);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 30px; position: relative;
}
.mini-phone {
  width: 116px; border-radius: 20px; padding: 7px;
  background: linear-gradient(160deg,#2a2a3a,#0d0d16);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 50px -22px rgba(0,0,0,0.8);
}
.mini-screen { border-radius: 15px; background: radial-gradient(120% 120% at 50% 0%, #18222f, #0a0d15); padding: 14px 10px; min-height: 210px; font-size: 9px; }
.mini-screen .ms-title { text-align:center; font-family: var(--font-display); font-weight:700; font-size: 12px; margin-bottom: 4px; }
.mini-screen .ms-sub { text-align:center; color: var(--text-dim); font-size: 8px; margin-bottom: 14px; }
.mini-cast { width: 52px; height: 52px; margin: 6px auto 14px; border-radius: 14px; background: rgba(24,200,255,0.08); border:1px solid rgba(24,200,255,0.2); display:grid; place-items:center; color: var(--cyan); }
.mini-cast svg { width: 26px; height: 26px; }
.mini-line { height: 7px; border-radius: 4px; background: rgba(255,255,255,0.06); margin-bottom: 7px; }
.mini-line.w70 { width: 70%; } .mini-line.w50 { width: 50%; }
.mini-pw-item { display:flex; align-items:center; gap:6px; background: rgba(255,255,255,0.04); border-radius:8px; padding:7px; margin-bottom:6px; }
.mini-pw-item .dot { width:18px;height:18px;border-radius:6px;background:var(--grad-violet); flex-shrink:0;}
.row-go {
  position: absolute; right: 18px; bottom: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--text);
}
.row-go svg { width: 18px; height: 18px; }

/* LINE sticker thumbnails (used in .product-shots) */
.sticker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 360px;
  padding: 0 18px;
}
.sticker-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.75);
  object-fit: cover;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card.product-row:hover .sticker-thumb { transform: translateY(-2px); }

/* Product detail */
.detail-top { display: grid; grid-template-columns: 1fr 0.85fr; gap: 48px; align-items: center; padding-top: 24px; }
.back-link { display: inline-flex; align-items:center; gap:7px; color: var(--text-soft); font-weight:500; font-size:14px; margin-bottom: 26px; }
.back-link:hover { color: var(--text); }
.back-link svg { width: 16px; height: 16px; }
.detail-head { display:flex; align-items:center; gap:18px; margin-bottom: 22px; }
.detail-head .icon-box { width: 60px; height: 60px; border-radius: 16px; }
.detail-head .icon-box svg { width: 30px; height: 30px; }
.detail-head h1 { font-size: clamp(28px,4vw,38px); }
.detail-top .sub { font-size: 19px; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.detail-top .sub2 { color: var(--text-soft); margin-bottom: 24px; }
.detail-actions { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.appstore-btn {
  display:flex; align-items:center; gap:11px;
  background:#000; border:1px solid var(--border-strong);
  border-radius: 12px; padding: 9px 18px;
}
.appstore-btn svg { width: 26px; height: 26px; }
.appstore-btn .as-sm { font-size: 10px; color: var(--text-soft); display:block; }
.appstore-btn .as-lg { font-size: 16px; font-family: var(--font-display); font-weight: 600; }
.detail-carousel { position: relative; display:flex; justify-content:center; }
.car-btn { position:absolute; top:50%; transform:translateY(-50%); width:40px;height:40px;border-radius:50%; background:rgba(255,255,255,0.07); border:1px solid var(--border-strong); color:#fff; cursor:pointer; display:grid; place-items:center; z-index:2; }
.car-btn svg{width:18px;height:18px;}
.car-prev{ left:-6px; } .car-next{ right:-6px; }

.detail-features { display:grid; grid-template-columns: repeat(5,1fr); gap: 22px; margin-top: 64px; }
.df-item .icon-box { margin-bottom: 14px; }
.df-item h4 { font-size: 16px; margin-bottom: 6px; }
.df-item p { font-size: 13px; color: var(--text-soft); }

.screenshots-strip { display:flex; gap:18px; margin-top: 30px; overflow-x:auto; padding-bottom: 8px; }
.shot {
  flex: 0 0 280px; height: 170px; border-radius: 14px;
  background: linear-gradient(135deg, #14141f, #0c0c14);
  border: 1px solid var(--border); display:grid; place-items:center; color: var(--text-dim);
}

/* About */
.about-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items:center; }
.about-grid h1, .about-grid h2 { font-size: clamp(30px,4.5vw,46px); margin-bottom: 22px; }
.about-grid p { color: var(--text-soft); font-size: 16px; margin-bottom: 24px; max-width: 460px; }
.check-list li { display:flex; align-items:center; gap:12px; margin-bottom: 14px; color: var(--text); font-weight:500; }
.check-list .ck { width:24px;height:24px;border-radius:7px; background:rgba(24,200,255,0.12); color:var(--cyan); display:grid;place-items:center; flex-shrink:0; }
.check-list .ck svg{width:14px;height:14px;}
.about-photo {
  border-radius: var(--radius-lg); overflow:hidden; min-height: 380px;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(99,102,241,0.25), transparent 60%),
    linear-gradient(160deg, #1a1a28, #0a0a12);
  border: 1px solid var(--border); position:relative;
  display:grid; place-items:center;
}
.about-photo .hero-img { border-radius: 0; }
.about-photo .desk { color: var(--text-dim); text-align:center; }
.about-photo .desk svg { width: 90px; height: 90px; margin-bottom: 12px; opacity:.6; }
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 70px; }
.stat { text-align:center; padding: 30px 16px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px,5vw,44px); background: var(--grad-text); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stat .lbl { color: var(--text-soft); font-size: 14px; margin-top: 4px; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items:start; }
.contact-grid h1, .contact-grid h2 { font-size: clamp(30px,4.5vw,44px); margin-bottom: 18px; }
.contact-grid .lead { color: var(--text-soft); font-size:17px; margin-bottom: 36px; max-width: 360px; }
.contact-item { display:flex; gap:16px; margin-bottom: 22px; align-items:flex-start; }
.contact-item .icon-box { width:46px;height:46px;border-radius:12px; }
.contact-item .icon-box svg{width:20px;height:20px;}
.contact-item h4 { font-size:15px; margin-bottom:2px; font-family: var(--font-body); font-weight:600; }
.contact-item p { color: var(--text-soft); font-size:14px; }
.contact-socials { display:flex; gap:12px; margin-top: 30px; }

.contact-form { background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.field { margin-bottom: 20px; }
.field label { display:block; font-size:14px; font-weight:600; margin-bottom:9px; }
.field input, .field textarea {
  width:100%; background: var(--bg); border:1px solid var(--border-strong);
  border-radius: 11px; padding: 13px 15px; color: var(--text);
  font-family: var(--font-body); font-size:15px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus { outline:none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(24,200,255,0.14); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { width:100%; justify-content:center; }
#formNote { display:none; margin-top:16px; font-size:14px; color: var(--cyan); background: rgba(24,200,255,0.08); border:1px solid rgba(24,200,255,0.2); border-radius:10px; padding:12px 14px; }

@media (max-width: 900px) {
  .hero, .detail-top, .about-grid, .contact-grid, .product-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-5, .detail-features { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .hero-visual { order: -1; aspect-ratio: 4 / 3; }
  .product-shots { padding: 24px; }
  .featured-head { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 520px) {
  .grid-5, .detail-features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-links { flex-wrap: wrap; gap: 14px 22px; }
}

/* External-link affordance for off-site nav/footer entries (e.g. Blog) */
.nav-ext { display: inline-flex; align-items: center; gap: 6px; }
.nav-ext svg {
  width: 12px; height: 12px;
  opacity: 0.6;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-ext:hover svg { opacity: 1; transform: translate(2px, -2px); }

/* ---------- Long-form prose (privacy policy, terms, legal docs) ---------- */
.prose {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
}
.prose h1 {
  color: var(--text);
  font-size: clamp(40px, 5.5vw, 60px);
  line-height: 1.05;
  margin-bottom: 14px;
}
.prose h2 {
  color: var(--text);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  margin-top: 56px;
  margin-bottom: 14px;
}
.prose h3 {
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0;
  margin-top: 28px;
  margin-bottom: 8px;
}
.prose p { margin-bottom: 14px; }
.prose .lead {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
.prose ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 16px;
}
.prose ul li {
  margin-bottom: 6px;
  padding-left: 4px;
}
.prose ul li::marker { color: var(--cyan); }
.prose a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(24,200,255,0.28);
  transition: border-color .2s ease, color .2s ease;
}
.prose a:hover { border-bottom-color: var(--cyan); color: #5cdcff; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a svg { width: 11px; height: 11px; opacity: 0.7; vertical-align: baseline; margin-left: 2px; }
.prose ol { list-style: none; counter-reset: rule; margin-bottom: 16px; }
.prose ol li { counter-increment: rule; padding: 4px 0 4px 28px; position: relative; color: var(--text-soft); margin-bottom: 6px; }
.prose ol li::before { content: counter(rule) "."; position: absolute; left: 0; color: var(--cyan); font-weight: 600; }
.prose code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; font-size: .85em; font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace; color: var(--text); }

/* ---------- VideoCast guide / legal page components ---------- */
.vc-tabs { display: flex; gap: 8px; margin: 24px 0 0; }
.vc-tab-btn { padding: 6px 20px; font-family: var(--font-body); font-size: 14px; font-weight: 500; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: transparent; color: var(--text-dim); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.vc-tab-btn.active { background: rgba(24,200,255,.12); border-color: rgba(24,200,255,.4); color: var(--cyan); font-weight: 600; }
.vc-tab-btn:not(.active):hover { background: var(--surface-hover); color: var(--text-soft); }
.vc-steps { list-style: none; counter-reset: step; margin: 16px 0; }
.vc-steps li { counter-increment: step; padding: 8px 0 8px 44px; position: relative; color: var(--text-soft); }
.vc-steps li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-cyan); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.vc-step-title { font-weight: 600; color: var(--text); display: block; margin-bottom: 2px; }
.vc-tip-list { list-style: none; margin: 16px 0; }
.vc-tip-list li { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-soft); }
.vc-tip-list li:last-child { border-bottom: none; }
.vc-tip-name { font-weight: 600; color: var(--text); font-size: 15px; display: block; margin-bottom: 4px; }
.vc-partner-list { list-style: none; margin: 16px 0; }
.vc-partner-list li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.vc-partner-list li:last-child { border-bottom: none; }
.vc-partner-name { font-weight: 600; color: var(--text); font-size: 15px; }

/* ---------- Private Vault legal page components ---------- */
.pv-callout { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin: 20px 0; color: var(--text-soft); }
.pv-callout strong { color: var(--violet); }
.pv-platform-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: rgba(139,92,246,0.1); color: var(--violet); border: 1px solid rgba(139,92,246,0.25); margin-right: 6px; vertical-align: middle; }

/* ---------- Section spacing utilities ---------- */
.section-pt-hero { padding-top: 64px; }
.section-pb-compact { padding-bottom: 48px; }
.section-pt-0 { padding-top: 0; }
.section-pt-detail { padding-top: 40px; padding-bottom: 0; }
.mt-cta { margin-top: 48px; }
.mb-card { margin-bottom: 22px; }
.mt-card { margin-top: 22px; }
.pi-head--offset { margin-top: 14px; }
.text-center { text-align: center; }

/* ---------- Product actions row ---------- */
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Tag spacing modifier ---------- */
.tag--spaced { margin-bottom: 20px; }

/* ---------- Staggered mini-phone pair ---------- */
.mini-phone--second { margin-top: 24px; }

/* ---------- 404 page ---------- */
.error-section { padding-top: 120px; }
.error-section .container { text-align: center; }
.error-title { font-size: clamp(48px, 8vw, 96px); margin: 16px 0 18px; }
.error-lead { color: var(--text-soft); font-size: 18px; max-width: 520px; margin: 0 auto 36px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
