:root {
  --bg: #ffffff;
  --text: #0b1b3f;
  --muted: #5b6b91;
  --primary: #245BDB;
  --primary-600: #1b49b3;
  --ring: rgba(36, 91, 219, 0.35);
  --gradient-hero: radial-gradient(1200px 600px at 20% -10%, rgba(36, 91, 219, 0.18), transparent 60%), radial-gradient(800px 500px at 90% 10%, rgba(89, 154, 255, 0.14), transparent 60%), linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffcc;
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #e8eefb;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 28px; width: auto; display: block; }
.site-nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  padding: 6px 10px;
  border-radius: 8px;
}
.site-nav a:hover { background: #f2f6ff; box-shadow: 0 2px 0 #e3ecff inset; }
.site-nav a.active { color: var(--primary); background: #eef3ff; }

/* Hero */
.hero {
  padding: 72px 0 88px;
  background: var(--gradient-hero);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--primary);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 12px;
}
.hero-title {
  margin: 0 0 10px;
  font-size: 3rem;
  line-height: 1.1;
}
.hero-subtitle { color: var(--muted); font-size: 1.125rem; margin: 0 0 26px; }

.cta-group { display: flex; gap: 14px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .04s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px var(--ring); }
.btn.primary:hover { background: var(--primary-600); }
.btn.ghost { background: #f6f9ff; color: var(--primary); }
.btn.ghost:hover { background: #eef3ff; }
.btn.appstore { background: #000; color: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.btn.appstore:hover { background: #111; }

.hero-right { display: flex; justify-content: center; }
.image-placeholder {
  width: min(100%, 520px);
  aspect-ratio: 4/3;
  border-radius: 16px;
  background: conic-gradient(from 90deg at 50% 50%, #dbe7ff, #e7efff, #dbe7ff);
  border: 1px solid #d6e2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a63d1;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 10%, rgba(255,255,255,.45), transparent 40%);
}

.hero-image {
  width: min(100%, 700px);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* Pages */
.page-header { padding: 40px 0 10px; background: #f8fbff; border-bottom: 1px solid #e8eefb; }
.page-header h1 { margin: 0 0 6px; }
.page-header p { margin: 0 0 16px; color: var(--muted); }

.content { padding: 26px 0 56px; }
.content h2 { margin-top: 26px; }

/* Form */
.form-section { padding: 26px 0 56px; }
.contact-form {
  max-width: 640px;
  background: #fff;
  border: 1px solid #e8eefb;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(11, 27, 63, 0.04);
}
.contact-form label { display: block; margin-bottom: 14px; }
.contact-form label span { display: block; margin-bottom: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.form-actions { display: flex; gap: 10px; margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid #e8eefb; padding: 24px 0; background: #fff; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer-nav a { color: var(--muted); text-decoration: none; margin-right: 14px; }
.footer-nav a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.25rem; }
  .footer-inner { flex-direction: column; }
}

/* Features */
.features { padding: 12px 0 84px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: #fff; border: 1px solid #e8eefb; border-radius: 16px; padding: 18px; box-shadow: 0 10px 24px rgba(11,27,63,.05); transition: transform .12s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(11,27,63,.08); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; background: #eef3ff; color: var(--primary); border-radius: 12px; font-size: 22px; margin-bottom: 10px; }
.feature-card h3 { margin: 0 0 6px; }
.feature-card p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
}


