/* ══ FairDraw SEO Landing Pages — Shared Styles ══════════════════════════════ */
/* Matches main app: dark mode, Inter font, green accents, glassmorphism       */

:root {
  --bg: #09090b;
  --bg-deep: #020617;
  --accent: #22c55e;
  --accent-dark: #16a34a;
  --accent-glow: rgba(34, 197, 94, 0.3);
  --cyan: #22d3ee;
  --purple: #8b5cf6;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e6edf3;
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-dim: rgba(255, 255, 255, 0.35);
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

/* ── Aurora Background ─────────────────────────────────────────────────────── */
.seo-aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.seo-aurora .blob {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.12;
  animation: blob-float 20s ease-in-out infinite alternate;
}
.seo-aurora .blob-1 { width: 600px; height: 600px; background: var(--accent); top: -10%; left: -10%; }
.seo-aurora .blob-2 { width: 500px; height: 500px; background: var(--cyan); top: 40%; right: -10%; animation-delay: -7s; }
.seo-aurora .blob-3 { width: 400px; height: 400px; background: var(--purple); bottom: -10%; left: 30%; animation-delay: -14s; }

@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(10px, -10px) scale(1.02); }
}

/* ── Container ─────────────────────────────────────────────────────────────── */
.seo-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.seo-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 9, 11, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.seo-nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #fff; }
.seo-nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.seo-nav-links { display: flex; gap: 20px; align-items: center; }
.seo-nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 600; transition: color 0.2s; }
.seo-nav-links a:hover { color: #fff; opacity: 1; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.seo-hero {
  text-align: center; padding: 80px 0 60px; max-width: 800px; margin: 0 auto;
}
.seo-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  color: var(--accent); margin-bottom: 24px;
}
.seo-hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.seo-hero h1 .gradient-text {
  background: linear-gradient(135deg, #4ade80, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.seo-hero p {
  font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px;
  line-height: 1.7;
}
.seo-hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #22c55e, #10b981); color: #000;
  padding: 16px 36px; border-radius: 14px; font-size: 16px; font-weight: 800;
  border: none; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3); text-decoration: none;
}
.seo-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4); opacity: 1; }

/* ── Section Headers ───────────────────────────────────────────────────────── */
.seo-section { padding: 60px 0; }
.seo-section-title {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 900; text-align: center;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.seo-section-sub {
  text-align: center; color: var(--text-muted); font-size: 16px; max-width: 600px;
  margin: 0 auto 40px; line-height: 1.6;
}

/* ── Steps (How it Works) ──────────────────────────────────────────────────── */
.seo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seo-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: transform 0.3s var(--ease), border-color 0.3s;
}
.seo-step:hover { transform: translateY(-4px); border-color: rgba(34, 197, 94, 0.2); }
.seo-step-icon {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.seo-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.seo-step p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── Features Grid ─────────────────────────────────────────────────────────── */
.seo-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seo-feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform 0.3s var(--ease), border-color 0.3s;
}
.seo-feature:hover { transform: translateY(-3px); border-color: rgba(34, 197, 94, 0.15); }
.seo-feature-icon { font-size: 28px; margin-bottom: 12px; }
.seo-feature h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.seo-feature p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── Comparison Table ──────────────────────────────────────────────────────── */
.seo-table-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.seo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.seo-table th {
  background: rgba(34, 197, 94, 0.08); padding: 14px 16px; text-align: left;
  font-weight: 700; font-size: 13px; color: var(--accent);
  border-bottom: 1px solid var(--border);
}
.seo-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted);
}
.seo-table tr:last-child td { border-bottom: none; }
.seo-table .check { color: var(--accent); font-weight: 700; }
.seo-table .cross { color: #ef4444; }
.seo-table .highlight-row td { background: rgba(34, 197, 94, 0.04); color: #fff; font-weight: 600; }

/* ── FAQ Accordion ─────────────────────────────────────────────────────────── */
.seo-faq { max-width: 750px; margin: 0 auto; }
.seo-faq-item {
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px;
  overflow: hidden; transition: border-color 0.3s;
}
.seo-faq-item:hover { border-color: rgba(34, 197, 94, 0.2); }
.seo-faq-q {
  width: 100%; background: var(--surface); border: none; color: #fff; padding: 18px 20px;
  font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Inter', sans-serif; transition: background 0.2s;
}
.seo-faq-q:hover { background: rgba(255, 255, 255, 0.05); }
.seo-faq-q .icon { font-size: 20px; color: var(--accent); transition: transform 0.3s var(--ease); }
.seo-faq-item.open .seo-faq-q .icon { transform: rotate(45deg); }
.seo-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s;
  padding: 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7;
}
.seo-faq-item.open .seo-faq-a { max-height: 300px; padding: 0 20px 18px; }

/* ── CTA Banner ────────────────────────────────────────────────────────────── */
.seo-cta-banner {
  text-align: center; padding: 60px 32px; margin: 40px 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 211, 238, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.15); border-radius: 24px;
}
.seo-cta-banner h2 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.seo-cta-banner p { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.seo-footer {
  border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px;
  text-align: center;
}
.seo-footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.seo-footer-links a { color: var(--text-dim); font-size: 13px; font-weight: 600; }
.seo-footer-links a:hover { color: var(--accent); }
.seo-footer-copy { color: var(--text-dim); font-size: 12px; }

/* ── Scroll Reveal ─────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── Platform Colors ───────────────────────────────────────────────────────── */
.platform-ig { color: #e1306c; }
.platform-tt { color: #2dd4f0; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .seo-steps { grid-template-columns: 1fr; }
  .seo-features { grid-template-columns: 1fr 1fr; }
  .seo-hero { padding: 50px 0 40px; }
  .seo-table { font-size: 12px; }
  .seo-table th, .seo-table td { padding: 10px 12px; }
  .seo-nav-links { gap: 12px; }
  .seo-nav-links a { font-size: 12px; }
}
@media (max-width: 480px) {
  .seo-features { grid-template-columns: 1fr; }
  .seo-hero h1 { font-size: 28px; }
  .seo-hero-cta { width: 100%; justify-content: center; }
}

/* ── RTL Support (Arabic) ──────────────────────────────────────────────────── */
[dir="rtl"] .seo-faq-q { text-align: right; }
[dir="rtl"] .seo-table th, [dir="rtl"] .seo-table td { text-align: right; }
[dir="rtl"] .seo-nav { direction: rtl; }
