:root {
  --bg: #f6f1f1;
  --bg-deep: #eadfdf;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #ffffff;
  --text: #171111;
  --muted: #6f5d5d;
  --line: rgba(23, 17, 17, 0.1);
  --primary: #e10600;
  --primary-deep: #9e0300;
  --accent: #1e1e1e;
  --gold: #d6a14f;
  --shadow: 0 22px 70px rgba(57, 20, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(225, 6, 0, 0.14), transparent 28%),
    radial-gradient(circle at right top, rgba(214, 161, 79, 0.1), transparent 22%),
    linear-gradient(180deg, #f7faff 0%, var(--bg) 56%, var(--bg-deep) 100%);
}

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

.home-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero,
.section,
.footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(231, 240, 251, 0.72)),
    rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
}

.hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  top: -140px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 166, 74, 0.2), transparent 65%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(145deg, #fffefe, #f4e8e8);
  box-shadow:
    inset 0 0 0 1px rgba(225, 6, 0, 0.08),
    0 10px 24px rgba(57, 20, 20, 0.1);
}

.brand-logo {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small,
.eyebrow,
.subheadline,
.hero-points,
.floating-note span,
.feature-card p,
.intro-grid p,
.timeline-card p,
.benefit-item p,
.benefit-highlight p,
.testimonial-card p,
.footer p {
  color: var(--muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link,
.nav-cta,
.btn {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta {
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-copy h1,
.section-title h2,
.final-copy h2 {
  margin: 0;
  font-family: "DM Serif Display", serif;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.9rem, 7vw, 6rem);
}

.subheadline {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  min-height: 50px;
  padding: 0 22px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 18px 36px rgba(225, 6, 0, 0.24);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-frame {
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1c0e0e, #090606);
  box-shadow: 0 32px 80px rgba(32, 10, 10, 0.34);
}

.phone-top {
  width: 120px;
  height: 22px;
  margin: 0 auto 12px;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, 0.08);
}

.phone-screen {
  display: grid;
  gap: 14px;
  min-height: 500px;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(225, 6, 0, 0.16), transparent 22%),
    linear-gradient(180deg, #fff8f8, #f3ebeb);
}

.app-card,
.glass-card,
.feature-card,
.timeline-card,
.testimonial-card,
.benefit-highlight {
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.app-card {
  padding: 18px;
  border: 1px solid rgba(16, 35, 59, 0.08);
  border-radius: 22px;
}

.app-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.welcome-card {
  background: linear-gradient(145deg, rgba(225, 6, 0, 0.92), rgba(158, 3, 0, 0.96));
  color: #fff;
}

.welcome-card p,
.welcome-card small {
  color: rgba(255, 255, 255, 0.82);
}

.persona-row {
  display: flex;
  gap: 14px;
  align-items: center;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffcdc9, var(--gold));
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.floating-note {
  position: absolute;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(21, 43, 80, 0.14);
}

.floating-note strong,
.feature-card h3,
.intro-grid h3,
.timeline-card h3,
.benefit-item h3 {
  display: block;
  margin-bottom: 8px;
}

.note-one {
  top: 74px;
  left: -6px;
}

.note-two {
  right: 0;
  bottom: 46px;
}

.section,
.footer {
  margin-top: 28px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
}

.section-title {
  max-width: 780px;
}

.section-title h2,
.final-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.intro-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

.glass-card,
.feature-card,
.timeline-card,
.testimonial-card,
.benefit-highlight {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.timeline-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(11, 91, 211, 0.14), rgba(47, 167, 126, 0.14));
  color: #7a0d0d;
  font-weight: 800;
}

.benefit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  margin-top: 28px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.benefit-item {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.benefit-highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, #2a0e0e, #7d0808 68%, #e10600);
  color: #fff;
}

.benefit-highlight small,
.benefit-highlight p {
  color: rgba(255, 255, 255, 0.82);
}

.benefit-highlight strong {
  margin: 10px 0 14px;
  font-size: 1.8rem;
  line-height: 1.25;
}

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

.testimonial-card {
  margin: 0;
}

.testimonial-card footer {
  margin-top: 18px;
  font-weight: 700;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  background:
    radial-gradient(circle at right top, rgba(215, 166, 74, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(225, 237, 249, 0.78));
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .benefit-panel,
  .final-cta,
  .footer,
  .intro-grid,
  .feature-grid,
  .timeline,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-note {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 720px) {
  .home-shell {
    width: min(100% - 18px, 1220px);
    padding-top: 10px;
  }

  .hero,
  .section,
  .footer {
    padding: 20px;
    border-radius: 24px;
  }

  .nav,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .benefit-list {
    grid-template-columns: 1fr;
  }
}
