:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --accent: #4866ff;
  --accent-dark: #293fbf;
  --muted: #667085;
  --text: #1f2937;
  --eyebrow: #4050a2;
  --border: #e4e7ec;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent);
}

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

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

.section {
  padding: 6rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--eyebrow);
  margin: 0 0 1rem;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: #111827;
}

p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(72, 102, 255, 0.25);
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.ghost {
  background: #eef1ff;
  color: var(--accent);
}

.btn.ghost:hover,
.btn.ghost:focus {
  background: rgba(72, 102, 255, 0.15);
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 251, 0.92);
  border-bottom: 1px solid rgba(228, 231, 236, 0.8);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.hero {
  padding: 8rem 0 6rem;
}

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

.hero-copy .lead {
  font-size: 1.1rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  color: var(--muted);
  max-width: 10rem;
}

.hero-visual {
  position: relative;
}

.app-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  border: 1px solid rgba(72, 102, 255, 0.08);
}

.app-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.app-card .status {
  color: var(--accent);
  font-size: 0.85rem;
}

.card-section {
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
}

.card-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.card-section h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.card-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.card-section li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
}

.card-section .time {
  font-weight: 600;
  color: var(--accent);
  width: 3.5rem;
}

.card-section .item {
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(72, 102, 255, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
}

.chat .message {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}

.chat .sender {
  font-weight: 600;
  color: var(--accent);
}

.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(64, 80, 162, 0.1);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.how-it-works .pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar {
  padding: 2rem;
  background: linear-gradient(160deg, rgba(72, 102, 255, 0.1), rgba(72, 102, 255, 0));
  border-radius: var(--radius-md);
  border: 1px solid rgba(64, 80, 162, 0.16);
}

.pillar-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(64, 80, 162, 0.15);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.highlight {
  background: #111827;
  color: #fff;
}

.highlight .eyebrow,
.highlight p,
.highlight li {
  color: rgba(255, 255, 255, 0.78);
}

.highlight h2 {
  color: #fff;
}

.highlight-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics {
  display: grid;
  gap: 1.5rem;
}

.metric-value {
  font-size: 2.4rem;
  font-weight: 700;
}

.metric-label {
  color: rgba(255, 255, 255, 0.72);
}

.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(64, 80, 162, 0.1);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.testimonial blockquote {
  margin: 0 0 1.5rem;
  font-style: italic;
  color: var(--text);
}

.pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(64, 80, 162, 0.1);
  text-align: center;
  position: relative;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.pricing-card.featured {
  border: 1px solid rgba(72, 102, 255, 0.5);
  transform: translateY(-12px);
}

.pricing-card .badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 0.35rem 0.8rem;
}

.price {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0.5rem 0 2rem;
  color: var(--text);
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.75rem;
}

.pricing-card li {
  color: var(--muted);
}

.faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq article {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(64, 80, 162, 0.1);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.cta {
  text-align: center;
  background: linear-gradient(120deg, rgba(72, 102, 255, 0.12), rgba(72, 102, 255, 0));
}

.cta-inner {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.cta-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cta-form input {
  border: 1px solid rgba(72, 102, 255, 0.25);
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  min-width: 260px;
  font-size: 1rem;
  font-family: inherit;
}

.cta-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(72, 102, 255, 0.15);
}

.trust {
  background: var(--surface);
}

.trust-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

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

.trust-grid article {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(64, 80, 162, 0.16);
  background: rgba(72, 102, 255, 0.05);
}

.trust-grid a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.legal {
  background: #fff;
  border-top: 1px solid var(--border);
}

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

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 18rem;
}

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

.footer-links h4 {
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links a {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .features .feature-grid,
  .pricing .pricing-grid,
  .highlight-inner,
  .testimonials .testimonial-grid,
  .how-it-works .pillars,
  .trust-inner,
  .legal-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input {
    width: 100%;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .features .feature-grid,
  .how-it-works .pillars,
  .highlight-inner,
  .testimonials .testimonial-grid,
  .pricing .pricing-grid,
  .faq .faq-grid,
  .trust-grid,
  .legal-inner {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 6rem;
  }

  .container {
    padding: 0 1rem;
  }

  .btn {
    width: 100%;
  }
}
