/* =============================================================
   PLATBASE TECHNOLOGIES — MASTER STYLESHEET
   Design: Navy #1B3A6B / Forest Green #1B5E3B / White
   Inspired by Linear · Stripe · Razorpay
   ============================================================= */

/* ── Design Tokens ───────────────────────────────────────────── */
:root {
  --navy:         #1B3A6B;
  --navy-dark:    #142d54;
  --navy-light:   #2a5298;
  --green:        #1B5E3B;
  --green-dark:   #144d2f;
  --green-mid:    #236b43;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-muted:   #6B7280;
  --text-light:   #9CA3AF;
  --gray-bg:      #F8F8F8;
  --gray-border:  #E5E7EB;
  --radius:       12px;
  --radius-sm:    8px;
  --radius-xs:    6px;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg:    0 16px 60px rgba(0,0,0,0.12);
  --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }


body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ── Typography ─────────────────────────────────────────────── */
h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.75; }

/* ── Layout ──────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

.section-gray  { background: var(--gray-bg); }
.section-navy  { background: var(--navy); }
.section-green { background: var(--green); }

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4 { color: var(--white); }
.section-navy p   { color: rgba(255,255,255,0.72); }

.section-green h1,
.section-green h2,
.section-green h3 { color: var(--white); }
.section-green p   { color: rgba(255,255,255,0.82); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header p {
  font-size: 1.05rem;
  max-width: 540px;
  margin: 18px auto 0;
}

/* ── Badges / Tags ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(27, 58, 107, 0.08);
  color: var(--navy);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tag-green {
  background: rgba(27, 94, 59, 0.1);
  color: var(--green);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 94, 59, 0.32);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 58, 107, 0.22);
}

.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-white:hover {
  background: #f0faf4;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-green-dark {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-green-dark:hover {
  background: #0f3d22;
  transform: translateY(-2px);
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--gray-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.navbar-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar-logo .dot { color: var(--green); }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--navy);
  background: rgba(27, 58, 107, 0.07);
}

.navbar-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.navbar-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(27,94,59,0.28) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--white);
  padding: 12px 20px 24px;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  z-index: 990;
  animation: slideDown 0.2s ease;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu ul a {
  display: block;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.mobile-menu ul a:hover { background: var(--gray-bg); }
.mobile-menu .mobile-cta {
  display: block;
  margin-top: 12px;
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition);
}
.mobile-menu .mobile-cta:hover { background: var(--green-dark); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero — Homepage ─────────────────────────────────────────── */
.hero {
  padding-top: 96px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-dot-pattern {
  position: absolute !important;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(27,58,107,0.09) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-1 {
  position: absolute !important;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,94,59,0.06) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
  z-index: 0;
}
.hero-glow-2 {
  position: absolute !important;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,58,107,0.06) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  pointer-events: none;
  z-index: 0;
}
/* Lift real content above the absolute decorative layers */
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(27,94,59,0.09);
  color: var(--green);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 { max-width: 820px; margin: 0 auto 24px; }
.hero h1 .line2 { color: var(--navy); }

.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 44px;
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Product Hero (Batchly / Setup pages) ────────────────────── */
.product-hero {
  padding-top: 96px;
  padding-bottom: 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.product-hero-green {
  background: linear-gradient(160deg,
    rgba(27,94,59,0.06) 0%,
    rgba(255,255,255,1) 55%);
}
.product-hero-navy {
  background: linear-gradient(160deg,
    rgba(27,58,107,0.05) 0%,
    rgba(255,255,255,1) 55%);
}
.product-hero h1 { max-width: 740px; margin: 0 auto 22px; }
.product-hero .hero-sub { margin-bottom: 40px; }
.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(27,94,59,0.07);
  border: 1px solid rgba(27,94,59,0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 28px;
}

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-green-accent { border-left: 4px solid var(--green); }
.card-navy-accent  { border-left: 4px solid var(--navy); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 24px;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 10px; color: var(--green-dark); }
.card-navy-accent .card-link { color: var(--navy); }
.card-navy-accent .card-link:hover { color: var(--navy-dark); }

.card h3 { margin-bottom: 12px; }
.card p  { font-size: 0.95rem; }

/* ── Two / Three column layouts ──────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Stat Section ────────────────────────────────────────────── */
.stat-section {
  background: var(--gray-bg);
  text-align: center;
}
.stat-body {
  max-width: 620px;
  margin: 0 auto;
}
.stat-pre {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text);
  font-weight: 400;
  margin-bottom: 8px;
}
.stat-number {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  margin: 16px 0;
}
.stat-post {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 24px;
}
.stat-coda {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-container::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--navy));
  opacity: 0.18;
  pointer-events: none;
}
.step {
  text-align: center;
  padding: 0 28px 16px;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step:first-child .step-num { background: var(--green); }
.step-icon { font-size: 1.6rem; margin-bottom: 12px; }
.step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step p { font-size: 0.875rem; }

/* ── Quote Cards ─────────────────────────────────────────────── */
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.quote-mark {
  font-size: 4rem;
  color: rgba(27,94,59,0.15);
  font-family: Georgia, serif;
  line-height: 0.8;
  margin-bottom: 12px;
  display: block;
}
.quote-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
}

/* ── WhatsApp Phone Preview ──────────────────────────────────── */
.wa-preview-wrap {
  display: flex;
  align-items: center;
  gap: 64px;
}
.wa-phone {
  flex-shrink: 0;
  width: 290px;
  background: #E2DDD5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wa-phone-header {
  background: #128C7E;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-back-icon {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}
.wa-avatar-circle {
  width: 40px; height: 40px;
  background: #075E54;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.wa-contact-info { flex: 1; }
.wa-contact-name {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}
.wa-contact-status {
  color: rgba(255,255,255,0.72);
  font-size: 0.72rem;
}
.wa-time-header {
  text-align: center;
  padding: 12px 0 4px;
  font-size: 0.7rem;
  color: rgba(0,0,0,0.4);
}
.wa-messages { padding: 4px 12px 20px; }
.wa-bubble {
  background: #DCF8C6;
  border-radius: 12px 12px 4px 12px;
  padding: 12px 14px 8px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #111;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  max-width: 95%;
  margin-left: auto;
}
.wa-bubble-time {
  font-size: 0.65rem;
  color: rgba(0,0,0,0.38);
  text-align: right;
  margin-top: 6px;
}
.wa-preview-text { flex: 1; }
.wa-preview-text h3 { margin-bottom: 16px; }
.wa-preview-text ul {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa-preview-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.wa-check {
  width: 20px; height: 20px;
  background: rgba(27,94,59,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 8px 48px rgba(27,94,59,0.16);
}
.pricing-popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.pricing-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price .period {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-border);
  min-height: 40px;
}
.pricing-features {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
}
.pricing-features li .check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features .add-on {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
}
.pricing-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ── Integrations ────────────────────────────────────────────── */
.integrations {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.integration-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.integration-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #d0d0d0;
}
.integration-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.integration-label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.integration-sublabel { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ── Waitlist / CTA form section ─────────────────────────────── */
.waitlist-section {
  background: var(--green);
}
.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.waitlist-copy h2 { color: var(--white); }
.waitlist-copy p { color: rgba(255,255,255,0.82); font-size: 1.02rem; margin-top: 16px; }

/* ── Services Grid ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid var(--gray-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(27,58,107,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}
.service-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.82rem; line-height: 1.6; }

/* ── Pricing (Setup page) ────────────────────────────────────── */
.setup-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}
.setup-price-card {
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.setup-price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.setup-price-card.featured { border-color: var(--navy); }
.setup-price-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.setup-price-amount {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.setup-price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.setup-price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Timeline ────────────────────────────────────────────────── */
.timeline {
  display: flex;
  position: relative;
  padding-top: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--green), var(--navy));
  z-index: 0;
}
.timeline-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  width: 18px; height: 18px;
  background: var(--navy);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--navy);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.timeline-item:first-child .timeline-dot { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-item:last-child  .timeline-dot { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-day {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.timeline-item h4 { font-size: 0.9rem; margin-bottom: 6px; }
.timeline-item p  { font-size: 0.78rem; line-height: 1.5; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }

/* Light form variant (on green background) */
.form-control-light {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.form-control-light::placeholder { color: rgba(255,255,255,0.55); }
.form-control-light:focus {
  border-color: rgba(255,255,255,0.8);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.18);
}
.form-label-light { color: rgba(255,255,255,0.9); }

/* ── intl-tel-input overrides (waitlist dark form) ───────────── */
/* Make the wrapper fill the form column */
.iti { width: 100%; }

/* Match the flag button to our dark input style */
.iti--separate-dial-code .iti__selected-flag,
.iti__selected-flag {
  background: transparent;
  border-right: 1px solid rgba(255,255,255,0.25);
  padding: 0 10px;
}
.iti__selected-flag:hover,
.iti__selected-flag:focus {
  background: rgba(255,255,255,0.1);
}

/* Dropdown list */
.iti__country-list {
  background: #1b3a6b;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  max-height: 220px;
}
.iti__country-list .iti__country:hover,
.iti__country-list .iti__country.iti__highlight {
  background: rgba(255,255,255,0.12);
}
.iti__search-input {
  background: rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 100%;
  padding: 8px 12px;
  font-size: 0.875rem;
}
.iti__search-input::placeholder { color: rgba(255,255,255,0.5); }
.iti__dial-code { color: rgba(255,255,255,0.7); }

.form-success {
  background: rgba(27,94,59,0.08);
  border: 1.5px solid rgba(27,94,59,0.2);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  color: var(--green);
  font-weight: 500;
  display: none;
  font-size: 0.95rem;
  line-height: 1.6;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 2rem; margin-bottom: 10px; }

/* ── Contact Page ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-info-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.ci-navy  { background: rgba(27,58,107,0.09); }
.ci-green { background: rgba(27,94,59,0.09); }
.ci-wa    { background: rgba(37,211,102,0.1); }
.contact-info-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-info-value { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.contact-info-value a { color: var(--navy); transition: color var(--transition); }
.contact-info-value a:hover { color: var(--green); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.footer-brand-logo .dot { color: #52d47a; }
.footer-brand-tagline {
  color: rgba(255,255,255,0.58);
  font-size: 0.88rem;
  line-height: 1.65;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: rgba(255,255,255,0.38);
  font-size: 0.82rem;
}

/* ── WhatsApp Float ──────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  z-index: 800;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: waPulse 3.5s ease infinite;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37,211,102,0.55);
  animation: none;
}
.wa-float svg { width: 30px; height: 30px; fill: white; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,0.65); }
}

/* ── Scroll Animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }

/* ── Utility ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-green  { color: var(--green); }
.mt-2  { margin-top: 8px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.divider {
  height: 1px;
  background: var(--gray-border);
  margin: 32px 0;
}

/* ── Logo images ─────────────────────────────────────────────── */
.navbar-logo-img {
  height: 68px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Tighten nav height slightly when showing real logo */
.navbar-inner { align-items: center; }

.footer-logo-wrap {
  display: inline-block;
  background: rgba(255,255,255,0.97);
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.batchly-hero-logo {
  width: 112px;
  height: 112px;
  border-radius: 22px;
  object-fit: cover;
  margin: 0 auto 28px;
  display: block;
  box-shadow: 0 10px 40px rgba(27, 94, 59, 0.25);
}

.product-card-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 18px;
  display: block;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .wa-preview-wrap { flex-direction: column; align-items: center; text-align: center; }
  .wa-preview-text ul li { justify-content: center; }
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .waitlist-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .navbar-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding-top: 88px; padding-bottom: 72px; }
  .product-hero { padding-top: 88px; padding-bottom: 64px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  .steps-container { grid-template-columns: 1fr; gap: 32px; }
  .steps-container::after { display: none; }
  .step { padding: 0; }

  .timeline {
    flex-direction: column;
    gap: 0;
    padding-left: 40px;
  }
  .timeline::before {
    top: 9px; bottom: 9px;
    left: 8px; right: auto;
    width: 2px; height: auto;
  }
  .timeline-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
  }
  .timeline-item:last-child { padding-bottom: 0; }
  .timeline-dot { margin: 0; flex-shrink: 0; position: relative; left: -49px; }
  .timeline-content { margin-left: -20px; }
  .timeline-day, .timeline-item h4, .timeline-item p { text-align: left; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .setup-pricing-grid { grid-template-columns: 1fr; max-width: 380px; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
}
