﻿/* A1Realty — shared site styles. */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}
[dir="rtl"] body { font-family: 'IBM Plex Sans Arabic', 'Inter', sans-serif; }

/* Bilingual visibility */
html[lang="ar"] .lang-en, html[lang="en"] .lang-ar { display: none !important; }
.lang-ar { direction: rtl; text-align: start; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo {
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #F7941D 0%, #E67E22 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: #475569; text-decoration: none; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #F7941D; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer; border: none; font-size: 15px;
}
.btn-primary { background: linear-gradient(135deg, #F7941D 0%, #E67E22 100%); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(247,148,29,.3); }
.btn-secondary { background: white; color: #F7941D; border: 2px solid #F7941D; }
.btn-secondary:hover { background: #FFF7EC; }
.btn-ghost { background: transparent; color: #475569; border: 1px solid #e2e8f0; }
.btn-ghost:hover { background: #f8fafc; }

/* Hero */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(circle at 20% 30%, rgba(247,148,29,.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(15,23,42,.04), transparent 40%);
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, #F7941D 0%, #E67E22 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 19px; color: #475569; max-width: 720px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero {
  padding: 64px 0 40px;
  background: radial-gradient(circle at 20% 30%, rgba(247,148,29,.06), transparent 40%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-bottom: 12px; }
.page-hero h1 .gradient {
  background: linear-gradient(135deg, #F7941D 0%, #E67E22 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero p { font-size: 17px; color: #475569; max-width: 720px; margin: 0 auto; }

/* Stats strip */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px; margin-top: 60px;
}
.stat { text-align: center; }
.stat-num { font-size: 44px; font-weight: 800; color: #F7941D; }
.stat-label { color: #64748B; font-size: 14px; margin-top: 4px; }

/* Sections */
section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-title p { color: #64748B; font-size: 17px; max-width: 640px; margin: 0 auto; }

/* Feature cards */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature {
  padding: 28px; border-radius: 14px;
  background: white; border: 1px solid #e2e8f0;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  border-color: #F7941D;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(247,148,29,.12), rgba(0,212,170,.12));
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: #64748B; font-size: 14px; }

/* Phase blocks (How it works) */
.phases {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.phase {
  padding: 22px; border-radius: 12px;
  background: #fafbfc; border: 1px solid #e2e8f0;
}
.phase .badge {
  display: inline-block; padding: 4px 10px;
  background: linear-gradient(135deg, #F7941D, #E67E22);
  color: white; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  margin-bottom: 10px;
}
.phase h4 { font-size: 16px; margin-bottom: 6px; }
.phase p { color: #475569; font-size: 13px; }

/* Pricing-like card */
.pricing {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; max-width: 980px; margin: 0 auto;
}
.price-card {
  background: white; border-radius: 16px; padding: 30px;
  border: 1px solid #e2e8f0; position: relative;
}
.price-card.featured { border: 2px solid #F7941D; transform: scale(1.04); }
.price-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #F7941D, #E67E22);
  color: white; padding: 4px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
}
.price-name { font-size: 13px; color: #64748B; text-transform: uppercase; letter-spacing: 1px; }
.price-amount { font-size: 44px; font-weight: 800; margin: 12px 0 4px; }
.price-amount .currency { font-size: 22px; vertical-align: top; color: #64748B; }
.price-period { color: #64748B; font-size: 14px; }
.price-features { list-style: none; margin: 22px 0; }
.price-features li { padding: 8px 0; color: #475569; display: flex; align-items: start; gap: 8px; font-size: 14px; }
.price-features li::before { content: "✓"; color: #F7941D; font-weight: 700; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0F172A 0%, #1e293b 100%);
  color: white; padding: 60px 0; text-align: center;
}
.cta-band h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 17px; opacity: 0.85; margin-bottom: 24px; }

/* Comparison table */
.compare {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  margin: 0 auto; max-width: 920px;
}
.compare th, .compare td {
  padding: 12px 16px; text-align: start; border-bottom: 1px solid #e2e8f0;
}
.compare th { background: #fafbfc; font-weight: 700; color: #475569; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.compare td.yes { color: #10b981; font-weight: 700; }
.compare td.no  { color: #94a3b8; }

/* Code block */
pre {
  background: #0f172a; color: #e2e8f0;
  padding: 18px; border-radius: 10px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 13px; overflow-x: auto;
  line-height: 1.55;
}
code { font-family: 'JetBrains Mono', 'Consolas', monospace; }

/* Footer */
footer {
  background: #0F172A; color: #94a3b8;
  padding: 32px 24px; text-align: center; font-size: 13px;
}
footer a { color: #F7941D; text-decoration: none; }
footer .powered { display: inline-flex; align-items: center; gap: 8px; opacity: .9; margin-bottom: 12px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .price-card.featured { transform: none; }
}
