/* Show Drone — landing page */
:root {
  --bg: #050811;
  --bg-alt: #0a1224;
  --panel: #0e1a33;
  --line: rgba(148, 197, 255, 0.14);
  --text: #e6edf7;
  --muted: #9fb0c8;
  --accent: #38bdf8;
  --accent-2: #fbbf24;
  --warm: #f43f5e;
  --radius: 16px;
  --font: 'Noto Sans JP', 'Outfit', system-ui, sans-serif;
  --display: 'Outfit', 'Noto Sans JP', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  color: #041022; box-shadow: 0 8px 28px rgba(56, 189, 248, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(56, 189, 248, .5); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 17, .78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='%23ffd23a'%3E%3Ccircle cx='8' cy='10' r='2.4'/%3E%3Ccircle cx='16' cy='6' r='2.4'/%3E%3Ccircle cx='24' cy='10' r='2.4'/%3E%3Ccircle cx='10' cy='19' r='2.4'/%3E%3Ccircle cx='22' cy='19' r='2.4'/%3E%3Ccircle cx='16' cy='26' r='2.4'/%3E%3C/g%3E%3C/svg%3E") center / 22px no-repeat,
    linear-gradient(135deg, #0b1730, #050811);
  box-shadow: inset 0 0 0 1px rgba(56,189,248,.5);
}
.logo-text { font-family: var(--display); font-weight: 800; letter-spacing: .08em; font-size: 15px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  background: transparent; color: var(--text); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; font: 600 13px var(--font); cursor: pointer;
}
.lang-btn:hover { border-color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: 65% 45%; transform: scale(1.03); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,17,.96) 0%, rgba(5,8,17,.86) 44%, rgba(5,8,17,.25) 75%, rgba(5,8,17,.05) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero-content { position: relative; padding: 96px 0 72px; max-width: 1180px; }
.hero-content > * { max-width: 650px; }
.eyebrow, .kicker {
  font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--accent);
  margin: 0 0 14px; font-weight: 600;
}
.hero h1 {
  font-family: var(--display); font-weight: 900; line-height: 1.2; margin: 0 0 22px;
  font-size: clamp(36px, 5.6vw, 60px); letter-spacing: -.01em;
}
.accent {
  background: linear-gradient(120deg, #38bdf8, #a78bfa 55%, #f472b6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 17px; color: #c7d4e6; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.platforms { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: rgba(10, 18, 36, .65); }
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  padding: 28px 0; text-align: center;
}
.stat strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(22px, 3vw, 32px); color: var(--accent); line-height: 1.2;
}
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section h2 {
  font-family: var(--display); font-size: clamp(26px, 4vw, 40px);
  font-weight: 800; margin: 0 0 14px; line-height: 1.25;
}
.section-lead { color: var(--muted); max-width: 740px; margin: 0 0 52px; font-size: 16.5px; }

/* ---------- Feature rows ---------- */
.feature {
  display: grid; grid-template-columns: 1.22fr 1fr; gap: 44px;
  align-items: center; margin-bottom: 76px;
}
.feature:last-child { margin-bottom: 0; }
.feature.reverse { grid-template-columns: 1fr 1.22fr; }
.feature.reverse .shot { order: 2; }
.shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #03060d;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .55);
}
.shot figcaption {
  padding: 10px 16px; font-size: 13px; color: var(--muted);
  background: rgba(14, 26, 51, .65); border-top: 1px solid var(--line);
}
.shot.wide { margin-top: 32px; }
.feature-text .num {
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent);
  display: inline-block; margin-bottom: 6px;
}
.feature-text h3 { font-size: clamp(21px, 2.5vw, 27px); margin: 0 0 12px; line-height: 1.35; }
.feature-text p { color: #c4d1e3; margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li {
  font-size: 12.5px; padding: 4px 12px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: #cfe0f5;
}

/* ---------- Split & tech grid ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.spec { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.spec li {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; display: grid; gap: 2px;
}
.spec b { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.spec span { color: var(--muted); font-size: 13.5px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.tech h3 { margin: 0 0 8px; font-size: 17px; color: var(--accent); }
.tech p { margin: 0; font-size: 14px; color: #c4d1e3; }

/* ---------- Desktop platform card (macOS only) ---------- */
.platform-grid { display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; gap: 24px; margin-bottom: 24px; }
.platform {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.platform h3 { margin: 0; font-family: var(--display); font-size: 24px; }
.platform ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.platform li {
  display: flex; justify-content: space-between; padding-bottom: 8px;
  border-bottom: 1px dashed var(--line); font-size: 14px;
}
.platform li span { color: var(--muted); }
.note { color: var(--muted); font-size: 13.5px; margin: 12px 0; text-align: center; }

/* ---------- CTA & Footer ---------- */
.cta {
  padding: 88px 0; text-align: center;
  background: radial-gradient(700px 280px at 50% 50%, rgba(56,189,248,.16), transparent 70%);
}
.cta h2 { font-family: var(--display); font-size: clamp(26px, 4vw, 42px); margin: 0 0 24px; }
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: #03060c; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.credits { max-width: 680px; margin: 10px 0 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ---------- Manual page ---------- */
.manual { padding: 48px 0 88px; }
.manual article { max-width: 820px; margin-inline: auto; }
.manual h1 { font-size: 32px; margin: 0 0 16px; }
.manual h2 { font-size: 22px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--accent); }
.manual h3 { font-size: 17px; margin: 24px 0 8px; }
.manual code, .manual kbd { font-family: var(--mono); font-size: .9em; background: var(--panel); padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); }
.manual pre { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; overflow-x: auto; }
.manual pre code { background: none; border: 0; padding: 0; }
.manual table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.manual th, .manual td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.manual th { background: var(--panel); }
.manual hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse, .split { grid-template-columns: 1fr; gap: 22px; }
  .feature.reverse .shot { order: 0; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: 1fr; }
}

