:root {
  --bg: #070a12;
  --bg-alt: #0c101b;
  --surface: #121726;
  --surface-2: #192034;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #00e5ff;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --green: #10b981;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1, h2, h3, p, span, a, li {
  overflow-wrap: anywhere;
}

.show-xs {
  display: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Mobile Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--pink));
  color: #060911;
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.25);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 11px;
  color: var(--cyan);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: rgba(11, 15, 26, 0.98);
  padding: 16px 20px 22px;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}
.drawer-link:active,
.drawer-link:hover {
  background: var(--surface);
  border-color: var(--border);
}

.drawer-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.btn-sm {
  height: 36px;
  padding: 0 12px;
  font-size: 12.5px;
}

.btn-md {
  height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-lg {
  height: 50px;
  padding: 0 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--violet));
  color: #060911;
  box-shadow: 0 10px 28px rgba(0, 229, 255, 0.25);
}

.btn-android {
  background: linear-gradient(135deg, #34d399, #059669);
  color: #04150e;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.24);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: 58px 0 64px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.24;
}

.hero-glow-left {
  top: -160px;
  left: -140px;
  background: var(--cyan);
}

.hero-glow-right {
  bottom: -200px;
  right: -120px;
  background: var(--violet);
}

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

.hero-copy,
.hero-visual,
.studio-mockup,
.dl-card,
.tnc-card,
.video-shell,
.guide-tabs-card {
  min-width: 0;
  max-width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
  max-width: 100%;
  flex-wrap: wrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.text-gradient {
  background: linear-gradient(135deg, var(--cyan), #60a5fa 50%, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  max-width: 590px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-quick-pills {
  display: none;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.mobile-quick-pills a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.hero-trust a {
  color: var(--cyan);
  text-decoration: underline;
}

/* Studio Mockup */
.studio-mockup {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
}

.dots {
  display: flex;
  gap: 5px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
  display: block;
}

.mockup-export {
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
}

.mockup-stage {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
  margin: 12px 0;
}

.mockup-canvas {
  min-height: 170px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 55%, #7c3aed);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  text-align: center;
}

.mockup-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.55);
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 999px;
}

.mockup-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #060911;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 2px;
}

.mockup-caption {
  font-weight: 900;
  font-size: 14px;
  color: #fde047;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.mockup-inspector {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.insp-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.insp-row span {
  font-size: 10px;
  color: var(--muted);
}
.insp-row strong {
  font-size: 11px;
  color: var(--cyan);
}

.mockup-tracks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-track {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}
.m-track span {
  color: var(--muted);
  font-weight: 700;
}
.m-track div {
  padding: 6px 10px;
  border-radius: 7px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-text div { background: #5b21b6; }
.t-pip div { background: #9d174d; margin-left: 14%; }
.t-vid div { background: #1e40af; }
.t-aud div { background: #065f46; }

/* Sections */
.section {
  padding: 72px 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: 680px;
  margin: 0 auto 40px;
}

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* Downloads */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-card-featured {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 18px 42px rgba(0, 229, 255, 0.08);
}

.dl-card-android {
  border-color: rgba(16, 185, 129, 0.42);
}

.dl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.platform-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag-android { background: rgba(16, 185, 129, 0.16); color: #34d399; }
.tag-win { background: rgba(0, 229, 255, 0.16); color: var(--cyan); }
.tag-portable { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; }

.ver-tag {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
}

.dl-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.dl-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  flex: 1;
}

.dl-specs {
  list-style: none;
  margin: 4px 0 8px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dl-specs strong {
  color: var(--text);
}

.web-banner {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.web-banner div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.web-banner span {
  font-size: 13.5px;
  color: var(--muted);
}

/* Tutorial Layout */
.tutorial-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.video-shell {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 12px;
}

.tutorial-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #000;
  display: block;
}

.chapter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chapter-btn {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.chapter-btn.active,
.chapter-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
}

.guide-tabs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.guide-tab-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.guide-tab {
  padding: 9px 6px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.guide-tab.active {
  background: rgba(0, 229, 255, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
}

.guide-pane {
  display: none;
}
.guide-pane.active {
  display: block;
}
.guide-pane h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
}
.step-list li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.14);
  color: var(--cyan);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-list strong {
  color: var(--text);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.feat-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.feat-card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 800;
}
.feat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* TnC Card */
.tnc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.tnc-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.tnc-tab {
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.tnc-tab.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.12);
}

.tnc-full-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
}

.tnc-body {
  display: none;
}
.tnc-body.active {
  display: block;
}
.tnc-body h3 {
  margin: 14px 0 6px;
  font-size: 15.5px;
  color: var(--text);
}
.tnc-body p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #05070d;
  padding: 46px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 12px 0 0;
  max-width: 310px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  padding: 2px 0;
}
.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Responsive Mobile Breakpoints */
@media (max-width: 980px) {
  .hero-grid,
  .tutorial-layout {
    grid-template-columns: 1fr;
  }
  .download-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .hide-xs {
    display: none !important;
  }
  .show-xs {
    display: inline !important;
  }
  .menu-toggle {
    display: flex;
    width: 36px;
    height: 36px;
  }
  .container {
    padding: 0 14px;
  }
  .nav-inner {
    height: 58px;
    gap: 8px;
  }
  .brand-badge {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .brand-title {
    font-size: 14px;
  }
  .brand-sub {
    font-size: 10px;
  }
  .btn-sm {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }
  .hero {
    padding: 32px 0 44px;
  }
  .hero-cta-row {
    flex-direction: column;
  }
  .hero-cta-row .btn {
    width: 100%;
  }
  .mobile-quick-pills {
    display: flex;
  }
  .mockup-stage {
    grid-template-columns: 1fr;
  }
  .mockup-inspector {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .download-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .web-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .section {
    padding: 50px 0;
  }
  .tnc-full-link {
    margin-left: 0;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
