/* ===== DESIGN SYSTEM - aihentaigenerator.fun ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-glass: rgba(26, 26, 46, 0.6);
  --accent-pink: #ff2d75;
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --gradient-hero: linear-gradient(135deg, #ff2d75 0%, #a855f7 50%, #3b82f6 100%);
  --gradient-card: linear-gradient(145deg, rgba(168,85,247,0.15), rgba(255,45,117,0.08));
  --gradient-cta: linear-gradient(135deg, #ff2d75, #a855f7);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --border-subtle: rgba(168, 85, 247, 0.15);
  --border-glow: rgba(255, 45, 117, 0.3);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-pink); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-purple); }

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

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.3rem; }
.logo span { background: var(--gradient-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-icon { width: 32px; height: 32px; }

.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.3rem 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient-hero); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--gradient-cta); color: #fff !important; padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255,45,117,0.4); }
.nav-cta::after { display: none !important; }

.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 8rem 1.5rem 4rem; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(168,85,247,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255,45,117,0.1) 0%, transparent 50%),
              var(--bg-primary);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120%; height: 120%; object-fit: cover;
  opacity: 0.15; filter: blur(30px) saturate(1.3);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(168,85,247,0.12); border: 1px solid rgba(168,85,247,0.25);
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; color: var(--accent-purple);
  margin-bottom: 1.5rem; font-weight: 500;
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .gradient-text {
  background: var(--gradient-hero); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 2rem;
  line-height: 1.8; animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeInUp 0.8s ease 0.6s both; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gradient-cta); color: #fff; padding: 0.9rem 2rem;
  border-radius: var(--radius-md); font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,45,117,0.35); color: #fff; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-card); color: var(--text-primary); padding: 0.9rem 2rem;
  border-radius: var(--radius-md); font-weight: 600; font-size: 1rem;
  border: 1px solid var(--border-subtle); cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: var(--accent-purple); background: rgba(168,85,247,0.1); color: #fff; }

.hero-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 3rem; animation: fadeInUp 0.8s ease 0.8s both; }
.stat-item { text-align: center; }
.stat-number { font-size: 1.8rem; font-weight: 800; background: var(--gradient-hero); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 0.8rem; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-divider { width: 60px; height: 4px; background: var(--gradient-hero); border-radius: 2px; margin: 1rem auto 0; }

/* ===== REVIEW CARDS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; }

.review-card {
  background: var(--gradient-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-glow); }

.review-card .card-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: var(--gradient-cta); color: #fff; padding: 0.3rem 0.8rem;
  border-radius: 50px; font-size: 0.75rem; font-weight: 700;
}

.card-image { position: relative; height: 200px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.review-card:hover .card-image img { transform: scale(1.05); }
.card-image::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, var(--bg-card), transparent); }

.card-body { padding: 1.5rem; }
.card-body h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem; }
.card-body .card-tagline { font-size: 0.85rem; color: var(--accent-purple); margin-bottom: 0.8rem; }

.card-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem; }
.stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: 2px; }
.rating-num { font-weight: 700; font-size: 0.95rem; }

.card-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }

.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.tag { background: rgba(168,85,247,0.1); color: var(--accent-purple); padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.75rem; font-weight: 500; }

.card-cta {
  display: block; text-align: center; background: var(--gradient-cta); color: #fff; padding: 0.7rem;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.card-cta:hover { box-shadow: 0 4px 20px rgba(255,45,117,0.4); transform: translateY(-2px); color: #fff; }

/* ===== COMPARISON TABLE ===== */
.comparison-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comparison-table th { background: var(--bg-card); padding: 1rem; text-align: left; font-weight: 700; color: var(--text-primary); white-space: nowrap; border-bottom: 2px solid var(--accent-purple); }
.comparison-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.comparison-table tr:hover td { background: rgba(168,85,247,0.05); }
.comparison-table .check { color: #22c55e; font-weight: 700; }
.comparison-table .cross { color: #ef4444; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); margin-bottom: 0.8rem; overflow: hidden; background: var(--bg-card); transition: border-color 0.3s ease; }
.faq-item:hover { border-color: var(--border-glow); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; background: none; border: none; color: var(--text-primary); font-family: var(--font-main); font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left; }
.faq-question .faq-icon { font-size: 1.2rem; color: var(--accent-purple); transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 400px; padding: 0 1.5rem 1.2rem; }
.faq-answer p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.about-text p { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.8; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-subtle); }
.about-image img { width: 100%; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border-subtle); padding: 3rem 1.5rem 1.5rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--text-muted); font-size: 0.85rem; }
.footer-col a:hover { color: var(--accent-pink); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.8rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 3rem; text-align: center;
  position: relative; overflow: hidden; margin: 2rem 0;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,45,117,0.12), transparent 70%);
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 0.8rem; position: relative; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 1.5rem; position: relative; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(10,10,15,0.98); padding: 1rem 1.5rem; gap: 0.5rem; border-bottom: 1px solid var(--border-subtle); }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .comparison-table { font-size: 0.8rem; }
  .card-image { height: 280px; }
  .card-image img { object-position: top center; }
  .section { padding: 3rem 1rem; }
  .cta-banner { padding: 2rem 1.2rem; }
  .hero { padding: 7rem 1rem 3rem; }
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .card-image { height: 320px; }
}
