:root {
  --blue-900: #0b1f3a;
  --blue-700: #10336b;
  --blue-600: #1450c9;
  --blue-500: #2f6bf0;
  --blue-100: #e8f0fe;
  --ink: #0f172a;
  --ink-soft: #475569;
  --paper: #ffffff;
  --paper-alt: #f5f8ff;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-600);
  color: white;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin: 0 0 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-logo { height: 44px; width: auto; }

.primary-nav {
  display: flex;
  gap: 28px;
}

.primary-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.primary-nav a:hover { color: var(--blue-600); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(47, 107, 240, 0.18), transparent 60%),
    linear-gradient(180deg, var(--blue-900), var(--blue-700));
  color: white;
  padding: 120px 0 100px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-blob-1 {
  width: 420px;
  height: 420px;
  background: var(--blue-500);
  top: -140px;
  right: -80px;
  animation: drift 14s ease-in-out infinite;
}
.hero-blob-2 {
  width: 320px;
  height: 320px;
  background: #7fd0ff;
  bottom: -160px;
  left: -60px;
  animation: drift 18s ease-in-out infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 20px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy { max-width: 560px; }

.hero .eyebrow {
  color: #9cc0ff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 18px;
}

.hero-sub {
  font-size: 1.15rem;
  color: #cfe0ff;
  margin: 0 0 34px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue-500);
  color: white;
  box-shadow: 0 10px 24px rgba(47, 107, 240, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { border-color: white; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 380px;
}

.phone-mockup {
  width: 220px;
  height: 440px;
  background: #0b1224;
  border-radius: 36px;
  border: 6px solid #1b2a4d;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  padding: 14px;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: #1b2a4d;
  border-radius: 10px;
  z-index: 2;
}

.phone-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef3ff, #e4ecff);
  overflow: hidden;
}

.phone-screen-logo {
  width: 96px;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .pulse-dot { animation: none; }
}

/* App screenshot strip */
.screenshot-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.screenshot-frame {
  width: 500px;
  height: 375px;
  border-radius: 22px;
  border: 6px solid white;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.screenshot-strip .screenshot-frame:nth-child(2) { transition-delay: 0.1s; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 18px;
}

.section-lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-grid .feature-card:nth-child(2) { transition-delay: 0.06s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: 0.12s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: 0.06s; }
.feature-grid .feature-card:nth-child(5) { transition-delay: 0.12s; }
.feature-grid .feature-card:nth-child(6) { transition-delay: 0.18s; }

.feature-card {
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  border-color: #cddcfb;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }

.feature-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-grid p { color: var(--ink-soft); font-size: 1.02rem; }

.stat-cards {
  display: grid;
  gap: 16px;
}

.stat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-600);
}

.stat-label { color: var(--ink-soft); font-size: 0.92rem; }

.stat-bar {
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-100);
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.founder-photo {
  width: 220px;
  height: 260px;
  border-radius: 20px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: 30% 20%;
  box-shadow: var(--shadow);
}

.founder-name { font-weight: 700; margin: 0; color: var(--ink); }
.founder-title { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* Recognition badges */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.badge-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease;
}

.badge-grid .badge-card:nth-child(2) { transition-delay: 0.06s; }
.badge-grid .badge-card:nth-child(3) { transition-delay: 0.12s; }
.badge-grid .badge-card:nth-child(4) { transition-delay: 0.18s; }
.badge-grid .badge-card:nth-child(5) { transition-delay: 0.24s; }

.badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.badge-logo {
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
  display: block;
}

.badge-card .award-year {
  display: inline-block;
  font-weight: 800;
  color: var(--blue-600);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.badge-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.badge-card p.badge-card-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.badge-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  display: grid;
  gap: 4px;
}

/* Marquee */
.marquee {
  background: var(--blue-900);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  width: max-content;
}

.marquee-track span {
  color: #cfe0ff;
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-grid > div:first-child p { color: var(--ink-soft); }

.contact-form {
  display: grid;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.contact-form button { margin-top: 12px; justify-self: start; }

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: #a9bede;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer .brand { color: white; }
.site-footer p { margin: 0; font-size: 0.9rem; }

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 860px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .hero-copy { max-width: none; }

  .phone-mockup { width: 180px; height: 360px; }

  .screenshot-frame { width: 320px; height: 240px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }

  .primary-nav.open { display: flex; }

  .feature-grid { grid-template-columns: 1fr; }

  .hero { padding: 90px 0 70px; }
  .section { padding: 64px 0; }

  .screenshot-strip { gap: 12px; }
  .screenshot-frame { width: 300px; height: 225px; }

  .founder-row { flex-wrap: wrap; }
}
