/* ================================================
   OFFER LANDING PAGE — MULTI-TEMPLATE STYLES
   3 templates: dawn (light/warm), midnight (dark), minimal (white/clean)
   ================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Kufi Arabic', 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---------- CONTAINER ---------- */
.ol-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- SECTION TITLE ---------- */
.ol-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

/* ================================================
   TEMPLATE: DAWN (light, warm, soft gradients)
   Inspired by Image 1 (Eidolon-style)
   ================================================ */
[data-template="dawn"] body,
[data-template="dawn"] {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --surface: #FFFFFF;
  --text: #1A1714;
  --text-secondary: #5C564D;
  --accent: #D4622B;
  --accent-hover: #B8501F;
  --accent-soft: rgba(212, 98, 43, 0.08);
  --border: rgba(26, 23, 20, 0.08);
  --wa-green: #25D366;
  --hero-gradient: linear-gradient(180deg, #E8DFD2 0%, #D4C8B8 40%, #B8C8D8 100%);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --radius: 1rem;
  --radius-sm: 0.625rem;
}

[data-template="dawn"] body {
  background: var(--bg);
  color: var(--text);
}

/* ================================================
   TEMPLATE: MIDNIGHT (dark, moody, bold)
   Inspired by Image 2 (Tasklayer-style)
   ================================================ */
[data-template="midnight"] body,
[data-template="midnight"] {
  --bg: #0C0E12;
  --bg-alt: #14171D;
  --surface: #1A1E26;
  --text: #E8E4DC;
  --text-secondary: #9A978F;
  --accent: #FF7A3D;
  --accent-hover: #FF6020;
  --accent-soft: rgba(255, 122, 61, 0.1);
  --border: rgba(255,255,255,0.07);
  --wa-green: #25D366;
  --hero-gradient: linear-gradient(180deg, #0E1117 0%, #161B24 50%, #1A2232 100%);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.2);
  --radius: 1rem;
  --radius-sm: 0.625rem;
}

[data-template="midnight"] body {
  background: var(--bg);
  color: var(--text);
}

/* ================================================
   TEMPLATE: MINIMAL (clean white, sharp)
   ================================================ */
[data-template="minimal"] body,
[data-template="minimal"] {
  --bg: #FFFFFF;
  --bg-alt: #F6F6F4;
  --surface: #FAFAF8;
  --text: #111111;
  --text-secondary: #666666;
  --accent: #111111;
  --accent-hover: #333333;
  --accent-soft: rgba(0,0,0,0.04);
  --border: rgba(0,0,0,0.08);
  --wa-green: #25D366;
  --hero-gradient: linear-gradient(180deg, #F6F6F4 0%, #ECECEA 100%);
  --card-shadow: 0 1px 2px rgba(0,0,0,0.04);
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
}

[data-template="minimal"] body {
  background: var(--bg);
  color: var(--text);
}

/* ================================================
   NAVBAR
   ================================================ */
.ol-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.ol-nav.is-scrolled {
  background: rgba(var(--bg-rgb, 250,247,242), 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

[data-template="midnight"] .ol-nav.is-scrolled {
  background: rgba(12, 14, 18, 0.88);
}
[data-template="minimal"] .ol-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
}

.ol-nav__logo img {
  height: 1.5rem;
  width: auto;
}

[data-template="midnight"] .ol-nav__logo img {
  filter: brightness(10);
}

/* ================================================
   BUTTONS
   ================================================ */
.ol-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.ol-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.ol-btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.ol-btn--full {
  width: 100%;
  justify-content: center;
}

.ol-btn--primary {
  background: var(--accent);
  color: #FFFFFF;
}
.ol-btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ol-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.ol-btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

[data-template="minimal"] .ol-btn--primary {
  border-radius: 100px;
}
[data-template="minimal"] .ol-btn--ghost {
  border-radius: 100px;
}

/* ================================================
   HERO
   ================================================ */
.ol-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
}

[data-template="dawn"] .ol-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

[data-template="midnight"] .ol-hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,122,61,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ol-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.ol-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.ol-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(212,98,43,0.15);
}

[data-template="midnight"] .ol-badge {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-color: rgba(255,255,255,0.1);
}

.ol-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

[data-template="dawn"] .ol-hero__title {
  font-family: 'Noto Kufi Arabic', sans-serif;
}

.ol-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.ol-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ================================================
   HIGHLIGHTS
   ================================================ */
.ol-highlights {
  padding: 5rem 0;
  background: var(--bg);
}

.ol-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ol-highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ol-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.ol-highlight-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.ol-highlight-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ol-highlight-card__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ol-highlight-card__points li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-right: 1.25rem;
  position: relative;
}

.ol-highlight-card__points li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

[dir="ltr"] .ol-highlight-card__points li {
  padding-right: 0;
  padding-left: 1.25rem;
}
[dir="ltr"] .ol-highlight-card__points li::before {
  right: auto;
  left: 0;
}

/* ================================================
   SOCIAL PROOF
   ================================================ */
.ol-proof {
  padding: 4rem 0;
  background: var(--bg-alt);
}

.ol-proof__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.ol-stat {
  text-align: center;
}

.ol-stat__value {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.ol-stat__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.ol-proof__testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ol-testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.ol-testimonial__text {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.ol-testimonial__text::before {
  content: '"';
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-left: 0.25rem;
}

.ol-testimonial__author {
  font-size: 0.8rem;
  font-weight: 600;
}

.ol-testimonial__role {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ================================================
   PROCESS
   ================================================ */
.ol-process {
  padding: 5rem 0;
  background: var(--bg);
}

.ol-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ol-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.ol-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

[data-template="minimal"] .ol-step__number {
  background: var(--text);
}

.ol-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ol-step__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================================================
   DELIVERABLES
   ================================================ */
.ol-deliverables {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.ol-deliverables__list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ol-deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.ol-deliverable-item__check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.ol-deliverables__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2rem;
  font-style: italic;
}

/* ================================================
   PRICING
   ================================================ */
.ol-pricing {
  padding: 5rem 0;
  background: var(--bg);
}

.ol-pricing__card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
}

[data-template="midnight"] .ol-pricing__card {
  border-color: rgba(255,122,61,0.2);
}

.ol-pricing__header {
  margin-bottom: 1.5rem;
}

.ol-pricing__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  direction: ltr;
}

.ol-pricing__currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ol-pricing__value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.ol-pricing__original {
  font-size: 1rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-top: 0.25rem;
  direction: ltr;
}

.ol-pricing__delivery {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--accent-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
}

.ol-pricing__notes {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ================================================
   FAQ
   ================================================ */
.ol-faq {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.ol-faq__list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ol-faq-item {
  border-bottom: 1px solid var(--border);
}

.ol-faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  text-align: right;
}

[dir="ltr"] .ol-faq-item__q {
  text-align: left;
}

.ol-faq-item__q:hover {
  color: var(--accent);
}

.ol-faq-item__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
}

.ol-faq-item.is-open .ol-faq-item__icon {
  transform: rotate(45deg);
}

.ol-faq-item__a {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

.ol-faq-item__a-inner {
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ================================================
   FINAL CTA
   ================================================ */
.ol-final {
  padding: 6rem 0;
  text-align: center;
  background: var(--hero-gradient);
  position: relative;
}

[data-template="dawn"] .ol-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, var(--bg-alt), transparent);
  pointer-events: none;
}

.ol-final__title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
}

.ol-final__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  position: relative;
}

.ol-final__guarantee {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1.25rem;
  position: relative;
}

/* ================================================
   FOOTER
   ================================================ */
.ol-footer {
  padding: 2rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.ol-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.ol-footer__brand img {
  height: 1.25rem;
  opacity: 0.5;
}

[data-template="midnight"] .ol-footer__brand img {
  filter: brightness(10);
}

.ol-footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.ol-footer__links a:hover {
  color: var(--accent);
}

.ol-footer__copy {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ================================================
   ANIMATIONS (entrance)
   ================================================ */
.ol-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ol-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .ol-highlights__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ol-proof__testimonials {
    grid-template-columns: 1fr;
  }

  .ol-process__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .ol-proof__stats {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .ol-hero {
    padding: 6rem 1.25rem 3rem;
    min-height: auto;
  }

  .ol-hero__title {
    font-size: 1.75rem;
  }

  .ol-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ol-hero__actions .ol-btn {
    justify-content: center;
  }

  .ol-process__grid {
    grid-template-columns: 1fr;
  }

  .ol-nav {
    padding: 0.75rem 1rem;
  }

  .ol-pricing__card {
    padding: 2rem 1.25rem;
  }

  .ol-container {
    padding: 0 1rem;
  }

  .ol-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ================================================
   STICKY MOBILE CTA (optional — shows on scroll)
   ================================================ */
.ol-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ol-sticky-cta.is-visible {
  transform: translateY(0);
}

.ol-sticky-cta .ol-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .ol-sticky-cta {
    display: block;
  }
}
