/* Basic reset & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #0369a1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  color: #0f172a;
}

p {
  margin: 0 0 1em;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

.alt-bg {
  background: #f1f5f9;
}

.center {
  text-align: center;
}

.margin-top-lg {
  margin-top: 32px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e2e8f0;
  background: #ffffffcc;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 6px 10px;
  border-radius: 999px;
}

.main-nav a.active {
  background: #e0f2fe;
  color: #0f172a;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
}

.btn-outline {
  border: 1px solid #0ea5e9;
  color: #0ea5e9;
  background: transparent;
}

.btn-ghost {
  background: transparent;
  color: #0f172a;
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  background: radial-gradient(circle at top left, #e0f2fe 0, transparent 50%),
              radial-gradient(circle at bottom right, #eef2ff 0, transparent 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 8px;
}

.hero-note {
  font-size: 0.9rem;
  color: #6b7280;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0369a1;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-card {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* Grids & columns */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.image-column {
  order: 2;
}

.feature-grid,
.audience-grid,
.usecase-grid,
.tech-grid,
.pricing-grid,
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card,
.audience-card {
  min-height: 160px;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 16px;
  color: #4b5563;
}

/* Lists */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0ea5e9;
  font-size: 0.85rem;
}

/* Subpage hero */
.subpage-hero {
  padding: 56px 0 32px;
  border-bottom: 1px solid #e2e8f0;
  background: #f9fafb;
}

.subpage-intro {
  max-width: 720px;
  color: #4b5563;
}

/* Split features */
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 32px;
}

.contact-form .form-row {
  margin-bottom: 14px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

/* Pricing */
.pricing-card {
  text-align: left;
}

.pricing-card ul {
  padding-left: 18px;
}

.pricing-card.highlighted {
  border: 1px solid #0ea5e9;
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.25);
}

.price-label {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Roadmap */
.roadmap-phase h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

.roadmap-phase ul {
  padding-left: 18px;
}

/* CTA */
.cta-section {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 20px 0;
  background: #ffffff;
  font-size: 0.85rem;
  color: #6b7280;
}

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

.footer-tagline {
  font-size: 0.8rem;
  color: #64748b;
}

.footer-nav {
  display: flex;
  gap: 12px;
}

.muted {
  color: #6b7280;
}

/* Utilities */
.small {
  font-size: 0.8rem;
}

.hero-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner,
  .two-column,
  .split-feature,
  .contact-layout,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .image-column {
    order: 0;
  }

  .main-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-inner {
    gap: 20px;
  }

  .section {
    padding: 48px 0;
  }
}
