/* ════════════════════════════════════════════════════
   🎨 ASaaSI Coming Soon — main.css
   Edit the :root block below to restyle everything
   ════════════════════════════════════════════════════ */

:root {
  /* ── PRIMARY ACCENT ── */
  --primary:        #F5B800;
  --primary-dim:    rgba(245, 184, 0, 0.12);
  --primary-mid:    rgba(245, 184, 0, 0.40);

  /* ── SECONDARY ── */
  --secondary:      #FFD13A;

  /* ── BACKGROUNDS ── */
  --bg:             #080808;
  --surface:        #111111;
  --surface2:       #181818;

  /* ── TEXT ── */
  --text:           #F5F5F5;
  --text-muted:     #6B6B6B;
  --border:         #3A3A3A;

  /* ── BUTTONS ── */
  --btn-bg:             #F5B800;
  --btn-text:           #080808;
  --btn-hover:          #FFD13A;
  --btn-outline-border: #3A3A3A;
  --btn-outline-text:   #6B6B6B;
  --btn-outline-hover:  #F5B800;

  /* ── FONTS ── */
  --font-display: 'Space Grotesk', sans-serif;
  --font-arabic:  'Cairo', sans-serif;
  --font-body:    'Inter', sans-serif;
}

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

html, body { height: 100%; background: var(--bg); color: var(--text); font-family: var(--font-body); overflow-x: hidden; }

body::before {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.6;
}

.glow-top { position: fixed; top: -200px; left: 50%; transform: translateX(-50%); width: 700px; height: 500px; background: radial-gradient(ellipse, var(--primary-dim) 0%, transparent 70%); pointer-events: none; z-index: 0; }

.watermark { position: fixed; bottom: -60px; left: 50%; transform: translateX(-50%); font-family: var(--font-arabic); font-size: clamp(120px, 18vw, 260px); font-weight: 900; color: rgba(245,184,0,0.03); letter-spacing: -4px; white-space: nowrap; pointer-events: none; z-index: 0; user-select: none; }

.topbar { position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 40px; z-index: 10; border-bottom: 1px solid #E5E5E5; backdrop-filter: blur(12px); background: #FFFFFF; box-shadow: 0 1px 16px rgba(0,0,0,0.06); }

.logo-wrap img, .logo-wrap a img { height: 36px; width: auto; }
.site-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #1A1A1A; letter-spacing: -0.02em; }

.lang-switch { display: flex; align-items: center; border: 1px solid #CCCCCC; border-radius: 6px; overflow: hidden; }
.lang-btn { display: flex; align-items: center; gap: 5px; padding: 6px 12px; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #444444; background: transparent; border: none; cursor: pointer; transition: all 0.18s; }
.lang-btn svg { flex-shrink: 0; }
.lang-btn.active { background: var(--btn-bg); color: var(--btn-text); }
.lang-btn:not(.active):hover { color: var(--primary); }
.lang-divider { width: 1px; height: 20px; background: #CCCCCC; }

.page { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 24px 48px; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 800px; width: 100%; }

.eyebrow { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--primary); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before, .eyebrow::after { content: ''; display: block; width: 32px; height: 1px; background: var(--primary-mid); }

.headline-en { font-family: var(--font-display); font-size: clamp(34px,5.5vw,68px); font-weight: 700; line-height: 1.06; letter-spacing: -0.025em; color: var(--text); margin-bottom: 8px; }
.headline-en span { color: var(--primary); }
.headline-ar { font-family: var(--font-arabic); font-size: clamp(26px,4.5vw,56px); font-weight: 700; line-height: 1.15; color: var(--text); margin-bottom: 8px; }
.headline-ar span { color: var(--primary); }

.sub-ar, .sub-en { font-size: clamp(14px,2vw,18px); color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }
.sub-ar { font-family: var(--font-arabic); font-weight: 300; }
.sub-en { font-family: var(--font-display); }

.gold-line { width: 40px; height: 2px; background: var(--primary); border-radius: 2px; margin: 0 auto 36px; }

.tagline { font-size: clamp(13px,1.6vw,15px); color: var(--text-muted); line-height: 1.8; max-width: 540px; margin-bottom: 48px; }
.tagline.en { font-family: var(--font-display); }
.tagline.ar { font-family: var(--font-arabic); font-size: clamp(14px,1.7vw,16px); }
.tagline strong { color: var(--text); font-weight: 500; }

.countdown { display: flex; gap: 4px; align-items: flex-start; margin-bottom: 48px; direction: ltr; }
.count-unit { display: flex; flex-direction: column; align-items: center; min-width: 72px; }
.count-num { font-family: var(--font-display); font-size: clamp(32px,4.5vw,52px); font-weight: 700; color: var(--text); line-height: 1; background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; min-width: 78px; text-align: center; position: relative; overflow: hidden; }
.count-num::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(0,0,0,0.35); }
.count-label { font-size: 10px; color: var(--text-muted); margin-top: 7px; letter-spacing: 0.05em; }
[data-lang="ar"] .count-label { font-family: var(--font-arabic); font-size: 11px; }
[data-lang="en"] .count-label { font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; font-size: 9px; }
.count-sep { font-size: 38px; color: var(--primary); padding: 10px 2px 0; font-weight: 300; line-height: 1; }

.capture-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 460px; margin-bottom: 56px; }
.capture-label { font-size: 13px; color: var(--text-muted); margin-bottom: 2px; }
[data-lang="ar"] .capture-label { font-family: var(--font-arabic); }
[data-lang="en"] .capture-label { font-family: var(--font-display); letter-spacing: 0.03em; }
.capture-row { display: flex; width: 100%; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.2s; direction: ltr; }
.capture-row:focus-within { border-color: var(--primary); }
.capture-input { flex: 1; background: var(--surface); border: none; outline: none; padding: 14px 18px; font-family: var(--font-body); font-size: 14px; color: var(--text); direction: ltr; }
.capture-input::placeholder { color: var(--text-muted); }
.capture-btn { background: var(--btn-bg); color: var(--btn-text); border: none; padding: 14px 22px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, transform 0.1s; white-space: nowrap; }
.capture-btn:hover { background: var(--btn-hover); }
.capture-btn:active { transform: scale(0.98); }
.capture-note { font-size: 11px; color: var(--text-muted); }
[data-lang="ar"] .capture-note { font-family: var(--font-arabic); }
[data-lang="en"] .capture-note { font-family: var(--font-body); }
.success-msg { display: none; font-size: 14px; color: var(--primary); padding: 12px 24px; border: 1px solid var(--primary-mid); border-radius: 6px; background: var(--primary-dim); text-align: center; width: 100%; }
[data-lang="ar"] .success-msg { font-family: var(--font-arabic); }
[data-lang="en"] .success-msg { font-family: var(--font-display); }

.pillars { display: flex; gap: 1px; width: 100%; max-width: 720px; background: var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 44px; }
.pillar { flex: 1; background: var(--surface); padding: 20px 18px; display: flex; flex-direction: column; gap: 5px; transition: background 0.2s; }
.pillar:hover { background: var(--surface2); }
.pillar-icon { font-size: 17px; margin-bottom: 3px; }
.pillar-name { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: 0.04em; }
.pillar-name-ar { font-family: var(--font-arabic); font-size: 13px; font-weight: 700; color: var(--primary); }
.pillar-sub { font-size: 10px; color: var(--text-muted); font-family: var(--font-body); line-height: 1.5; margin-top: 3px; }
.pillar-sub-ar { font-family: var(--font-arabic); font-size: 11px; color: var(--text-muted); line-height: 1.6; margin-top: 3px; }

.gold-line { width: 40px; height: 2px; background: var(--primary); border-radius: 2px; margin: 0 auto 36px; }

.foot { font-size: 11px; color: var(--text-muted); padding-top: 16px; border-top: 1px solid var(--border); width: 100%; max-width: 720px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
[data-lang="ar"] .foot { font-family: var(--font-arabic); font-size: 12px; }
.foot a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.foot a:hover { color: var(--primary); }
.foot-brand { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.15em; color: var(--border); text-transform: uppercase; }

[data-lang="ar"] .only-en { display: none !important; }
[data-lang="en"] .only-ar { display: none !important; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero > * { animation: fadeUp 0.55s ease both; }
.hero > *:nth-child(1){animation-delay:.08s} .hero > *:nth-child(2){animation-delay:.16s} .hero > *:nth-child(3){animation-delay:.24s} .hero > *:nth-child(4){animation-delay:.30s} .hero > *:nth-child(5){animation-delay:.36s} .hero > *:nth-child(6){animation-delay:.42s} .hero > *:nth-child(7){animation-delay:.47s} .hero > *:nth-child(8){animation-delay:.52s} .hero > *:nth-child(9){animation-delay:.56s}

@media (max-width: 640px) {
  .topbar { padding: 14px 18px; }
  .pillars { flex-direction: column; background: transparent; gap: 8px; }
  .pillar { border-radius: 8px; border: 1px solid var(--border); }
  .countdown { gap: 2px; }
  .count-unit { min-width: 58px; }
  .count-num { min-width: 62px; padding: 11px 12px; }
  .foot { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .hero > * { animation: none; } }
