/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #B91D7B;
  --primary-hover: #d42490;
  --primary-glow: rgba(185, 29, 123, 0.4);
  --bg-dark: #120727;
  --bg-body: #20103C;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-subtle: rgba(255, 255, 255, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 50px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== STARS BACKGROUND ========== */
.stars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(185, 29, 123, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(156, 39, 176, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(18, 7, 39, 0.8) 0%, transparent 60%),
    linear-gradient(180deg, #120727 0%, #20103C 50%, #1a0d35 100%);
}

.stars-bg::before,
.stars-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 25%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 45%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 85%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 40%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 90%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 65%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 20% 90%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 95% 15%, rgba(255,255,255,0.6) 0%, transparent 100%);
}

.stars-bg::after {
  animation: twinkle 6s ease-in-out infinite alternate;
  background-image:
    radial-gradient(1px 1px at 30% 20%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 35%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 12% 60%, rgba(255,255,255,0.5) 0%, transparent 100%);
}

@keyframes twinkle {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ========== WRAPPER ========== */
.page-wrap {
  position: relative;
  z-index: 1;
}

/* ========== HEADER ========== */
.site-header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 7, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}

.lang-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.lang-btn svg { opacity: 0.6; transition: transform 0.2s; }
.lang-switcher.open .lang-btn svg { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1e1040;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 160px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 200;
}

.lang-switcher.open .lang-dropdown { display: block; }

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.15s;
  font-weight: 500;
}

.lang-opt:hover { background: rgba(255,255,255,0.07); color: #fff; }
.lang-opt.active { color: #fff; background: rgba(185,29,123,0.15); }
.lang-opt span { font-weight: 400; opacity: 0.7; font-size: 0.82rem; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8B1465);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #a01876);
  box-shadow: 0 6px 28px rgba(185, 29, 123, 0.55);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

/* ========== DOWNLOAD BADGES ========== */
.download-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: all 0.3s ease;
  min-width: 180px;
}

.badge-link:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.badge-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.badge-text { text-align: left; }
.badge-text span { display: block; }
.badge-text .badge-sub { font-size: 0.72rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-text .badge-name { font-size: 1.05rem; font-weight: 700; margin-top: 1px; }

/* ========== HERO ========== */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(185, 29, 123, 0.15);
  border: 1px solid rgba(185, 29, 123, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: #e87cc8;
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #e87cc8, #B91D7B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-badges {
  margin-top: 56px;
}

.hero-badges-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 20px;
  font-weight: 600;
}

/* ========== APP PREVIEW ========== */
.app-preview {
  padding: 40px 24px 80px;
  text-align: center;
}

.app-mockup-wrap {
  position: relative;
  display: inline-block;
  max-width: 340px;
  width: 100%;
}

.app-mockup {
  width: 100%;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a1654 0%, #1a0d35 60%, #0d0720 100%);
  border: 2px solid rgba(185, 29, 123, 0.3);
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 80px rgba(185, 29, 123, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
  gap: 16px;
  padding: 40px 20px;
}

.mockup-zodiac {
  font-size: 4rem;
  opacity: 0.8;
}

.mockup-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.mockup-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(185, 29, 123, 0.4) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

/* ========== SECTION ========== */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ========== FEATURES GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(185, 29, 123, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ========== STATS ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 64px;
}

.stat-item {
  background: var(--bg-body);
  padding: 32px 24px;
  text-align: center;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e87cc8, #B91D7B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ========== CTA BLOCK ========== */
.cta-section {
  padding: 80px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(185, 29, 123, 0.12), rgba(156, 39, 176, 0.08));
  border: 1px solid rgba(185, 29, 123, 0.25);
  border-radius: 28px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(185, 29, 123, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: rgba(18, 7, 39, 0.9);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-subtle);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text-muted); }

/* ========== INNER PAGES (policy, terms, feedback) ========== */
.inner-hero {
  padding: 80px 24px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.inner-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.inner-hero p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1rem;
}

.content-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.content-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: #fff;
}

.content-page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: rgba(255,255,255,0.9);
}

.content-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.content-page ul {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 20px;
  margin-bottom: 14px;
}

.content-page ul li { margin-bottom: 6px; }

.content-page strong { color: rgba(255,255,255,0.85); }

.updated-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-bottom: 32px;
}

/* ========== FEEDBACK FORM ========== */
.feedback-section {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-control::placeholder { color: rgba(255,255,255,0.3); }

.form-control:focus {
  border-color: rgba(185, 29, 123, 0.5);
  background: rgba(255,255,255,0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check label {
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-check label a { color: #e87cc8; }
.form-check label a:hover { text-decoration: underline; }

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header-cta { display: none; }

  .hero { padding: 64px 24px 60px; }

  .download-badges { flex-direction: column; align-items: center; }

  .badge-link { min-width: 220px; justify-content: center; }

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

  .stats-row { grid-template-columns: 1fr 1fr; }

  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-inner { padding: 48px 24px; }

  .form-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
}
