/* ═══════════════════════════════════════════════════════════
   Haya — Global Styles
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --accent-pink: #EC4899;
  --accent-purple: #9333EA;
  --accent-gradient: linear-gradient(135deg, #EC4899, #9333EA);
  --accent-glow: 0 0 40px rgba(236, 72, 153, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-main: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  --max-width: 900px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-pink);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-purple);
}

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* ── Hero Section ───────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  box-shadow: var(--accent-glow);
  margin-bottom: 32px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
}

.hero .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--accent-glow);
}

.hero .cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(236, 72, 153, 0.4);
}

/* ── Page Header ────────────────────────────────────────── */

.page-header {
  padding: 120px 24px 48px;
  text-align: center;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 18px;
}

/* ── Content Container ──────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── Legal Content (Privacy, Terms) ─────────────────────── */

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--accent-pink);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.legal-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-pink);
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

/* ── Feature Cards ──────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(236, 72, 153, 0.2);
  transform: translateY(-2px);
}

.feature-card .icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ── How It Works Steps ─────────────────────────────────── */

.steps {
  margin-top: 48px;
}

.step {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: var(--transition);
}

.step:hover {
  border-color: rgba(147, 51, 234, 0.3);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: 50%;
  font-weight: 800;
  font-size: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ── FAQ Accordion ──────────────────────────────────────── */

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-pink);
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--accent-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ── Contact Section ────────────────────────────────────── */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
}

.contact-card .icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card a {
  font-size: 14px;
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer p {
  color: var(--text-muted);
  font-size: 13px;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero .subtitle { font-size: 16px; }
  .page-header h1 { font-size: 28px; }
  .legal-content { padding: 24px; }
  .step { flex-direction: column; gap: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
}
