/* =============================================================
   BotyPlus landing page — dark / neon theme
   ============================================================= */

:root {
  --bg-0:        #0b0f1a;
  --bg-1:        #0f172a;
  --bg-2:        #111827;
  --surface:     rgba(255, 255, 255, 0.04);
  --surface-2:   rgba(255, 255, 255, 0.07);
  --border:      rgba(148, 163, 184, 0.14);
  --border-hi:   rgba(148, 163, 184, 0.24);

  --text:        #e2e8f0;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;

  --violet:      #8b5cf6;
  --cyan:        #06b6d4;
  --magenta:     #ec4899;
  --indigo:      #6366f1;

  --accent-grad: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);

  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   22px;

  --shadow-lg:   0 24px 48px -16px rgba(0, 0, 0, 0.55);
  --container:   1180px;
}

/* -- background variants driven by <html data-bg="..."> -- */
html[data-bg="neon"]     { --violet: #ec4899; --cyan: #6366f1; }
html[data-bg="midnight"] { --violet: #334155; --cyan: #1e293b; --accent-grad: linear-gradient(135deg, #334155 0%, #1e293b 100%); }

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

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Tajawal', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: 'Inter', 'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
p  { margin: 0; }

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

.lp-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* -- Buttons -- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 20px; border-radius: 12px;
  font-weight: 700; font-size: 14px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.lp-btn i { font-size: 18px; }
.lp-btn--lg { padding: 14px 26px; font-size: 15px; border-radius: 14px; }
.lp-btn--block { width: 100%; }

.lp-btn--primary {
  background: var(--accent-grad); color: #fff;
  box-shadow: 0 10px 28px -10px rgba(139, 92, 246, 0.55);
}
.lp-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(139, 92, 246, 0.7); }

.lp-btn--ghost {
  background: var(--surface); color: var(--text); border-color: var(--border);
}
.lp-btn--ghost:hover { background: var(--surface-2); border-color: var(--border-hi); }

/* -- Eyebrow label -- */
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.lp-eyebrow i { color: var(--violet); }
.lp-eyebrow--sm { padding: 5px 12px; font-size: 12px; }

/* =============================================================
   NAV
   ============================================================= */
.lp-nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  background: rgba(11, 15, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.lp-nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 24px;
  max-width: var(--container); margin: 0 auto;
}
.lp-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; color: #fff;
}
.lp-logo img { height: 28px; width: auto; }

.lp-nav__links { display: flex; gap: 26px; }
.lp-nav__links a { color: var(--text-muted); font-weight: 600; font-size: 14px; }
.lp-nav__links a:hover { color: #fff; }

.lp-nav__actions { display: flex; align-items: center; gap: 10px; }
.lp-lang {
  display: inline-flex; border-radius: 10px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
}
.lp-lang a {
  padding: 7px 11px; font-weight: 800; font-size: 12px; color: var(--text-muted);
}
.lp-lang a.is-active { background: rgba(139, 92, 246, 0.18); color: #fff; }

.lp-nav__burger {
  display: none; background: transparent; border: 1px solid var(--border);
  color: var(--text); padding: 8px 10px; border-radius: 10px; cursor: pointer;
}

/* =============================================================
   HERO
   ============================================================= */
.lp-hero {
  position: relative; padding: 160px 0 110px; overflow: hidden;
  isolation: isolate;
}
.lp-hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.lp-blob {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(120px); opacity: 0.55; mix-blend-mode: screen;
  animation: lp-float 18s ease-in-out infinite;
}
.lp-blob--1 { top: -160px; left: -120px;   background: var(--violet); }
.lp-blob--2 { top: 100px;  right: -140px;  background: var(--cyan); animation-delay: -6s; }
.lp-blob--3 { bottom: -200px; left: 40%;   background: var(--magenta); opacity: 0.35; animation-delay: -12s; }
@keyframes lp-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(30px, -20px, 0) scale(1.08); }
}
.lp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.lp-hero__inner { position: relative; text-align: center; }
.lp-hero__title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  max-width: 880px; margin: 22px auto 18px;
}
.lp-hero__subtitle {
  max-width: 640px; margin: 0 auto 30px;
  font-size: clamp(15px, 1.4vw, 18px); color: var(--text-muted);
}
.lp-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp-hero__channels {
  margin-top: 46px; display: flex; justify-content: center; gap: 32px;
  color: var(--text-dim); font-size: 32px;
}
.lp-hero__channels i { transition: color .2s ease, transform .2s ease; }
.lp-hero__channels i:hover { color: var(--text); transform: translateY(-3px); }

/* =============================================================
   STATS BAND (under hero)
   ============================================================= */
.lp-stats {
  padding: 0 0 20px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}
.lp-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.lp-stat { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.lp-stat__num {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-stat__label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

@media (max-width: 720px) {
  .lp-stats { margin-top: -24px; }
  .lp-stats__grid { grid-template-columns: repeat(2, 1fr); padding: 22px; }
}

/* =============================================================
   SECTION SHELL
   ============================================================= */
.lp-section { padding: 90px 0; }
.lp-section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-section__title { font-weight: 900; }
.lp-section__sub { color: var(--text-muted); font-size: 16px; }

/* =============================================================
   CHANNELS
   ============================================================= */
.lp-channels__grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.lp-channel {
  --glow: color-mix(in srgb, var(--accent) 12%, transparent);
  position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.lp-channel::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px 160px at 30% 0%, var(--glow), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.lp-channel:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.lp-channel:hover::before { opacity: 1; }
.lp-channel__icon {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 26px;
}
.lp-channel__body h3 { font-size: 17px; margin-bottom: 6px; color: #fff; }
.lp-channel__body p  { font-size: 14px; color: var(--text-muted); }

/* =============================================================
   FEATURES
   ============================================================= */
.lp-features__grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.lp-feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease;
}
.lp-feature:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.lp-feature__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-grad); color: #fff; font-size: 22px;
  box-shadow: 0 10px 24px -10px rgba(139, 92, 246, 0.55);
  margin-bottom: 18px;
}
.lp-feature__title { font-size: 18px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.lp-feature__desc  { font-size: 14.5px; color: var(--text-muted); }

/* =============================================================
   PRICING
   ============================================================= */
.lp-pricing__grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}
.lp-plan {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lp-plan:hover { transform: translateY(-3px); border-color: var(--border-hi); }
.lp-plan.is-popular {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 28px 60px -22px rgba(139, 92, 246, 0.55);
  transform: translateY(-8px);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.04));
}
.lp-plan.is-popular::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(340px 160px at 50% -10%, rgba(139, 92, 246, 0.35), transparent 70%);
  pointer-events: none;
}
.lp-plan__ribbon {
  position: absolute; top: -14px; inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: var(--accent-grad); color: #fff; letter-spacing: .7px;
  box-shadow: 0 10px 24px -8px rgba(139, 92, 246, 0.6);
  white-space: nowrap;
}
html[dir="rtl"] .lp-plan__ribbon { transform: translateX(50%); }

.lp-plan__head { display: flex; flex-direction: column; gap: 8px; }
.lp-plan__name { font-size: 13px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1.2px; opacity: .95; }
.lp-plan__desc  { color: var(--text-muted); font-size: 13.5px; min-height: 40px; margin: 0; }

.lp-plan__price {
  display: inline-flex; align-items: baseline; gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.lp-plan__glyph  { font-size: 22px; font-weight: 800; color: var(--text-muted); }
.lp-plan__amount { font-size: 52px; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.lp-plan__cycle  { font-size: 13px; color: var(--text-dim); margin-inline-start: 6px; }

.lp-plan__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-plan__features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.lp-plan__features li i { font-size: 18px; flex: none; margin-top: 1px; }
.lp-plan__features li.is-on  i { color: #34d399; }
.lp-plan__features li.is-off   { color: var(--text-dim); }
.lp-plan__features li.is-off i { color: var(--text-dim); }
.lp-plan__features li.is-off span { text-decoration: line-through; opacity: .75; }

.lp-plan .lp-btn { margin-top: auto; position: relative; z-index: 1; }

.lp-pricing__note {
  margin-top: 28px; text-align: center; color: var(--text-muted); font-size: 13px;
  display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
}
.lp-pricing__note i { color: #34d399; font-size: 18px; }

/* =============================================================
   CTA BANNER
   ============================================================= */
.lp-cta { padding: 40px 0 90px; }
.lp-cta__card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 28px;
  padding: 52px 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px;
  align-items: center;
}
.lp-cta__glow {
  position: absolute; inset: -100px -100px auto auto;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6), transparent 60%);
  filter: blur(80px); pointer-events: none;
}
.lp-cta__title {
  font-size: clamp(24px, 3vw, 38px); font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-cta__sub { margin: 12px 0 0; color: var(--text-muted); font-size: 15px; max-width: 520px; }
.lp-cta__ctas { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.lp-cta__ctas .lp-btn { justify-content: center; }
@media (max-width: 760px) {
  .lp-cta__card { grid-template-columns: 1fr; padding: 36px 26px; text-align: center; }
  .lp-cta__sub { margin-left: auto; margin-right: auto; }
  .lp-cta__ctas { flex-direction: column; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  color: var(--text-muted); font-size: 14px;
  background: rgba(0,0,0,0.25);
}
.lp-footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.lp-footer__brand strong { color: #fff; margin-inline-end: 6px; font-weight: 900; }
.lp-footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.lp-footer__links a { color: var(--text-muted); }
.lp-footer__links a:hover { color: var(--violet); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .lp-nav__links { display: none; }
  .lp-nav__burger { display: inline-flex; }
  .lp-nav__actions .lp-btn--ghost { display: none; }
  .lp-hero { padding: 130px 0 80px; }
  .lp-section { padding: 70px 0; }
  .lp-plan.is-popular { transform: none; }
}

@media (max-width: 560px) {
  .lp-logo span { display: none; }
  .lp-hero__channels { font-size: 26px; gap: 22px; }
  .lp-feature { padding: 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lp-blob { animation: none; }
  .lp-btn, .lp-plan, .lp-feature, .lp-channel { transition: none; }
}
