:root {
  --bg-main: #4c6df5;
  --bg-accent: #fff7d5;
  --surface: #f8f7f2;
  --surface-strong: #ffffff;
  --text-main: #1e2332;
  --text-soft: #4f5670;
  --yellow: #f6cb02;
  --orange: #ff5a15;
  --pink: #ea69b3;
  --mint: #72d58e;
  --blue-200: #9eb7ff;
  --blue-300: #7da0ff;
  --blue-500: #4c6df5;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 16px 40px rgba(21, 40, 121, 0.2);
  --font-main: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--text-main);
  background: linear-gradient(135deg, #5f7cff 0%, #4c6df5 45%, #3d57db 100%);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.bg-shape-a {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 232, 131, 0.52) 0%, rgba(255, 232, 131, 0) 68%);
  top: -90px;
  right: -70px;
}

.bg-shape-b {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(234, 105, 179, 0.36) 0%, rgba(234, 105, 179, 0) 70%);
  left: -110px;
  bottom: 90px;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 18px 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 190px;
  height: auto;
  display: block;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px;
  backdrop-filter: blur(4px);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  color: #f9fbff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.lang-btn.is-active {
  color: var(--blue-500);
  background: #f9fbff;
}

.hero {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  background: var(--surface);
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue-500);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero-description {
  margin-top: 14px;
  margin-bottom: 0;
  max-width: 56ch;
  font-size: 1.06rem;
  line-height: 1.48;
  color: var(--text-soft);
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-link {
  display: inline-flex;
  width: fit-content;
  border-radius: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 20px rgba(26, 32, 58, 0.16);
}

.store-badge {
  width: 178px;
  max-width: 100%;
  display: block;
}

.hero-support {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-visual {
  background: linear-gradient(170deg, #5a7aff 0%, #3f60e5 100%);
  border-radius: var(--radius-lg);
  padding: 18px;
}

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

.character-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
  border-radius: 22px;
  box-shadow: 0 8px 18px rgba(21, 40, 121, 0.24);
}

.character-p1 {
  background: #ea69b3;
}

.character-p2 {
  background: #3f61e6;
}

.character-p3 {
  background: #f6cb02;
}

.character-p4 {
  background: #ff5a15;
}

.benefits,
.steps,
.contact {
  margin-top: 26px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.benefits h2,
.steps h2,
.contact h2,
.cta-copy h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.01em;
}

.benefit-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit-card {
  border-radius: 22px;
  background: var(--surface-strong);
  padding: 16px;
  border: 1px solid #ebedf6;
}

.benefit-card:nth-child(1) {
  border-left: 8px solid var(--yellow);
}

.benefit-card:nth-child(2) {
  border-left: 8px solid var(--pink);
}

.benefit-card img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
}

.benefit-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 1.28rem;
}

.benefit-card p {
  margin: 0;
  line-height: 1.46;
  color: var(--text-soft);
}

.steps-grid {
  display: grid;
  gap: 14px;
}

.step-item {
  background: #ffffff;
  border: 1px solid #e7ecff;
  border-radius: 20px;
  padding: 16px;
}

.step-index {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ebf0ff;
  color: var(--blue-500);
  font-weight: 800;
}

.step-item h3 {
  margin: 10px 0 8px;
  font-size: 1.16rem;
}

.step-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.45;
}

.cta-panel {
  margin-top: 26px;
  background: linear-gradient(145deg, #4c6df5 0%, #3f57d8 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  gap: 16px;
  align-items: center;
}

.smile-outline {
  width: 92px;
  opacity: 0.95;
}

.cta-copy p {
  margin: 0;
  color: #e4ecff;
  max-width: 58ch;
}

.contact p {
  color: var(--text-soft);
  margin-top: 0;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--text-main);
}

.contact-label {
  font-weight: 700;
}

.contact-instagram-btn {
  text-decoration: none;
  font-weight: 700;
  color: var(--blue-500);
  background: #eef2ff;
  padding: 8px 12px;
  border-radius: 999px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.contact-instagram-btn:hover,
.contact-instagram-btn:focus-visible {
  transform: translateY(-1px);
  background: #dce5ff;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 560ms ease forwards;
}

.delay-1 {
  animation-delay: 90ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 220ms;
}

.delay-4 {
  animation-delay: 280ms;
}

.card-pop {
  opacity: 0;
  transform: scale(0.92);
  animation: popIn 520ms cubic-bezier(0.17, 0.67, 0.34, 1.31) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 760px) {
  .page {
    padding: 34px 24px 70px;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    padding: 34px;
  }

  .benefit-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .cta-panel {
    grid-template-columns: auto 1fr auto;
    padding: 30px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 148px;
  }

  .hero,
  .benefits,
  .steps,
  .contact,
  .cta-panel {
    padding: 18px;
    border-radius: 22px;
  }
}
