:root {
  --bg: #fffbf7;
  --surface: #ffffff;
  --text: #1a1d21;
  --text-muted: #5c6570;
  --accent: #e11d48;
  --accent-mid: #db2777;
  --accent-hover: #be123c;
  --border: #f3e8e4;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(26, 29, 33, 0.06);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 15% 20%, rgba(225, 29, 72, 0.11), transparent 60%),
    radial-gradient(34vmax 34vmax at 85% 12%, rgba(219, 39, 119, 0.1), transparent 62%),
    radial-gradient(28vmax 28vmax at 50% 88%, rgba(251, 113, 133, 0.09), transparent 58%);
  filter: blur(20px);
  animation: drift-bg 22s ease-in-out infinite alternate;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: auto;
  height: 44px;
  display: block;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .logo-img {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.24);
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-main a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.lang-switcher select {
  height: 34px;
  padding: 0 0.65rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
}

.lang-switcher select:focus-visible {
  outline: 2px solid rgba(225, 29, 72, 0.25);
  outline-offset: 2px;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-lead {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.35rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-mid) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 12px rgba(225, 29, 72, 0.35);
}

.btn-play:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-play svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-play:hover svg {
  transform: translateX(2px);
}

.btn-secondary {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  text-decoration: underline;
  transform: translateX(1px);
}

.package-id {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-intro {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(26, 29, 33, 0.08);
}

.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.steps li {
  position: relative;
  padding-left: 3.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.35rem 3.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 29, 33, 0.08);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--accent-mid));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.steps span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.trust-strip {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.trust-strip h2 {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.copyright {
  margin: 0;
}

.footer-contact {
  margin: 0 0 0.75rem;
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
}

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

body.js-ready .hero h1,
body.js-ready .hero-lead,
body.js-ready .hero-actions,
body.js-ready .package-id {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 0.7s ease forwards;
}

body.js-ready .hero-lead {
  animation-delay: 0.1s;
}

body.js-ready .hero-actions {
  animation-delay: 0.2s;
}

body.js-ready .package-id {
  animation-delay: 0.3s;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.feature-grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.steps .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.steps .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-bg {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-main {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }
}
