:root {
  --ink: #0f1b3d;
  --text: #33405e;
  --muted: #6b7591;
  --accent: #2f6fec;
  --accent-2: #5b8cff;
  --bg: #f6f8fd;
  --card: #ffffff;
  --border: #e3e8f4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(246, 248, 253, .82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227, 232, 244, .7);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 24px; border-radius: 14px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 236, .3); }
.btn-primary:hover { background: #255fd6; box-shadow: 0 10px 28px rgba(47, 111, 236, .38); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent-2); }
.btn-light { background: #fff; color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px);
  max-width: 1200px; margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 64px) 60px;
}
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: #e6eeff; color: var(--accent); font-size: 14px; font-weight: 600;
}
.hero h1 {
  margin: 18px 0 18px; color: var(--ink);
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -1.5px;
}
.grad { background: linear-gradient(90deg, var(--accent), #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; color: var(--muted); }

.hero-visual { margin: 0; position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -6% -4% 10%;
  background: radial-gradient(closest-side, rgba(91, 140, 255, .35), transparent);
  filter: blur(30px); z-index: -1;
}
.hero-visual img {
  width: 100%; height: auto; border-radius: 28px;
  box-shadow: 0 30px 80px rgba(15, 27, 61, .22), 0 0 0 1px rgba(15, 27, 61, .05);
  transform: rotate(1.5deg);
}

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: 70px clamp(20px, 5vw, 64px); }
.section h2 { color: var(--ink); font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.8px; line-height: 1.15; margin: 0 0 36px; max-width: 22em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border-radius: 20px; padding: 26px;
  box-shadow: 0 1px 0 var(--border), 0 10px 30px rgba(15, 27, 61, .05);
}
.feature h3 { margin: 14px 0 8px; color: var(--ink); font-size: 19px; }
.feature p { margin: 0; font-size: 15.5px; }
.f-icon { width: 48px; height: 48px; border-radius: 14px; background: #eef3ff; display: grid; place-items: center; font-size: 24px; }
.feature.highlight { background: linear-gradient(150deg, #2f6fec, #6a5cff); color: #e9eeff; }
.feature.highlight h3 { color: #fff; }
.feature.highlight .f-icon { background: rgba(255, 255, 255, .18); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: 20px; padding: 28px; box-shadow: 0 1px 0 var(--border); position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h3 { color: var(--ink); margin: 16px 0 6px; font-size: 19px; }
.steps p { margin: 0; font-size: 15.5px; }

.gemini-card {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--card); border-radius: 24px; padding: 36px;
  box-shadow: 0 0 0 1px var(--border), 0 20px 50px rgba(15, 27, 61, .06);
}
.gemini-card h2 { margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.gemini-card p { margin: 0; max-width: 40em; }
.gemini-card .btn { flex: none; }

.faq details {
  background: var(--card); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px;
  box-shadow: 0 1px 0 var(--border);
}
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; }

.final-cta {
  margin: 40px clamp(20px, 5vw, 64px) 70px; padding: clamp(40px, 6vw, 72px) 24px;
  border-radius: 32px; text-align: center; color: #e9eeff;
  background: linear-gradient(140deg, #1f4fd1, #2f6fec 45%, #6a5cff);
  box-shadow: 0 30px 70px rgba(47, 111, 236, .3);
}
.final-cta h2 { color: #fff; margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -.8px; }
.final-cta p { margin: 0 0 26px; font-size: 18px; }

.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 24px clamp(20px, 5vw, 64px) 36px; color: var(--muted); font-size: 14px;
  border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .gemini-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .features, .steps { grid-template-columns: 1fr; }
}
