/* ============ THEME ============ */
:root, [data-theme="light"] {
  --bg: #F3EEE5;
  --bg-2: #ECE4D4;
  --paper: #FAF6EE;
  --ink: #171413;
  --ink-2: #3B3531;
  --muted: #7A716A;
  --line: #1714131A;
  --line-strong: #17141333;
  --accent: #B17D2A;
  --accent-2: #D9A24A;
  --accent-soft: #F0E2C2;
  --accent-ink: #2A1E04;
  --nav-bg: rgba(243, 238, 229, 0.85);
  --card-shadow: 0 1px 0 rgba(23,20,19,0.04), 0 10px 30px -10px rgba(23,20,19,0.18);
}
[data-theme="dark"] {
  --bg: #0E1622;
  --bg-2: #15202F;
  --paper: #1A2737;
  --ink: #F1EADA;
  --ink-2: #C8C0AE;
  --muted: #7F8A9C;
  --line: #F1EADA1A;
  --line-strong: #F1EADA33;
  --accent: #E0A640;
  --accent-2: #F2C26A;
  --accent-soft: #2B3A4E;
  --accent-ink: #F2C26A;
  --nav-bg: rgba(14, 22, 34, 0.85);
  --card-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 10px 30px -10px rgba(0,0,0,0.5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-weight: 700;
  margin: 0;
}
.display { font-weight: 700; letter-spacing: -0.03em; }
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }
::selection { background: var(--accent); color: #fff; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-family: inherit; font-size: 15px;
  transition: transform 0.12s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-weight: 800; font-size: 22px; letter-spacing: -0.04em;
  display: flex; align-items: center; gap: 8px;
}
.logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a {
  color: var(--ink-2); position: relative; padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.2s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-login { font-size: 14px; color: var(--ink-2); padding: 8px 14px; font-weight: 500; }
.nav-login:hover { color: var(--ink); }
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}
.theme-toggle:hover { background: var(--bg-2); transform: rotate(15deg); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ============ SECTION LABELS ============ */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
}
.section-label svg { width: 12px; height: 12px; }

/* ============ HERO ============ */
.hero { padding: 100px 0 120px; position: relative; }
.hero h1 {
  font-size: clamp(56px, 9vw, 132px);
  margin: 28px 0 0;
  line-height: 0.98;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.hero-sub {
  font-size: 19px; color: var(--ink-2);
  max-width: 620px; line-height: 1.5; margin: 28px 0 0;
}
.hero-ctas {
  display: flex; align-items: center; gap: 16px;
  margin-top: 40px; flex-wrap: wrap;
}
.play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 18px 6px 6px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.play-btn:hover { background: var(--bg-2); }
.play-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
}

/* ============ MARQUEE ============ */
.marquee {
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 48px;
  animation: scroll 40s linear infinite;
  width: max-content;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ink-2);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: '✦'; color: var(--accent); font-size: 14px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ PARTNERS ============ */
.partners {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.partners-label {
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}
.partners-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.partner-tile {
  width: 100%;
  height: 120px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}
.partner-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.partner-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .partners-row { grid-template-columns: 1fr; gap: 14px; }
  .partner-tile { height: 80px; }
}

/* ============ STATS ============ */
.stats {
  padding: 64px 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 0 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 16px; color: var(--ink-2);
  font-size: 15px; max-width: 240px;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .stat { padding: 24px 0 0; border-left: none; border-top: 1px solid var(--line); }
  .stat:first-child { padding-top: 0; border-top: none; }
}

/* ============ FEATURES ============ */
.features { padding: 120px 0 80px; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 48px; margin-bottom: 56px; flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  margin: 16px 0 0; max-width: 760px;
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 600; }
.section-head .right { color: var(--ink-2); max-width: 340px; font-size: 16px; }

.feat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feat-card {
  border: 1px solid var(--line); border-radius: 24px;
  padding: 28px; background: var(--paper);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.feat-card.span-3 { grid-column: span 3; min-height: 360px; }
.feat-card.span-2 { grid-column: span 2; min-height: 280px; }
.feat-card .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.feat-card h3 { font-size: 30px; font-weight: 700; margin: 0; letter-spacing: -0.025em; line-height: 1.05; }
.feat-card p { color: var(--ink-2); margin: 0; font-size: 15px; max-width: 400px; }
.feat-card .visual {
  margin-top: auto; flex: 1; min-height: 100px;
  border-radius: 14px; background: var(--bg-2);
  position: relative; overflow: hidden;
}
@media (max-width: 980px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card.span-3, .feat-card.span-2 { grid-column: span 1; }
}
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* Feature mini-visuals */
.viz-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px; height: 100%; }
.viz-frame {
  background: var(--bg);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 8px;
}
.viz-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 6px, rgba(0,0,0,0.05) 6px 7px);
  pointer-events: none;
}
.viz-frame-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--paper);
  background: rgba(0,0,0,0.55);
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}
.viz-frame.f1 { background: linear-gradient(135deg, oklch(0.35 0.07 35), oklch(0.18 0.04 30)); }
.viz-frame.f2 { background: linear-gradient(135deg, oklch(0.55 0.10 70), oklch(0.28 0.06 60)); }
.viz-frame.f3 { background: linear-gradient(135deg, oklch(0.3 0.06 250), oklch(0.15 0.03 240)); }
.viz-frame.f4 { background: linear-gradient(135deg, oklch(0.4 0.10 330), oklch(0.2 0.05 320)); }
.viz-frame.f5 { background: var(--ink); }
.viz-frame.f6 { background: linear-gradient(135deg, oklch(0.6 0.13 70), oklch(0.35 0.09 60)); }

.viz-prompt { padding: 18px; height: 100%; display: flex; flex-direction: column; gap: 10px; justify-content: end; }
.viz-input {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
  font-size: 13px; color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.viz-input::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
  flex-shrink: 0; animation: blink 1.2s infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.viz-avatar-stack { height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; position: relative; }
.viz-bubble {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px;
  font-size: 12px; color: var(--ink-2);
  position: absolute; box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.viz-bubble.b1 { top: 18%; left: 12%; }
.viz-bubble.b2 { bottom: 22%; right: 12%; background: var(--ink); color: var(--bg); border-color: var(--ink); }

.viz-music { display: flex; align-items: end; justify-content: center; height: 100%; gap: 4px; padding: 16px; }
.viz-music span { display: block; width: 6px; background: var(--accent); border-radius: 3px; animation: bounce 1.2s ease-in-out infinite; }
.viz-music span:nth-child(1) { height: 30%; animation-delay: 0s; }
.viz-music span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.viz-music span:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.viz-music span:nth-child(4) { height: 45%; animation-delay: 0.3s; }
.viz-music span:nth-child(5) { height: 75%; animation-delay: 0.4s; }
.viz-music span:nth-child(6) { height: 25%; animation-delay: 0.5s; }
.viz-music span:nth-child(7) { height: 80%; animation-delay: 0.6s; }
.viz-music span:nth-child(8) { height: 50%; animation-delay: 0.7s; }
.viz-music span:nth-child(9) { height: 35%; animation-delay: 0.8s; }
@keyframes bounce { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.6); } }

.viz-money { padding: 18px; height: 100%; display: flex; flex-direction: column; justify-content: end; gap: 6px; }
.viz-money-row {
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  padding: 6px 10px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink-2);
}
.viz-money-row strong { color: var(--accent); font-weight: 500; }

/* ============ TUTORIAL ============ */
.tutorial { padding: 100px 0; border-top: 1px solid var(--line); }
.tut-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.tut-grid h2 { font-size: clamp(40px, 5vw, 72px); margin: 20px 0 0; }
.tut-grid h2 em { font-style: italic; color: var(--accent); font-weight: 600; }
.tut-grid > div > p { color: var(--ink-2); font-size: 17px; margin: 24px 0 0; max-width: 440px; }
.steps { display: flex; flex-direction: column; gap: 4px; }
.step {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 28px; background: var(--paper);
  cursor: pointer; transition: background 0.25s, border-color 0.25s;
}
.step.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.step.active .step-num { color: var(--accent); }
.step.active .step-desc { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.step-head { display: flex; align-items: center; gap: 20px; }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }
.step-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.step-icon {
  margin-left: auto; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid currentColor;
  display: grid; place-items: center;
  opacity: 0.5; transition: opacity 0.2s, transform 0.3s;
}
.step.active .step-icon { opacity: 1; transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.step-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding-top 0.3s ease; }
.step.active .step-body { max-height: 220px; padding-top: 16px; }
.step-desc { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 480px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.05em; padding: 5px 10px; border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--bg) 20%, transparent);
}
@media (max-width: 900px) { .tut-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ============ REVIEWS ============ */
.reviews { padding: 100px 0; background: var(--ink); color: var(--bg); border-radius: 32px; margin: 0 32px; }
.reviews .container { max-width: 1216px; }
.reviews h2 { font-size: clamp(40px, 5.5vw, 76px); max-width: 880px; margin: 20px 0 0; }
.reviews h2 em { color: var(--accent); font-style: italic; font-weight: 600; }
.reviews .section-label { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-2); }
.stars-row { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.stars { display: flex; gap: 4px; color: var(--accent); }
.stars-meta { color: color-mix(in srgb, var(--bg) 60%, transparent); font-size: 14px; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.rev-card {
  border: 1px solid color-mix(in srgb, var(--bg) 12%, transparent);
  border-radius: 20px; padding: 28px;
  background: color-mix(in srgb, var(--bg) 3%, transparent);
  display: flex; flex-direction: column; gap: 20px;
  transition: background 0.25s;
}
.rev-card:hover { background: color-mix(in srgb, var(--bg) 6%, transparent); }
.rev-stars { color: var(--accent); display: flex; gap: 2px; font-size: 14px; }
.rev-quote {
  font-size: 19px; font-weight: 400;
  line-height: 1.45; letter-spacing: -0.005em;
  margin: 0;
}
.rev-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.rev-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), oklch(0.45 0.13 320));
  flex-shrink: 0; display: grid; place-items: center;
  color: #fff; font-weight: 700;
}
.rev-name { font-weight: 600; font-size: 15px; }
.rev-handle { color: color-mix(in srgb, var(--bg) 55%, transparent); font-size: 13px; }
@media (max-width: 900px) {
  .reviews { margin: 0 16px; padding: 60px 0; border-radius: 24px; }
  .rev-grid { grid-template-columns: 1fr; }
}

/* ============ BLOG ============ */
.blog { padding: 120px 0 80px; }
.blog-head { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.blog-head h2 { font-size: clamp(48px, 7vw, 96px); margin: 24px 0 0; letter-spacing: -0.035em; }
.blog-head p { color: var(--ink-2); max-width: 580px; margin: 24px auto 0; font-size: 17px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: var(--paper); border-radius: 24px;
  overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.blog-cover {
  aspect-ratio: 16/10; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-cover.c1 { background: radial-gradient(at 50% 50%, oklch(0.35 0.10 320), oklch(0.18 0.05 310)); }
.blog-cover.c2 { background: radial-gradient(at 50% 50%, oklch(0.35 0.10 100), oklch(0.18 0.05 90)); }
.blog-cover.c3 { background: radial-gradient(at 50% 50%, oklch(0.35 0.08 210), oklch(0.18 0.05 220)); }
.blog-cover.c4 { background: radial-gradient(at 50% 50%, oklch(0.4 0.12 30), oklch(0.18 0.05 20)); }
.blog-cover.c5 { background: radial-gradient(at 50% 50%, oklch(0.35 0.10 145), oklch(0.18 0.04 150)); }
.blog-cover.c6 { background: radial-gradient(at 50% 50%, oklch(0.38 0.09 50), oklch(0.18 0.04 40)); }
.blog-emoji { font-size: 48px; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.3)); }
.blog-emoji-2 { position: absolute; font-size: 24px; top: 30%; left: 30%; opacity: 0.8; }
.blog-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.4); color: var(--accent-soft);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
[data-theme="dark"] .blog-tag { color: var(--accent-2); }
.blog-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; background: var(--bg-2); }
.blog-meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.blog-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.blog-excerpt { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; }
.blog-cta-row { text-align: center; margin-top: 56px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============ PRICING ============ */
.pricing { padding: 120px 0 80px; }
.pricing-head { text-align: center; margin-bottom: 64px; }
.pricing-head h2 { font-size: clamp(48px, 6vw, 88px); margin: 24px 0 0; }
.pricing-head p { color: var(--ink-2); max-width: 580px; margin: 24px auto 0; font-size: 17px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.price-card.featured { border-color: var(--accent); border-width: 1.5px; }
.price-name {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--ink-2); text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 500;
}
.price-credits {
  font-size: 52px; font-weight: 700; line-height: 1;
  letter-spacing: -0.035em; margin: 4px 0 0;
}
.price-amount-block { display: flex; flex-direction: column; gap: 4px; }
.price-rp { font-size: 22px; font-weight: 700; color: var(--accent); letter-spacing: -0.01em; }
.price-per { font-size: 14px; color: var(--accent); opacity: 0.85; }
.price-desc { color: var(--ink-2); font-size: 14px; line-height: 1.6; flex: 1; }
.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px; width: 100%; padding: 14px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink);
  text-decoration: none;
  font-size: 14px; font-weight: 600; font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-card:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.price-card.featured .btn-card { background: var(--accent); color: #fff; border-color: var(--accent); }
.price-card.featured .btn-card:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.price-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: #fff;
  letter-spacing: 0.1em; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* ============ CONTACT ============ */
.contact { padding: 120px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(48px, 6vw, 88px); margin: 24px 0 0; }
.contact-left > p { color: var(--ink-2); font-size: 17px; margin: 24px 0 40px; max-width: 440px; line-height: 1.55; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: background 0.2s;
}
.contact-row:hover { background: var(--paper); }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); display: grid; place-items: center;
  flex-shrink: 0; color: var(--accent-ink);
}
.contact-icon.wa { background: color-mix(in srgb, oklch(0.7 0.15 145) 25%, var(--bg-2)); color: oklch(0.55 0.15 145); }
.contact-icon.addr { background: color-mix(in srgb, oklch(0.65 0.15 5) 22%, var(--bg-2)); color: oklch(0.55 0.18 5); }
.contact-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.contact-value { font-weight: 600; font-size: 16px; margin-top: 2px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: span 2; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field input, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.send-btn {
  grid-column: span 2; background: var(--accent); color: #fff;
  border: none; padding: 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; font-family: inherit;
  cursor: pointer; transition: background 0.2s, transform 0.1s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.send-btn:hover { background: var(--ink); color: var(--bg); }
.send-btn:active { transform: translateY(1px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ============ CTA ============ */
.cta { padding: 100px 0; text-align: center; }
.cta h2 { font-size: clamp(48px, 8vw, 120px); margin: 24px 0 32px; }
.cta h2 em { font-style: italic; color: var(--accent); font-weight: 600; }
.cta p { color: var(--ink-2); max-width: 480px; margin: 0 auto 32px; font-size: 17px; }

/* ============ VIDEO MODAL ============ */
.video-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 48px 24px;
  animation: vm-fade 0.2s ease;
}
@keyframes vm-fade { from { opacity: 0; } to { opacity: 1; } }
.video-modal-inner {
  width: 100%;
  max-width: 1100px;
  position: relative;
  animation: vm-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes vm-pop { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.video-modal-close {
  position: absolute;
  top: -54px; right: 0;
  width: 40px; height: 40px;
  background: #fff; color: #000;
  border: none; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  display: grid; place-items: center;
  font-weight: 300;
  transition: transform 0.15s;
}
.video-modal-close:hover { transform: scale(1.1); }
.video-modal-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ============ TUTORIAL VIDEO POSTER ============ */
.tutorial-video {
  margin-top: 40px;
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 480px;
}
.tutorial-video:hover { transform: translateY(-3px); box-shadow: var(--card-shadow); }
.tutorial-video:hover .tutorial-video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); color: #fff; }
.tutorial-video-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(at 30% 30%, oklch(0.55 0.13 70), transparent 60%),
    radial-gradient(at 70% 70%, oklch(0.35 0.10 30), transparent 60%),
    var(--ink);
}
.tutorial-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  padding-left: 6px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.tutorial-video-label {
  position: absolute;
  left: 24px; bottom: 24px;
  color: #fff;
}

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--line); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.foot-brand { display: flex; flex-direction: column; gap: 20px; }
.foot-brand .logo { font-size: 28px; }
.foot-brand p { color: var(--ink-2); font-size: 14px; margin: 0; max-width: 320px; line-height: 1.55; }
.foot-address { color: var(--ink-2); font-size: 13px; line-height: 1.6; max-width: 320px; }
.foot-address strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink-2); font-size: 12px; font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.foot-social a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.foot-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink);
  margin: 0 0 20px; font-weight: 600;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 15px; color: var(--ink-2); transition: color 0.15s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13px;
}
.foot-bottom .made { display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom .made-flag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  background: var(--ink); color: var(--bg);
  padding: 3px 6px; border-radius: 4px;
  letter-spacing: 0.1em; font-weight: 600;
}
.foot-bottom .heart { color: var(--accent); }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
  .foot-bottom { flex-direction: column; gap: 12px; }
}

/* ============ SUB-PAGE HERO ============ */
.subhero { padding: 80px 0 40px; border-bottom: 1px solid var(--line); }
.subhero h1 {
  font-size: clamp(56px, 8vw, 112px);
  margin: 20px 0 0;
}
.subhero h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.subhero p { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 24px 0 0; line-height: 1.55; }

/* ============ BLOG INDEX ============ */
.blog-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 32px 0; border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.blog-filter button {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink-2);
  font-size: 13px; font-weight: 500; font-family: inherit;
  cursor: pointer; transition: all 0.2s;
}
.blog-filter button:hover { color: var(--ink); }
.blog-filter button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.blog-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 0 120px; }
@media (max-width: 900px) { .blog-index-grid { grid-template-columns: 1fr; } }

/* ============ ABOUT ============ */
.about-section { padding: 80px 0; border-bottom: 1px solid var(--line); }
.about-section:last-of-type { border-bottom: none; }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.about-section h2 { font-size: clamp(36px, 4vw, 56px); margin: 0; }
.about-section h2 em { font-style: italic; color: var(--accent); font-weight: 600; }
.about-section p { color: var(--ink-2); font-size: 18px; line-height: 1.65; margin: 0 0 20px; }
.about-section p:last-child { margin-bottom: 0; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.about-stat { border-left: 2px solid var(--accent); padding-left: 20px; }
.about-stat-num { font-size: 48px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--accent); }
.about-stat-label { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-value {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; background: var(--paper);
}
.about-value-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.about-value h3 { font-size: 22px; font-weight: 700; margin: 12px 0 12px; letter-spacing: -0.02em; }
.about-value p { font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

/* ============ LEGAL ============ */
.legal { padding: 64px 0 120px; }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.legal-toc {
  position: sticky; top: 100px;
  padding: 20px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--paper);
}
.legal-toc h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin: 0 0 12px; font-weight: 500;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.legal-toc a { font-size: 13px; color: var(--ink-2); transition: color 0.15s; line-height: 1.4; }
.legal-toc a:hover { color: var(--accent); }
.legal-content { max-width: 720px; }
.legal-content h2 {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  margin: 56px 0 16px; padding-top: 16px;
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; }
.legal-content p { color: var(--ink-2); font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.legal-content ul { padding-left: 20px; margin: 0 0 16px; color: var(--ink-2); }
.legal-content li { margin-bottom: 8px; line-height: 1.55; font-size: 16px; }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-meta {
  display: flex; gap: 16px; align-items: center;
  margin-top: 16px; color: var(--muted); font-size: 13px;
}
.lang-toggle {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--bg-2); border-radius: 999px;
  border: 1px solid var(--line);
}
.lang-toggle button {
  padding: 6px 14px; border-radius: 999px;
  background: transparent; border: none;
  font-size: 12px; font-weight: 600; font-family: inherit;
  color: var(--ink-2); cursor: pointer;
  letter-spacing: 0.05em;
}
.lang-toggle button.active { background: var(--ink); color: var(--bg); }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
