:root {
  --pink: #f299b0;
  --pink-deep: #e5738f;
  --purple-dark: #3d1f4a;
  --purple-mid: #6b3d7a;
  --purple-light: #9a5aab;
  --gold: #f5c842;
  --gold-dark: #e6a832;
  --text: #1a1220;
  --text-muted: #5c4d66;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow: 0 24px 64px rgba(61, 31, 74, 0.18);
  --radius: 24px;
  --radius-sm: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fdf6f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(253, 246, 248, 0.82);
  border-bottom: 1px solid rgba(242, 153, 176, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(242, 153, 176, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--purple-mid);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #3d2800;
  box-shadow: 0 12px 32px rgba(230, 168, 50, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple-mid);
  border: 1px solid rgba(107, 61, 122, 0.15);
  box-shadow: 0 8px 24px rgba(61, 31, 74, 0.08);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 153, 176, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(154, 90, 171, 0.25) 0%, transparent 40%),
    linear-gradient(160deg, #fdeef2 0%, #f8e8f5 40%, #efe4f8 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-mid);
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-mid) 60%, var(--pink-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: min(300px, 90%);
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(145deg, #2a2a2e, #1a1a1e);
  box-shadow:
    0 40px 80px rgba(61, 31, 74, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(160deg, #fdeef2, #e8d4f0, #d4c0e8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.phone-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(242, 153, 176, 0.35);
  filter: blur(60px);
  top: 20%;
  left: 10%;
}

.phone-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(242, 153, 176, 0.4);
  position: relative;
  z-index: 1;
}

.phone-mode {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple-mid);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 4px;
  position: relative;
  z-index: 1;
}

.phone-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(229, 115, 143, 0.5);
  position: relative;
  z-index: 1;
}

.phone-play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent white;
  margin-left: 4px;
}

.floating-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-mid);
}

.floating-card.top {
  top: 8%;
  right: -8%;
}

.floating-card.bottom {
  bottom: 12%;
  left: -10%;
}

/* Sections */
section {
  padding: 88px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--purple-dark);
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(242, 153, 176, 0.15);
  box-shadow: 0 8px 32px rgba(61, 31, 74, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(61, 31, 74, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(242, 153, 176, 0.25), rgba(154, 90, 171, 0.2));
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--purple-dark);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Modes */
.modes-section {
  background: linear-gradient(180deg, #fff 0%, #fdf6f8 100%);
}

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

.mode-chip {
  text-align: center;
  padding: 16px 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(242, 153, 176, 0.2);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--purple-mid);
  transition: background 0.2s, border-color 0.2s;
}

.mode-chip:hover {
  background: rgba(242, 153, 176, 0.1);
  border-color: var(--pink);
}

.mode-chip.composite {
  background: linear-gradient(135deg, rgba(61, 31, 74, 0.06), rgba(154, 90, 171, 0.08));
}

/* Premium */
.premium-section {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-mid), #4a2558);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.premium-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(242, 153, 176, 0.15);
  filter: blur(80px);
  top: -100px;
  right: -100px;
}

.premium-section .section-label {
  color: var(--gold);
}

.premium-section .section-title {
  color: var(--white);
}

.premium-section .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

.premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.premium-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.premium-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.premium-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 200, 66, 0.2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.premium-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}

.premium-card .crown {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.premium-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.premium-card .price-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

.premium-card .btn-primary {
  width: 100%;
}

/* Watch */
.watch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.watch-visual {
  display: flex;
  justify-content: center;
}

.watch-mock {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #3a3a3e, #222226);
  box-shadow: 0 24px 48px rgba(61, 31, 74, 0.25);
}

.watch-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(160deg, #fdeef2, #e8d4f0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}

.watch-screen .dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
}

.watch-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.watch-points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.watch-points .num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink), var(--purple-light));
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.watch-points h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--purple-dark);
}

.watch-points p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background:
    radial-gradient(circle at 50% 100%, rgba(242, 153, 176, 0.3) 0%, transparent 50%),
    #fdf6f8;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--purple-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.app-store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s;
  /* Apple minimum clear space: 1/4 badge height */
  padding: 10px;
  margin: -10px;
}

.app-store-badge:hover {
  transform: scale(1.04);
}

.app-store-badge img {
  display: block;
  height: auto;
  min-height: 40px;
  width: auto;
}

.app-store-badge--nav img {
  height: 40px;
}

.app-store-badge--hero img,
.app-store-badge--cta img {
  height: 60px;
}

.app-store-badge--premium {
  margin-top: 8px;
}

.app-store-badge--premium img {
  height: 60px;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(242, 153, 176, 0.2);
  background: var(--white);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-legal {
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a:hover {
  color: var(--purple-mid);
}

/* Mobile nav */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--purple-mid);
}

@media (max-width: 900px) {
  .hero-grid,
  .premium-grid,
  .watch-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

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

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

  .floating-card {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(253, 246, 248, 0.98);
    padding: 20px;
    border-bottom: 1px solid rgba(242, 153, 176, 0.2);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .features-grid,
  .modes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 120px 0 60px;
  }

  section {
    padding: 64px 0;
  }
}
