.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 8, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
}

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

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

.logo-img {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(38vw, 120px);
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 59, 59, 0.28));
}

.menu {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.menu a {
  position: relative;
  transition: color 0.18s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.18s ease;
}

.menu a:hover,
.menu a.active {
  color: #fff;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(255, 59, 59, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 40%, rgba(255, 255, 255, 0.03), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.brand-mark {
  margin: 0 auto 20px;
  font-family: var(--display);
  font-size: clamp(56px, 12vw, 104px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: #fff;
  text-shadow: 0 0 60px rgba(255, 59, 59, 0.35);
  text-wrap: balance;
  animation: rise-in 0.7s ease both;
}

.brand-mark span {
  color: var(--accent);
}

.hero h1 {
  max-width: none;
  margin: 0 auto 18px;
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
  animation: rise-in 0.7s ease 0.08s both;
}

.hero-lead {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
  animation: rise-in 0.7s ease 0.14s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0;
  animation: rise-in 0.7s ease 0.2s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flow-strip {
  margin-top: 40px;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  animation: rise-in 0.7s ease 0.28s both;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.flow-step {
  display: grid;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 16px;
  text-align: left;
}

.flow-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
}

.flow-step strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.flow-step span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-wrap: pretty;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--bg-elevated);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.price-card.featured {
  border-color: rgba(255, 59, 59, 0.4);
  box-shadow: 0 24px 56px rgba(255, 59, 59, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 59, 59, 0.1), transparent 45%),
    var(--bg-elevated);
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-value {
  margin-bottom: 12px;
  font-family: var(--font);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-value small {
  font-family: var(--font);
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.price-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bento-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--bg-elevated);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 59, 59, 0.28);
}

.bento-card:last-child {
  grid-column: 1 / -1;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 59, 59, 0.22);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
}

.bento-card h3,
.step h3,
.client-card h3,
.faq-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bento-card p,
.step p,
.client-card p,
.faq-card p {
  color: var(--muted);
  line-height: 1.58;
  font-size: 14px;
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.client-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.client-logo {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.faq-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.cta {
  padding: 28px 0 80px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: 28px;
  border: 1px solid rgba(255, 59, 59, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 59, 59, 0.14), rgba(255, 255, 255, 0.02)),
    var(--bg-elevated);
  box-shadow: 0 28px 70px rgba(255, 59, 59, 0.1);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.app-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.app-panel-badge {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 59, 0.35);
  background: var(--accent-soft);
  color: #ffd0d0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.app-panel-copy h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.app-panel-copy p {
  max-width: 520px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.app-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-panel-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.app-panel-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: #e8e8e8;
  font-size: 14px;
  font-weight: 600;
}

.app-panel-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  flex-shrink: 0;
}

.faq-card a {
  color: #ff8080;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-box h2 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.cta-box p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}

.legal-page {
  padding: 48px 0 72px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.legal-meta {
  color: var(--muted2);
  font-size: 13px;
  margin-bottom: 12px;
}

.legal-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.legal-card h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.legal-card h2 {
  font-size: 22px;
  margin: 32px 0 12px;
}

.legal-card h3 {
  font-size: 17px;
  margin: 20px 0 8px;
  color: #ececec;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.legal-card ul {
  margin: 8px 0 16px 20px;
}

.legal-card a {
  color: #ff8080;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-card code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: #f0f0f0;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 24px 18px;
  }
}

.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.footer .logo-img {
  height: 72px;
  max-width: min(48vw, 140px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.footer p,
.footer a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.footer h4 {
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted2);
  font-size: 13px;
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .flow-steps,
  .pricing,
  .bento,
  .clients,
  .faq-grid,
  .footer-grid,
  .app-panel {
    grid-template-columns: 1fr;
  }

  .bento-card:last-child {
    grid-column: auto;
  }

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

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 56px;
  }

  .brand-mark {
    margin-bottom: 20px;
  }

  .flow-strip {
    margin-top: 40px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .copyright {
    flex-direction: column;
    align-items: flex-start;
  }
}
