/* ===== Online Advertising Page ===== */

/* ---------- Shared helpers ---------- */
.ads-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.ads-head .svc-text { margin: 18px auto 0; font-size: 18px; }

.ads-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}
.ads-intro .svc-text { margin: 18px auto 0; }

.ads-center-btn { text-align: center; margin-top: 44px; }
.ads-btn-dark { color: #0a1220; border-color: #d5ddd8; background: #fff; }
.ads-btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
}
.ads-btn-ghost:hover { background: rgba(255,255,255,0.14); }

.ads-head a, .ads-split a, .ads-mistake a, .ai-v-content a, .svc-faq a, .ads-checklist a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Hero (dark) ---------- */
.ads-hero {
  position: relative;
  isolation: isolate;
  padding: 170px 20px 90px;
  background: #0a1220;
  color: #fff;
  overflow: hidden;
}
.ads-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 420px at 85% 20%, rgba(27,140,67,0.38), transparent 70%),
    radial-gradient(520px 380px at 8% 95%, rgba(253,101,30,0.16), transparent 70%);
}
.ads-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}

.ads-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.ads-crumbs { color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.ads-crumbs a { color: rgba(255,255,255,0.85); }
.ads-crumbs .is-current { color: #5fd38a; }

.ads-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 24px;
  text-align: left;
}
.ads-hero__title em { font-style: normal; color: #5fd38a; }

.ads-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fd651e;
  margin-bottom: 16px;
}

.ads-hero__lead {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.74);
  max-width: 540px;
  margin: 0 0 36px;
}

.ads-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ads-trust {
  list-style: none;
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.ads-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
.ads-trust svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(27,140,67,0.3);
  color: #5fd38a;
}

/* Dashboard mockup */
.ads-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}
.ads-dash {
  width: 100%;
  max-width: 420px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s ease;
}
.ads-dash:hover { transform: rotateY(0) rotateX(0); }

.ads-dash__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.ads-dash__title {
  font-family: var(--font-heading);
  font-size: 15px;
  color: #fff;
}
.ads-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5fd38a;
}
.ads-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fd38a;
  animation: adsPulse 1.6s ease-in-out infinite;
}

.ads-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.ads-kpi {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ads-kpi small { font-size: 11px; color: rgba(255,255,255,0.6); }
.ads-kpi strong { font-family: var(--font-heading); font-size: 22px; color: #fff; line-height: 1; }
.ads-kpi strong.is-up { color: #5fd38a; }
.ads-kpi strong.is-down { color: #fd651e; }

.ads-bars {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 18px;
}
.ads-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, #1b8c43, #5fd38a);
  transform-origin: bottom;
  animation: adsGrow 1.2s ease-out both;
}
.ads-bars span:nth-child(2) { animation-delay: 0.08s; }
.ads-bars span:nth-child(3) { animation-delay: 0.16s; }
.ads-bars span:nth-child(4) { animation-delay: 0.24s; }
.ads-bars span:nth-child(5) { animation-delay: 0.32s; }
.ads-bars span:nth-child(6) { animation-delay: 0.40s; }
.ads-bars span:nth-child(7) { animation-delay: 0.48s; }
.ads-bars span:nth-child(8) { animation-delay: 0.56s; background: linear-gradient(to top, #fd651e, #ff9a63); }

.ads-rows { display: flex; flex-direction: column; gap: 12px; }
.ads-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.ads-meter { height: 8px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
.ads-meter b {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 99px;
  background: var(--c);
  transform-origin: left;
  animation: adsFill 1.4s ease-out both 0.4s;
}
.ads-dash__note {
  margin: 16px 0 0;
  text-align: right;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.ads-bubble {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 14px 34px rgba(0,0,0,0.25);
}
.ads-bubble span { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: #0a1220; }
.ads-bubble small { font-size: 11px; color: #7a7a7a; margin-top: 2px; }
.ads-bubble--1 { top: 8%; left: -24px; animation: adsFloat 5s ease-in-out infinite; }
.ads-bubble--1 span { color: #fd651e; }
.ads-bubble--2 { bottom: 10%; right: -18px; animation: adsFloat 6s ease-in-out infinite 1s; }
.ads-bubble--2 span { color: var(--brand); }

@keyframes adsFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes adsGrow  { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes adsFill  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes adsPulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(95,211,138,0.6); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(95,211,138,0); } }

/* ---------- Problem / solution split ---------- */
.ads-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.ads-split__col {
  background: #fff;
  border: 1px solid #e3e6e4;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}
.ads-split__col:hover { transform: translateY(-4px); }
.ads-split__col.is-negative {
  border-top: 6px solid #d33a3a;
  background: linear-gradient(to bottom, #fffafa 0%, #fff 100%);
}
.ads-split__col.is-positive {
  border-top: 6px solid var(--brand);
  background: linear-gradient(to bottom, #f4fbf6 0%, #fff 100%);
  box-shadow: 0 20px 50px rgba(27,140,67,0.08);
}
.ads-split__col h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ads-split__col.is-negative h3 { color: #b32d2d; }
.ads-split__col.is-positive h3 { color: var(--brand); }
.ads-split__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.ads-split__col li {
  position: relative;
  padding-left: 38px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: #4b5852;
}
.ads-split__col li strong { display: block; color: #0a1220; margin-bottom: 2px; }
.ads-split__col li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.ads-split__col.is-negative li::before { content: "✕"; background: #fdeaea; color: #d33a3a; }
.ads-split__col.is-positive li::before { content: "✓"; background: rgba(27,140,67,0.1); color: var(--brand); }

/* ---------- Channels ---------- */
.ads-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ads-channel {
  --pc: #1b8c43;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e6e4;
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ads-channel:nth-child(1) { --pc: #4285F4; }
.ads-channel:nth-child(2) { --pc: #E1306C; }
.ads-channel:nth-child(3) { --pc: #fd651e; }
.ads-channel:nth-child(4) { --pc: #0A66C2; }

.ads-channel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--pc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.ads-channel:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(10,18,32,0.10); }
.ads-channel:hover { box-shadow: 0 18px 36px color-mix(in srgb, var(--pc) 16%, transparent); }
.ads-channel:hover::before { transform: scaleX(1); }

.ads-channel__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--pc);
  background: #f4f6f5;
  transition: transform 0.3s ease, background 0.3s ease;
}
.ads-channel:hover .ads-channel__icon { transform: scale(1.1); background: #eef1f0; }
.ads-channel:hover .ads-channel__icon { background: color-mix(in srgb, var(--pc) 12%, #fff); }
.ads-channel__icon svg { width: 28px; height: 28px; }

.ads-channel h3 { font-family: var(--font-heading); font-size: 20px; color: #0a1220; margin: 0 0 8px; }
.ads-channel__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pc);
  margin-bottom: 14px;
}
.ads-channel p { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: #4b5852; margin: 0; }

/* ---------- Speciality band (light TechBound palette) ---------- */
.ads-dark {
  position: relative;
  padding: 90px 20px;
  background: #E7EDE9;
  color: #0a1220;
}
.ads-dark__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.ads-dark h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  margin: 20px 0 22px;
}
.ads-dark p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: #4a4a4a;
  margin: 0 0 18px;
}
.ads-dark .btn { margin-top: 14px; }

.ads-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ads-chips span {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: #0a1220;
  transition: transform 0.35s cubic-bezier(.22, .61, .36, 1), border-color 0.35s ease, box-shadow 0.35s ease, color 0.3s ease;
}
.ads-chips span:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 140, 67, 0.35);
  box-shadow: 0 14px 30px -12px rgba(27, 140, 67, 0.28);
  color: var(--brand);
}

/* ---------- Mistakes (3 + 2 wide, no orphan) ---------- */
.ads-mistakes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.ads-mistake { grid-column: span 2; }
.ads-mistake:nth-child(n+4) { grid-column: span 3; }
.ads-mistake {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e3e6e4;
  border-radius: 20px;
  padding: 34px 30px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ads-mistake:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(10,18,32,0.08);
  border-color: rgba(253,101,30,0.4);
}
.ads-mistake__num {
  position: absolute;
  top: 6px;
  right: 18px;
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: rgba(253,101,30,0.12);
  pointer-events: none;
}
.ads-mistake h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.35;
  color: #0a1220;
  margin: 0 0 12px;
  padding-right: 48px;
}
.ads-mistake p { position: relative; font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: #4b5852; margin: 0; }

/* ---------- Process extras ---------- */
.ads-output {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(27,140,67,0.1);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.ads-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ads-review {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #e3e6e4;
  border-radius: 20px;
  padding: 44px 28px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ads-review:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(10,18,32,0.08); }
.ads-review::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 24px;
  font-family: Georgia, serif;
  font-size: 70px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.25;
}
.ads-review blockquote { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.75; color: #3d4a44; }
.ads-review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #eef1f0;
  font-family: var(--font-heading);
  color: #0a1220;
}
.ads-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1b8c43, #5fd38a);
}
.ads-review:nth-child(3n+2) .ads-avatar { background: linear-gradient(135deg, #fd651e, #ff9a63); }
.ads-review:nth-child(3n) .ads-avatar { background: linear-gradient(135deg, #0a1220, #3a4a63); }

/* ---------- What's included ---------- */
.ads-included { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.ads-included__panel {
  position: sticky;
  top: 110px;
  padding: 44px 38px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(360px 240px at 100% 0%, rgba(27,140,67,0.45), transparent 70%),
    #0a1220;
}
.ads-included__panel h2 { font-family: var(--font-heading); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; color: #fff; margin: 18px 0 16px; }
.ads-included__panel p { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.74); margin: 0 0 16px; }
.ads-included__quote {
  padding-left: 16px;
  border-left: 3px solid #fd651e;
  color: #fff !important;
}
.ads-included__actions { margin-top: 26px; }

.ads-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ads-checklist li {
  position: relative;
  padding: 20px 20px 20px 60px;
  background: #fff;
  border: 1px solid #e3e6e4;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: #2f3b35;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ads-checklist li:hover { transform: translateY(-3px); border-color: rgba(27,140,67,0.4); box-shadow: 0 10px 24px rgba(10,18,32,0.06); }
.ads-checklist li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 19px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(27,140,67,0.12);
}

/* ---------- CTA buttons ---------- */
.ads-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ads-hero__inner, .ads-dark__inner, .ads-included { grid-template-columns: 1fr; gap: 56px; }
  .ads-hero__text { text-align: center; }
  .ads-hero__title, .ads-hero__lead { text-align: center; margin-left: auto; margin-right: auto; }
  .ads-hero__actions { justify-content: center; }
  .ads-crumbs { display: flex; justify-content: center; }
  .ads-dash { transform: none; }
  .ads-channels { grid-template-columns: repeat(2, 1fr); }
  .ads-reviews { grid-template-columns: repeat(2, 1fr); }
  .ads-included__panel { position: static; }
}

@media (max-width: 900px) {
  .ads-split { grid-template-columns: 1fr; gap: 24px; }
  .ads-split__col { padding: 30px 24px; }
  .ads-mistakes { grid-template-columns: 1fr; }
  .ads-mistake, .ads-mistake:nth-child(n+4) { grid-column: auto; }
}

@media (max-width: 767px) {
  .ads-hero { padding-top: 120px; }
  .ads-trust { grid-template-columns: 1fr; text-align: left; }
  .ads-bubble { display: none; }
  .ads-channels, .ads-reviews, .ads-checklist, .ads-chips { grid-template-columns: 1fr; }
  .ads-dark { padding: 64px 20px; }
  .ads-included__panel { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .ads-bars span, .ads-meter b, .ads-bubble, .ads-live i { animation: none; }
}

.ads-hero .ads-pill {
  margin-bottom: 20px;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  letter-spacing: 0.02em;
  background:
    linear-gradient(rgba(255,255,255,0.07), rgba(255,255,255,0.07)) padding-box,
    linear-gradient(115deg, #5fd38a 0%, rgba(95,211,138,0.2) 35%, rgba(95,211,138,0.2) 65%, #5fd38a 100%) border-box;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    -5px 2px 14px -6px rgba(95,211,138,0.55),
     5px 4px 14px -7px rgba(95,211,138,0.4);
}