/* ═══════════════════════════════════════════════════════════════
   BBS OptiMail — Shared Styles
   Import this file in every client page:
   <link rel="stylesheet" href="/client/shared.css">
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Fonts (loaded via <link> in HTML, fallback here) ─── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand */
  --primary-color: #5F0095;
  --primary-gradient: linear-gradient(135deg, #5F0095 0%, #7D0084 100%);
  --secondary-gradient: linear-gradient(135deg, #7D0084 0%, #5F0095 100%);

  /* Layout */
  --navbar-height: 80px;

  /* Surfaces */
  --bg: #f5f6fa;
  --card: #fff;
  --field: #ffffff;

  /* Borders & Shadows */
  --border: #e6edf5;
  --line: #e9eef5;
  --shadow: 0 6px 18px rgba(31, 45, 61, .06);
  --card-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);

  /* Text */
  --text: #1f2d3d;
  --muted: #5b6b7b;

  /* Semantic */
  --danger: #b42318;
  --success: #05603a;

  /* Font */
  --font-base: 'Poppins', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.45;
}

a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── NAVBAR ─── */
.navbar-custom {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-weight: 500;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar-custom .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.bbs-logo {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar-custom .nav-link {
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
  text-decoration: none;
  font-size: 13px;
}

.navbar-custom .nav-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-custom .dropdown-item {
  color: #333;
  transition: color 0.2s ease;
}

.navbar-custom .dropdown-item:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* ─── CARDS ─── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  transition: 0.2s;
}

.card:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card h3 { margin: 0 0 6px 0; font-weight: 700; }
.card button { width: fit-content !important; display: inline-flex; }

/* ─── BUTTONS ─── */
.btn {
  appearance: none;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary,
.btn-gradient {
  background: var(--primary-gradient) !important;
  color: #fff !important;
  border: none !important;
}

.btn-primary:hover,
.btn-gradient:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transform: scale(1.03);
  text-decoration: none;
  color: #fff !important;
}

.btn-ghost,
.btn-contact {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-ghost:hover,
.btn-contact:hover {
  background: rgba(95, 0, 149, 0.08);
  text-decoration: none;
  color: var(--primary-color);
}

.btn-danger {
  background: #fff;
  border: 1px solid #ffd0d0;
  color: #b42318;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
  color: #fff !important;
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
}

/* ─── FORMS ─── */
label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin: 6px 0;
}

input[type=text],
input[type=email],
input[type=password],
input[type=date],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--field);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-base);
  min-height: 40px;
}

/* ─── TABLES ─── */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.table th { background: #f8fafc; font-weight: 600; color: #475569; }
.table-wrap { width: 100%; overflow: auto; border: 1px solid var(--border); border-radius: 12px; }

/* ─── UTILITY CLASSES ─── */
.small, .note { color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); }
.hidden { display: none; }
.ok { color: var(--success); }
.err { color: #b42318; }
.tight { margin-top: 4px; }

/* ─── GRIDS ─── */
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: 1fr; }
@media(min-width:900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.info-row { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media(min-width:900px) { .info-row { grid-template-columns: 1fr 1fr 1fr; } }

.info-card h3 { margin: 0 0 6px 0; }
.info-card p { margin: 6px 0 0 0; line-height: 1.6; }

/* ─── DASHBOARD KPI & LAYOUT ─── */
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row-deck > .kpi-item { display: flex; flex-direction: column; }
.kpi-item { padding: 0 12px; margin-bottom: 24px; flex: 1 0 200px; }
.kpi-item .card { height: 100%; margin-bottom: 0; display: flex; flex-direction: column; justify-content: center; }
.card-body { padding: 10px; }
.h2 { font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--text); }
.text-secondary { color: var(--muted); font-size: 13px; font-weight: 500; }
.mb-0 { margin-bottom: 0 !important; }

/* ─── SWITCHES ─── */
.switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.slider {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
  flex-shrink: 0;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.switch label {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ─── BADGES ─── */
.badge { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; }
.badge-ok { background: #d1fae5; color: #065f46; }
.badge-warn { background: #fef3c7; color: #92400e; }
.badge-off { background: #f3f4f6; color: #6b7280; }
.badge-err { background: #fecaca; color: #991b1b; }

/* ─── FEATURE CARDS (landing / signup) ─── */
.feature-card {
  background-color: #ffffff !important;
  border-radius: 20px !important;
  padding: 30px 20px !important;
  border: 1px solid #dcdcdc;
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  color: inherit;
}

.feature-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-color);
  background-color: #ffffff !important;
  color: inherit !important;
}

/* ─── PRICING CARDS ─── */
.pricing-card {
  background-color: #ffffff !important;
  border-radius: 20px !important;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #dcdcdc;
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  color: inherit;
}

.pricing-card:hover {
  transform: scale(1.03);
  border-color: var(--primary-color);
  background-color: #ffffff !important;
  color: inherit !important;
}

/* ─── FOOTER ─── */
footer a.footer-link {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a.footer-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-note {
  margin-top: 12px;
  color: #8aa0b6;
  font-size: 12px;
  text-align: center;
}


/* ─── DASHBOARD V3 (from screenshots) ─── */
.usage-grid-v3 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.kpi-card-v3 {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kpi-card-v3:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.kpi-card-v3 .num { font-size: 32px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.kpi-card-v3 .label { font-size: 14px; color: #64748b; font-weight: 500; }

.chart-card-v3 {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
}
.chart-card-v3 h4 { margin: 0 0 20px 0; font-size: 16px; font-weight: 600; color: #334155; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; }

/* Admin Bold Row */
.admin-metrics-v3 {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.admin-metric-v3 { flex: 1; }
.admin-metric-v3 .label { font-size: 13px; color: #64748b; margin-bottom: 8px; }
.admin-metric-v3 .num { font-size: 36px; font-weight: 800; color: #0f172a; }

/* Restored Developer Portal Snippets */
.code-box-v3 {
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}
.code-tabs-v3 {
  background: #2d2d2d;
  display: flex;
  padding: 0 16px;
  border-bottom: 1px solid #404040;
}
.code-tab-v3 {
  padding: 14px 20px;
  color: #a0aec0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.code-tab-v3.active { color: #fff; border-bottom-color: var(--primary-color); background: #252525; }
.code-pre-v3 {
  padding: 24px;
  margin: 0;
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #d4d4d4;
  overflow-x: auto;
}


/* ─── STYLES FROM styles.css ─── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; }

:root {
  --pink: #7D0084;
  --purple: #5F0095;
  --orange: #7D0084;
  --grad-full: linear-gradient(to right, #7D0084, #7D0084, #5F0095);
  --bg: #ffffff;
  --bg2: #faf8fb;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
body, * { font-family: 'Poppins', sans-serif; }

.curtain { position: fixed; inset: 0; z-index: 99999; background: var(--grad-full); transform-origin: top; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }

#progress { position: fixed; top: 0; left: 0; height: 3px; z-index: 9999; background: var(--grad-full); width: 0%; transition: width 0.1s linear; }

#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 9998; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 150px; background: transparent; border-bottom: none; box-shadow: none; transition: background 0.3s ease, box-shadow 0.3s ease; }
#nav.scrolled { background: #ffffff; box-shadow: 0 6px 24px rgba(0,0,0,0.06); border-bottom: 1px solid var(--border); }

.nav-logo-img { height: 130px; width: auto; display: block; }
.nav-right { display: flex; align-items: center; gap: 0; }
.nav-phone { display: none; }
.nav-cta { display: none; }
.nav-hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), opacity 0.25s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; z-index: 9999; background: #1c1c1c; opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.23,1,0.32,1); display: flex; flex-direction: column; }
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay-inner { display: flex; flex-direction: column; height: 100%; padding: 0 60px; }
.nav-overlay-header { display: flex; align-items: center; justify-content: space-between; height: 150px; flex-shrink: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav-logo-img--white { filter: brightness(0) invert(1); }
.nav-overlay-close { background: none; border: none; cursor: pointer; padding: 8px; transition: opacity 0.2s; }
.nav-overlay-close:hover { opacity: 0.7; }
.nav-overlay-close svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; display: block; }
.nav-overlay-content { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 60px; }
.nav-overlay-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.nav-overlay-col-head { font-size: 20px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.nav-overlay-link { display: block; font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.85); padding: 4px 0; transition: color 0.2s; }
.nav-overlay-link:hover { color: #fff; }
.nav-overlay-bottom { display: flex; flex-direction: row; align-items: center; gap: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.nav-overlay-contact { flex-shrink: 0; }
.nav-overlay-contact .nav-overlay-col-head { margin-bottom: 10px; }
.nav-overlay-social { display: flex; flex-direction: row; gap: 8px; background: #111; border-radius: 60px; padding: 10px 14px; flex-shrink: 0; width: max-content; }
.nav-overlay-social a { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1c1c1c; background: #fff; transition: opacity 0.2s; flex-shrink: 0; }
.nav-overlay-social a:hover { opacity: 0.85; }
.nav-overlay-social svg { width: 22px; height: 22px; display: block; }

/* ── HERO ── */
.hero { min-height: calc(100vh - 150px); display: flex; flex-direction: column; background: var(--bg2); position: relative; overflow: hidden; padding-top: 150px; }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); }
.hero-orb.o1 { width: 700px; height: 700px; background: rgba(200,33,110,0.12); top: -100px; right: -100px; }
.hero-orb.o2 { width: 500px; height: 500px; background: rgba(123,45,139,0.09); bottom: -150px; left: -100px; }
.hero-orb.o3 { width: 400px; height: 400px; background: rgba(232,98,26,0.08); top: 200px; right: 200px; }
.hero-inner { flex: 1; display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 1; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 0 52px 40px 52px; }
.hero-h1 { font-size: clamp(80px, 9vw, 136px); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; margin-bottom: 20px; color: var(--text); }
.grad-text { color: var(--text); }
.hero-sub { font-size: 14px; color: var(--text); font-weight: 600; line-height: 1.65; margin-bottom: 10px; max-width: 440px; }
.hero-text p:not(.hero-sub) { font-size: 14px; color: var(--muted); font-weight: 400; line-height: 1.75; margin-bottom: 28px; max-width: 440px; }
.hero-cta { align-self: flex-start; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; padding-bottom: 60px; }

.btn-primary { background: var(--pink); color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: 50px; border: none; display: inline-block; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(200,33,110,0.35); }

/* ── INTRO ── */
.ag-intro {
  position: relative;
  padding: 48px 52px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background: #fff;
  min-height: 500px;
}

.ag-intro-text {
  position: relative;
  z-index: 2;
  width: 49%;
  flex-shrink: 0;
}

.ag-intro-text p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 14px;
}

.ag-intro-text p:last-of-type {
  margin-bottom: 28px;
}

.ag-intro-swirl {
  position: absolute;
  top: 52%;
  left: 48%;

  width: 1200px;
  height: 1200px;

  transform: translateY(-50%);

  z-index: 1;
  pointer-events: none;

  background-image: url('images/Swirl/Colour/Swirl PNG.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  opacity: 0;
}

/* ── AUDIENCE PILLS ── */
.hero-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 52px 48px; margin-top: 0; background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.hero-bottom.is-sticky { position: fixed; top: 159px; left: 0; right: 0; z-index: 900; background: transparent; }
.hero-bottom-spacer { display: none; }
.hero-bottom-spacer.active { display: block; }
.audience-pill { font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 50px; border: 2px solid #5F0095; color: #fff; background: #5F0095; transition: opacity 0.2s, transform 0.2s; cursor: pointer; }
.audience-pill:hover { opacity: 0.85; transform: translateY(-1px); }
.audience-pill.active { background: #5F0095; color: #fff; border-color: #5F0095; }

/* ── LOGOS ── */
.logos-bar { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; overflow: hidden; }
.logos-inner { display: flex; align-items: center; overflow: hidden; }
.logos-label { font-size: 10px; font-weight: 700; color: #bbb; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.1em; padding: 0 28px; flex-shrink: 0; border-right: 1px solid var(--border); }
.logos-marquee { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 60px, black calc(100% - 60px), transparent); }
.logos-track { display: flex; align-items: center; animation: marquee 28s linear infinite; flex-shrink: 0; }
.logos-track img { height: 64px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.45); transition: filter 0.3s; margin: 0 48px; flex-shrink: 0; }
.logos-track img:hover { filter: grayscale(0%) opacity(1); }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ── THREE WAYS static grid ── */
.three-ways { background: #fff; padding: 72px 40px; min-height: 100vh; display: flex; align-items: center; }
.three-ways-inner { max-width: 1160px; margin: 0 auto; width: 100%; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.section-title { font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 28px; text-align: center; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 480px; line-height: 1.75; margin-bottom: 52px; }
.three-ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.way-card { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; border: 1px solid rgba(0,0,0,0.1); border-radius: 16px; padding: 20px; transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s; aspect-ratio: 1; }
.way-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.way-card-logo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.way-card-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ── PRODUCT SHOWCASE ── */
.product-showcase { background: #fff; }
.sc-wrap { display: flex; flex-direction: column; }
.sc-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; overflow: hidden; align-items: stretch; }
.sc-row--purple { background: #ede5f5; }
.sc-row--pink   { background: #fce8f3; }
.sc-row--cream  { background: #fdf6ed; }
.sc-brand { display: flex; align-items: center; justify-content: center; padding: 48px; position: relative; }
.sc-brand-group { position: relative; width: fit-content; display: flex; flex-direction: column; align-items: center; padding-bottom: 10px; }
.sc-logo { display: block; width: auto; max-width: 100%; max-height: 200px; object-fit: contain; }
.sc-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; line-height: 1; color: #fff; white-space: nowrap; padding: 11px 22px; border-radius: 6px; transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s; }
.sc-btn:hover { opacity: 0.92; transform: translateY(-2px); }
.sc-btn--purple { background: #5F0095; }
.sc-btn--pink { background: #7D0084; }
.sc-btn--orange { background: #7D0084; }
.sc-row--purple .sc-btn { left: 66%; top: 73%; }
.sc-row--pink .sc-btn { left: 40%; top: 70%; }
.sc-row--cream .sc-btn { left: 69%; top: 71%; }
.sc-media { display: flex; align-items: stretch; overflow: hidden; height: 100%; }
.sc-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; min-height: 380px; }

/* ── TYPO SECTION ── */
.typo-section { background: #fff; padding: 72px 40px; }
.typo-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }
.typo-left { padding-top: 4px; }
.typo-headline { font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.25; margin-bottom: 24px; color: var(--text); }
.typo-accent { display: inline-block; margin-top: 32px; background: linear-gradient(90deg, #5F0095, #f5a623); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; }
.typo-stepper { display: flex; flex-direction: column; }
.tsp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tsp-col { display: flex; flex-direction: column; }
.tsp-label { font-size: 12px; color: #000; line-height: 1.4; font-weight: 700; display: block; margin-bottom: 8px; min-height: 36px; }
.tsp-connector { display: flex; align-items: center; height: 24px; margin-bottom: 12px; }
.tsp-dot { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 3px solid #7D0084; margin-left: 6px; margin-right: 6px; box-shadow: 0 0 0 3px rgba(208,74,121,0.15); }
.tsp-dot--orange { border-color: #5F0095; box-shadow: 0 0 0 3px rgba(232,98,26,0.15); }
.tsp-line { flex: 1; height: 2px; background: #7D0084; margin-right: -12px; margin-left: -12px; }
.tsp-col:first-child .tsp-line { margin-left: 0; }
.tsp-col:nth-child(2) .tsp-line { background: #5F0095; margin-left: 0; }
.tsp-col:nth-child(2) .tsp-dot { border-color: #5F0095; box-shadow: 0 0 0 3px rgba(123,45,139,0.15); }
.tsp-col:nth-child(3) .tsp-line { background: #5F0095; margin-left: 0; }
.tsp-col:nth-child(3) .tsp-dot { border-color: #7D0084; box-shadow: 0 0 0 3px rgba(232,98,26,0.15); }
.tsp-panel { background: #f9f9f9; padding: 28px 24px; border: 1px solid #e4e4e4; border-radius: 10px; display: flex; align-items: flex-start; flex: 1; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.tsp-panel--photo { padding: 0; border-radius: 10px; background: #f0f0f0; overflow: hidden; flex: none; height: 340px; }
.tsp-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: 10px; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: #fff; overflow: hidden; }
.section { padding: 72px 40px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.testimonials-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.testimonials-left { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.title-wrap { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; }
.title-wrap::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background-image: url("images/Swirl/Colour/Swirl PNG.png"); background-repeat: no-repeat; background-size: contain; background-position: center; opacity: 0.65; pointer-events: none; z-index: 0; }
.testimonials-left .section-title { position: relative; z-index: 1; text-align: left; white-space: nowrap; font-size: clamp(26px, 2.6vw, 40px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; max-width: none; }
.tgrid { display: grid; grid-template-columns: 1fr; gap: 6px; max-width: 460px; justify-self: end; }
.tcard { border-radius: 14px; padding: 20px 24px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tcard:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.12); }
.tcard--pink   { background: var(--pink); }
.tcard--purple { background: var(--purple); }
.tcard--orange { background: #7D0084; }
.tcard-quote { font-size: 12px; color: rgba(255,255,255,0.9); line-height: 1.65; margin-bottom: 10px; font-style: italic; }
.tcard-author { font-size: 12px; font-weight: 700; color: #fff; }
.tcard-company { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 2px; }

/* ── STATS ── */
.stats-section { position: relative; padding: 200px 40px; overflow: hidden; }
.stats-section::before { content: ""; position: absolute; inset: 0; background-image: url("images/Over\ 40\ years\ in\ the\ details\ .png"); background-size: cover; background-position: top center; background-repeat: no-repeat; z-index: 0; }
.stats-section::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.50); z-index: 1; }
.stats-inner { max-width: 100%; padding: 0 60px; position: relative; z-index: 2; }
.stats-layout { display: grid; grid-template-columns: 220px 1fr; gap: 0; align-items: center; }
.stats-left { display: flex; flex-direction: column; gap: 48px; }
.stat-stack { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: 64px; font-weight: 800; color: var(--orange); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 400; }
.stats-right { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; padding-left: 55%; margin-top: -280px; }
.stats-right .section-title { color: #fff; font-size: clamp(32px, 3.2vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 28px 0; text-align: left; max-width: 500px; }
.stats-link { display: inline-flex; font-size: 14px; font-weight: 700; color: #fff; background: var(--pink); padding: 12px 22px; border-radius: 50px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.stats-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,33,110,0.35); }

/* ── CTA SECTION ── */
.cta-section { position: relative; padding: 80px 0; overflow: hidden; background: linear-gradient(to right, #5F0095 0%, #7D0084 25%, #5F0095 55%, #ffb000 85%, #ffb000 100%); }
.cta-inner { max-width: 100%; margin: 0; padding: 0 40px 0 32px; display: grid; grid-template-columns: 1.6fr 0.85fr 0.9fr; gap: 40px; position: relative; z-index: 2; align-items: end; }
.cta-left h2 { font-size: clamp(44px, 4.8vw, 76px); font-weight: 900; color: #fff; line-height: 1.05; letter-spacing: -0.03em; }
.cta-middle { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-middle p { font-size: 13px; color: #fff; font-weight: 600; line-height: 1.75; max-width: 260px; }
.cta-middle .btn-primary { background: #7D0084; border: none; color: #fff; font-size: 13px; font-weight: 700; padding: 12px 26px; border-radius: 999px; display: inline-block; transition: background 0.2s, transform 0.2s; white-space: nowrap; }
.cta-middle .btn-primary:hover { background: #5F0095; transform: translateY(-2px); }
.cta-social { display: flex; gap: 8px; margin-top: 2px; }
.cta-social a { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s, transform 0.2s; flex-shrink: 0; }
.cta-social a:hover { opacity: 0.85; transform: translateY(-2px); }
.cta-social svg { display: block; }
.cta-social .social-linkedin  { background: transparent; }
.cta-social .social-facebook  { background: transparent; }
.cta-social .social-instagram { background: transparent; }
.cta-social .social-tiktok    { background: transparent; }
.cta-right { display: flex; flex-direction: column; gap: 0; }
.cta-contact-details { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.cta-contact-details a { font-size: 13px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; display: block; }
.cta-contact-details a:hover { opacity: 0.75; }
.cta-address { font-size: 12px; line-height: 1.85; color: #fff; font-weight: 600; }
.cta-address-name { color: #fff; font-weight: 700; font-size: 12px; display: block; margin-bottom: 2px; }
.cta-reg { font-size: 11px; color: #fff; font-weight: 500; margin-top: 12px; line-height: 1.7; display: block; }

/* ── jeton-up ── */
.jeton-up { transform: translateY(60px); }

/* ── SCROLL ANIMATION legacy classes ── */
.reveal { }
.reveal-left { }
.reveal-right { }
.reveal-scale { opacity: 0; transform: scale(0.94); }
.reveal-scale.in { opacity: 1; transform: scale(1); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1); }

/* ── PAGE HERO ── */
.page-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%); }
.page-hero-content { position: relative; z-index: 2; padding: 0 64px 56px; width: 100%; }
.page-hero-content h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; color: #fff; line-height: 1; margin: 0; }

/* ── INTRO SECTION ── */
.intro-section { display: grid; grid-template-columns: 1fr 420px; gap: 0; padding: 72px 64px; max-width: 1280px; margin: 0 auto; align-items: start; }
.intro-text p { font-size: 1.05rem; line-height: 1.75; color: #333; margin-bottom: 20px; max-width: 560px; }
.intro-text p:last-of-type { margin-bottom: 32px; }
.btn-primary:focus { outline: 2px solid #7D0084; outline-offset: 3px; }
.intro-swirl { display: flex; align-items: center; justify-content: center; }
.intro-swirl img { width: 340px; height: 340px; object-fit: contain; }

/* ── TOOLKIT SECTION ── */
.toolkit-section { padding: 80px 64px; background: #fafafa; }
.toolkit-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.toolkit-label { display: block; font-size: 1.15rem; font-weight: 700; color: #5F0095; line-height: 1.2; }
.toolkit-title { font-size: 2.1rem; font-weight: 800; color: #1a1a2e; line-height: 1.2; margin: 4px 0 28px; }
.toolkit-dl-btn { display: inline-block; background: #7D0084; color: #fff; font-weight: 700; font-size: 0.85rem; padding: 13px 22px; border-radius: 999px; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.toolkit-dl-btn:hover { background: #5F0095; transform: translateY(-2px); }
.toolkit-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tk-product { display: flex; flex-direction: column; }
.tk-product-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.tk-product-logo img { height: 36px; width: auto; object-fit: contain; }
.tk-icons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.tk-icon-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.tk-icon-circle { width: 52px; height: 52px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; }
.tk-icon-circle svg { width: 22px; height: 22px; }
.tk-icon-label { font-size: 0.7rem; font-weight: 600; color: #444; line-height: 1.2; max-width: 60px; }
.tk-product--optimail .tk-icon-circle { color: #5F0095; border-color: #5F0095; }
.tk-product--mailhub .tk-icon-circle { color: #7D0084; border-color: #7D0084; }
.tk-product--directmail .tk-icon-circle { color: #5F0095; border-color: #5F0095; }
.tk-card { border-radius: 14px; padding: 18px 20px; color: #fff; font-size: 0.82rem; line-height: 1.55; }
.tk-card strong { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; }
.tk-card--purple { background: #5F0095; }
.tk-card--pink { background: #7D0084; }
.tk-card--orange { background: #5F0095; }

/* ── JOURNEY BAR ── */
.journey-bar { padding: 40px 64px; display: flex; justify-content: center; }
.journey-bar-inner { border: 2px solid #e0e0e0; border-radius: 999px; padding: 18px 48px; display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; font-size: 1rem; font-weight: 600; }
.journey-step { color: #1a1a2e; font-weight: 700; }
.journey-step--brief, .journey-step--data { color: #5F0095; }
.journey-step--audience, .journey-step--mailprep { color: #7D0084; }
.journey-step--fulfilment, .journey-step--delivery { color: #5F0095; }
.journey-arrow { color: #999; font-weight: 400; padding: 0 6px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-overlay-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  #nav { padding: 0 20px; height: 100px !important; }
  .nav-logo-img { height: 80px !important; }
  .nav-overlay-header { height: 100px; }
  .hero { padding-top: 100px; min-height: calc(100vh - 100px); }
  .hero-bottom.is-sticky { top: 100px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { padding: 0 24px 48px; justify-content: flex-end; }
  .hero-visual { display: none; }
  .hero-h1 { font-size: clamp(48px, 12vw, 72px) !important; }
  .hero-bottom { padding: 16px 24px; flex-wrap: wrap; gap: 10px; }
  .logos-bar { display: none; }
  .three-ways { padding: 64px 24px; }
  .three-ways-grid { grid-template-columns: 1fr; }
  .tw-sticky { padding: 40px 20px; }
  .sc-row { grid-template-columns: 1fr; min-height: auto; }
  .sc-brand { padding: 48px 24px; }
  .typo-inner { grid-template-columns: 1fr; gap: 48px; }
  .typo-section { padding: 64px 24px; }
  .tsp-cols { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: 40px; }
  .stats-section { padding: 64px 24px; }
  .testimonials-layout { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-left .section-title { white-space: normal; font-size: clamp(32px, 8vw, 48px); }
  .title-wrap::before { width: 320px; height: 320px; }
  .tgrid { justify-self: start; max-width: 100%; }
  .section { padding: 64px 24px; }
  .cta-section { padding: 64px 0; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .nav-overlay-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 36px 0 28px; }
  .page-hero-content { padding: 0 24px 40px; }
  .intro-section { grid-template-columns: 1fr; padding: 48px 24px; }
  .intro-swirl { display: none; }
  .toolkit-section { padding: 56px 24px; }
  .toolkit-inner { grid-template-columns: 1fr; gap: 40px; }
  .toolkit-products { grid-template-columns: 1fr; gap: 32px; }
  .journey-bar { padding: 32px 24px; }
  .journey-bar-inner { padding: 16px 24px; font-size: 0.85rem; }
}
