:root {
  --bg: #000000;
  --bg-alt: #0b0d0c;
  --surface: #141615;
  --surface-2: #1c1f1d;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --accent: #30d158;
  --accent-deep: #1b7f4b;
  --accent-soft: rgba(48, 209, 88, 0.14);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.55;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Apple Transparent-to-Frosted Navbar (Menyatu dengan Video Hero) */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.nav.scrolled {
  background: rgba(10, 12, 11, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, #24a15e 0%, #146339 100%);
  box-shadow: 0 4px 14px rgba(48, 209, 88, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-icon.sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 11px;
  border-radius: 10px;
  background: rgba(14, 18, 16, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff;
  text-decoration: none;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-store-badge:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: rgba(20, 28, 24, 0.96);
}

.nav-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-store-text small {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.nav-store-text strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
}

/* HERO */
.hero {
  position: relative;
  padding: 132px 0 96px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0.86;
  filter: brightness(1.06) saturate(1.18) contrast(1.04);
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.16) 58%, rgba(0, 0, 0, 0.52) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 32%, rgba(0, 0, 0, 0.55) 74%, #000000 100%);
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: 620px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(48, 209, 88, 0.22) 0%, rgba(27, 127, 75, 0.06) 45%, transparent 72%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(42px, 7.2vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.55);
}

.gradient-text {
  background: linear-gradient(95deg, #5ef284 0%, #30d158 45%, #ffba49 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.45));
}

.hero-desc {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(245, 245, 247, 0.9);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #041f0f;
  box-shadow: 0 12px 32px rgba(48, 209, 88, 0.32);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Play Store Style Download Badge */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 10px 22px 10px 18px;
  border-radius: 14px;
  background: rgba(14, 18, 16, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  text-decoration: none;
  text-align: left;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(48, 209, 88, 0.18);
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(20, 28, 24, 0.98);
}

.store-badge-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.store-badge-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.store-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.store-badge-text small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.store-badge-text strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-size {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.88);
  margin-bottom: 56px;
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.spec-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.spec-sep {
  opacity: 0.45;
}

/* Interactive iPhone Mockup */
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iphone-bezel {
  width: 344px;
  height: 690px;
  border-radius: 50px;
  padding: 11px;
  background: linear-gradient(145deg, #2d3033 0%, #141517 50%, #24272a 100%);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 80px rgba(48, 209, 88, 0.15);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background: #f2f2f7;
  color: #1c1c1e;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.iphone-statusbar {
  height: 38px;
  background: #ffffff;
  padding: 8px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.dynamic-island {
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: #000000;
}

.phone-app-header {
  background: #ffffff;
  padding: 8px 14px 10px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.phone-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.phone-sub {
  font-size: 10.5px;
  color: #6e6e73;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e5e5ea;
  color: #48484a;
  font-size: 10.5px;
  font-weight: 700;
}

.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #34c759;
  display: inline-block;
}

.phone-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-tabbar {
  background: #ffffff;
  border-top: 1px solid rgba(60, 60, 67, 0.12);
  padding: 8px 6px 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ptab {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  color: #8e8e93;
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: color 0.15s, transform 0.12s;
}

.ptab:active {
  transform: scale(0.92);
}

.ptab.active {
  color: #1b7f4b;
  font-weight: 700;
}

.stage-hint {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.88);
}

.stage-hint svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-head h2,
.calc-copy h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-sub {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 14px;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.bento-card.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.52;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  z-index: 0;
}

.bento-card.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 14, 12, 0.42) 0%,
      rgba(10, 14, 12, 0.72) 48%,
      rgba(8, 11, 9, 0.94) 100%);
  z-index: 1;
}

.bento-card.dark-emerald.has-bg::after {
  background: linear-gradient(95deg,
      rgba(8, 28, 17, 0.92) 0%,
      rgba(8, 28, 17, 0.76) 55%,
      rgba(8, 28, 17, 0.42) 100%);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(48, 209, 88, 0.42);
}

.bento-card.has-bg:hover::before {
  transform: scale(1.05);
  opacity: 0.65;
}

.bento-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.dark-emerald {
  background: linear-gradient(145deg, #103823 0%, #0a1b12 100%);
  border-color: rgba(48, 209, 88, 0.28);
}

.bento-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bento-card h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #ffffff;
}

.bento-card p {
  font-size: 15px;
  color: rgba(245, 245, 247, 0.82);
}

.bento-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bento-metric-row strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.bento-metric-row span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

/* Interactive Calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.calc-copy p {
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 16px;
}

.calc-points {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.calc-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(245, 245, 247, 0.9);
}

.calc-points svg {
  color: var(--accent);
  flex-shrink: 0;
}

.calc-card {
  background: linear-gradient(160deg, #161a18 0%, #101311 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(48, 209, 88, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 14px;
  gap: 4px;
}

.ctab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctab.active {
  background: var(--accent);
  color: #041f0f;
}

.calc-panel {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.calc-panel.active {
  display: flex;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.text-red {
  color: #ff453a;
}

.text-accent {
  color: var(--accent);
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
}

.calc-label-row strong {
  color: var(--accent);
}

input[type='range'] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.calc-result {
  background: var(--accent-soft);
  border: 1px solid rgba(48, 209, 88, 0.28);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-fase {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--accent);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}

.calc-row-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
}

/* Video Showcase */
.video-switcher {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 999px;
  margin-top: 24px;
  gap: 4px;
}

.vswitch {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.vswitch.active {
  background: var(--accent);
  color: #041f0f;
}

.video-showcase-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.video-showcase-grid.landscape-mode {
  grid-template-columns: 1fr;
  max-width: 920px;
}

.video-showcase-grid.landscape-mode .chapter-panel {
  display: none;
}

.video-stage {
  display: flex;
  justify-content: center;
}

.video-frame {
  border-radius: 34px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72), 0 0 60px rgba(48, 209, 88, 0.08);
  background: #040b07;
  transition: max-width 0.3s ease;
}

.video-frame.vertical {
  width: 340px;
  aspect-ratio: 9 / 16;
}

.video-frame.landscape {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.chapter-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.chapter-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.chapter-panel-head h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.chapter-panel-head p {
  font-size: 14.5px;
  color: var(--text-muted);
}

.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chapter-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.chapter-btn:hover {
  border-color: rgba(48, 209, 88, 0.4);
  transform: translateX(3px);
}

.chapter-btn.active {
  background: rgba(48, 209, 88, 0.12);
  border-color: var(--accent);
}

.ch-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  width: 24px;
  flex-shrink: 0;
}

.ch-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ch-info strong {
  font-size: 14px;
  font-weight: 700;
}

.ch-info small {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-time {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 9px;
  border-radius: 8px;
}

.chapter-btn.active .ch-time {
  color: var(--accent);
  background: rgba(48, 209, 88, 0.18);
}

/* Steps & Download Banner */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.step-visual {
  height: 146px;
  border-radius: 18px;
  background: linear-gradient(155deg, #0c1711 0%, #070a08 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 20px;
}

.mini-android-dialog {
  width: 100%;
  background: #1b1e1c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 13px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.mini-dl-row,
.mini-success-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-apk-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(48, 209, 88, 0.16);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-app-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #24a15e 0%, #146339 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-dl-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mini-dl-info strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-dl-info small {
  font-size: 11px;
  color: var(--text-muted);
}

.mini-tap-btn {
  background: var(--accent);
  color: #041f0f;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(48, 209, 88, 0.22);
}

.mini-perm-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mini-perm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  padding: 7px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.mini-toggle {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: var(--accent);
  padding: 2px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.mini-toggle i {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ffffff;
  display: block;
}

.mini-perm-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.mini-cancel {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.step-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-muted);
}

.download-banner {
  background: linear-gradient(135deg, #133c26 0%, #0c1f15 100%);
  border: 1px solid rgba(48, 209, 88, 0.3);
  border-radius: var(--radius);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.download-banner h3 {
  font-size: 26px;
  margin-bottom: 4px;
}

.download-banner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(48, 209, 88, 0.34);
  background: linear-gradient(160deg, #161a18 0%, #111412 100%);
}

.faq-list summary {
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '';
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.07);
  background-image:
    linear-gradient(var(--accent), var(--accent)),
    linear-gradient(var(--accent), var(--accent));
  background-size: 12px 2px, 2px 12px;
  background-position: center, center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: background-color 0.2s ease, background-size 0.2s ease;
}

.faq-list details[open] summary::after {
  background-color: var(--accent-soft);
  background-size: 12px 2px, 2px 0px;
}

.faq-list details p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Outro Backdrop (FAQ + Footer with inverted Hero palm gradient) */
.outro-backdrop {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.outro-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.outro-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  opacity: 0.78;
  filter: brightness(1.04) saturate(1.18) contrast(1.04);
  display: block;
}

.outro-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      #000000 0%,
      rgba(0, 0, 0, 0.78) 24%,
      rgba(6, 16, 10, 0.42) 62%,
      rgba(0, 0, 0, 0.56) 100%
    );
}

.outro-backdrop .faq-list details {
  background: rgba(16, 20, 18, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.outro-backdrop .faq-list details[open] {
  background: rgba(16, 26, 20, 0.88);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13.5px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .container {
    padding: 0 18px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 106px 0 72px;
  }

  .bento-grid,
  .calc-layout,
  .steps-grid,
  .video-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .bento-card,
  .calc-card,
  .step-card,
  .chapter-panel,
  .chapter-list,
  .chapter-btn,
  .video-stage {
    min-width: 0;
    max-width: 100%;
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .iphone-bezel {
    width: 100%;
    max-width: 320px;
    height: 640px;
  }

  .video-frame.vertical {
    width: 100%;
    max-width: 310px;
  }

  .video-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 18px;
    max-width: 100%;
  }

  .ch-info small {
    white-space: normal;
  }

  .bento-metric-row strong {
    font-size: 20px;
  }

  .calc-row {
    flex-wrap: wrap;
  }

  .download-banner {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .store-badge {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .calc-card,
  .bento-card,
  .step-card {
    padding: 22px 18px;
  }
}

/* Post-Download Modal */
.dl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dl-modal-backdrop.open {
  display: flex;
}

.dl-modal-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg, #161b18 0%, #0e110f 100%);
  border: 1px solid rgba(48, 209, 88, 0.35);
  border-radius: 28px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75);
}

.dl-modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-modal-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dl-modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.dl-modal-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 22px;
}

.dl-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
}

.dl-step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #041f0f;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dl-step strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.dl-step small {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.dl-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-close-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.dl-retry-link {
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}