/* ==========================================================================
   CNV Logic Systems — shared design system
   Premium-minimal (Stripe/Linear-inspired): restrained color, generous
   whitespace, large clean type, soft shadows, CSS-built product mockups.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand-blue: #1a73e8;
  --brand-blue-dark: #0d3f7a;
  --brand-blue-100: rgba(26,115,232,.08);
  --brand-green: #2e9e46;
  --brand-green-dark: #1f7534;
  --brand-green-100: rgba(46,158,70,.08);
  --brand-orange: #f4720b;
  --brand-orange-100: rgba(244,114,11,.1);

  --ink: #14181f;
  --ink-soft: #5b6472;
  --ink-faint: #93a0ad;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft-2: #eef2f7;
  --border: #e7ebf1;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(20,30,50,.05);
  --shadow: 0 8px 30px rgba(20,30,50,.07);
  --shadow-lg: 0 24px 60px rgba(20,30,50,.14);
  --tricolor: linear-gradient(90deg, var(--brand-orange), var(--brand-green), var(--brand-blue));

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.wireframe-tag { background: #10151d; color: #cfd8e3; text-align: center; font-size: 12.5px; padding: 7px 12px; letter-spacing: .02em; }

/* ---------- brand strip ---------- */
.brand-strip { height: 3px; background: var(--tricolor); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; cursor: pointer; border: none; transition: all .15s ease; white-space: nowrap; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-accent { background: var(--brand-orange); color: #fff; }
.btn-accent:hover { background: #d9640a; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-text { color: var(--brand-blue); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.btn-text:hover { gap: 9px; }
.btn-block { width: 100%; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); white-space: nowrap; }
.logo-mark { display: flex; }
.logo-mark span { width: 13px; height: 22px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 3px; margin-right: 2px; }
.logo-mark span:nth-child(1) { background: var(--brand-orange); }
.logo-mark span:nth-child(2) { background: var(--brand-green); }
.logo-mark span:nth-child(3) { background: var(--brand-blue); margin-right: 0; }
.logo .lname .sub { display: block; font-size: 10px; font-weight: 500; color: var(--ink-faint); letter-spacing: .03em; }
.nav-links { display: flex; gap: 2px; font-size: 14.5px; font-weight: 500; color: var(--ink); align-items: center; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > span { padding: 10px 14px; display: flex; align-items: center; gap: 4px; border-radius: 7px; cursor: pointer; }
.nav-item > a:hover, .nav-item:hover > span { background: var(--bg-soft); }
.nav-item.active > a { color: var(--brand-blue); }
.caret { font-size: 9px; opacity: .6; }
.dropdown-panel { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 10px; margin-top: 8px; min-width: 300px; border: 1px solid var(--border); }
.nav-item:hover .dropdown-panel { display: block; }
.dropdown-item { display: flex; gap: 12px; padding: 10px; border-radius: var(--radius-sm); align-items: flex-start; }
.dropdown-item:hover { background: var(--bg-soft); }
.dropdown-item .d-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--bg-soft-2); }
.dropdown-item .d-text h6 { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; }
.dropdown-item .d-text p { margin: 0; font-size: 12px; color: var(--ink-soft); font-weight: 400; }
.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-toggle { display: none; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brand-blue); }
.page-hero .eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 20px; }
.page-hero .eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--brand-blue)); }
.page-hero h1 { font-size: 44px; line-height: 1.15; max-width: 720px; margin-bottom: 18px; }
.page-hero p.lead { font-size: 18px; color: var(--ink-soft); max-width: 600px; margin-bottom: 28px; }
.page-hero .hero-ctas { display: flex; gap: 14px; }

/* ---------- hero switch (home) ---------- */
.hero-switch { display: flex; gap: 4px; background: var(--bg-soft-2); border-radius: 24px; padding: 4px; width: fit-content; margin-bottom: 28px; }
.hero-switch button { border: none; background: transparent; padding: 8px 16px; border-radius: 20px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.hero-switch button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.hero-panel { display: none; }
.hero-panel.active { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- home hero ---------- */
.home-hero { padding: 76px 0 40px; position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(26,115,232,.08), transparent 60%), radial-gradient(900px 400px at 5% 110%, rgba(46,158,70,.07), transparent 60%); }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 24px; }
.hero-eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--brand-blue)); }
.home-hero h1 { font-size: 54px; line-height: 1.1; margin-bottom: 22px; }
.home-hero h1 .accent { color: var(--brand-blue); }
.home-hero p.sub { font-size: 18.5px; color: var(--ink-soft); max-width: 480px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 36px; }
.hero-trustline { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; }
.hero-trustline span { display: flex; align-items: center; gap: 6px; }
.hero-trustline .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); }

/* --- mockup visual (CSS-built product screenshot) --- */
.mock-stack { position: relative; height: 460px; }
.mock-card { position: absolute; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; transition: opacity .5s ease, transform .5s ease; }
.mock-card.back { width: 84%; height: 380px; top: 44px; left: 8%; opacity: .55; transform: rotate(-4deg); z-index: 1; background: var(--bg-soft-2); }
.mock-card.front { width: 92%; height: 420px; top: 10px; left: 4%; z-index: 2; }
.mock-topbar { height: 38px; background: var(--bg-soft); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.mock-topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.mock-body { position: relative; height: calc(100% - 38px); background: linear-gradient(160deg, #eef3fb 0%, #f4f8ee 100%); }
.mock-route { position: absolute; inset: 0; }
.mock-pin { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.mock-pin.blue { background: var(--brand-blue); }
.mock-pin.green { background: var(--brand-green); }
.mock-pin.orange { background: var(--brand-orange); }
.mock-sidebar { position: absolute; top: 0; left: 0; bottom: 0; width: 34%; background: rgba(255,255,255,.85); border-right: 1px solid var(--border); padding: 14px 12px; }
.mock-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; margin-bottom: 6px; background: #fff; box-shadow: var(--shadow-sm); }
.mock-row .swatch { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; }
.mock-row .lines { flex: 1; }
.mock-row .lines .l1 { height: 7px; width: 70%; background: var(--bg-soft-2); border-radius: 4px; margin-bottom: 4px; }
.mock-row .lines .l2 { height: 6px; width: 45%; background: var(--bg-soft-2); border-radius: 4px; }
.mock-notif { position: absolute; right: 18px; bottom: 18px; background: #fff; box-shadow: var(--shadow); border-radius: 12px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; max-width: 230px; border: 1px solid var(--border); }
.mock-notif .ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mock-notif .txt h6 { font-size: 12.5px; margin: 0 0 2px; }
.mock-notif .txt p { font-size: 11px; color: var(--ink-soft); margin: 0; }

/* ---------- generic tab switch (used on inner pages) ---------- */
.tab-switch { display: flex; gap: 4px; background: var(--bg-soft-2); border-radius: 24px; padding: 4px; width: fit-content; margin: 0 auto 40px; flex-wrap: wrap; justify-content: center; }
.tab-switch button { border: none; background: transparent; padding: 9px 18px; border-radius: 20px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.tab-switch button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadein .35s ease; }

/* ---------- stats ---------- */
.stats-strip { background: #fff; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 30px 12px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: none; }
.stat .num { font-size: 28px; font-weight: 800; }
.stat .lbl { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }
.section-eyebrow { text-align: center; color: var(--brand-blue); font-weight: 700; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { text-align: center; font-size: 34px; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 16px; max-width: 580px; margin: 0 auto 52px; }
.left .section-eyebrow, .left .section-title, .left .section-sub { text-align: left; margin-left: 0; }

/* ---------- grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card .icon-badge { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--brand-blue-100); }
.feature-card.green .icon-badge { background: var(--brand-green-100); }
.feature-card.orange .icon-badge { background: var(--brand-orange-100); }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; }

.audience-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.audience-tab { padding: 10px 20px; border-radius: 24px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--ink-soft); background: #fff; cursor: pointer; }
.audience-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.check-list li svg { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; color: var(--brand-green); }

.mini-shot { border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(160deg, #eef3fb 0%, #f4f8ee 100%); height: 220px; position: relative; overflow: hidden; margin-bottom: 20px; }

/* ---------- pricing ---------- */
.billing-toggle { display: flex; justify-content: center; gap: 4px; background: var(--bg-soft-2); border-radius: 24px; padding: 4px; width: fit-content; margin: 0 auto 48px; }
.billing-toggle button { border: none; background: transparent; padding: 9px 20px; border-radius: 20px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.billing-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 28px; position: relative; }
.price-card.featured { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.price-card .badge { position: absolute; top: -12px; left: 28px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.price-card h3 { font-size: 19px; margin-bottom: 6px; }
.price-card .price { font-size: 34px; font-weight: 800; margin: 14px 0 4px; }
.price-card .price .unit { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.price-card .price-note { font-size: 13px; color: var(--ink-faint); margin-bottom: 22px; }
.price-card .check-list { margin-bottom: 26px; }
.price-card .check-list li { font-size: 13.5px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--ink); border-radius: var(--radius-lg); padding: 56px 48px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h3 { font-size: 26px; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.7); font-size: 15px; max-width: 460px; }
.cta-banner .btn-accent { background: var(--brand-orange); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand-blue); }
.form-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; }

/* ---------- contact info cards ---------- */
.contact-info-card { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; }
.contact-info-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-blue-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card h6 { font-size: 14px; margin-bottom: 3px; }
.contact-info-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: #0e131a; color: #9aa6b2; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.footer-col h5 { color: #fff; font-size: 13.5px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col p, .footer-col a { font-size: 13.5px; color: #9aa6b2; display: block; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #232a33; padding-top: 22px; font-size: 12.5px; text-align: center; color: #6b7684; }

/* ---------- product status badges ---------- */
.live-badge { font-size: 10px; font-weight: 800; letter-spacing: .3px; color: var(--brand-green-dark); background: var(--brand-green-100); padding: 2px 8px; border-radius: 999px; text-transform: uppercase; vertical-align: middle; }
.soon-badge { font-size: 10px; font-weight: 800; letter-spacing: .3px; color: var(--ink-faint); background: var(--bg-soft-2); padding: 2px 8px; border-radius: 999px; text-transform: uppercase; vertical-align: middle; }

/* ---------- misc ---------- */
.tag-pill { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; margin-bottom: 16px; }
.tag-pill.blue { background: var(--brand-blue-100); color: var(--brand-blue); }
.tag-pill.green { background: var(--brand-green-100); color: var(--brand-green-dark); }
.tag-pill.orange { background: var(--brand-orange-100); color: var(--brand-orange); }
.divider { height: 1px; background: var(--border); margin: 64px 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .mock-stack { height: 340px; margin-top: 20px; }
  .nav-links, .nav-cta .btn-outline-nav { display: none; }
  .home-hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 32px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
}
