:root {
  --bg: #000000;
  --bg2: #0c0c10;
  --bg3: #16161d;
  --line: #26262d;
  --text: #f1f5f9;
  --muted: #9a9aa6;
  --accent: #f97316;
  --accent2: #38bdf8;
  --good: #22c55e;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background-image: radial-gradient(120% 60% at 50% -10%, rgba(56, 189, 248, 0.07), transparent 60%);
  background-repeat: no-repeat;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.2px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links a.cta { background: var(--accent); color: #fff; font-weight: 600; }
.nav-links a.cta:hover { filter: brightness(1.08); background: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: filter .15s, transform .05s, background .15s, border-color .15s;
}
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #3a3a44; background: var(--bg3); }
.btn-lg { padding: 16px 30px; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; text-align: center; }
.hero img.logo {
  width: clamp(190px, 24vw, 320px);
  max-width: 62%;
  border-radius: clamp(24px, 3vw, 36px);
  margin: 0 auto 28px;
  display: block;
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero img.logo { animation: none; }
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -1.4px; font-weight: 800; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(17px, 2.4vw, 21px); max-width: 640px; margin: 20px auto 0; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.8px; margin-top: 10px; line-height: 1.15; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 12px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; }
.card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .15s, transform .15s, background .15s;
}
.card:hover { border-color: #3a3a44; transform: translateY(-2px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--bg3); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.card ol.steps { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 15px; }
.card ol.steps li { margin-bottom: 8px; }
.card ol.steps li::marker { color: var(--accent); font-weight: 700; }

/* ---------- Philosophy band ---------- */
.band {
  background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quote { font-size: clamp(22px, 3.4vw, 32px); font-weight: 700; letter-spacing: -0.5px; max-width: 820px; line-height: 1.3; }
.quote .grad { background: linear-gradient(100deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Demo / app page ---------- */
.demo-frame {
  margin: 0 auto; max-width: 880px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--bg2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.demo-frame video, .demo-frame img { width: 100%; display: block; }
.demo-placeholder {
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--muted); text-align: center; padding: 30px;
  background: radial-gradient(80% 60% at 50% 0%, rgba(249, 115, 22, 0.08), transparent 60%), var(--bg2);
}
.demo-placeholder .play { width: 70px; height: 70px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 880px; margin: 0 auto; }
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit .check { color: var(--good); font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.benefit b { display: block; }
.benefit span.sub { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .brand { color: var(--text); }
footer a:hover { color: var(--text); }
.foot-links { display: flex; gap: 18px; align-items: center; }
.foot-links a.ig { display: inline-flex; align-items: center; padding: 2px; }
.foot-links a.ig svg { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .nav-links a:not(.cta) { display: none; }
  .hero { padding: 56px 0 44px; }
  section { padding: 44px 0; }
}
