/* SNVoip Design System — RingCentral-class B2B */
:root {
  --navy: #0a1f3d;
  --navy-700: #142b54;
  --navy-50: #f4f7fb;
  --red: #e94560;
  --red-700: #c9314c;
  --ink: #1a2436;
  --slate: #5a6478;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --green: #10b981;
  --amber: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(10,31,61,.06);
  --shadow: 0 8px 24px rgba(10,31,61,.08);
  --shadow-lg: 0 20px 50px rgba(10,31,61,.14);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--slate); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #c7d2e3; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; }
.brand-mark { width: 32px; height: 32px; background: var(--navy); color: #fff; border-radius: 8px; display: grid; place-items: center; font-size: 1rem; }
.brand-mark .dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-left: 2px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--red); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { background: none; border: none; cursor: pointer; font: inherit; color: var(--ink); display: flex; align-items: center; gap: 4px; font-weight: 500; }
.nav-dropdown-menu { position: absolute; top: 100%; left: -16px; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: .92rem; }
.nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--red); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px 0; transition: .25s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s;
  font-family: inherit; text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 4px 12px rgba(233,69,96,.3); }
.btn-primary:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(233,69,96,.4); }
.btn-secondary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); color: var(--navy); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #142b54 60%, #1a3768 100%);
  color: #fff; padding: 96px 0 80px;
}
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(233,69,96,.18), transparent 40%), radial-gradient(circle at 80% 70%, rgba(80,140,255,.12), transparent 40%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--red); }
.hero p.lede { color: #c7d2e3; font-size: 1.15rem; max-width: 540px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; color: #9aa9c4; font-size: .9rem; }
.hero-trust strong { color: #fff; }
.hero-visual { position: relative; }

/* ===== Trust strip — base styles, marquee in motion.css ===== */
.trust-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; align-items: center; }
.trust-logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: #94a3b8; text-align: center; font-size: 1.05rem; letter-spacing: .02em; opacity: .85; transition: opacity .2s; }
.trust-logo:hover { opacity: 1; color: var(--navy); }

/* ===== Cards ===== */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: all .25s; }
.card:hover { border-color: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.icon-pill { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px; }
.icon-pill.red { background: linear-gradient(135deg, var(--red) 0%, var(--red-700) 100%); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; transition: all .25s; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.popular { border-color: var(--red); border-width: 2px; box-shadow: 0 12px 30px rgba(233,69,96,.12); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.price-card h3 { font-size: 1.3rem; }
.price-tag { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 6px; }
.price-tag .amount { font-size: 3rem; font-weight: 800; color: var(--navy); font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1; }
.price-tag .per { color: var(--slate); font-size: .9rem; }
.price-tag .currency { font-size: 1.3rem; color: var(--navy); font-weight: 700; }
.price-sub { color: var(--slate); font-size: .9rem; margin-bottom: 20px; }
.price-features { list-style: none; margin: 20px 0 28px; flex-grow: 1; }
.price-features li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--ink); font-size: .94rem; }
.price-features li::before { content: '✓'; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 700; width: 20px; height: 20px; background: #e8fbf2; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }

/* ===== Forms ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10,31,61,.08); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Radio cards */
.choice-grid { display: grid; gap: 12px; }
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.choice-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.choice {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--line); border-radius: 12px;
  cursor: pointer; background: #fff; transition: all .15s;
}
.choice:hover { border-color: var(--navy); }
.choice input { accent-color: var(--red); width: 18px; height: 18px; }
.choice.is-selected { border-color: var(--red); background: #fff5f7; box-shadow: 0 0 0 3px rgba(233,69,96,.12); }
.choice-label { font-weight: 600; color: var(--navy); }
.choice-desc { display: block; font-size: .82rem; color: var(--slate); font-weight: 400; margin-top: 2px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: #c7d2e3; padding: 64px 0 32px; margin-top: 80px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer ul { list-style: none; }
.site-footer ul li { padding: 6px 0; }
.site-footer ul a { color: #9aa9c4; font-size: .92rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: .85rem; color: #7d8aa3; flex-wrap: wrap; gap: 12px; }
.footer-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #fff; font-size: 1.4rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-tag { color: #9aa9c4; font-size: .92rem; max-width: 320px; margin-bottom: 16px; }

/* ===== Stepper ===== */
.stepper { display: flex; justify-content: space-between; margin-bottom: 40px; counter-reset: step; position: relative; }
.stepper::before { content: ''; position: absolute; top: 18px; left: 8%; right: 8%; height: 2px; background: var(--line); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; flex: 1; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--slate); font-weight: 700; display: grid; place-items: center; margin: 0 auto 8px; transition: all .25s; }
.step.is-active .step-num { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(233,69,96,.15); }
.step.is-done .step-num { background: var(--navy); border-color: var(--navy); color: #fff; }
.step-label { font-size: .82rem; font-weight: 600; color: var(--slate); }
.step.is-active .step-label { color: var(--navy); }

/* ===== Badges + tags ===== */
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--red); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: .8rem; font-weight: 600; background: #fff5f7; color: var(--red); border: 1px solid #ffd9e0; }
.badge-green { background: #e8fbf2; color: var(--green); border-color: #b7f0d2; }
.badge-amber { background: #fef6e3; color: var(--amber); border-color: #fde0a3; }
.badge-navy { background: #eef2f9; color: var(--navy); border-color: #d4dcec; }
.tag-status { padding: 4px 10px; border-radius: 6px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tag-status.new { background: #fff5f7; color: var(--red); }
.tag-status.contacted { background: #fef6e3; color: var(--amber); }
.tag-status.closed-won, .tag-status.qualified { background: #e8fbf2; color: var(--green); }

/* ===== Misc ===== */
.divider { height: 1px; background: var(--line); margin: 24px 0; border: none; }
.text-center { text-align: center; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 1.1rem; }
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; padding: 64px 0; text-align: center; border-radius: 24px; margin: 80px 24px; max-width: calc(var(--maxw) - 48px); margin-left: auto; margin-right: auto; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #c7d2e3; margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr; }
  .form-row, .choice-grid.cols-2, .choice-grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; gap: 8px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a, .nav-dropdown { width: 100%; padding: 8px 0; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; }
  .hamburger { display: block; }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .section { padding: 56px 0; }
  .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hero { padding: 64px 0 48px; }
}
