/* ============================================================
   Mailtronic — Shared Stylesheet
   Brand: #10426D (blue), #FF3A6F (pink), #1D1D23 (dark)
   Fonts: Roboto (headings), Open Sans (body)
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #1D1D23;
  background: #fff;
  overflow-x: hidden;
  padding-top: 72px; /* nav height */
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: 'Roboto', sans-serif; }

/* ── CSS Variables ── */
:root {
  --blue:       #10426D;
  --blue-light: #1A5A96;
  --blue-dark:  #0D3558;
  --pink:       #FF3A6F;
  --pink-dark:  #D42D5A;
  --dark:       #1D1D23;
  --light:      #F4F7FB;
  --mid:        #E8EEF5;
  --white:      #FFFFFF;
  --text-muted: #6B7280;
  --nav-h:      72px;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 16px rgba(16,66,109,.1);
  --shadow-lg:  0 12px 40px rgba(16,66,109,.15);
  --transition: all .22s ease;
}

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 32px; }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--pink);
  margin-bottom: 10px; display: block;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700; color: var(--blue); line-height: 1.2;
}
.section-title span { color: var(--pink); }
.section-title.white { color: #fff; }
.section-title.white span { color: var(--pink); }
.lead {
  font-size: 17px; line-height: 1.75; color: var(--text-muted);
  margin-top: 14px;
}
.lead.white { color: rgba(255,255,255,.75); }
.text-center { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: var(--transition); border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--pink); color: #fff; border-color: var(--pink); }
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,58,111,.3); }
.btn-secondary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16,66,109,.1);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 28px rgba(16,66,109,.12); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 24px; height: 24px; }
.logo-text { line-height: 1.15; }
.logo-text .brand {
  font-family: 'Roboto', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--blue); display: block;
}
.logo-text .brand em { color: var(--pink); font-style: normal; }
.logo-text .tagline {
  font-size: 9px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #999; display: block;
}

/* Nav menu */
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--dark);
  transition: var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a { color: var(--pink); background: rgba(255,58,111,.06); }
.nav-menu > li > a .arrow {
  width: 10px; height: 10px; transition: transform .2s;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; flex-shrink: 0;
}
.nav-menu > li:hover > a .arrow { transform: rotate(225deg); margin-top: 3px; }
.nav-cta-btn {
  background: var(--blue) !important; color: #fff !important;
  padding: 9px 20px !important; border-radius: 6px !important;
}
.nav-cta-btn:hover { background: var(--pink) !important; }

/* Dropdowns */
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  padding-top: 16px; /* visual gap without breaking hover */
  margin-top: 0;
  min-width: 220px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
/* Invisible bridge so mouse can travel from nav item to dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-menu > li:hover .dropdown,
.nav-menu > li:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--dark);
  transition: var(--transition);
}
.dropdown a:hover { background: var(--light); color: var(--pink); }
.dropdown a .dd-icon {
  width: 30px; height: 30px; border-radius: 6px;
  background: var(--light); display: flex; align-items: center;
  justify-content: center; font-size: 14px; flex-shrink: 0;
  transition: var(--transition);
}
.dropdown a:hover .dd-icon { background: rgba(255,58,111,.12); }
.dropdown-divider { border: none; border-top: 1px solid var(--mid); margin: 4px 0; }

/* Wide dropdown for Products */
.dropdown-wide {
  min-width: 480px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0; padding: 16px;
}
.dropdown-wide .dd-col { }
.dropdown-wide .dd-col-header {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--pink);
  padding: 0 10px 8px; display: block;
}
.dropdown-wide a {
  font-size: 13px;
}

/* Mobile hamburger — hidden on desktop */
.hamburger { display: none; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--blue);
  padding: 72px 0 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 28%; height: 100%;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}
/* Centred hero variant — no diagonal */
.page-hero--center { text-align: center; }
.page-hero--center .page-hero-content { width: 100%; max-width: 760px; margin: 0 auto; }
.page-hero--center::before { display: none; }
.page-hero-accent {
  position: absolute; bottom: -60px; right: 8%;
  width: 300px; height: 300px;
  background: var(--pink); border-radius: 50%; opacity: .07;
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; width: 62%; }
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.6);
  margin-bottom: 20px; flex-wrap: wrap;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.6); transition: var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--pink); }
.page-hero-breadcrumb span { color: rgba(255,255,255,.4); }
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900; color: #fff; line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 span { color: var(--pink); }
.page-hero .hero-desc {
  font-size: 17px; color: rgba(255,255,255,.78);
  line-height: 1.7; max-width: 560px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── TICKER ── */
.ticker { background: var(--pink); padding: 12px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker-item {
  white-space: nowrap; font-size: 12px; font-weight: 700;
  color: #fff; letter-spacing: 1px; padding: 0 36px;
}
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTION SPACING ── */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }
.section-dark { background: var(--blue); }
.section-light { background: var(--light); }
.section-white { background: #fff; }

/* ── CARD GRID ── */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--light);
  border: 1.5px solid var(--mid);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--pink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); background: #fff; border-color: var(--mid); }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px; background: var(--blue); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px; flex-shrink: 0;
}
.card h3 { font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--pink);
  margin-top: 16px; transition: var(--transition);
}
.card-link:hover { gap: 10px; }
.card-link::after { content: '→'; }

/* Product card */
.product-card {
  background: #fff;
  border: 1.5px solid var(--mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(16,66,109,.2); }
.product-card-img {
  height: 200px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--mid);
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.product-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }

/* ── WHY / USP LIST ── */
.usp-list { display: flex; flex-direction: column; gap: 18px; }
.usp-item { display: flex; align-items: flex-start; gap: 14px; }
.usp-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--pink); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.usp-check svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.usp-item h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.usp-item p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.55; }
.usp-item.dark h4 { color: var(--blue); }
.usp-item.dark p { color: var(--text-muted); }

/* ── STATS ROW ── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  font-family: 'Roboto', sans-serif; font-size: 48px; font-weight: 900;
  color: #fff; line-height: 1; display: block;
}
.stat-item .stat-num em { color: var(--pink); font-style: normal; }
.stat-item .stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 6px; display: block; }

/* ── INDUSTRY CHIPS ── */
.industry-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.industry-chip {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--mid);
  border-radius: 32px; padding: 11px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--blue);
  transition: var(--transition); cursor: default;
  text-decoration: none;
}
.industry-chip:hover { border-color: var(--pink); color: var(--pink); box-shadow: 0 4px 16px rgba(255,58,111,.1); transform: translateY(-2px); }
.industry-chip .chip-icon { font-size: 16px; }

/* ── TESTIMONIALS ── */
.testimonial-quote {
  background: var(--pink);
  padding: 56px 0;
}
.testimonial-quote blockquote {
  font-family: 'Roboto', sans-serif; font-size: clamp(17px, 2.5vw, 24px);
  font-weight: 300; color: #fff; font-style: italic; line-height: 1.6;
  text-align: center; max-width: 760px; margin: 0 auto;
}
.testimonial-quote cite {
  display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7);
  letter-spacing: 1.5px; text-transform: uppercase;
  text-align: center; margin-top: 20px; font-style: normal;
}

/* Testimonial cards */
.testimonial-card {
  background: var(--light);
  border: 1.5px solid var(--mid);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-card .org-name { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.testimonial-card .org-type { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.testimonial-card .view-letter {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--pink);
  background: rgba(255,58,111,.08);
  padding: 6px 14px; border-radius: 20px;
  transition: var(--transition);
}
.testimonial-card .view-letter:hover { background: var(--pink); color: #fff; }

/* ── CTA BANNER ── */
.cta-banner { padding: 80px 0; background: var(--light); }
.cta-inner {
  background: var(--blue);
  border-radius: 20px; padding: 60px 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  background: rgba(255,58,111,.12); border-radius: 50%;
}
.cta-inner::after {
  content: ''; position: absolute; left: -40px; bottom: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04); border-radius: 50%;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.cta-text p { font-size: 15px; color: rgba(255,255,255,.72); }
.cta-btns { display: flex; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  border-top: 3px solid var(--pink);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 60px 0 44px;
}
.footer-brand .brand-name {
  font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 700;
  color: #fff; display: block; margin-bottom: 4px;
}
.footer-brand .brand-name em { color: var(--pink); font-style: normal; }
.footer-brand .brand-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.4); }
.footer-brand p { font-size: 13.5px; line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-bee {
  display: inline-block; margin-top: 16px;
  background: rgba(255,58,111,.15); border: 1px solid rgba(255,58,111,.25);
  color: #FF8FAD; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #fff; margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col a:hover { color: var(--pink); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 8px;
}
.footer-bar a { color: var(--pink); }

/* ── TWO-COL SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse { }

/* ── TAGS ── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  background: var(--mid); color: var(--blue);
  padding: 5px 12px; border-radius: 20px;
}
.tag.pink { background: rgba(255,58,111,.1); color: var(--pink); }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ── ICON LIST ── */
.icon-list { display: flex; flex-direction: column; gap: 12px; }
.icon-list-item { display: flex; align-items: flex-start; gap: 12px; }
.icon-list-item .il-icon {
  width: 36px; height: 36px; background: var(--light);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 16px; flex-shrink: 0;
}
.icon-list-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; padding-top: 7px; }

/* ── SEO META BOX (hidden, for reference) ── */
.seo-hidden { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 900px) {
  body { padding-top: 64px; }
  :root { --nav-h: 64px; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; padding: 40px 32px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  .container, .container-sm { padding: 0 20px; }
  .card-grid-3, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 40px; }
  .page-hero-content { width: 100%; max-width: 100%; }
  .page-hero::before { display: none; }
}
