:root {
  --bg: #f5f7fb;
  --bg-muted: #eef1f7;
  --bg-contact: #0f172a;
  --panel: #ffffff;
  --border: #dde2ee;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-strong: #1d4ed8;
  --text: #111827;
  --text-muted: #6b7280;
  --text-inverse: #f9fafb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.16);
  --shadow-subtle: 0 8px 20px rgba(15, 23, 42, 0.08);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e2e8f0 0, #f9fafb 40%, #eef2ff 100%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-contact {
  background: var(--bg-contact);
  color: var(--text-inverse);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.78));
  color: var(--text-inverse);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-placeholder {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 1.3rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #38bdf8, #22c55e);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.nav-cta--desktop {
  margin-left: 0.5rem;
}

.nav-cta--mobile {
  display: none;
}

.main-nav .nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--accent-strong);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-built-on {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.hero-status {
  margin-top: 1.4rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px dashed rgba(37, 99, 235, 0.4);
  font-size: 0.9rem;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-mockup-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  background: radial-gradient(circle at top, #1e293b, #020617);
  box-shadow: var(--shadow-soft);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-mockup-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), transparent 40%);
}

.hero-mockup-label {
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(20px);
  background: rgba(15, 23, 42, 0.78);
  color: #e5e7eb;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
}

/* Sections */

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

/* Image cards / placeholders */

.image-card.placeholder,
.avatar.placeholder {
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: repeating-linear-gradient(
      -45deg,
      rgba(148, 163, 184, 0.15),
      rgba(148, 163, 184, 0.15) 8px,
      transparent 8px,
      transparent 16px
    ),
    #0f172a;
  color: #cbd5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  padding: 1rem;
}

/* Product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.product-card .image-card {
  height: 150px;
  margin-bottom: 0.9rem;
}

.product-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: var(--panel);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Roadmap */

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid rgba(148, 163, 184, 0.8);
}

.roadmap-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.7rem;
}

.roadmap-list li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.roadmap-list h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.roadmap-list p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Markets */

.markets-split {
  align-items: flex-start;
}

.bullet-list {
  margin: 0.4rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-subtle);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */

.section-contact .section-lead {
  color: rgba(226, 232, 240, 0.9);
}

.contact-built-on {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.8);
  font-style: italic;
  text-align: center;
}

.contact-card {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.5);
  max-width: 32rem;
}

.contact-card a {
  color: #38bdf8;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.8rem 0 1.9rem;
  font-size: 0.85rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  color: #e5e7eb;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.footer-meta {
  margin: 0.15rem 0;
}

.footer-copy {
  margin-top: 0.5rem;
  color: #6b7280;
}

.site-footer a {
  color: #60a5fa;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
    margin-bottom: 1.6rem;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-grid,
  .feature-grid,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .main-nav {
    display: none; /* keep header clean on mobile; we can add a burger later if needed */
  }

  .nav-cta--desktop {
    display: none;
  }

  .nav-cta--mobile {
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
  }

  .header-inner {
    justify-content: space-between;
    align-items: center;
  }
}
