:root {
  --bg: #0b0b0c;
  --bg-card: #17171a;
  --pink: #ffb3d9;
  --pink-bright: #ff7fc6;
  --text: #f7f4f1;
  --text-dim: #a09da0;
  --text-faint: #6b686a;
  --border: rgba(255, 179, 217, 0.14);

  --serif: 'Instrument Serif', serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  padding: 64px 24px 40px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 700px;
  background: radial-gradient(
    ellipse 70% 60% at center,
    rgba(255, 127, 198, 0.22) 0%,
    rgba(255, 127, 198, 0.15) 20%,
    rgba(255, 127, 198, 0.08) 40%,
    rgba(255, 127, 198, 0.03) 60%,
    rgba(255, 127, 198, 0.01) 80%,
    rgba(255, 127, 198, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 24px;
  box-shadow: 0 12px 40px -10px rgba(255, 127, 198, 0.45);
  animation: fadeUp 0.5s ease both;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 9vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease 0.1s both;
}

h1 em {
  font-style: italic;
  color: var(--pink);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-btn {
  margin-top: 28px;
  animation: fadeUp 0.6s ease 0.3s both;
}

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

/* SECTIONS */
section {
  padding: 20px 24px;
}

.block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 26px;
  margin-bottom: 14px;
}

.block-emoji {
  font-family: var(--emoji);
  font-size: 40px;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.block-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.block-title em {
  font-style: italic;
  color: var(--pink);
}

.block p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
}

.block p + p {
  margin-top: 10px;
}

.block strong {
  color: var(--text);
  font-weight: 500;
}

/* Reassurance block */
.reassure {
  text-align: center;
  padding: 24px 16px 8px;
}

.reassure-emoji {
  font-family: var(--emoji);
  font-size: 36px;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.reassure-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 5.5vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}

.reassure-text em {
  font-style: italic;
  color: var(--pink);
}

/* Video demo */
.video-wrap {
  margin: 22px auto 18px;
  max-width: 260px;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow:
    0 20px 60px -15px rgba(255, 127, 198, 0.35),
    0 0 0 1px var(--border);
}

.demo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-sound {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: var(--emoji);
  padding: 0;
}

.video-sound:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: scale(1.08);
}

.video-sound-icon.unmuted {
  display: none;
}

.video-sound[data-muted="false"] .video-sound-icon.muted {
  display: none;
}

.video-sound[data-muted="false"] .video-sound-icon.unmuted {
  display: inline;
}

/* Store links */
.store-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.store-link:hover {
  color: var(--pink);
}

.store-sep {
  color: var(--text-faint);
  font-size: 14px;
  user-select: none;
}

/* Steps */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 6px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-emoji {
  font-family: var(--emoji);
  font-size: 28px;
  line-height: 1.2;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.step-content h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text);
}

.step-content p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* CTA */
.cta-section {
  padding: 36px 24px 72px;
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  background: var(--pink);
  color: #0b0b0c;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.25s ease;
  box-shadow: 0 0 30px -5px rgba(255, 127, 198, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--pink-bright);
  box-shadow: 0 12px 35px -5px rgba(255, 127, 198, 0.5);
}

.btn-emoji {
  font-family: var(--emoji);
  font-size: 18px;
}

/* FOOTER */
footer {
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--pink);
  display: block;
  margin-bottom: 6px;
}

footer p {
  font-size: 12px;
  color: var(--text-faint);
}

/* Language selector */
.lang-wrapper {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 100;
}

.lang-select {
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a09da0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.lang-select:hover {
  border-color: var(--pink);
  color: var(--text);
}

.lang-select:focus {
  outline: none;
  border-color: var(--pink);
}

.lang-select option {
  background: var(--bg-card);
  color: var(--text);
}

@media (max-width: 480px) {
  .lang-wrapper {
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .lang-select {
    padding: 6px 8px;
    padding-right: 24px;
    font-size: 11px;
    border-radius: 6px;
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  border-color: var(--pink);
  color: var(--text);
}

.modal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--text);
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.form-hint {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: -2px;
}

.required {
  color: var(--pink);
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.form-group input,
.form-group > select {
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.form-group input::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pink);
}

.form-group > select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a09da0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Phone input with prefix */
.phone-input-wrapper {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.phone-input-wrapper:focus-within {
  border-color: var(--pink);
}

.phone-prefix {
  padding: 14px 8px 14px 14px;
  background: var(--bg-card);
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a09da0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
  min-width: 95px;
}

.phone-prefix:focus {
  outline: none;
}

.phone-prefix option {
  background: var(--bg-card);
  color: var(--text);
}

.phone-input-wrapper input {
  flex: 1;
  padding: 14px 16px;
  background: var(--bg);
  border: none;
  border-radius: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
}

.phone-input-wrapper input:focus {
  outline: none;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success.active {
  display: block;
}

.form.hidden {
  display: none;
}

.success-emoji {
  font-family: var(--emoji);
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.form-success p {
  font-size: 16px;
  color: var(--text);
}

/* Mobile modal */
@media (max-width: 480px) {
  .modal-overlay {
    padding: 12px;
    align-items: center;
    overflow-x: hidden;
  }

  .modal {
    width: 100%;
    max-width: calc(100vw - 24px);
    border-radius: 20px;
    padding: 20px 16px 24px;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .form {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .form-group {
    width: 100%;
    max-width: 100%;
  }

  .form-group input,
  .form-group > select,
  .phone-input-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .modal-title {
    font-size: 20px;
    padding-right: 36px;
    margin-bottom: 16px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .form-group {
    gap: 4px;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group > select {
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
  }

  .form-hint {
    font-size: 10px;
  }

  .phone-input-wrapper {
    border-radius: 10px;
  }

  .phone-prefix {
    padding: 12px 4px 12px 10px;
    font-size: 12px;
    min-width: 80px;
    padding-right: 18px;
  }

  .phone-input-wrapper input {
    padding: 12px;
    font-size: 16px;
  }

  .form-submit {
    padding: 14px 20px;
    font-size: 14px;
    border-radius: 50px;
    margin-top: 4px;
  }

  .btn-emoji {
    font-size: 14px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
