/* Base styles */
:root {
  --bg: #051c2c;
  --bg-alt: #0b2c42;
  --card: #0f3450;
  --accent: #1fd2d9;
  --accent-2: #00a0c1;
  --gold: #ffc857;
  --text: #e8f1f5;
  --muted: #9fb4c4;
  --pill: rgba(255, 255, 255, 0.06);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] {
  --bg: #f4f7fb;
  --bg-alt: #e9f0f7;
  --card: #ffffff;
  --accent: #0ea5e9;
  --accent-2: #0284c7;
  --gold: #f59e0b;
  --text: #0f172a;
  --muted: #516079;
  --pill: rgba(15, 23, 42, 0.05);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, #0d3a57, #051725 55%);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

[data-theme="light"] body {
  background: radial-gradient(circle at 20% 20%, #dbeafe, #eef2ff 60%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin: 0 0 8px;
  font-weight: 600;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
}

p {
  margin: 0;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: right;
}

.section-note {
  color: var(--muted);
  margin-top: 10px;
}

/* Hero */
.hero {
  position: relative;
  padding: 32px 0 64px;
  overflow: hidden;
  min-height: 72vh;
}

.overlay-shape {
  position: absolute;
  inset: -140px 45% auto -140px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(31,210,217,0.18), transparent 60%);
  filter: blur(6px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.toggles {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__logo {
  width: 200px;
  filter: brightness(1.25) saturate(1.1) drop-shadow(0 6px 18px rgba(0,0,0,0.35));
  transition: filter 0.3s ease, transform 0.2s ease;
}

[data-theme="light"] .hero__logo {
  filter: none;
}

.hero__logo:hover {
  transform: translateY(-2px);
}

.hero__badge {
  background: var(--pill);
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.hero__content h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 10px 0 14px;
}

.hero__content {
  display: flex;
  align-items: center;
}

.subtitle {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 16px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 18px 14px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  width: min(620px, 100%);
}

[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero__quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero__quick-badges span {
  background: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
}

[data-theme="light"] .hero__quick-badges span {
  border-color: rgba(15, 23, 42, 0.08);
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.meta-pill {
  display: inline-block;
  background: rgba(31, 210, 217, 0.12);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 12px;
  margin-right: 8px;
  border: 1px solid rgba(31, 210, 217, 0.2);
}

.hero__visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero__figure {
  position: relative;
  width: min(420px, 90%);
  aspect-ratio: 4 / 5.5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .hero__figure {
  border-color: rgba(15, 23, 42, 0.08);
}

.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.figure-glow {
  position: absolute;
  inset: -10% -8% auto -8%;
  height: 60%;
  background: radial-gradient(circle, rgba(31, 210, 217, 0.25), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}

.floating-card {
  position: absolute;
  bottom: 8%;
  right: 6%;
  background: linear-gradient(135deg, #0d3a57, #071c2c);
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 240px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 2;
}

[data-theme="light"] .floating-card {
  background: linear-gradient(135deg, #e0f2ff, #f5f9ff);
  border-color: rgba(15, 23, 42, 0.08);
}

.floating-card .card-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.floating-card .card-body {
  color: var(--muted);
  margin: 0 0 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.2);
}

.bubble {
  position: absolute;
  background: radial-gradient(circle, rgba(31, 210, 217, 0.26), transparent 60%);
  border-radius: 50%;
  filter: blur(2px);
}

.bubble--one { width: 320px; height: 320px; inset: auto 4% -50px auto; }
.bubble--two { width: 220px; height: 220px; inset: 6% auto auto 8%; opacity: 0.7; }
.bubble--three { width: 120px; height: 120px; inset: 62% 56% auto auto; opacity: 0.6; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #03121d;
  box-shadow: 0 10px 30px rgba(0, 160, 193, 0.35);
}

.btn.ghost {
  background: var(--pill);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .btn.ghost {
  border-color: rgba(15, 23, 42, 0.1);
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn.block {
  width: 100%;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Value */
.value {
  padding: 32px 0 16px;
}

.value__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.value-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

[data-theme="light"] .value-card {
  border-color: rgba(15, 23, 42, 0.05);
}

/* Pricing */
.pricing {
  padding: 48px 0;
  position: relative;
}

.timer-badge {
  background: var(--card);
  border-radius: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  min-width: 200px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.timer {
  font-size: 26px;
  font-weight: 800;
  margin: 8px 0 4px;
  letter-spacing: 1px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.plan {
  background: linear-gradient(180deg, #0c2b43, #0a2336);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan.highlight {
  border: 1px solid rgba(31, 210, 217, 0.35);
  box-shadow: 0 20px 50px rgba(31, 210, 217, 0.2);
}

[data-theme="light"] .plan {
  background: linear-gradient(180deg, #ffffff, #f3f7fb);
  border-color: rgba(15, 23, 42, 0.08);
}

.plan__head h3 {
  margin: 6px 0 6px;
}

.plan__head p {
  color: var(--muted);
}

.pill {
  display: inline-block;
  background: var(--pill);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pill--gold {
  background: rgba(255, 200, 87, 0.14);
  color: var(--gold);
  border-color: rgba(255, 200, 87, 0.35);
}

.plan__price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.plan__price .old {
  text-decoration: line-through;
  color: #e07a7a;
}

.plan__price .new {
  font-weight: 800;
  color: var(--gold);
}

.plan__image {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  height: 450px;           /* fixed container height */
  object-fit: cover;       /* fill the container */
  object-position: center;
}

[data-theme="light"] .plan__image {
  border-color: rgba(15, 23, 42, 0.05);
}

.plan__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.plan__list li::before {
  content: "•";
  color: var(--accent);
  margin-left: 6px;
}

.pricing__notes {
  text-align: center;
  color: var(--muted);
  margin-top: 16px;
  display: grid;
  gap: 4px;
}

/* Steps */
.steps {
  padding: 48px 0 32px;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.step-card {
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

[data-theme="light"] .step-card {
  border-color: rgba(15, 23, 42, 0.08);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03121d;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Trust */
.trust {
  padding: 32px 0 24px;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.trust ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.trust li::before {
  content: "✔";
  color: var(--accent);
  margin-left: 8px;
}

/* CTA */
.cta {
  padding: 40px 0 60px;
}

.cta__content {
  background: linear-gradient(135deg, #0d2f48, #0b2438);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(31, 210, 217, 0.18);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

[data-theme="light"] .cta__content {
  background: linear-gradient(135deg, #e4f1ff, #f8fbff);
  border-color: rgba(15, 23, 42, 0.06);
}
.cta__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.footer__logo {
  width: 170px;
  filter: brightness(1.25) saturate(1.05);
}

[data-theme="light"] .footer__logo {
  filter: none;
}

[data-theme="dark"] .hero__logo,
[data-theme="dark"] .footer__logo {
  filter: brightness(1.4) saturate(1.05) drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}
.footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links {
  display: flex;
  align-items: center;
}

.social-links ul {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

[data-theme="light"] .social-links a {
  color: #0f1c2c;
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
}

.social-links a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2e7bff, #6cc1ff);
  color: #fdfdfd;
}

.social-links .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  background: linear-gradient(135deg, #25d366, #1aae53);
  color: #03121d;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  position: fixed;
}

.floating-whatsapp .icon {
  width: 26px;
  height: 26px;
  fill: white;
}

.floating-call {
  position: fixed;
  left: 18px;
  bottom: 86px; /* sits above WhatsApp */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffaf38, #ff7a00);
  color: #0f1c2c;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 10;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.floating-call .icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
/* Buttons interactions */
.btn:active {
  transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .section-head--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 24px;
    min-height: auto;
  }

  .hero__top {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero__logo {
    width: 150px;
  }

  .hero__badge {
    display: none;
  }

  .toggles {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .glass-card {
    width: 100%;
  }

  .hero__content h1 {
    font-size: clamp(24px, 6vw, 30px);
  }

  .hero__figure {
    width: 100%;
    max-width: 360px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 12px;
  }

  .bubble--one,
  .bubble--two,
  .bubble--three {
    display: none;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .plan__image {
    height: 200px;        /* fixed container height on mobile */
  }

  .steps__grid {
    grid-template-columns: 1fr;
  }

  .cta__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .floating-whatsapp {
    left: 14px;
    bottom: 14px;
  }

  .theme-toggle .label {
    display: none;
  }

  .lang-pill {
    font-size: 0;
    padding: 10px;
    position: relative;
    min-width: 42px;
    text-align: center;
  }

  .lang-pill::before {
    content: "🌐";
    font-size: 16px;
    display: inline-block;
  }
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 12px 8px 10px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  user-select: none;
}

[data-theme="light"] .theme-toggle {
  border-color: rgba(15, 23, 42, 0.08);
}

.theme-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  width: 52px;
  height: 26px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
  display: inline-block;
  position: relative;
  transition: background 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .toggle-track {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.12);
}

.toggle-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd166, #ffae34);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 3px;
  right: 3px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.theme-toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(-26px);
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.3);
}

.theme-toggle:hover .toggle-thumb {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

[data-theme="light"] .lang-toggle {
  border-color: rgba(15, 23, 42, 0.08);
}

.lang-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lang-pill {
  font-weight: 800;
  letter-spacing: 0.5px;
}
