/* === OurDream Affiliate — Shared Stylesheet === */
:root {
  --bg: #0d0d12;
  --bg-alt: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1e1e2a;
  --text: #e8e8ed;
  --text-muted: #9898a8;
  --pink: #EC4899;
  --pink-hover: #f062a9;
  --pink-glow: rgba(236, 72, 153, 0.15);
  --border: #22223a;
  --radius: 12px;
  --max-w: 960px;
  --gradient: linear-gradient(135deg, #EC4899 0%, #a855f7 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-hover); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }

/* === AGE GATE (checkbox hack, no JS) === */
#age-toggle { display: none; }
.age-verify {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
}
#age-toggle:checked ~ .age-verify { display: none; }
#age-toggle:checked ~ #main-content { display: block; }
#main-content { display: none; }

.age-verify-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem; text-align: center;
  max-width: 420px; width: 90%;
}
.age-verify-box h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.age-verify-box p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.btn-yes {
  display: block; width: 100%; padding: 0.85rem; border-radius: 8px;
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 1rem;
  cursor: pointer; margin-bottom: 0.5rem; border: none;
}
.btn-yes:hover { box-shadow: 0 4px 20px var(--pink-glow); color: #fff; }
.btn-no {
  display: block; width: 100%; background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.75rem; border-radius: 8px; cursor: pointer;
  font-size: 0.9rem; text-decoration: none;
}
.btn-no:hover { background: var(--bg-card-hover); }

/* === Navbar === */
.navbar {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  background: rgba(13,13,18,0.85); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.nav-logo { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.logo-icon { margin-right: 0.35rem; }

.lang-switcher { display: flex; gap: 6px; flex-wrap: wrap; }
.lang-switcher a {
  padding: 4px 10px; border-radius: 6px; font-size: 0.82rem;
  font-weight: 600; border: 1px solid var(--border);
  color: var(--text-muted); transition: all 0.15s;
}
.lang-switcher a:hover, .lang-switcher a.active {
  background: var(--pink); color: #fff; border-color: var(--pink);
}

/* === Hero === */
.hero {
  text-align: center; padding: 3rem 1rem 2rem;
  background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(236,72,153,0.08), transparent);
}
.hero-image {
  max-width: 380px; margin: 0 auto 1.5rem; border-radius: var(--radius);
  box-shadow: 0 8px 40px var(--pink-glow);
}
.hero-img {
  max-width: 380px; width: 100%; height: 240px; margin: 0 auto 1.5rem; border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 50%, #1a1a2e 100%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
  box-shadow: 0 8px 40px var(--pink-glow);
  position: relative; overflow: hidden;
}
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(236,72,153,0.08) 0%, transparent 60%);
}
.hero-image-fallback {
  max-width: 380px; height: 200px; margin: 0 auto 1.5rem; border-radius: var(--radius);
  background: var(--bg-card); display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 0.75rem; }
.hero .subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 1.5rem; }
.hero-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.hero-badge {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.82rem;
  font-weight: 600;
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  border-radius: 8px; font-weight: 700; font-size: 1rem;
  cursor: pointer; text-align: center; transition: all 0.2s;
  border: none; text-decoration: none;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 4px 20px var(--pink-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(236,72,153,0.3); color: #fff; }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.15rem; }

/* === Sections === */
.section { padding: 2.5rem 1rem; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 { margin-bottom: 0.25rem; }
.section-header p { color: var(--text-muted); }
.text-pink { color: var(--pink); }

/* === Features === */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem; max-width: var(--max-w); margin: 0 auto;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: all 0.2s;
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--pink); }
.feature-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.card-img {
  width: 100%; height: 160px; border-radius: 8px;
  margin-bottom: 0.75rem; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 50%, #3d1f3d 100%);
  border: 1px solid var(--border);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block;
}
.img-fallback-icon { opacity: 0.9; }
.hero-image {
  max-width: 380px; width: 100%; height: 240px; margin: 0 auto 1.5rem; border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 50%, #3d1f3d 100%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.hero-image-fallback { display: none; }
.feature-card p { color: var(--text-muted); font-size: 0.93rem; }

/* === Pricing === */
.pricing-grid {
  display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap;
  max-width: var(--max-w); margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; flex: 1; min-width: 250px; max-width: 320px;
  transition: all 0.2s; position: relative;
}
.pricing-card.featured {
  border-color: var(--pink); box-shadow: 0 0 30px var(--pink-glow);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 3px 14px; border-radius: 12px;
}
.pricing-card h3 { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.pricing-amount { font-size: 2.5rem; font-weight: 800; }
.pricing-amount span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.pricing-period { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.pricing-savings { color: var(--pink); font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.pricing-features {
  list-style: none; text-align: left; margin-bottom: 1.5rem;
}
.pricing-features li { padding: 0.4rem 0; font-size: 0.93rem; }
.pricing-features li::before { content: "✓ "; color: var(--pink); font-weight: 700; }

/* === Testimonials === */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; max-width: var(--max-w); margin: 0 auto;
}
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.testimonial-stars { color: #f59e0b; margin-bottom: 0.5rem; font-size: 1rem; }
.testimonial-card blockquote {
  font-style: italic; margin-bottom: 1rem; font-size: 0.95rem;
  color: var(--text); border-left: 3px solid var(--pink);
  padding-left: 0.75rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-author-info strong { display: block; font-size: 0.9rem; }
.testimonial-author-info span { color: var(--text-muted); font-size: 0.8rem; }

/* === FAQ === */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  padding: 0.25rem 0; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+ "; color: var(--pink); font-weight: 700; }
.faq-item[open] summary::before { content: "− "; }
.faq-item p { color: var(--text-muted); font-size: 0.93rem; padding-top: 0.5rem; }

/* === CTA Banner === */
.cta-banner {
  text-align: center; padding: 3rem 1rem;
  background: radial-gradient(ellipse 500px 200px at 50% 100%, rgba(236,72,153,0.08), transparent);
  border: 1px solid var(--border); border-radius: var(--radius);
  max-width: var(--max-w); margin: 0 auto;
}
.cta-banner h2 { margin-bottom: 0.5rem; }
.cta-banner p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* === Footer === */
.footer {
  border-top: 1px solid var(--border); padding: 2rem 1rem;
  text-align: center; font-size: 0.82rem; color: var(--text-muted);
  max-width: var(--max-w); margin: 0 auto;
}
.footer-links { margin-bottom: 1rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-disclaimer { margin-bottom: 0.5rem; }
.footer-copy { margin-top: 1rem; }

/* === Responsive === */
@media (max-width: 640px) {
  h1, .hero h1 { font-size: 1.8rem; }
  .navbar .container { flex-direction: column; }
  .pricing-grid { flex-direction: column; align-items: center; }
  .pricing-card { max-width: 100%; }
  .pricing-card.featured { transform: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
