/* ============================================================
   eMarketDeals.com — Luxury Digital Marketing Agency
   Design System / Global Styles
   ============================================================ */

:root {
  /* Core brand palette */
  --navy-900: #060a20;
  --navy-800: #0a0f2c;
  --navy-700: #0d1538;
  --navy-600: #121b47;
  --navy-card: #101840;
  --navy-line: rgba(255, 255, 255, 0.08);

  --blue: #4f8cff;
  --blue-bright: #5b8cff;
  --blue-deep: #2a5bd7;
  --purple: #8b5cf6;
  --purple-deep: #6d34e0;
  --gold: #d8b46a;
  --gold-soft: #e7cf9c;

  --white: #ffffff;
  --ink-100: #eef1ff;
  --ink-300: #c2c8e6;
  --ink-400: #9aa2cc;
  --ink-500: #7b84ad;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #5b8cff 0%, #8b5cf6 100%);
  --grad-brand-soft: linear-gradient(120deg, rgba(91,140,255,.18), rgba(139,92,246,.18));
  --grad-gold: linear-gradient(120deg, #e7cf9c 0%, #d8b46a 100%);
  --grad-hero: radial-gradient(1200px 600px at 20% -10%, rgba(91,140,255,.25), transparent 60%),
               radial-gradient(900px 600px at 100% 0%, rgba(139,92,246,.22), transparent 55%);

  --shadow-card: 0 24px 60px -28px rgba(5, 10, 40, .9);
  --shadow-glow: 0 18px 50px -16px rgba(91, 140, 255, .55);
  --shadow-gold: 0 18px 44px -18px rgba(216, 180, 106, .5);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --ff-head: 'Poppins', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink-300);
  background: var(--navy-800);
  background-image:
    radial-gradient(900px 500px at 85% -5%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(1000px 600px at -10% 8%, rgba(79,140,255,.14), transparent 55%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--white);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

a { color: var(--blue-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--purple); }

p { color: var(--ink-300); }

.container { max-width: var(--container); }

img { max-width: 100%; }

::selection { background: rgba(139,92,246,.4); color: #fff; }

/* ---------- Typographic helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--ff-head);
  font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

.display { font-size: clamp(2.4rem, 5vw, 4rem); }
.h-xl { font-size: clamp(2rem, 4vw, 3rem); }
.lead { font-size: 1.18rem; color: var(--ink-300); }
.muted { color: var(--ink-400); }
.text-gold { color: var(--gold-soft); }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--ff-head); font-weight: 600; border-radius: 999px; padding: .8rem 1.6rem; letter-spacing: .01em; border: 1px solid transparent; transition: transform .2s ease, box-shadow .25s ease, background .25s ease; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }

.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); border: none; }
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 60px -14px rgba(91,140,255,.7); }

.btn-gold { background: var(--grad-gold); color: #2a1f06; border: none; box-shadow: var(--shadow-gold); }
.btn-gold:hover { color: #2a1f06; transform: translateY(-2px); box-shadow: 0 24px 54px -16px rgba(216,180,106,.7); }

.btn-outline-soft { color: var(--ink-100); border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.02); }
.btn-outline-soft:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); transform: translateY(-2px); }

.btn-wa { background: #1faf54; color: #fff; border: none; display: inline-flex; align-items: center; gap: .5rem; }
.btn-wa:hover { background: #1c9d4c; color: #fff; transform: translateY(-2px); }

.btn-ghost { color: var(--ink-300); border: 1px solid var(--navy-line); }
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------- Cards & surfaces ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.card-lux {
  background: linear-gradient(165deg, rgba(20,27,71,.85), rgba(10,15,44,.85));
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card-lux:hover { transform: translateY(-6px); border-color: rgba(91,140,255,.35); box-shadow: 0 36px 80px -34px rgba(5,10,40,1); }
.card-lux::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(91,140,255,.5), transparent 40%, transparent 60%, rgba(139,92,246,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card-lux:hover::after { opacity: 1; }

.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--navy-line), transparent); border: 0; }

/* Service icon tile */
.icon-tile {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(91,140,255,.25);
  color: var(--blue-bright);
  flex: 0 0 auto;
}
.icon-tile.gold { background: linear-gradient(120deg, rgba(216,180,106,.18), rgba(231,207,156,.1)); border-color: rgba(216,180,106,.3); color: var(--gold-soft); }
.icon-tile svg { width: 28px; height: 28px; }

.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; font-family: var(--ff-head);
  background: rgba(255,255,255,.04); border: 1px solid var(--navy-line);
  color: var(--ink-300);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.chk { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(91,140,255,.16); color: var(--blue-bright); flex: 0 0 auto; }
.chk svg { width: 13px; height: 13px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: .65rem 0;
}
.site-header.scrolled {
  background: rgba(8, 12, 34, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-line);
  box-shadow: 0 16px 40px -28px rgba(0,0,0,.9);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand .logo-mark { width: 40px; height: 40px; }
.brand .brand-name { font-family: var(--ff-head); font-weight: 700; font-size: 1.22rem; color: #fff; letter-spacing: -.02em; }
.brand .brand-name b { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.navbar-nav .nav-link { color: var(--ink-300) !important; font-family: var(--ff-head); font-weight: 500; font-size: .96rem; padding: .5rem .95rem !important; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #fff !important; }
.navbar-nav .nav-link.active { background: rgba(255,255,255,.06); }

.navbar-toggler { border-color: var(--navy-line); }
.navbar-toggler:focus { box-shadow: none; }

/* Mega/services dropdown */
.dropdown-menu.mega {
  background: rgba(10, 15, 40, .97);
  border: 1px solid var(--navy-line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 1rem;
  min-width: 540px;
  backdrop-filter: blur(16px);
}
.mega .mega-item { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem .6rem; border-radius: 12px; color: var(--ink-300); }
.mega .mega-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.mega .mega-item .mi-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--blue-bright); flex: 0 0 auto; }
.mega .mega-item .mi-ic svg { width: 18px; height: 18px; }
.mega .mega-item .mi-t { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: #fff; line-height: 1.2; }
.mega .mega-item .mi-d { font-size: .76rem; color: var(--ink-400); }
.dropdown-menu.mega .mega-foot { border-top: 1px solid var(--navy-line); margin-top: .5rem; padding-top: .75rem; }

@media (max-width: 991.98px) {
  .navbar-collapse { background: rgba(8,12,34,.98); border: 1px solid var(--navy-line); border-radius: 16px; padding: 1rem; margin-top: .75rem; }
  .dropdown-menu.mega { min-width: 100%; box-shadow: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); z-index: -1; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; z-index: -1; }

.stat-strip { border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.stat .num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; line-height: 1; }
.stat .num .grad-text { display: inline; }
.stat .lbl { font-size: .82rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Logos / marquee ---------- */
.logo-row { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; opacity: .7; }
.logo-row .lg { font-family: var(--ff-head); font-weight: 700; color: var(--ink-400); font-size: 1.1rem; letter-spacing: .02em; }

/* ---------- Process timeline ---------- */
.process-step { position: relative; padding-left: 0; }
.step-num { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-brand-soft); border: 1px solid rgba(91,140,255,.3); color: #fff; }

/* ---------- Pricing ---------- */
.price-card { padding: 2rem; }
.price-card.featured { border-color: rgba(216,180,106,.4); box-shadow: 0 30px 80px -34px rgba(216,180,106,.35); }
.price-card .amount { font-family: var(--ff-head); font-weight: 700; font-size: 3rem; color: #fff; line-height: 1; }
.price-card .amount sup { font-size: 1.2rem; top: -1.1em; color: var(--ink-400); }
.price-card .per { color: var(--ink-400); font-size: .9rem; }
.price-feat { display: flex; gap: .65rem; align-items: flex-start; padding: .35rem 0; color: var(--ink-300); font-size: .95rem; }

.badge-lux { position: absolute; top: 1.1rem; right: 1.1rem; background: var(--grad-gold); color: #2a1f06; font-family: var(--ff-head); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }

/* ---------- Testimonials ---------- */
.testi-track { display: flex; gap: 1.5rem; transition: transform .6s cubic-bezier(.65,.05,.36,1); }
.testi-card { flex: 0 0 100%; }
.stars { color: var(--gold); letter-spacing: .15em; }
.testi-dots { display: flex; gap: .5rem; justify-content: center; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.2); padding: 0; cursor: pointer; transition: all .25s ease; }
.testi-dots button.active { background: var(--grad-gold); width: 26px; border-radius: 999px; }

.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; color: #fff; }

/* ---------- FAQ ---------- */
.accordion-lux .accordion-item { background: transparent; border: 1px solid var(--navy-line); border-radius: var(--radius-md) !important; margin-bottom: .85rem; overflow: hidden; }
.accordion-lux .accordion-button { background: rgba(255,255,255,.02); color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: 1.05rem; padding: 1.15rem 1.3rem; box-shadow: none; }
.accordion-lux .accordion-button:not(.collapsed) { background: rgba(91,140,255,.08); color: #fff; }
.accordion-lux .accordion-button:focus { box-shadow: none; border: none; }
.accordion-lux .accordion-button::after { filter: invert(1) brightness(1.6); }
.accordion-lux .accordion-body { color: var(--ink-300); padding: 0 1.3rem 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; padding: 64px; background: linear-gradient(120deg, #131c52, #0c1238); border: 1px solid var(--navy-line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 0% 0%, rgba(91,140,255,.3), transparent 60%), radial-gradient(700px 320px at 100% 100%, rgba(139,92,246,.3), transparent 60%); }
.cta-band > * { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, transparent, rgba(4,7,22,.7)); border-top: 1px solid var(--navy-line); padding: 72px 0 28px; margin-top: 40px; }
.footer-link { display: block; color: var(--ink-400); padding: .3rem 0; font-size: .95rem; }
.footer-link:hover { color: #fff; }
.footer-head { font-family: var(--ff-head); font-weight: 600; color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .01em; }
.social-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--navy-line); color: var(--ink-300); transition: all .25s ease; }
.social-ic:hover { color: #fff; border-color: rgba(91,140,255,.45); transform: translateY(-2px); }
.social-ic svg { width: 17px; height: 17px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 1040; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(37,211,102,.7); transition: transform .25s ease; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37,211,102,.5); animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
/* Fallback: if the tab is throttled (no animation frames), show everything instantly */
html.reveal-off .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: .86rem; color: var(--ink-400); }
.crumb a { color: var(--ink-300); }
.crumb .sep { margin: 0 .5rem; opacity: .5; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 360px at 80% -20%, rgba(139,92,246,.2), transparent 60%); z-index: -1; }

/* ---------- Forms ---------- */
.form-control, .form-select { background: rgba(255,255,255,.03); border: 1px solid var(--navy-line); color: #fff; border-radius: 12px; padding: .8rem 1rem; }
.form-control::placeholder { color: var(--ink-500); }
.form-control:focus, .form-select:focus { background: rgba(255,255,255,.05); border-color: rgba(91,140,255,.6); box-shadow: 0 0 0 4px rgba(91,140,255,.12); color: #fff; }
.form-label { font-family: var(--ff-head); font-weight: 500; color: var(--ink-100); font-size: .9rem; margin-bottom: .4rem; }
.form-select option { background: var(--navy-700); }

/* ---------- Utility ---------- */
.divider-dot { color: var(--gold); }
.bg-soft { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
.list-clean { list-style: none; padding: 0; margin: 0; }
.elev { box-shadow: var(--shadow-card); }
.rounded-lux { border-radius: var(--radius-lg); }
.maxw-760 { max-width: 760px; }
.maxw-620 { max-width: 620px; }

/* Article / long-form content */
.article-body { color: var(--ink-300); font-size: 1.06rem; }
.article-body h2 { margin: 2.2rem 0 1rem; font-size: 1.7rem; }
.article-body h3 { margin: 1.8rem 0 .8rem; font-size: 1.3rem; color: var(--ink-100); }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul { padding-left: 0; list-style: none; margin-bottom: 1.4rem; }
.article-body ul li { position: relative; padding-left: 1.8rem; margin-bottom: .65rem; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad-brand); transform: rotate(45deg); }
.article-body blockquote { border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.4rem; margin: 1.6rem 0; color: var(--ink-100); font-size: 1.2rem; font-family: var(--ff-head); }
