:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --surface: #11161d;
  --surface-2: #1a212b;
  --text: #f2f5f8;
  --muted: #8b98a8;
  --blue: #0a84ff;
  --cyan: #22d3ee;
  --green: #34c759;
  --border: rgba(255, 255, 255, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(10, 132, 255, 0.22), transparent 38%),
    linear-gradient(300deg, rgba(34, 211, 238, 0.14), transparent 42%),
    linear-gradient(180deg, #0b0f14, #101b2a);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 35%, #000 0%, transparent 72%);
}
a { color: inherit; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 20, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-group { display: flex; align-items: center; gap: 12px; }
.brand { font-weight: 700; text-decoration: none; }
.crumb { font-size: 13px; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  border-radius: 8px;
  padding: 7px 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 20px;
}
.button-small { padding: 8px 14px; font-size: 13px; }
.button-large { padding: 15px 28px; font-size: 16px; }
.muted { color: var(--muted); }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hero {
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-logo { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 18px 50px rgba(34, 211, 238, 0.2); }
.hero h1 { font-size: 46px; line-height: 1.1; margin: 16px 0 10px; }
.eyebrow { color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero .lead { font-size: 17px; color: var(--muted); margin-bottom: 24px; max-width: 520px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-note { color: #b9c8d9; font-size: 13px; }

.app-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.traffic { width: 12px; height: 12px; border-radius: 50%; }
.traffic-close { background: #ff5f57; }
.traffic-min { background: #febc2e; }
.traffic-full { background: #28c840; }
.window-title { margin-left: 8px; font-size: 12px; color: var(--muted); }
.app-window img { width: 100%; display: block; }
.hero-art { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hero-art img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: drop-shadow(0 22px 50px rgba(31, 92, 214, .15));
  -webkit-mask-image: radial-gradient(ellipse 78% 77% at 52% 50%, #000 59%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 77% at 52% 50%, #000 59%, transparent 100%);
}
.product-surface { background: #101722; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.surface-content { min-height: 285px; padding: 21px; background: linear-gradient(132deg, #10233a, #101522 60%, #26153d); }
.surface-blur { filter: blur(2.2px); opacity: .64; transform: scale(1.035); }
.hero-surface { position: relative; min-height: 350px; }
.surface-tabs { display:grid; grid-template-columns:1fr 1fr; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:8px; }.surface-tabs b,.surface-tabs span { padding:9px; text-align:center; font-size:12px; }.surface-tabs b { background:#117fdc; }.surface-tabs span { color:#d4c1ed; background:#392154; }
.surface-steps { display:flex; align-items:center; justify-content:space-between; gap:7px; margin:16px 16px 17px; }.surface-steps i { width:29px; height:29px; border-radius:50%; display:grid; place-items:center; font-style:normal; font-size:12px; color:#fff; background:#167ed7; border:1px solid #72bdff; }.surface-steps em { height:1px; flex:1; background:rgba(112,187,255,.45); }.surface-work { display:grid; grid-template-columns:1.25fr .75fr; gap:10px; }.surface-preview { min-height:146px; position:relative; overflow:hidden; border:1px solid rgba(255,255,255,.15); border-radius:8px; background:linear-gradient(135deg,#5f94b4,#e0bd91 52%,#555a81); }.surface-preview strong { position:absolute; left:14px; bottom:14px; color:rgba(255,255,255,.57); font-size:18px; letter-spacing:2px; }.surface-guide { padding:13px; border:1px solid rgba(255,255,255,.15); border-radius:8px; background:rgba(5,10,18,.42); }.surface-guide b { display:block; font-size:11px; }.surface-guide span { display:block; height:8px; margin-top:12px; border-radius:99px; background:rgba(255,255,255,.14); }.surface-guide span:nth-child(3){width:75%}.surface-guide span:nth-child(4){width:56%}
.repair-lens { position:absolute; right:11%; bottom:18px; width:158px; height:158px; overflow:hidden; border:5px solid #74c9ff; border-radius:50%; background:linear-gradient(135deg,#6684a3,#d1ae78 50%,#66536c); box-shadow:0 0 0 7px #0b1625,0 14px 33px rgba(0,0,0,.75),0 0 45px rgba(53,170,255,.8); }.repair-lens::before { content:""; position:absolute; inset:0 auto 0 0; width:49%; border-right:1px solid rgba(232,249,255,.9); background:inherit; filter:brightness(.6); }.repair-lens small,.repair-lens b { position:absolute; z-index:1; font-size:9px; letter-spacing:.1em; }.repair-lens small { left:12px; bottom:14px; }.repair-lens b { right:12px; top:13px; color:#e5f5ff; }

section { padding: 48px 0; border-top: 1px solid var(--border); }
h2 { font-size: 30px; text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 26px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  color: #05121a;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.step-card h3 { margin-bottom: 6px; }
.step-card p { color: var(--muted); }

.workflow-grid, .source-columns, .help-grid, .privacy-grid, .rules-grid { display: grid; gap: 16px; }
.workflow-grid, .source-columns { grid-template-columns: repeat(2, 1fr); }
.workflow-card, .source-columns article, .performance-card, .free-card, .guide-shot, .video-demo {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.workflow-card { min-height: 175px; padding: 26px; position: relative; overflow: hidden; }
.workflow-card::after { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none; }
.image-workflow { border-color: rgba(10,132,255,.55); background: linear-gradient(135deg, rgba(10,132,255,.2), var(--surface) 65%); }
.video-workflow { border-color: rgba(166,100,255,.55); background: linear-gradient(135deg, rgba(166,100,255,.22), var(--surface) 65%); }
.workflow-icon { color: #fff; font-size: 24px; display: block; margin-bottom: 14px; }
.workflow-card h3, .source-columns h3 { font-size: 21px; margin-bottom: 6px; }
.workflow-card p, .source-columns p, .source-list { color: var(--muted); }
.source-columns article { padding: 22px; }
.source-list { text-align: center; margin-top: 18px; font-size: 14px; }
.section-heading { max-width: 780px; margin: 0 auto 26px; }
.section-heading .section-sub { margin-bottom: 0; }
.help-grid, .help-grid.reverse { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
/* Image and video are two modes of one app: lock the showcase windows to one geometry. */
.help-grid .product-surface { height: 360px; overflow: hidden; }
.guide-shot { overflow: hidden; display: block; align-self:stretch; }
.help-grid .surface-content { height: calc(100% - 43px); min-height: 0; padding: 15px; }
.image-surface .surface-steps { margin: 11px 13px; }
.image-surface .surface-preview { min-height: 168px; }
.guide-list { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.guide-list article { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.guide-list strong { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.image-guide strong { background: var(--blue); }.video-guide strong { background: #8f4be7; }
.guide-list h3 { font-size: 16px; margin-bottom: 3px; }.guide-list p { color: var(--muted); font-size: 14px; }
.boundary { border-left: 2px solid var(--cyan); padding-left: 12px; margin-top: 3px; }
.video-demo { padding: 0; display: block; }
.video-surface .surface-content { display: flex; flex-direction: column; }
.video-surface .surface-steps { margin: 10px 13px; }
.video-surface .video-screen { flex: 1; min-height: 0; }
.video-surface .video-controls { margin: 8px 0; }
.video-surface .frame-strip span { min-height: 27px; }
.video-surface .surface-tabs span { background:#7f43c8; color:#fff; }.video-surface .surface-tabs b { background:#1b2638; color:#b7c2d2; }.video-surface .surface-steps i { background:#7f43c8; border-color:#ba79ff; }.video-surface .surface-steps em { background:rgba(185,119,255,.5); }
.video-screen { min-height: 220px; display: grid; place-items: center; position: relative; background: linear-gradient(145deg, #213c59, #0c111b 58%, #352153); border-radius: 10px; overflow: hidden; }
.video-screen span { font-size: 27px; font-weight: 800; letter-spacing: .08em; color: rgba(255,255,255,.75); }.video-screen i { position: absolute; right: 12%; bottom: 14%; width: 20%; aspect-ratio: 1.9; border: 2px solid #b568ff; border-radius: 4px; }
.video-controls { display: flex; gap: 10px; align-items: center; font-size: 12px; margin: 13px 0; }.video-controls em { height: 4px; background: #8f4be7; flex: 1; border-radius: 99px; }
.frame-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }.frame-strip span { background: #20293a; border-radius: 4px; min-height: 38px; display: grid; place-items: end center; font-size: 10px; padding-bottom: 3px; color: var(--muted); }.frame-strip .active { outline: 2px solid #ae70ff; color: #fff; }
.performance-card, .free-card { padding: 28px; max-width: 900px; margin: 0 auto; }.machine { color: var(--muted); margin-bottom: 15px; }.metric-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }.metric-row b { color: var(--cyan); white-space: nowrap; }.performance-tips { margin-top: 16px; color: var(--muted); font-size: 14px; }.performance-tips p + p { margin-top: 6px; }
.privacy-grid { grid-template-columns: repeat(3, 1fr); }.privacy-grid p { padding: 19px; background: rgba(255,255,255,.035); border: 1px solid var(--border); border-radius: 12px; color: var(--muted); }
.free-card { text-align: center; background: linear-gradient(135deg, rgba(10,132,255,.15), rgba(143,75,231,.13), var(--surface)); }.free-card > p { color: var(--muted); margin: 8px auto 18px; }.rules-grid { grid-template-columns: repeat(3, 1fr); margin: 20px 0 24px; }.rules-grid p { background: rgba(0,0,0,.18); border-radius: 10px; padding: 14px; color: #d4dfeb; font-size: 14px; }.free-card h3 { margin-bottom: 8px; }.free-card ul { list-style: none; color: var(--muted); font-size: 14px; margin: 0 auto 20px; max-width: 680px; text-align: left; }.free-card li { padding: 5px 0 5px 18px; position: relative; }.free-card li::before { content: "•"; position: absolute; left: 0; color: var(--cyan); }

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.demo-card .label {
  display: inline-block;
  margin: 14px 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 20px;
}
.demo-card img { width: 100%; display: block; margin-top: 10px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.chips span {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}
.download-card .button { margin: 16px 0 10px; }
.sha { display: block; color: var(--muted); font-size: 12px; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.faq-item h3 { font-size: 16px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); }

footer {
  border-top: 1px solid var(--border);
  padding: 26px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .steps-grid, .faq-grid, .demo-grid, .workflow-grid, .source-columns, .help-grid, .help-grid.reverse, .privacy-grid, .rules-grid { grid-template-columns: 1fr; }
  .help-grid .product-surface { height: 330px; }
  .hero h1 { font-size: 36px; }.video-screen { min-height: 170px; }.performance-card, .free-card { padding: 20px; }
}
