:root {
  --brand: #0A66D8;
  --brand-hover: #0852B0;
  --brand-light: #3B8CF0;
  --brand-soft: rgba(10, 102, 216, 0.09);
  --brand-border: rgba(10, 102, 216, 0.22);
  --accent-orange: #FF8A3D;
  --accent-orange-soft: rgba(255, 138, 61, 0.12);
  --accent-cyan: #2CA5B8;
  --accent-emerald: #10B981;

  --bg: #F8FAFC;
  --bg-elevated: #FFFFFF;
  --bg-alt: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --bg-glass-strong: rgba(255, 255, 255, 0.90);

  --text: #0F172A;
  --text-2: #475569;
  --text-3: #64748B;

  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --card: #FFFFFF;
  --card-hover: #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 32px -4px rgba(15, 35, 75, 0.07), 0 4px 12px -2px rgba(15, 35, 75, 0.04);
  --shadow-lg: 0 24px 56px -8px rgba(10, 50, 110, 0.13), 0 8px 20px -4px rgba(10, 50, 110, 0.06);
  --shadow-glow: 0 0 60px rgba(59, 140, 240, 0.22);

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #4DA1FF;
    --brand-hover: #70B5FF;
    --brand-light: #68B0FF;
    --brand-soft: rgba(77, 161, 255, 0.13);
    --brand-border: rgba(77, 161, 255, 0.28);
    --accent-orange: #FF9852;
    --accent-orange-soft: rgba(255, 152, 82, 0.15);
    --accent-cyan: #5FB3C8;

    --bg: #070B12;
    --bg-elevated: #0E1522;
    --bg-alt: #0B111C;
    --bg-glass: rgba(14, 21, 34, 0.76);
    --bg-glass-strong: rgba(18, 27, 43, 0.88);

    --text: #F1F5F9;
    --text-2: #94A3B8;
    --text-3: #64748B;

    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.15);
    --card: #101826;
    --card-hover: #141E30;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 14px 36px -4px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 28px 64px -8px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 80px rgba(52, 148, 255, 0.18);
  }
}

:root[data-theme="dark"] {
  --brand: #4DA1FF;
  --brand-hover: #70B5FF;
  --brand-light: #68B0FF;
  --brand-soft: rgba(77, 161, 255, 0.13);
  --brand-border: rgba(77, 161, 255, 0.28);
  --accent-orange: #FF9852;
  --accent-orange-soft: rgba(255, 152, 82, 0.15);
  --accent-cyan: #5FB3C8;

  --bg: #070B12;
  --bg-elevated: #0E1522;
  --bg-alt: #0B111C;
  --bg-glass: rgba(14, 21, 34, 0.76);
  --bg-glass-strong: rgba(18, 27, 43, 0.88);

  --text: #F1F5F9;
  --text-2: #94A3B8;
  --text-3: #64748B;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --card: #101826;
  --card-hover: #141E30;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 36px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 64px -8px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 80px rgba(52, 148, 255, 0.18);
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.68 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Sticky Glass Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand:hover { opacity: 0.9; }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #0F2E4C;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 46, 76, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark svg, .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  margin-left: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
}

.nav a {
  color: var(--text-2);
  padding: 7px 13px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.nav a:hover {
  color: var(--text);
  background: var(--brand-soft);
}
.nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.nav .lang-switch {
  margin-left: 4px;
  border: 1px solid var(--line-strong);
  padding: 5px 12px;
  font-size: 13.5px;
  color: var(--text);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.nav .lang-switch:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.theme-toggle {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--text-2);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  margin-left: 4px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.theme-toggle:hover {
  color: var(--text);
  border-color: var(--brand);
  transform: translateY(-1px);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background:
    radial-gradient(1000px 520px at 15% 10%, rgba(59, 140, 240, 0.14), transparent 70%),
    radial-gradient(850px 480px at 85% 25%, rgba(95, 179, 200, 0.15), transparent 70%),
    radial-gradient(600px 400px at 75% 85%, rgba(255, 138, 61, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--bg-glass-strong);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 0 4px var(--accent-orange-soft);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.1;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, #2CA5B8 55%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 32px;
  max-width: 31em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
}
.cta svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.cta.soon {
  background: linear-gradient(135deg, #0F2E4C 0%, #0A55C2 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: default;
}
.cta.soon:hover {
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--bg-glass-strong);
  color: var(--text);
  border: 1px solid var(--line-strong);
  font-weight: 600;
  font-size: 15.5px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.cta-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-2);
  background: var(--bg-glass);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}
.hero-pill svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.platforms {
  font-size: 14px;
  color: var(--text-3);
  margin: 14px 0 0;
}

/* Hero Device Stage & Floating Cards */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 140, 240, 0.28) 0%, rgba(95, 179, 200, 0.12) 50%, transparent 72%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.hero-shot {
  position: relative;
  z-index: 2;
  width: min(286px, 80vw);
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(145deg, #334155 0%, #0F172A 45%, #1E293B 100%);
  box-shadow:
    0 32px 70px -12px rgba(10, 35, 80, 0.36),
    0 12px 28px -6px rgba(10, 35, 80, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -1px 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
  margin-right: 48px;
}
.hero-shot:hover {
  transform: translateY(-5px);
}

.hero-shot-secondary {
  position: absolute;
  z-index: 1;
  width: min(256px, 70vw);
  border-radius: 42px;
  padding: 9px;
  background: linear-gradient(145deg, #1E293B 0%, #090D16 60%, #334155 100%);
  box-shadow:
    0 28px 60px -10px rgba(2, 8, 23, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transform: translate(96px, 24px) rotate(5deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}
.hero-shot-secondary:hover {
  transform: translate(102px, 16px) rotate(3deg) scale(1.02);
  z-index: 3;
}
.hero-shot-secondary img {
  border-radius: 34px;
  width: 100%;
  height: auto;
  display: block;
  background: #090D16;
}

.hero-shot img {
  border-radius: 38px;
  width: 100%;
  height: auto;
  display: block;
  background: #E8F1FC;
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--bg-glass-strong);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  pointer-events: none;
  animation: floatBob 6s ease-in-out infinite;
}

.float-badge strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}
.float-badge span {
  color: var(--text-2);
  font-size: 12px;
}

.float-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
}
.float-badge-icon.blue {
  background: var(--brand-soft);
  color: var(--brand);
}
.float-badge-icon.orange {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
}
.float-badge-icon.emerald {
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-emerald);
}

.float-badge.b1 {
  top: 9%;
  left: -18px;
  animation-delay: 0s;
}
.float-badge.b2 {
  bottom: 22%;
  right: -24px;
  animation-delay: -2.2s;
}
.float-badge.b3 {
  bottom: 6%;
  left: -12px;
  animation-delay: -4s;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* ==========================================================================
   Sections & Headers
   ========================================================================== */
section {
  padding: 96px 0;
  position: relative;
}
section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head p {
  color: var(--text-2);
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

/* ==========================================================================
   Feature Bento Cards
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}
.card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  border: 1px solid var(--brand-border);
}
.card .icon.orange {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  border-color: rgba(255, 138, 61, 0.25);
}
.card .icon.cyan {
  background: rgba(44, 165, 184, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(44, 165, 184, 0.26);
}
.card .icon.emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.26);
}
.card .icon.indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #6366F1;
  border-color: rgba(99, 102, 241, 0.26);
}
.card .icon svg {
  width: 23px;
  height: 23px;
}

.card-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}
.card-badge.highlight {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand-border);
}
.card-badge.orange {
  color: var(--accent-orange);
  background: var(--accent-orange-soft);
  border-color: rgba(255, 138, 61, 0.26);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.65;
  flex-grow: 1;
}

.card-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-alt);
  padding: 3px 9px;
  border-radius: 6px;
}

.tag {
  display: inline-block;
  font-size: 12.5px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 1px 7px;
  margin-left: 6px;
  vertical-align: 2px;
  font-weight: 600;
}

/* ==========================================================================
   iPhone Gallery Showcase
   ========================================================================== */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 52px;
  margin-bottom: 20px;
}

.gallery-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-hint {
  font-size: 13px;
  color: var(--text-3);
}

.shots-phone {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.shot-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px 12px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
}
.shot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-border);
}

.shot-card img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
}

.shot-card figcaption {
  margin-top: 12px;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shot-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.shot-card-sub {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.45;
}

.shot-num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* Camera Dual-Step Real Device Banner */
.camera-duo-banner {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.camera-duo-shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* iPadOS 2x2 Landscape Split-View Showcase */
.shots-ipad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.ipad-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
}
.ipad-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-border);
}

.ipad-bezel {
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, #273244 0%, #0F172A 100%);
  box-shadow: 0 10px 26px rgba(10, 35, 80, 0.16);
}

.ipad-bezel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11px;
}

.ipad-card figcaption {
  margin-top: 14px;
  padding: 0 6px;
}

.ipad-card figcaption strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16.5px;
  color: var(--text);
  margin-bottom: 4px;
}

.ipad-card figcaption span.desc {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ==========================================================================
   Cross-Platform Workflow Spotlight (Long Screenshot & Video Subtitle Stitch)
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.workflow-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.workflow-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}

.workflow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.workflow-head h3 {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.workflow-head p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}

.workflow-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.step-idx {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.workflow-card.teal .step-idx {
  background: var(--accent-cyan);
}

.step-body strong {
  display: block;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 2px;
}
.step-body span {
  display: block;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.workflow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.workflow-pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-border);
}
.workflow-card.teal .workflow-pill {
  background: rgba(44, 165, 184, 0.10);
  color: var(--accent-cyan);
  border-color: rgba(44, 165, 184, 0.25);
}

/* Native-style UI Mockups inside Workflow Cards */
.ui-mock {
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ui-mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.ui-seg {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 2px;
  font-size: 12px;
  font-weight: 600;
}
.ui-seg span {
  padding: 3px 9px;
  border-radius: 7px;
  color: var(--text-2);
}
.ui-seg span.active {
  background: var(--brand);
  color: #fff;
}
.workflow-card.teal .ui-seg span.active {
  background: var(--accent-cyan);
}

.ui-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ui-stage {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 4px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
}
.ui-stage.active {
  background: rgba(99, 102, 241, 0.14);
  color: #6366F1;
}

.ui-page-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 12.5px;
}
.ui-page-row.removed {
  border-style: dashed;
  opacity: 0.72;
}
.ui-btn-mini {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  white-space: nowrap;
}
.ui-btn-mini.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

.ui-sub-preview {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0F172A;
  color: #F8FAFC;
}
.ui-sub-cover {
  padding: 14px 12px 10px;
  background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
  position: relative;
}
.ui-sub-band {
  border: 1.5px solid #22C55E;
  background: rgba(34, 197, 94, 0.14);
  border-radius: 7px;
  padding: 5px 8px;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}
.ui-sub-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  background: #111827;
}
.ui-sub-strip small, .ui-sub-band small {
  display: block;
  color: #93C5FD;
  font-size: 11.5px;
}

/* Recent Breakthroughs Banner Grid */
.breakthrough-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.breakthrough-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.breakthrough-card h3 {
  margin: 0;
  font-size: 18.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.breakthrough-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   Mac Section: Interactive Split + Uncropped Bento Showcase
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.points li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s ease;
}
.points li:hover {
  border-color: var(--brand-border);
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.points strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text);
}

.points span.desc {
  display: block;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 13.5px/1 ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 7px;
  padding: 5px 9px;
  background: var(--bg-elevated);
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.kbd-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
}

/* Mac 2x2 Large Showcase Grid (Uncropped so bottom toolbars are 100% visible!) */
.shots-mac {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.shots-mac figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
}

.shots-mac figure:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-border);
}

.mac-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.mac-dots {
  display: flex;
  gap: 7px;
}
.mac-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.mac-dots i:nth-child(1) { background: #FF5F56; }
.mac-dots i:nth-child(2) { background: #FFBD2E; }
.mac-dots i:nth-child(3) { background: #27C93F; }

.mac-window-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
}

.mac-img-wrap {
  background: var(--bg-alt);
  padding: 14px;
  display: grid;
  place-items: center;
  flex-grow: 1;
}

.shots-mac img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 35, 80, 0.10);
}

.shots-mac figcaption {
  padding: 18px 22px 20px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.shots-mac figcaption strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 17px;
  margin-bottom: 4px;
}

/* ==========================================================================
   BYOK / Smart Model Routing Diagram
   ========================================================================== */
.routing-banner {
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.routing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.routing-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.routing-head span {
  font-size: 13.5px;
  color: var(--text-3);
}

.routing-matrix {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 24px;
  align-items: center;
}

.routing-caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cap-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.cap-chip small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-3);
}

.routing-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(10, 102, 216, 0.10), rgba(95, 179, 200, 0.12));
  border: 1px solid var(--brand-border);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.routing-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.provider-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.provider-pill.offline {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.28);
  color: var(--accent-emerald);
}
.provider-pill.offline .dot {
  background: var(--accent-emerald);
}

/* ==========================================================================
   Privacy Band
   ========================================================================== */
.privacy-band {
  padding: 84px 0;
}

.privacy-box {
  background: linear-gradient(135deg, #0B192C 0%, #0F2E4C 60%, #133B63 100%);
  color: #F8FAFC;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.privacy-box::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 179, 200, 0.25), transparent 70%);
  pointer-events: none;
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.privacy-box h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 14px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.privacy-box p {
  color: rgba(241, 245, 249, 0.82);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 560px;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.2s ease;
}
.privacy-link:hover {
  background: rgba(255, 255, 255, 0.20);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.privacy-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pillar {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
}
.pillar strong {
  display: block;
  font-size: 16px;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.pillar span {
  font-size: 13.5px;
  color: rgba(241, 245, 249, 0.72);
}

/* ==========================================================================
   Document Pages (Privacy Policy & Support)
   ========================================================================== */
.doc-hero {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(59, 140, 240, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 44px;
}

.doc-hero .wrap {
  max-width: 820px;
}

.doc-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.18;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.doc-hero .meta {
  color: var(--text-2);
  font-size: 16.5px;
  margin: 0;
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 28px 96px;
}

.doc > h1 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.2;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.doc > .meta {
  color: var(--text-2);
  font-size: 15.5px;
  margin: 0 0 36px;
}

.doc-summary {
  background: var(--card);
  border: 1px solid var(--brand-border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 36px;
}
.doc-summary p {
  margin: 0;
}

.doc-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.doc h2 {
  font-size: 21px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.doc-section h2 {
  margin-top: 0;
}

.doc h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}
.doc p, .doc li {
  color: var(--text);
}
.doc ul {
  padding-left: 1.3em;
  margin: 10px 0;
}
.doc li {
  margin: 8px 0;
}
.doc .note {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 16px 18px;
  color: var(--text-2);
}

/* FAQ Accordions */
.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details:hover {
  border-color: var(--brand-border);
}

.faq details[open] {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-md);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17.5px;
  list-style: none;
  position: relative;
  padding-right: 36px;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #fff;
}

.faq details > div {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}
.faq details > div p {
  color: var(--text-2);
  margin: 8px 0;
}

.contact-box {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--brand-soft), rgba(95, 179, 200, 0.10));
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.contact-box h2 {
  margin-top: 0;
}

/* ==========================================================================
   Lightbox Modal for Screenshots
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 11, 18, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: min(960px, 92vw);
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}
.lightbox-caption {
  margin-top: 14px;
  color: #F1F5F9;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--text-3);
  font-size: 14.5px;
  background: var(--bg);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-weight: 600;
}
.footer-brand .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--text-2);
}
.site-footer a:hover {
  color: var(--brand);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 12px;
    gap: 44px;
  }
  .float-badge.b1 { left: 0; }
  .float-badge.b2 { right: 0; }
  .float-badge.b3 { left: 4px; }
  .grid {
    grid-template-columns: 1fr;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .breakthrough-grid {
    grid-template-columns: 1fr;
  }
  .camera-duo-banner {
    grid-template-columns: 1fr;
    padding: 22px 20px;
  }
  .shots-ipad {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .routing-matrix {
    grid-template-columns: 1fr;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .shots-phone {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 12px;
  }
  .shot-card {
    flex: 0 0 62%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .shots-mac {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  section { padding: 68px 0; }
  .hero { padding: 44px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 17px; }
  .float-badge { display: none; }
  .privacy-box { padding: 36px 24px; border-radius: 26px; }
  .privacy-pillars { grid-template-columns: 1fr; }
  .routing-caps { grid-template-columns: 1fr; }
  .nav { gap: 2px; font-size: 13.5px; }
  .nav a { padding: 6px 9px; }
  .brand-sub { display: none; }
  .doc { padding: 32px 18px 64px; }
  .doc-section { padding: 22px 20px; }
}

@media (max-width: 440px) {
  .nav a.hide-sm { display: none; }
}
