/* ═══════════════════════════════════════════
   آثر أيجنت — Landing Page Styles
   ═══════════════════════════════════════════ */

:root {
  --primary: #38bdf8;
  --bg-card: #131a2e;
  --bg-hover: #1a2340;
  --border: #1e293b;
  --text: #e2e8f0;
  --muted: #64748b;
  --success: #22c55e;
  --gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, system-ui, sans-serif; background: #0a0f1e; color: var(--text); line-height: 1.7; }

/* ── Header ── */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,15,30,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
nav { max-width: 1100px; margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 4px; transition: opacity 0.2s; }
.logo:hover { opacity: 0.85; }
.logo img { display: block; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { background: var(--primary); color: #0a0f1e; padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.nav-links .btn:hover { background: #7dd3fc; }
.mobile-btn { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ── Hero ── */
.hero { padding: 140px 24px 60px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -30%; left: -30%; width: 160%; height: 160%;
  background: radial-gradient(ellipse at 50% 50%, rgba(56,189,248,0.04) 0%, transparent 60%); pointer-events: none; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 .highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: clamp(15px, 2vw, 19px); color: var(--muted); max-width: 550px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn-primary { background: var(--primary); color: #0a0f1e; padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; transition: all 0.2s; display: inline-block; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(56,189,248,0.3); }
.btn-secondary { background: var(--bg-card); color: var(--text); padding: 14px 32px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--border); transition: all 0.2s; display: inline-block; }
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--primary); }

/* ── Stats ── */
.stats-bar { display: flex; justify-content: center; gap: 48px; padding: 20px 24px 40px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num { font-size: 30px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ── Sections ── */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.section-title { text-align: center; font-size: 30px; font-weight: 700; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--muted); font-size: 16px; max-width: 500px; margin: 0 auto 48px; }

/* ── Features Grid ── */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all 0.3s; }
.card:hover { background: var(--bg-hover); border-color: var(--primary); transform: translateY(-4px); }
.card .ico { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; text-align: center; position: relative; }
.step .step-num { position: absolute; top: -12px; right: -12px; width: 32px; height: 32px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #0a0f1e; }
.step .ico { font-size: 38px; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ── Pricing ── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; text-align: center; transition: all 0.3s; position: relative; }
.plan:hover { border-color: var(--primary); transform: translateY(-4px); }
.plan.popular { border-color: var(--primary); box-shadow: 0 0 30px rgba(56,189,248,0.1); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #0a0f1e; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan-name { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.plan-price { font-size: 38px; font-weight: 800; margin-bottom: 4px; }
.plan-price span { font-size: 15px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; text-align: right; margin: 24px 0; }
.plan ul li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.04); }

/* ── FAQ ── */
.faq { max-width: 700px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; cursor: pointer; }
.faq-q { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.faq-icon { font-size: 20px; color: var(--muted); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: all 0.3s; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 16px; }
.faq-a p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* ── Contact ── */
.contact-box { text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 48px; max-width: 600px; margin: 0 auto; }
.contact-box h2 { margin-bottom: 12px; }
.contact-box p { color: var(--muted); margin-bottom: 24px; }
.contact-form { text-align: right; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.form-row input, .form-row select { flex: 1; padding: 12px; background: #1e293b; border: 1px solid var(--border); border-radius: 10px; color: white; font-size: 15px; }
.form-row input:focus, .form-row select:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { width: 100%; padding: 12px; background: #1e293b; border: 1px solid var(--border); border-radius: 10px; color: white; font-size: 15px; margin-bottom: 16px; resize: vertical; font-family: inherit; }
.contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form .btn-primary { width: 100%; }
.contact-info { margin-top: 24px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.contact-info span { color: var(--muted); font-size: 14px; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid var(--success); color: var(--success); padding: 12px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid #ef4444; color: #ef4444; padding: 12px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }

/* ── Footer ── */
footer { text-align: center; padding: 40px 24px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-small { margin-top: 8px; font-size: 12px; }
.footer-small a { color: var(--primary); text-decoration: none; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.anim { animation: fadeUp 0.6s ease forwards; opacity: 0; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.3s; }
.d3 { animation-delay: 0.45s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-btn { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: #0a0f1e; padding: 20px; border-bottom: 1px solid var(--border); gap: 16px; }
  .stats-bar { gap: 20px; }
  .steps, .pricing { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { flex-direction: column; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 120px 16px 40px; }
  .section { padding: 40px 16px; }
}

/* ── Honeypot (anti-spam, مخفي) ── */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
