:root {
  --bg: #ffffff;
  --text: #0b0b0c;

  /* Accents */
  --accent-blue: #3b5bfd;
  --accent-indigo: #6366f1;
  --accent-green: #10b981;
  --ink-primary: #0f172a;
  --ink-secondary: #475569;

  /* Glass & borders */
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-brd: rgba(226, 232, 240, 0.95);
  --line-soft: rgba(226, 232, 240, 0.75);

  /* Rail (navbar chips/rails) */
  --rail-h: 40px;
  --rail-pad-x: 8px;
  --rail-pad-y: 4px;
  --btn-size: 30px;
  --radius-rail: 20px;
  --radius-btn: 10px;
  --bg-rail: #f6f7f9cc;
  --border-rail: #e9ebef;
  --shadow-inset: inset 0 4px 12px rgba(0, 0, 0, 0.05);

  /* Puck (active indicator) */
  --puck-bg: rgba(255, 255, 255, 0.7);
  --puck-blur: 8px;
  --puck-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);

  /* Header shell (big pill) */
  --shell-border: #e9ebef;
  --shell-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);

  /* Radii */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Layout */
  --wrap: 1000px;
  --container: min(1200px, 92vw);

  /* Typography */
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* --------------------------------------------------------------------------
   1) Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; }

html { color-scheme: light; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: linear-gradient(180deg, #f9f9f9 0%, #eceef1 100%);
}

/* Focus visibility */
:focus-visible { outline: 2px solid var(--accent-indigo); outline-offset: 2px; }

/* Common container helpers */
.header-shell,
.footer-grid,
.hero,
.p2-hero-facebook,
.p3-hero-bing,
.p4-hero-taboola,
.p5-hero-tiktok,
.p6-hero-outbrain,
.fx-features-faq {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* --------------------------------------------------------------------------
   2) Navbar (Sticky) + Shell + Rails + Chips
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 8px 12px;
  background: transparent !important;
  border-bottom: none;
}

.header-shell {
  max-width: var(--wrap);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--shell-border);
  border-radius: 24px;
  box-shadow: var(--shell-shadow);
}

.shell-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
}

/* Brand (center) */
.brand { display: flex; justify-content: center; }
.brand img { height: 30px; width: auto; object-fit: contain; display: block; }

/* Left rail (icons) + shared rail style */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--rail-h);
  padding: var(--rail-pad-y) var(--rail-pad-x);
  background: var(--bg-rail);
  border: 1px solid var(--border-rail);
  border-radius: var(--radius-rail);
  box-shadow: var(--shadow-inset);
}

.pill .pill-item {
  width: var(--btn-size);
  height: var(--btn-size);
  display: grid;
  place-items: center;
  border-radius: var(--radius-btn);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .06s ease;
}
.pill .pill-item:hover { background: #eceff3aa; }
.pill .pill-item img { width: 18px; height: 18px; position: relative; z-index: 3; }

/* Active highlight puck */
.pill .puck {
  position: absolute;
  top: var(--rail-pad-y);
  left: var(--rail-pad-x);
  width: var(--btn-size);
  height: var(--btn-size);
  border-radius: var(--radius-btn);
  background: var(--puck-bg);
  -webkit-backdrop-filter: blur(var(--puck-blur));
  backdrop-filter: blur(var(--puck-blur));
  box-shadow: var(--puck-shadow);
  transform: translateX(0);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  z-index: 2;
}

/* Right-side actions (chips) */
.actions { display: flex; gap: 8px; justify-content: flex-end; }

.chip {
  display: inline-flex;
  align-items: center;
  height: var(--rail-h);
  padding: 0 14px;
  border-radius: var(--radius-rail);
  font-weight: 600;
  color: #1f2937;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(147, 150, 156, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .06s ease, background .2s ease, color .2s ease;
}
.chip:hover { color: #fff; background: #111827; }

.chip--primary {
  color: #fff;
  background: rgba(147, 150, 156, 0.55);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
}
.chip--primary:hover { background: #111827; }

/* --------------------------------------------------------------------------
   3) Homepage Hero (title, notes, object, chips)
   -------------------------------------------------------------------------- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px #1F2937;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 30px;
  margin-top: -25px;
}

.hero-title {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(24px, 4vw, 48px);
  line-height: .9;
  font-weight: 900;
  font-size: clamp(56px, 14vw, 180px);
  letter-spacing: -0.02em;
  color: #1F2937;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  opacity: .7;
  filter: saturate(.95) contrast(1.05);
  pointer-events: auto;
  z-index: 0;
  transition: background-color .3s ease, color .3s ease;
  
}
.hero-title:hover {
  background: #1f2937;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-object {
  position: relative;
  width: min(46vw, 680px);
  height: auto;
  filter:
    drop-shadow(0 25px 50px rgba(0,0,0,.25))
    drop-shadow(0 8px 22px rgba(0,0,0,.18));
  transition: transform .3s ease;
  will-change: transform;
  z-index: 1;
}

/* Floating notes/images */
.hero-note,
.hero-note22,
.hero-note23,
.hero-note24 {
  position: fixed;
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
}

.hero-note  { top: 230px; left: 35px;  width: 260px; transform: rotate(-38deg); }
.hero-note22{ top: 30px;  left: 70px;  width: 150px; transform: rotate(30deg); }
.hero-note23{ top: 40px;  right: 0;     width: 260px; transform: rotate(-12deg) scaleX(-1); }
.hero-note24{ top: 350px; right: 150px; width: 180px; transform: rotate(20deg); }

/* Floating chips (absolute, positioned by CSS vars --x/--y) */
.hero .hero-chip {
  --bg: rgba(64, 0, 255, 0.186);
  --fg: #ffffff;
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font: 600 14px/1.1 var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  border: 5px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .15);
  white-space: nowrap;
  z-index: 2;
  animation: hero-float 6s ease-in-out infinite;
  text-decoration: none;
}
.hero .hero-chip--mid   { font-size: 15px; padding: 12px 18px; }
.hero .hero-chip--small { font-size: 14px; padding: 10px 16px; }
.hero .hero-chip--tiny  { font-size: 13px; padding:  9px 14px; }

@keyframes hero-float {
  0%,100% { transform: translate(-50%,-50%) translateY(0); }
  50%     { transform: translate(-50%,-50%) translateY(-8px); }
}
/* --------------------------------------------------------------------------
   4) Product Pages – Hero blocks (badges, titles, subs, leads)
   -------------------------------------------------------------------------- */
.p2-hero-facebook,
.p3-hero-bing,
.p4-hero-taboola,
.p5-hero-tiktok,
.p6-hero-outbrain {
  padding: 30px 18px 40px;
  text-align: center;
  position: relative;
}

/* Shared floating welcome badge */
.p2-welcome-badge,
.p3-welcome-badge,
.p4-welcome-badge,
.p5-welcome-badge,
.p6-welcome-badge {
  --bg: rgba(147,150,156,.55);
  --fg: #fff;
  position: absolute;
  left: 50%;
  top: 35px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font: 600 14px/1.1 var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.15);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 16px 40px rgba(0,0,0,.25), 0 4px 12px rgba(0,0,0,.15);
  white-space: nowrap;
  z-index: 2;
  animation: hero-float 6s ease-in-out infinite;
}

/* Per-page title color line1 (line2 stays dark) */
.p2-title .line1 { color: var(--accent-blue); }     /* Facebook */
.p3-title .line1 { color: #007DAA; }                /* Bing */
.p4-title .line1 { color: #2D3A8E; }                /* Taboola */
.p5-title .line1 { color: #EE1D52; }                /* TikTok */
.p6-title .line1 { color: #F96300; }                /* Outbrain */

.p2-title,
.p3-title,
.p4-title,
.p5-title,
.p6-title {
  margin: 34px auto 12px;
  line-height: 1.1;
}
.p2-title .line2,
.p3-title .line2,
.p4-title .line2,
.p5-title .line2,
.p6-title .line2 { color: #1f2937; }

.p2-title .line1,
.p2-title .line2,
.p3-title .line1,
.p3-title .line2,
.p4-title .line1,
.p4-title .line2,
.p5-title .line1,
.p5-title .line2,
.p6-title .line1,
.p6-title .line2 {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 64px) !important;;
  letter-spacing: .2px;
}

.p2-sub, .p3-sub, .p4-sub, .p5-sub, .p6-sub {
  margin-top: 10px;
  color: #374151;
  font-size: clamp(14px, 2vw, 18px);
}
.p2-lead, .p3-lead, .p4-lead, .p5-lead, .p6-lead {
  margin-top: -15px;
  color: #4b5563;
  font-size: clamp(14px, 2vw, 18px);
}

/* --------------------------------------------------------------------------
   5) Two-column Deck (Slider + CTA) – Shared
   -------------------------------------------------------------------------- */
.hero-deck {
  max-width: 1200px;
  margin: 40px auto 88px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* slider wider by default */
  gap: 40px;
}
.hero-media { display: flex; justify-content: center; }
.hero-cta   { display: flex; justify-content: center; width: 100%; }

/* --------------------------------------------------------------------------
   6) Slider – Shared
   -------------------------------------------------------------------------- */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.18);
  overflow: hidden;
}
.slider-wrapper { display: flex; height: 100%; transition: transform .6s ease-in-out; }
.slide         { min-width: 100%; height: 100%; }
.slide img     { width: 100%; height: 100%; object-fit: cover; }

/* Arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all .25s ease;
  opacity: 0;
  pointer-events: none;
}
.slider-container:hover .slider-btn { opacity: 1; pointer-events: auto; }
.slider-btn:hover { background: var(--accent-indigo); color: #fff; transform: translateY(-50%) scale(1.05); }
.prev { left: 10px; } .next { right: 10px; }
.slider-btn::before {
  content: "";
  width: 8px;
  height: 8px;
  display: block;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.prev::before { transform: rotate(-135deg); }
.next::before { transform: rotate(45deg); }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, .74);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.slider-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: none;
  background: #d6dbe3; cursor: pointer; transition: all .28s ease;
}
.slider-dots button:hover  { background: #c8ced8; transform: scale(1.05); }
.slider-dots button.active { width: 22px; background: var(--accent-indigo); box-shadow: 0 4px 10px rgba(99,102,241,.35); }


/* --------------------------------------------------------------------------
   7) CTA Card – Shared
   -------------------------------------------------------------------------- */
.cta-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .12);
  padding: 26px 24px;
  max-width: 520px;
  width: 100%;
}
.cta-card h3 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 28px); color: #111827; }
.cta-sub    { margin: 0 0 14px; color: #6b7280; }

.cta-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 16px;
  display: grid;
  gap: 8px;
  color: #111827;
}
.cta-list li { position: relative; padding-left: 26px; }
.cta-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--accent-green);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.9);
}

.cta-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 16px;
}
.price { font-size: 18px; color: #111827; }
.stock5 { font-size: 14px; color: #d92020; }
.stock4 { font-size: 14px; color: var(--accent-green); }
.stock3 { font-size: 14px; color: var(--accent-green); }
.stock2 { font-size: 14px; color: var(--accent-green); }
.stock1 { font-size: 14px; color: var(--accent-green); }


.cta-actions { display: flex; gap: 12px; justify-content: center; align-items: center; }
.cta-actions a {flex: 1; text-align: center; }
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--accent-indigo);
  color: #fff;
  box-shadow: 0 10px 24px rgba(99, 102, 241, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(99, 102, 241, .45); }
.btn-ghost {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
}
.btn-ghost:hover { background: #f3f4f6; border-color: #d1d5db; }

.trust { display: flex; gap: 14px; margin-top: 12px; color: #6b7280; font-size: 13px; justify-content: center; }


/* --------------------------------------------------------------------------
   8) Features + FAQ – Shared
   -------------------------------------------------------------------------- */
.fx-features-faq {
   max-width: 1200px;
  width: 100%;
  margin: 64px auto;
  padding: 0 20px;
}
.fx-grid {
  grid-template-columns: 1fr 1fr;
  width: 100%;        /* full width */
}
.fx-section-sub { text-align: center; color: #6b7280; margin: 0 auto 36px; font-size: 16px; }

/* Split titles (five color variants) */
.fx-split-title,
.fx-split-title2,
.fx-split-title3,
.fx-split-title4,
.fx-split-title5 {
  text-align: center;
  margin: 10px auto 12px;
  line-height: 1.08;
}
.fx-split-title .line1,
.fx-split-title .line2,
.fx-split-title2 .line1,
.fx-split-title2 .line2,
.fx-split-title3 .line1,
.fx-split-title3 .line2,
.fx-split-title4 .line1,
.fx-split-title4 .line2,
.fx-split-title5 .line1,
.fx-split-title5 .line2 {
  display: block;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(28px, 5vw, 64px);
}
.fx-split-title  .line1 { color: var(--accent-blue); }
.fx-split-title2 .line1 { color: #007DAA; }
.fx-split-title3 .line1 { color: #2D3A8E; }
.fx-split-title4 .line1 { color: #EE1D52; }
.fx-split-title5 .line1 { color: #F96300; }
.fx-split-title  .line2,
.fx-split-title2 .line2,
.fx-split-title3 .line2,
.fx-split-title4 .line2,
.fx-split-title5 .line2 { color: #111827; }

/* Two-column grid */
.fx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  text-align: left;
}

/* Features (left) */
.fx-features { display: grid; gap: 20px; height: 100%; }

.fx-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .15);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  padding: 20px 18px;
}
.fx-card--row { display: flex; gap: 16px; align-items: flex-start; min-height: 96px; }
.fx-card:hover {
  transform: translateY(-2px);
  border-color: #dfe4ee;
  box-shadow: 0 22px 56px rgba(59, 91, 253, .16);
}

.fx-icon {
  width: 56px; height: 56px; border-radius: 14px; flex: 0 0 56px;
  display: grid; place-items: center; font-size: 26px; color: #fff;
  background: radial-gradient(120% 120% at 30% 30%, #6e7bff 0%, #3b5bfd 60%, #3550e6 100%);
  box-shadow: 0 10px 24px rgba(59, 91, 253, .28);
}
.fx-content h3 { margin: 2px 0 6px; font-size: 18px; font-weight: 800; color: var(--ink-primary); }
.fx-content p  { margin: 0; color: var(--ink-secondary); line-height: 1.55; font-size: 15px; }

/* FAQ (right) */
.fx-faq {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .15);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.fx-faq-title { margin: 0 0 16px; font-size: 20px; font-weight: 800; color: var(--accent-blue); }
.fx-faq-list  { flex: 1; display: grid; gap: 14px; }

.fx-faq-item {
  background: #fff;
  border: 1.5px solid #dbe2ff;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.fx-faq-item:hover { border-color: #c9d3ff; box-shadow: 0 16px 40px rgba(0,0,0,.25), 0 4px 12px rgba(0,0,0,.15); }
.fx-faq-item summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink-primary);
  font-size: 15px;
}
.fx-faq-item[open] summary { border-bottom: 1px solid var(--line-soft); }
.fx-faq-item:not([open]) summary { justify-content: center; text-align: center; }

.fx-faq-body { padding: 14px 16px 16px; color: var(--ink-secondary); line-height: 1.6; font-size: 15px; }

/* plus/minus icon */
.fx-tgl {
  width: 26px; height: 26px;
  border-radius: 8px; background: #eef2ff;
  display: inline-grid; place-items: center; position: relative; flex: 0 0 26px;
  box-shadow: 0 2px 6px rgba(59,91,253,.12) inset;
}
.fx-tgl::before, .fx-tgl::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-blue); border-radius: 2px;
}
.fx-tgl::before { width: 14px; height: 2px; }
.fx-tgl::after  { width: 2px; height: 14px; transition: .25s ease; }
.fx-faq-item[open] .fx-tgl::after { transform: translate(-50%, -50%) scaleY(0); }
.fx-faq-item:not([open]) summary .fx-tgl { margin-left: 12px; }


/* --------------------------------------------------------------------------
   9) Footer (Glass)
   -------------------------------------------------------------------------- */
.footer.glass.footer-v2 {
  width: 1000px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  margin: 40px auto 20px;
  padding: 28px 40px;
}

/* One single .footer-wrap — no duplicates elsewhere */
.footer-v2 .footer-wrap{
  display: grid;
  grid-template-columns: 260px 1fr 1fr;         /* brand | info | legal */
  grid-template-rows: min-content min-content min-content auto; /* compact rows */
  column-gap: 40px;
  row-gap: 6px;                                  /* tighten vertical gap */
  align-content: start;
}

/* left column */
.footer-v2 .footer-brand{
  grid-column: 1;
  grid-row: 1 / 4;    /* span first 3 rows only */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-v2 .footer-brand img{ height: 34px; }
.footer-v2 .footer-brand .actions{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.footer-v2 .footer-brand .actions .chip{
  width: 50%;
  max-width: 220px;
  display: flex; justify-content: center; align-items: center;
  text-align: center;
}

/* expose middle/right columns to the grid */
.footer-v2 .footer-info-links{ display: contents; }
.footer-v2 .footer-info{  grid-column: 2; display: contents; }
.footer-v2 .footer-links{ grid-column: 3; display: contents; }

/* map items to rows 1..3 (kept) */
.footer-v2 .footer-info p:nth-child(1){ grid-column: 2; grid-row: 1; }
.footer-v2 .footer-info p:nth-child(2){ grid-column: 2; grid-row: 2; }
.footer-v2 .footer-info p:nth-child(3){ grid-column: 2; grid-row: 3; }

.footer-v2 .footer-links a:nth-child(1){ grid-column: 3; grid-row: 1; }
.footer-v2 .footer-links a:nth-child(2){ grid-column: 3; grid-row: 2; }
.footer-v2 .footer-links a:nth-child(3){ grid-column: 3; grid-row: 3; }

/* tighten text spacing */
.footer-v2 .footer-info p,
.footer-v2 .footer-links a{
  margin: 0;
  padding: 0;
  line-height: 1.25;                  /* was 1.6 */
}
.footer-v2 .footer-info p a{
  white-space: nowrap;
  overflow-wrap: normal;
}

/* copyright on row 4, centered under cols 2–3 */
.footer-v2 .footer-copy{
  grid-column: 2 / 4;
  grid-row: 4;
  justify-self: center;
  align-self: start;
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-top: 6px;
}


/*=privacy=*/
/* Totul e namespaced sub .policy ca să nu atingă alte pagini */
.policy{
  width: var(--container);
  margin: 40px auto 80px;
  padding-inline: 16px;
}

.policy-hero{ text-align: center; margin-bottom: 20px; }
.policy-title{ margin: 0 0 6px; font-size: clamp(28px, 4vw, 42px); }
.policy-updated{ color: var(--ink-secondary); font-size: 14px; }

.policy-grid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

/* TOC card în stil „glass” */
.policy-toc{
  position: sticky; top: 86px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.policy-toc strong{ display:block; margin-bottom:8px; color:#111; }
.policy-toc a{
  display:block; padding:6px 0; text-decoration:none;
  color:#1f2937; font-size: 15px;
}
.policy-toc a:hover{ text-decoration: underline; }

/* Secțiuni */
.policy-section{
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 20px 20px;
  margin: 0 0 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .15);
}
.policy-section h2{
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
}
.policy-section p,
.policy-section li{
  color: var(--ink-secondary);
  line-height: 1.65;
  font-size: 15.5px;
}
.policy-top{ text-decoration:none; font-weight:600; }

/*=terms=*/

/* Namespaced – nu atinge restul site-ului */
.terms{
  width: var(--container);
  margin: 40px auto 80px;
  padding-inline: 16px;
}

.terms-hero{ text-align:center; margin-bottom:20px; }
.terms-title{ margin:0 0 6px; font-size:clamp(28px,4vw,42px); }
.terms-updated{ color:var(--ink-secondary); font-size:14px; }
.terms-note{ color:var(--ink-secondary); margin:8px auto 0; }

/* Layout cu TOC sticky */
.terms-grid{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:28px;
  align-items:start;
}

.terms-toc{
  position:sticky; top:86px;
  background:var(--glass-bg);
  border:1px solid var(--glass-brd);
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}
.terms-toc strong{ display:block; margin-bottom:8px; color:#111; }
.terms-toc a{
  display:block; padding:6px 0; text-decoration:none;
  color:#1f2937; font-size:15px;
}
.terms-toc a:hover{ text-decoration:underline; }

/* Secțiuni */
.terms-section{
  background:#fff;
  border:1px solid var(--line-soft);
  border-radius:16px;
  padding:20px 20px;
  margin:0 0 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .15);
}
.terms-section h2{ margin:0 0 8px; font-size:clamp(18px,2.2vw,22px); }
.terms-section p,
.terms-section li{ color:var(--ink-secondary); line-height:1.65; font-size:15.5px; }

.terms-top{ text-decoration:none; font-weight:600; }


/* Refund & Replacement page — isolated styles */
.refund{
  width: var(--container);
  margin: 40px auto 80px;
  padding-inline: 16px;
}

.refund-hero{
  text-align:center;
  margin-bottom: 20px;
}
.refund-title{
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
}
.refund-updated{
  color: var(--ink-secondary);
  font-size: 14px;
}
.refund-note{
  color: var(--ink-secondary);
  margin: 8px auto 0;
}

/* Layout with sticky TOC on desktop */
.refund-grid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.refund-toc{
  position: sticky;
  top: 86px;                 /* sits under your sticky navbar */
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.refund-toc strong{
  display:block;
  margin-bottom: 8px;
  color: #111;
}
.refund-toc a{
  display:block;
  padding: 6px 0;
  text-decoration: none;
  color: #1f2937;
  font-size: 15px;
}
.refund-toc a:hover{
  text-decoration: underline;
}

/* Content cards */
.refund-section{
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 20px 20px;
  margin: 0 0 16px;
      box-shadow: 0 16px 40px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .15);
}
.refund-section h2{
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
}
.refund-section h3{
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 20px);
}
.refund-section p,
.refund-section li{
  color: var(--ink-secondary);
  line-height: 1.65;
  font-size: 15.5px;
}
.refund-section ul{
  padding-left: 18px;
  margin: 8px 0 0;
}
.refund-section li + li{ margin-top: 6px; }

/* small dash-style subitems */
.refund-section .dash{
  list-style: "– ";
  padding-left: 6px;
}

/* callout */
.key{
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  border-radius: 10px;
  color: #92400e;
  font-weight: 600;
}

.refund-top{
  text-decoration: none;
  font-weight: 600;
}

/* ====== VERY NARROW PHONES (≤390px wide, e.g. 360×740) ====== */
@media (max-width: 390px) {

  /* Shell pe 2 rânduri: logo centrat sus, rail stânga + acțiuni dreapta jos */
  .header-shell { max-width: 95vw; }
  .shell-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: center;
  }
  .brand img { height: 24px; }

  .pill.rail {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    height: 34px;
    padding: 3px 4px;
    gap: 6px;
  }
  .pill .pill-item,
  .pill .puck { width: 28px; height: 28px; }
  .pill .pill-item img { width: 14px; height: 14px; }

  .actions {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;              /* nu permite trecerea pe 2 rânduri */
  }
  .actions .chip {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
    line-height: 34px;
    white-space: nowrap;            /* ✅ ține “TDX Cards” pe un singur rând */
  }
  .actions .chip--primary { box-shadow: 0 10px 22px rgba(17,24,39,.18); }

  /* un pic mai mult aer în nav pe rezoluția asta */
  .navbar { padding: 8px 10px; }
}

/* ====== EXTRA TIGHT (≤340px) — plan B, micșorare ușoară ====== */
@media (max-width: 340px) {
  .actions { transform: scale(.92); transform-origin: right center; }
  .actions .chip { padding: 0 8px; font-size: 11.5px; }
  .pill.rail { transform: scale(.95); transform-origin: left center; }
}
/* ================================
   iPad portrait fix (768 × 1024)
   ================================ */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
  /* HERO: spațiu sub nav + titlu jos, clar */
  .hero{
    position: relative;
    min-height: 92vh !important;
    padding-top: 132px !important;      /* sub navbar */
    padding-bottom: 96px !important;     /* loc pentru titlu jos */
  }

  /* Portavocea mai mare și mai sus */
  .hero-object{
    position: relative;
    width: 760px !important;              /* ~384px pe 768 */
    top: -8px !important;                /* urcat ușor */
    z-index: 2 !important;
  }

  /* Titlul mare mereu jos, fără să atingă săgețile */
  .hero-title{
    position: absolute !important;
    left: 50% !important;
    bottom: 64px !important;             /* îl ține jos */
    transform: translateX(-50%) !important;
    width: 92% !important;
    line-height: .95 !important;
    font-size: clamp(40px, 7.6vw, 96px) !important;
    -webkit-text-stroke: 1.2px #1F2937 !important;
    opacity: .84 !important;
    z-index: 1 !important;
  }

  /* SĂGEȚI + TEXTE: repoziționate ca să nu calce titlul */
  .hero-note, .hero-note22, .hero-note23, .hero-note24{
    display: block !important;
    position: fixed !important;
    opacity: .92 !important;
    pointer-events: none !important;
    z-index: 3 !important;               /* peste titlu */
  }
.hero-note  { top: 250px; left: 35px;  width: 200px; transform: rotate(-38deg); }
.hero-note22{ top: 50px;  left: 00px;  width: 150px; transform:rotate(20deg); }
.hero-note23{ top: 50px;  right: 0;     width: 200px; transform: rotate(-12deg) scaleX(-1); }
.hero-note24{ top: 350px; right: 40px; width: 180px; transform: rotate(20deg); }


  /* CHIPS: „lipite” corect de con (NU schimba translate-ul din .hero-chip) */
  .hero .hero-chip{ z-index: 3 !important; border-width: 4px !important; }
  /* 24/7 LIVE SUPPORT */
  .hero-chip[style*="--x:50%"][style*="--y:46%"] { --x: 46.5% !important; --y: 36% !important; }
  /* SCALABILITY */
  .hero-chip[style*="--x:70%"][style*="--y:70%"] { --x: 73% !important;   --y: 39% !important; }
  /* INSTANT DELIVERY */
  .hero-chip[style*="--x:40%"][style*="--y:60%"] { --x: 40.5% !important; --y: 47% !important; }
  /* TRUST (buza conului) */
  .hero-chip[style*="--x:65%"][style*="--y:46%"] { --x: 60% !important;   --y: 48% !important; }
  /* SECURITY (în con) */
  .hero-chip[style*="--x:43%"][style*="--y:85%"] { --x: 53.8% !important; --y: 57% !important; }
  /* CONVENIENCE (mâner) */
  .hero-chip[style*="--x:60%"][style*="--y:90%"] { --x: 81% !important;   --y: 63% !important; }

  /* NAV: păstrează textul butoanelor pe un rând */
  .actions .chip{
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  /* FOOTER: nu mai folosi lățime fixă 1000px */
  .footer.glass.footer-v2{
    width: auto !important;
    margin: 24px 20px !important;
    padding: 22px 24px !important;
  }
  .footer-v2 .footer-wrap{
    grid-template-columns: 1fr !important;
    text-align: center !important;
    row-gap: 20px !important;
  }
}
/* ==== TABLET PORTRAIT (768–834) — fix deck overflow & stacking ==== */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
  /* Toate paginile de produs */
  .p2-hero-facebook .hero-deck,
  .p3-hero-bing .hero-deck,
  .p4-hero-taboola .hero-deck,
  .p5-hero-tiktok .hero-deck,
  .p6-hero-outbrain .hero-deck {
    display: grid !important;
    grid-template-columns: 1fr !important;   /* ⬅️ o singură coloană */
    width: min(92vw, 720px) !important;      /* încape sigur pe 768px */
    margin: 48px auto 64px !important;       /* spațiu sub titlu + sub deck */
    gap: 24px !important;
    justify-items: center !important;
    align-items: start !important;
    overflow: visible !important;
  }

  /* Slider: 16:9, nu se taie, nu se întinde peste container */
  .p2-hero-facebook .slider-container,
  .p3-hero-bing .slider-container,
  .p4-hero-taboola .slider-container,
  .p5-hero-tiktok .slider-container,
  .p6-hero-outbrain .slider-container {
    width: 100% !important;
    max-width: 680px !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #fff;
    border-radius: 20px;
  }
  .p2-hero-facebook .slider-wrapper,
  .p3-hero-bing .slider-wrapper,
  .p4-hero-taboola .slider-wrapper,
  .p5-hero-tiktok .slider-wrapper,
  .p6-hero-outbrain .slider-wrapper { height: 100% !important; }
  .p2-hero-facebook .slide,
  .p3-hero-bing .slide,
  .p4-hero-taboola .slide,
  .p5-hero-tiktok .slide,
  .p6-hero-outbrain .slide { height: 100% !important; display: grid; place-items: center; }
  .p2-hero-facebook .slide img,
  .p3-hero-bing .slide img,
  .p4-hero-taboola .slide img,
  .p5-hero-tiktok .slide img,
  .p6-hero-outbrain .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;          /* fără crop */
  }

  /* Cardul “Buy”: pe lățimea coloanei, centrat */
  .p2-hero-facebook .cta-card,
  .p3-hero-bing .cta-card,
  .p4-hero-taboola .cta-card,
  .p5-hero-tiktok .cta-card,
  .p6-hero-outbrain .cta-card {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }

  /* Secțiunea următoare începe clar, fără să fie călcată */
  .fx-split-title,
  .fx-split-title2,
  .fx-split-title3,
  .fx-split-title4,
  .fx-split-title5 {
    margin-top: 8px !important;
    clear: both !important;
    position: relative !important;
    z-index: 0 !important;
  }
}
:root{
  --bg: 255 255 255;
  --fg: 17 24 39;
  --muted: 107 114 128;
  --brand: 37 99 235;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --maxw: 1040px;
}

@media (prefers-color-scheme: dark){
  :root{ --bg: 8 10 14; --fg: 231 236 245; --muted: 148 161 178; }
}

.tds-footer{
  padding: 36px 16px 20px;
}
.tds-footer__container{ max-width: var(--maxw); margin: 0 auto; }

.tds-footer__card{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.28);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
}

@media (prefers-color-scheme: dark){
  .tds-footer__card{
    background: rgba(20,20,24,0.45);
    border: 1px solid rgba(255,255,255,0.12);
  }
}

.tds-footer__grid{
  padding: 28px 24px 10px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-areas:
    "brand info nav"
    "brand news news";
  gap: 28px 36px;
  color: rgb(var(--fg));
}

/* Scoped doar în footer */
.tds-footer .tds-footer__brand{ grid-area: brand; display:flex; flex-direction:column; gap:16px; }
.tds-footer .tds-footer__logo{ height:36px; width:auto; display:block; }
.tds-footer .tds-footer__tagline{ margin:0; color: rgb(var(--muted)); font-size:.95rem; }

.tds-footer .tds-footer__actions{ display:flex; gap:10px; }
.tds-footer .tds-footer__info{ grid-area: info; display:flex; flex-direction:column; gap:14px; }
.tds-footer .tds-footer__nav{ grid-area: nav; }
.tds-footer .tds-footer__newsletter{ grid-area: news; display:flex; flex-direction:column; gap:10px; }

.tds-footer .tds-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.tds-footer .tds-list .label{ color: rgb(var(--muted)); margin-right:6px; }

.tds-footer a{ color: inherit; text-decoration: none; }
.tds-footer a:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* CHIPS & BUTTONS scoped */
.tds-footer .chip, 
.tds-footer .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.1);
  background:rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
  transition: transform .08s ease, box-shadow .2s ease;
}

.tds-footer .chip:hover,
.tds-footer .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.tds-footer .chip--primary,
.tds-footer .btn--primary{
  background: rgb(var(--brand));
  color:white;
  border:none;
}

/* Newsletter */
.tds-footer .tds-subscribe{ display:flex; gap:8px; align-items:center; }
.tds-footer .tds-subscribe input{
  flex:1 1 auto;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.1);
  padding:0 12px;
}

/* Social icons */
.tds-footer .tds-footer__social{ display:flex; gap:10px; }
.tds-footer .social{
  width:40px;
  height:40px;
  display:inline-grid;
  place-items:center;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.1);
  background: rgba(255,255,255,.6);
}
.tds-footer .social svg{ width:18px; height:18px; fill: currentColor; }

.tds-footer__bottom{
  border-top:1px solid rgba(0,0,0,.1);
}
.tds-footer__bottom > p{
  margin:0;
  padding:12px 24px 22px;
  color: rgb(var(--muted));
  text-align:center;
}

@media (max-width:960px){
  .tds-footer__grid{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "info nav"
      "news news";
  }
}
@media (max-width:640px){
  .tds-footer__grid{
    grid-template-columns:1fr;
    grid-template-areas:"brand" "info" "nav" "news";
    gap:22px;
  }
  .tds-footer .tds-subscribe{ flex-direction:column; }
  .tds-footer .btn--primary{ width:100%; height:46px; }
}

