/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-dark) 40%, var(--bg-medium) 100%);
  padding: 120px 24px 80px;
}

/* Glow orbs */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.hero__glow--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,243,255,0.12) 0%, transparent 70%);
  top: -100px; right: 10%;
  animation: float 8s ease-in-out infinite;
}
.hero__glow--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,0,110,0.1) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  animation: float 10s ease-in-out infinite reverse;
}
.hero__glow--3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(131,56,236,0.1) 0%, transparent 70%);
  top: 30%; left: 25%;
  animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -30px); }
  66% { transform: translate(-15px, 20px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero__icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 28px;
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.4);
}
.hero__title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero__title .ai { color: var(--cyan); text-shadow: 0 0 30px rgba(0, 243, 255, 0.4); }
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 500;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature tags */
.hero__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__tag {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid;
  font-family: var(--font-body);
}
.hero__tag--ai { color: var(--pink); border-color: var(--pink); background: rgba(255,0,110,0.08); }
.hero__tag--modes { color: var(--green); border-color: var(--green); background: rgba(0,230,118,0.08); }
.hero__tag--ranking { color: var(--gold); border-color: var(--gold); background: rgba(255,215,0,0.08); }
.hero__tag--badges { color: var(--purple); border-color: var(--purple); background: rgba(131,56,236,0.08); }

/* Store badges row */
.hero__badges, .cta__badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__badge {
  display: inline-flex;
  box-sizing: border-box;
  transition: transform 0.2s;
  height: 48px;
  width: 180px;
  align-items: center;
  justify-content: center;
}
.hero__badge:hover { transform: scale(1.05); }
/* Google Play badge: white border with internal padding */
.hero__badge--gplay {
  overflow: hidden;
  border-radius: 8px;
  border: 1.2px solid var(--text-muted);
  background: #000;
  padding: 0;
  justify-content: center;
}
.hero__badge--gplay img { width: 100%; max-width: none; height: auto; transform: scale(1.18); }
.cta__badges .hero__badge { height: 52px; width: 196px; }

/* iOS App Store button */
.hero__badge--ios {
  gap: 10px;
  padding: 0 18px 0 14px;
  border-radius: 8px;
  border: 1.2px solid var(--text-muted);
  background: #000;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-body);
}
.hero__apple-icon { flex-shrink: 0; }
.hero__ios-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}
.hero__ios-sub {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero__ios-main {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: var(--cyan);
  opacity: 0.5;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Features Section ===== */
.features { background: var(--bg-dark); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 24px;
  border-top: 3px solid transparent;
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.feature-card--cyan { border-top-color: var(--cyan); }
.feature-card--green { border-top-color: var(--green); }
.feature-card--pink { border-top-color: var(--pink); }
.feature-card--gold { border-top-color: var(--gold); }
.feature-card--purple { border-top-color: var(--purple); }

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.feature-card__icon--cyan { background: rgba(0,243,255,0.1); color: var(--cyan); }
.feature-card__icon--green { background: rgba(0,230,118,0.1); color: var(--green); }
.feature-card__icon--pink { background: rgba(255,0,110,0.1); color: var(--pink); }
.feature-card__icon--gold { background: rgba(255,215,0,0.1); color: var(--gold); }
.feature-card__icon--purple { background: rgba(131,56,236,0.1); color: var(--purple); }

.feature-card__title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== App Preview Section ===== */
.preview {
  background: var(--bg-darkest);
}
.preview__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: -36px;
  margin-bottom: 48px;
}
.preview__grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  max-width: 700px;
  margin: 0 auto;
}
.preview__item {
  text-align: center;
  flex: 1;
  max-width: 280px;
}
.preview__phone {
  position: relative;
  border-radius: 28px;
  border: 3px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-darkest);
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.06), 0 15px 50px rgba(0, 0, 0, 0.4);
  aspect-ratio: 9 / 19.5;
  transition: transform 0.3s, box-shadow 0.3s;
}
.preview__phone:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.12), 0 20px 60px rgba(0, 0, 0, 0.5);
}
.preview__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: var(--bg-darkest);
  border-radius: 0 0 12px 12px;
  z-index: 3;
}
.preview__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview__label {
  margin-top: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}
.preview__desc {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Screenshots Section ===== */
.screenshots {
  background: var(--bg-darkest);
  overflow: hidden;
}
.screenshots__wrapper {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 36px;
  border: 4px solid var(--border-subtle);
  background: var(--bg-darkest);
  box-shadow: 0 0 50px rgba(0, 243, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}
.phone-mockup__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: var(--bg-darkest);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

/* Carousel */
.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.carousel__slide {
  min-width: 100%;
  height: 100%;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Carousel controls */
.carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-size: 1rem;
}
.carousel__btn:hover { border-color: var(--cyan); color: var(--cyan); }
.carousel__dots {
  display: flex;
  gap: 8px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel__dot.active {
  background: var(--cyan);
  transform: scale(1.3);
}

.carousel__caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  min-height: 1.5em;
}

/* ===== Video Section ===== */
.video {
  background: var(--bg-dark);
}
.video__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: -36px;
  margin-bottom: 40px;
}
.video__wrapper {
  max-width: 340px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--border-subtle);
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4);
  aspect-ratio: 9 / 16;
  position: relative;
  background: #000;
}
.video__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Multi-Language Section ===== */
.multilang {
  background: var(--bg-dark);
  overflow: hidden;
}
.multilang__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: -36px;
  margin-bottom: 40px;
}
.multilang__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
  max-width: 800px;
  margin: 0 auto;
  justify-items: center;
}
.multilang__item {
  text-align: center;
}
.multilang__phone {
  width: 160px;
  border-radius: 16px;
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.multilang__phone:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}
.multilang__phone img {
  width: 100%;
  display: block;
}
.multilang__label {
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
}
.multilang__label .flag { margin-right: 6px; font-size: 1.2rem; }

/* ===== How It Works ===== */
.howitworks { background: var(--bg-darkest); }
.howitworks__steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}
.howitworks__step {
  text-align: center;
  flex: 1;
  position: relative;
}
.howitworks__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -28px;
  width: 16px;
  height: 2px;
  background: var(--border-subtle);
}
.howitworks__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan);
}
.howitworks__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.howitworks__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
  text-align: center;
}
.cta__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta__glow--1 {
  background: radial-gradient(circle, rgba(0,243,255,0.08) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.cta__glow--2 {
  background: radial-gradient(circle, rgba(255,0,110,0.06) 0%, transparent 70%);
  bottom: -200px; left: -100px;
}
.cta__content { position: relative; z-index: 2; }
.cta__title {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.cta__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta__badge img { height: 60px; }
.cta__badge { display: inline-block; transition: transform 0.2s; }
.cta__badge:hover { transform: scale(1.05); }

/* ===== iOS Notify Modal ===== */
.ios-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.ios-modal.open {
  opacity: 1;
  visibility: visible;
}
.ios-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ios-modal__card {
  position: relative;
  max-width: 480px;
  width: calc(100% - 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}
.ios-modal.open .ios-modal__card {
  transform: translateY(0) scale(1);
}
.ios-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}
.ios-modal__close:hover { color: var(--text-primary); }
.ios-notify__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 243, 255, 0.1);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.ios-notify__title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.ios-notify__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.ios-notify__form {
  margin-bottom: 16px;
}
.ios-notify__input-wrap {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
.ios-notify__input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-darkest);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}
.ios-notify__input::placeholder { color: var(--text-muted); }
.ios-notify__input:focus { border-color: var(--cyan); }
.ios-notify__btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: var(--cyan);
  color: var(--bg-darkest);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.ios-notify__btn:hover { opacity: 0.9; transform: scale(1.02); }
.ios-notify__btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.ios-notify__status {
  font-size: 0.85rem;
  margin-top: 12px;
  min-height: 1.3em;
}
.ios-notify__status--success { color: var(--green); }
.ios-notify__status--error { color: var(--pink); }
.ios-notify__status--info { color: var(--gold); }
.ios-notify__privacy {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 899px) {
  .hero__title { font-size: 2.2rem; }
  .hero__icon { width: 96px; height: 96px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .howitworks__steps { gap: 24px; }
  .howitworks__step:not(:last-child)::after { display: none; }
  .preview__grid { gap: 32px; }
  .preview__phone { border-radius: 22px; }
  .multilang__grid { max-width: 600px; gap: 20px 16px; }
  .multilang__phone { width: 120px; }
  .video__wrapper { max-width: 300px; }
  .cta__title { font-size: 1.8rem; }
}

@media (max-width: 599px) {
  .hero { padding: 100px 16px 60px; min-height: auto; }
  .hero__title { font-size: 1.75rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__icon { width: 80px; height: 80px; border-radius: 20px; }
  .hero__tags { gap: 8px; }
  .hero__tag { font-size: 0.75rem; padding: 5px 12px; }
  .features__grid { grid-template-columns: 1fr; }
  .phone-mockup { max-width: 260px; }
  .howitworks__steps { flex-direction: column; gap: 32px; }
  .multilang__grid { grid-template-columns: repeat(4, 1fr); gap: 16px 8px; max-width: 100%; }
  .preview__grid { gap: 20px; }
  .preview__item { max-width: 180px; }
  .preview__phone { border-radius: 18px; border-width: 2px; }
  .preview__notch { width: 60px; height: 14px; }
  .preview__label { font-size: 0.9rem; }
  .preview__desc { font-size: 0.78rem; }
  .multilang__phone { width: 76px; border-radius: 10px; }
  .multilang__label { font-size: 0.85rem; }
  .video__wrapper { max-width: 280px; border-radius: 18px; }
  .cta__title { font-size: 1.5rem; }
  .ios-modal__card { padding: 32px 20px; }
  .ios-notify__input-wrap { flex-direction: column; }
  .ios-notify__btn { width: 100%; }
  .hero__badge { height: 40px; width: 152px; }
  .hero__badge--ios { padding: 0 12px 0 10px; }
  .hero__ios-sub { font-size: 0.5rem; }
  .hero__ios-main { font-size: 0.95rem; }
}
