* {
  box-sizing: border-box;
}

:root {
  --bg: #fbf7f4;
  --surface: #ffffff;
  --surface-soft: #fff8f2;
  --text: #20151b;
  --muted: #6e6268;
  --line: rgba(32, 21, 27, 0.10);
  --wine: #7a164d;
  --wine-dark: #3d1129;
  --pink: #ff5b79;
  --hero-bg-1: #2a0f1d;
  --hero-bg-2: #43142e;
  --hero-bg-3: #6c1747;
  --shadow-soft: 0 18px 50px rgba(61, 17, 41, 0.08);
  --shadow-medium: 0 28px 80px rgba(61, 17, 41, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 244, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 16px;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 37px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.8px;
  color: var(--wine);
}

.brand-heart {
  position: absolute;
  top: -4px;
  right: 0;
  color: var(--pink);
  font-size: 14px;
  line-height: 1;
  transform: rotate(-8deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-login,
.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.header-login {
  color: var(--wine);
  background: rgba(122, 22, 77, 0.08);
}

.header-cta {
  color: #ffffff;
  background: var(--wine);
  box-shadow: 0 12px 28px rgba(122, 22, 77, 0.20);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 91, 121, 0.18), transparent 24%),
    linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 55%, var(--hero-bg-3) 100%);
}

.hero-inner {
  min-height: calc(100vh - 78px);
  padding: 56px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 620px;
}

.hero-badge,
.section-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.hero-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 0.96;
  letter-spacing: -3.4px;
  max-width: 720px;
}

.hero-text {
  margin: 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--wine), var(--pink));
  box-shadow: 0 20px 50px rgba(255, 91, 121, 0.24);
}

.btn-light {
  color: var(--wine);
  background: #ffffff;
}

.btn-link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.btn-link-light {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 900;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 100%;
  max-width: 390px;
  padding: 10px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.hero-preview {
  width: 100%;
  border-radius: 31px;
  background: #ffffff;
}

.image-placeholder {
  width: 100%;
  max-width: 390px;
  min-height: 520px;
  padding: 28px;
  border-radius: 36px;
  color: var(--text);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.image-placeholder strong {
  font-size: 22px;
}

.image-placeholder span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.benefits,
.steps {
  padding: 82px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-badge {
  color: var(--wine);
  background: rgba(122, 22, 77, 0.09);
}

.section-head h2 {
  margin: 16px 0 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -2.3px;
}

.benefits-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card,
.step-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.benefit-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.8px;
}

.benefit-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.step-number {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--wine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

.final-cta {
  padding: 0 0 52px;
}

.final-cta-box {
  padding: 46px 30px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 91, 121, 0.20), transparent 28%),
    linear-gradient(135deg, var(--hero-bg-1), var(--hero-bg-3));
  box-shadow: var(--shadow-medium);
}

.final-cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -2.2px;
}

.final-cta-box p {
  max-width: 540px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.public-footer {
  padding: 32px 0 42px;
  color: var(--muted);
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.footer-brand strong {
  color: var(--wine);
  font-size: 24px;
  letter-spacing: -0.8px;
}

.footer-brand span {
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--wine);
}

.footer-copy {
  margin: 18px 0 0;
  font-size: 12px;
}

@media (max-width: 980px) {
  .container,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-text {
    font-size: 30px;
  }

  .brand-heart {
    top: -3px;
    font-size: 12px;
  }

  .header-login,
  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .hero-inner {
    min-height: auto;
    padding: 42px 0 50px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 0.99;
    letter-spacing: -2px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    gap: 12px;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .btn-link,
  .btn-link-light {
    width: 100%;
    text-align: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .phone-frame {
    max-width: 320px;
    border-radius: 34px;
  }

  .hero-preview {
    border-radius: 26px;
  }

  .benefits,
  .steps {
    padding: 54px 0;
  }

  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .step-card {
    padding: 22px;
  }

  .benefit-card h3,
  .step-card h3 {
    font-size: 24px;
  }

  .section-head h2,
  .final-cta-box h2 {
    letter-spacing: -1.4px;
  }

  .final-cta {
    padding-bottom: 38px;
  }

  .final-cta-box {
    padding: 34px 22px;
    text-align: left;
  }

  .final-cta-box p {
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
  }

  .final-cta-actions {
    align-items: stretch;
    justify-content: flex-start;
  }
}