:root {
  --bg: #07080a;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.1);
  --line: rgba(255,255,255,0.13);
  --text: #f5f5f7;
  --muted: rgba(245,245,247,0.62);
  --faint: rgba(245,245,247,0.42);
  --acid: #d6ff4d;
  --acid-soft: rgba(214,255,77,0.16);
  --ink: #07080a;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 6%, rgba(214,255,77,0.18), transparent 28%),
    radial-gradient(circle at 78% 0%, rgba(255,255,255,0.08), transparent 24%),
    linear-gradient(180deg, #0b0c10 0%, #050608 46%, #08090b 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(22px, 4vw, 56px);
  background: rgba(7,8,10,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.012em;
  font-size: 18px;
  font-kerning: normal;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: url("../images/dualcam-app-icon.png") center / cover no-repeat;
  box-shadow: 0 0 28px rgba(214,255,77,0.34);
  flex: 0 0 auto;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: rgba(245,245,247,0.58);
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
}
.nav a.active,
.nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav .nav-cta { color: var(--ink); background: var(--acid); margin-left: 8px; }
.nav .nav-cta:hover { color: var(--ink); background: #e3ff78; }
.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  margin-left: 6px;
}
.language-switch button {
  min-width: 34px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(245,245,247,0.55);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.language-switch button.active {
  background: #f5f5f7;
  color: var(--ink);
}

.page { overflow: hidden; }
.section { padding: clamp(70px, 10vw, 150px) clamp(22px, 4vw, 56px); }
.kicker {
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  padding-top: clamp(54px, 7vw, 96px);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(62px, 9.6vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin-bottom: 18px;
}
h3 { line-height: 1.16; letter-spacing: -0.008em; }
html[data-lang="en"] h1 { line-height: 0.86; letter-spacing: -0.045em; }
html[data-lang="en"] h2 { line-height: 0.94; letter-spacing: -0.038em; }
html[data-lang="en"] h3 { line-height: 1.08; letter-spacing: -0.018em; }
html[data-lang="en"] .float-card strong,
html[data-lang="en"] .spec b { letter-spacing: -0.02em; }
html[data-lang="en"] .nav a,
html[data-lang="en"] .btn { letter-spacing: 0.005em; }
.lede {
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.58;
  max-width: 640px;
  text-wrap: pretty;
}
html[data-lang="en"] .lede { line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.btn.primary { background: var(--acid); color: var(--ink); border-color: transparent; font-weight: 700; }
.btn:hover { transform: translateY(-1px); }

.hero-visual {
  position: relative;
  min-height: 640px;
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 44px 120px rgba(0,0,0,0.46);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 48%, rgba(214,255,77,0.55) 48.2% 49%, transparent 49.2%),
    radial-gradient(circle at 75% 26%, rgba(255,255,255,0.28), transparent 18%);
  opacity: 0.95;
}
.camera-split { position: absolute; inset: 22px; border-radius: 30px; overflow: hidden; background: #101219; }
.feed-a,
.feed-b { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: rgba(255,255,255,0.7); }
.feed-a {
  clip-path: polygon(0 0, 72% 0, 38% 100%, 0 100%);
  background: linear-gradient(135deg, #263348, #07080a 52%, #566a83);
}
.feed-b {
  clip-path: polygon(72% 0, 100% 0, 100% 100%, 38% 100%);
  background: linear-gradient(135deg, #5a3a2d, #0b0a0a 48%, #19110d);
  justify-content: flex-end;
  text-align: right;
}
.float-card {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: min(360px, 55%);
  padding: 18px;
  border-radius: 26px;
  background: rgba(8,9,12,0.74);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(28px);
}
.float-card strong { display: block; font-size: 28px; letter-spacing: -0.02em; margin-bottom: 8px; }
.float-card span { color: var(--muted); line-height: 1.62; }
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  overflow: hidden;
}
.spec { padding: 24px; background: rgba(255,255,255,0.045); min-height: 132px; }
.spec b { display: block; font-size: 32px; letter-spacing: -0.02em; margin-bottom: 8px; }
.spec span { color: var(--muted); line-height: 1.62; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.phone-shot {
  border-radius: 42px;
  padding: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  box-shadow: 0 34px 100px rgba(0,0,0,0.44);
}
.phone-shot img { display: block; width: 100%; border-radius: 28px; }
.product-prototype-shot { padding: 12px; }
.product-prototype-shot img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.feature-card {
  min-height: 260px;
  padding: 22px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.feature-card .number { color: var(--acid); font-size: 12px; letter-spacing: 0.16em; margin-bottom: 70px; display: block; }
.feature-card h3 { font-size: 28px; margin-bottom: 12px; }
.feature-card p { color: var(--muted); line-height: 1.62; }

.layout-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 42px; }
.layout-card {
  min-height: 330px;
  padding: 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 180ms ease, border-color 180ms ease;
}
.layout-card:hover { transform: translateY(-4px); border-color: rgba(214,255,77,0.52); }
.layout-mini { height: 180px; border-radius: 22px; background: #151821; position: relative; overflow: hidden; margin-bottom: 18px; }
.layout-mini::before,
.layout-mini::after { content: ""; position: absolute; background: linear-gradient(135deg, #31405a, #07080a 58%, #657b97); }
.layout-mini::after { background: linear-gradient(135deg, #644231, #0b0a0a 52%, #d6ff4d); }
.layout-mini.v::before { inset: 0 52% 0 0; } .layout-mini.v::after { inset: 0 0 0 52%; }
.layout-mini.h::before { inset: 0 0 52% 0; } .layout-mini.h::after { inset: 52% 0 0 0; }
.layout-mini.pip::before { inset: 0; } .layout-mini.pip::after { width: 32%; height: 32%; top: 16px; right: 16px; border-radius: 16px; }
.layout-mini.circle::before { inset: 0; } .layout-mini.circle::after { width: 34%; aspect-ratio: 1; right: 16px; bottom: 16px; border-radius: 999px; }
.layout-mini.stack::before { inset: 0 0 28% 0; } .layout-mini.stack::after { left: 16px; right: 16px; bottom: 16px; height: 18%; border-radius: 14px; }
.layout-mini.diagonal::before { inset: 0; clip-path: polygon(0 0, 72% 0, 38% 100%, 0 100%); } .layout-mini.diagonal::after { inset: 0; clip-path: polygon(72% 0, 100% 0, 100% 100%, 38% 100%); }
.layout-card h3 { font-size: 24px; margin-bottom: 8px; }
.layout-card p { color: var(--muted); line-height: 1.62; }

.story-band {
  border-radius: 44px;
  padding: clamp(32px, 5vw, 72px);
  background: linear-gradient(135deg, rgba(214,255,77,0.95), #f0ff9f);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 32px;
  align-items: end;
}
.story-band h2 { color: var(--ink); }
.story-band p { color: rgba(7,8,10,0.72); font-size: 18px; line-height: 1.62; }
.story-band .btn { border-color: rgba(7,8,10,0.2); background: var(--ink); color: #fff; }

.timeline { display: grid; gap: 1px; background: rgba(255,255,255,0.11); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; margin-top: 40px; }
.timeline-row { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 28px; background: rgba(255,255,255,0.045); }
.timeline-row time { color: var(--acid); font-weight: 700; }
.timeline-row p { color: var(--muted); margin-bottom: 0; line-height: 1.62; }
html[data-lang="en"] .feature-card p,
html[data-lang="en"] .layout-card p,
html[data-lang="en"] .timeline-row p,
html[data-lang="en"] .story-band p,
html[data-lang="en"] .float-card span,
html[data-lang="en"] .spec span { line-height: 1.5; }

.footer { padding: 34px clamp(22px, 4vw, 56px); display: flex; justify-content: space-between; color: var(--faint); border-top: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 980px) {
  .hero, .split-section, .story-band { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; }
  .spec-strip, .feature-grid, .layout-grid { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
  .language-switch { margin-left: 2px; }
  .timeline-row { grid-template-columns: 1fr; gap: 8px; }
}
