/* =========================================================
   ScripDeal — Website Styles
   Colors: #FFFFFF, #18AB56 (green accent), #176DAE (blue)
   No gradients. Line icons only. Poppins font.
   ========================================================= */

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

:root {
  --blue: #176DAE;
  --blue-dark: #125689;
  --green: #18AB56;
  --green-dark: #158748;
  --ink: #0F2340;
  --ink-muted: #5B6B80;
  --line: #E6EAF0;
  --surface: #FFFFFF;
  --bg: #F7F9FC;
  --shadow-sm: 0 1px 2px rgba(16, 37, 66, 0.04), 0 2px 6px rgba(16, 37, 66, 0.04);
  --shadow-md: 0 2px 6px rgba(16, 37, 66, 0.05), 0 12px 28px rgba(16, 37, 66, 0.06);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1160px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

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

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

section { padding: 96px 0; }

/* ───────── Nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { height: 56px; width: auto; }

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav__links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease;
}

.nav__links a:hover { color: var(--blue); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease;
}

.nav__cta:hover { background: var(--green-dark); color: #fff; }

.nav__toggle { display: none; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }

.btn--secondary { background: var(--blue); color: #fff; }
.btn--secondary:hover { background: var(--blue-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }

.btn:active { transform: translateY(1px); }

/* ───────── Hero ───────── */
.hero { padding: 80px 0 80px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(23, 109, 174, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero__title .accent { color: var(--blue); }

.hero__subtitle {
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

.hero__trust-item .i { color: var(--green); }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.hero__visual img { width: 100%; height: 100%; object-fit: cover; filter: blur(1.5px); border-radius: var(--radius-lg); }

.hero__visual-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__badge-text strong { white-space: nowrap; }

.hero__badge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(24, 171, 86, 0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__badge-text strong { display: block; font-size: 14px; }
.hero__badge-text span { font-size: 12px; color: var(--ink-muted); }

/* ───────── Stats strip ───────── */
.stats { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__number { font-size: 36px; font-weight: 700; color: var(--blue); letter-spacing: -0.02em; }
.stat__label { font-size: 13px; color: var(--ink-muted); margin-top: 4px; font-weight: 500; }

/* ───────── Section heads ───────── */
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.section__kicker {
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section__title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.section__subtitle { color: var(--ink-muted); font-size: 17px; }

/* ───────── Features grid ───────── */
.features { background: var(--bg); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(23, 109, 174, 0.08);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card--green .feature-card__icon {
  background: rgba(24, 171, 86, 0.12);
  color: var(--green);
}

.feature-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature-card__text { color: var(--ink-muted); font-size: 14.5px; line-height: 1.6; }

/* ───────── How it works ───────── */
.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.how__step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.how__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.how__step-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.how__step-text { font-size: 14px; color: var(--ink-muted); }

/* ───────── Showcase (image + copy) ───────── */
.showcase { background: var(--bg); }

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase__grid--rev { direction: rtl; }
.showcase__grid--rev > * { direction: ltr; }

.showcase__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.showcase__visual img { width: 100%; height: 100%; object-fit: cover; }

.showcase__visual-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}

.showcase__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--ink);
}

.showcase__text { color: var(--ink-muted); font-size: 16px; margin-bottom: 24px; }

.showcase__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }

.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}

.showcase__list li .i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(24, 171, 86, 0.12);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ───────── CTA Band ───────── */
.cta-band { background: var(--blue); padding: 72px 0; }

.cta-band__inner { text-align: center; color: #fff; max-width: 720px; margin: 0 auto; }

.cta-band__title { font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.02em; color: #fff; }

.cta-band__text { font-size: 17px; color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }

.cta-band .btn--primary { background: #fff; color: var(--blue); }
.cta-band .btn--primary:hover { background: #f3f6fb; color: var(--blue-dark); }

.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--blue); }

/* ───────── App badges ───────── */
.app-badge-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  height: 54px;
  background: #000;
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.app-badge:hover { color: #fff; opacity: 0.88; transform: translateY(-1px); }
.app-badge__eyebrow { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.85); letter-spacing: 0.04em; line-height: 1.2; }
.app-badge__label { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; margin-top: 1px; }
.app-badge .i { color: #fff; }

.app-badge-img {
  display: inline-flex;
  align-items: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.app-badge-img img { height: 54px; width: auto; display: block; }

.app-badge-img:hover { transform: translateY(-1px); opacity: 0.92; }

/* ───────── FAQ ───────── */
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .i { color: var(--blue); transition: transform 0.2s ease; }

.faq-item[open] summary .i { transform: rotate(45deg); }

.faq-item p { color: var(--ink-muted); font-size: 15px; padding: 0 0 20px; }

/* ───────── Footer ───────── */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 24px; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img { height: 60px; margin-bottom: 18px; }
.footer__brand p { color: var(--ink-muted); font-size: 14px; max-width: 340px; }

.footer__title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; }

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--ink-muted); font-size: 14px; }
.footer__links a:hover { color: var(--blue); }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-muted);
  font-size: 13px;
}

.footer__powered {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.footer__powered-label { font-size: 12px; color: var(--ink-muted); letter-spacing: 0.02em; }

.footer__powered img { height: 30px; width: auto; position: relative; top: -8px; }

/* ───────── WhatsApp floating button ───────── */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  z-index: 100;
  transition: transform 0.15s ease;
}

.wa-fab:hover { transform: scale(1.06); color: #fff; }

/* ───────── Privacy page ───────── */
.legal { padding: 80px 0; }

.legal__wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
}

.legal h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal__updated { color: var(--ink-muted); font-size: 14px; margin-bottom: 32px; }

.legal h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; color: var(--ink); }
.legal h3 { font-size: 16px; font-weight: 600; margin: 24px 0 10px; color: var(--ink); }
.legal p { color: var(--ink); margin-bottom: 14px; line-height: 1.7; font-size: 15px; }
.legal ul { margin: 8px 0 16px 20px; }
.legal li { color: var(--ink); font-size: 15px; line-height: 1.7; margin-bottom: 6px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--blue);
  margin-bottom: 24px;
  font-weight: 500;
}

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  section { padding: 72px 0; }

  .hero__grid,
  .showcase__grid { grid-template-columns: 1fr; gap: 40px; }

  .hero__title { font-size: 40px; }
  .section__title { font-size: 32px; }
  .cta-band__title { font-size: 28px; }

  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }

  .hero__title { font-size: 32px; }
  .section__title { font-size: 26px; }

  .features__grid { grid-template-columns: 1fr; }
  .how__grid { grid-template-columns: 1fr; }

  .legal__wrap { padding: 32px 22px; }
  .legal h1 { font-size: 28px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
