@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700;1,800&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --gold: #C9A84C;
  --gold-light: #E2C46A;
  --gold-dark: #A8892E;
  --bg: #0e0d08;
  --bg2: #13120b;
  --bg3: #1a1910;
  --text: #f5f0e8;
  --muted: rgba(245,240,232,0.45);
  --border: rgba(201,168,76,0.15);
  --border-strong: rgba(201,168,76,0.4);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.serif { font-family: 'Playfair Display', serif; }

/* Ticker */
.ticker-bar {
  background: var(--gold);
  color: #0e0d08;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-block;
  animation: ticker 28s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Divider */
.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* Badge */
.badge {
  display: inline-block;
  border: 1px solid var(--border-strong);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(201,168,76,0.08);
}

/* Section label */
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* Hero */
.hero-section {
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 60%, rgba(201,168,76,0.04) 0%, transparent 50%),
    var(--bg);
  text-align: center;
  padding: 60px 24px 80px;
}

/* Phone */
#phone-wrap {
  position: relative;
  display: inline-block;
  width: 320px;
  margin: 40px auto 28px;
}
.phone-img {
  width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.7));
  transition: opacity 0.35s cubic-bezier(0.34,1.56,0.64,1), transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.phone-img.on  { opacity: 1; transform: scale(1) translateY(0); }
.phone-img.off { opacity: 0; transform: scale(0.94) translateY(10px); position: absolute; top: 0; left: 0; pointer-events: none; }

/* Color swatches */
.color-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 20px;
}
.swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.swatch {
  width: 24px; height: 24px; border-radius: 50%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.swatch:hover { transform: scale(1.15); }
.swatch.ring  { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); transform: scale(1.1); }
.swatch-orange { background: #E8652A; }
.swatch-blue   { background: #1B2D4F; border: 1px solid #2d4570; }
.swatch-silver { background: linear-gradient(135deg, #d0d8e0, #a8b0b8); }
.swatch-label  { font-size: 10px; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }

/* Pricing */
.pricing-section { background: var(--bg2); padding: 80px 24px; }
.cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
@media (min-width: 640px) { .cards-wrap { flex-direction: row; } }

.plan-card {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
}
.plan-card.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,168,76,0.07) 0%, var(--bg3) 60%);
  box-shadow: 0 0 40px rgba(201,168,76,0.12), 0 8px 32px rgba(0,0,0,0.4);
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #0e0d08;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.storage-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.card-title { font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.price-was  { font-size: 13px; color: var(--muted); text-decoration: line-through; display: inline; }
.save-pill  {
  display: inline-block;
  background: rgba(201,168,76,0.15); color: var(--gold);
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-left: 6px;
}
.price-now {
  font-family: 'Playfair Display', serif;
  font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; margin: 4px 0;
}
.price-currency { font-size: 18px; font-weight: 500; color: var(--muted); vertical-align: super; font-family: Inter, sans-serif; }
.crypto-label   { font-size: 11px; color: var(--muted); margin-bottom: 20px; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.feature-list li { font-size: 13px; color: rgba(245,240,232,0.75); display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: '✓'; font-size: 11px; font-weight: 700; color: var(--gold); flex-shrink: 0; }

.order-btn {
  width: 100%; padding: 13px; border: none; border-radius: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.order-btn:hover  { transform: translateY(-2px); }
.order-btn:active { transform: translateY(0); }
.btn-featured {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0e0d08;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}
.btn-standard { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-standard:hover { background: rgba(201,168,76,0.08); }
.save-note { font-size: 11px; color: var(--gold); margin-top: 8px; text-align: center; }

/* Trust */
.trust-section { padding: 80px 24px; background: var(--bg); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  text-align: center; padding: 24px 16px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px;
}
.trust-icon  { font-size: 28px; margin-bottom: 10px; }
.trust-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.trust-desc  { font-size: 11px; color: var(--muted); line-height: 1.5; }

/* Reviews */
.reviews-section { padding: 80px 24px; background: var(--bg2); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px;
}
.stars       { color: var(--gold); font-size: 13px; margin-bottom: 10px; }
.review-text { font-size: 13px; color: rgba(245,240,232,0.8); line-height: 1.65; margin-bottom: 14px; font-style: italic; }
.reviewer    { font-size: 12px; font-weight: 600; color: var(--gold); }

/* Countdown */
.countdown-section {
  padding: 80px 24px; background: var(--bg); text-align: center; position: relative;
}
.countdown-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.timer-wrap  { display: flex; gap: 16px; justify-content: center; margin: 32px 0 36px; }
.timer-unit  { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.timer-num   {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 800; line-height: 1; color: var(--gold-light);
  letter-spacing: -0.03em; min-width: 72px; text-align: center;
}
.timer-colon {
  font-family: 'Playfair Display', serif;
  font-size: 40px; font-weight: 700; color: var(--gold); opacity: 0.5; line-height: 1.2;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0.1; } }
.timer-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0e0d08; border: none; border-radius: 12px; padding: 16px 40px;
  font-size: 16px; font-weight: 800; letter-spacing: 0.01em; cursor: pointer;
  box-shadow: 0 8px 32px rgba(201,168,76,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover  { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,168,76,0.5); }
.cta-btn:active { transform: translateY(0); }
.urgency-note   { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* Social proof toast */
#proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1a1910;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 14px;
  padding: 14px 18px;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.08);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  pointer-events: none;
}
#proof-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.proof-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.08));
  border: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.proof-text { flex: 1; min-width: 0; }
.proof-name { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proof-detail { font-size: 11px; color: var(--muted); margin-top: 2px; }
.proof-time { font-size: 10px; color: var(--gold); margin-top: 3px; font-weight: 600; }
.proof-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

/* Footer */
footer {
  background: var(--bg2); border-top: 1px solid var(--border); padding: 28px 24px; text-align: center;
}
.arabic-blessing { font-size: 20px; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.footer-note     { font-size: 11px; color: var(--muted); line-height: 1.7; }

/* Modal */
#modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
  align-items: center; justify-content: center; padding: 20px;
}
#modal-overlay.open { display: flex; }
#modal-box {
  background: var(--bg2); border: 1px solid var(--border-strong); border-radius: 20px;
  padding: 32px; max-width: 420px; width: 100%;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
}
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.modal-sub   { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.form-label  {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px;
}
.form-input {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 14px; outline: none;
  transition: border-color 0.15s; margin-bottom: 14px;
}
.form-input:focus { border-color: var(--gold); }
.crypto-opts { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.crypto-opt  {
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12); cursor: pointer;
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.6);
  transition: all 0.15s;
}
.crypto-opt.sel { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.12); }
.modal-order-btn {
  width: 100%; padding: 14px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0e0d08; font-size: 15px; font-weight: 800; cursor: pointer;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4); transition: transform 0.15s ease;
}
.modal-order-btn:hover    { transform: translateY(-1px); }
.modal-order-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.order-summary-box {
  background: rgba(201,168,76,0.06); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 20px;
}
.price-tag {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 800; color: var(--gold-light);
}
