:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --text: #122033;
  --muted: #5c6b80;
  --line: rgba(18, 32, 51, 0.10);
  --brand: #d7263d;
  --brand-dark: #a91d30;
  --accent: #1f6feb;
  --shadow: 0 18px 45px rgba(18, 32, 51, 0.10);
  --shadow-soft: 0 10px 28px rgba(18, 32, 51, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.08), transparent 35%),
    radial-gradient(circle at top right, rgba(215, 38, 61, 0.08), transparent 30%),
    var(--bg);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(246, 248, 251, 0.82);
  border-bottom: 1px solid rgba(18, 32, 51, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--text);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section-heading h2,
.workflow h2,
.cta h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  max-width: 12ch;
}

.hero-text {
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 12px 24px rgba(215, 38, 61, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.hero-points {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-points li + li {
  margin-top: 0.45rem;
}

.phone-frame {
  width: min(100%, 360px);
  margin-left: auto;
  margin-right: auto;
  padding: 14px;
  border-radius: 42px;
  background: #111;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.features,
.workflow,
.cta {
  padding: 3.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.workflow h2,
.cta h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.section-heading p,
.workflow p,
.cta p {
  color: var(--muted);
}

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

.card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.workflow-steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.step-number {
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #4e8df5);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.84));
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid rgba(18, 32, 51, 0.08);
  padding: 1.4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero-grid,
  .workflow-grid,
  .feature-grid,
  .cta-box,
  .footer-content {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

  .phone-frame {
    margin-top: 1rem;
  }
}

@media (max-width: 700px) {
  .nav {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .poster-2 {
    width: 82%;
  }
}
