/* =========================================================
   NEXO — "One platform. Every business."
   Brand: deep navy + teal-emerald, diagonal-cut hero (from the
   real flyer artwork), chevron "N" mark repeated as the one
   signature motif throughout.
   ========================================================= */
:root {
  --navy: #13294B;
  --navy-deep: #0C1D38;
  --navy-soft: #1E3A63;
  --teal: #16A990;
  --teal-deep: #0E7C6B;
  --teal-tint: #E4F5F1;
  --paper: #F7F9F9;
  --white: #FFFFFF;
  --line: #E1E7E6;
  --text: #13294B;
  --muted: #5C6B74;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--paper); color: var(--text); line-height: 1.5; }
h1, h2, h3, .brand-word { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin: 0; }
a { color: var(--teal-deep); text-decoration: none; }
p { margin: 0; }

/* ---- Logo mark: two overlapping chevrons forming an N ---- */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; position: relative; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text .word { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; color: var(--navy); }
.logo-text .tag { font-family: var(--font-body); font-size: 8px; font-weight: 700; letter-spacing: 0.12em; color: var(--teal-deep); text-transform: uppercase; }
.logo.on-dark .word { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 7px; font-family: var(--font-body); font-weight: 600; font-size: 14px; padding: 12px 22px; cursor: pointer; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-ghost-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--paper); }
.btn-block { width: 100%; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px 6vw; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.nav-item { color: var(--navy); font-size: 14px; font-weight: 500; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---- Hero (diagonal split, matching the real flyer) ---- */
.hero { position: relative; background: var(--white); overflow: hidden; padding: 56px 6vw 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: center; min-height: 560px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 60px; }
.hero-copy .eyebrow { color: var(--teal-deep); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.hero-copy h1 { font-size: 40px; line-height: 1.15; margin-bottom: 16px; max-width: 520px; }
.hero-copy h1 .accent { color: var(--teal); }
.hero-copy p.lead { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 460px; margin-bottom: 20px; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 8px; }
.check-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.check-list svg { flex-shrink: 0; }
.hero-cta { display: flex; gap: 12px; }

.hero-visual { position: relative; z-index: 2; padding-bottom: 40px; }
.diagonal-photo { position: absolute; top: 0; right: -6vw; bottom: -40px; left: 46%; background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%); z-index: 1; }

/* Dashboard mockup (laptop) */
.device-stack { position: relative; z-index: 2; }
.laptop { background: #fff; border-radius: 10px; box-shadow: 0 30px 70px rgba(12,29,56,0.35); overflow: hidden; border: 1px solid var(--line); }
.laptop .screen-bar { background: var(--navy); padding: 8px 14px; display: flex; align-items: center; gap: 6px; }
.laptop .screen-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.laptop-body { display: grid; grid-template-columns: 100px 1fr; min-height: 260px; }
.mini-sidebar { background: var(--navy); padding: 12px 8px; }
.mini-sidebar .mini-link { font-size: 8.5px; color: #B9C6D6; padding: 6px 8px; border-radius: 4px; margin-bottom: 2px; }
.mini-sidebar .mini-link.active { background: var(--teal); color: #fff; font-weight: 600; }
.mini-main { padding: 14px 16px; }
.mini-main .mini-h { font-size: 10px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.mini-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-bottom: 12px; }
.mini-stat { background: var(--paper); border-radius: 5px; padding: 6px 7px; }
.mini-stat .l { font-size: 6.5px; color: var(--muted); text-transform: uppercase; }
.mini-stat .v { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--navy); }
.mini-stat .d { font-size: 6.5px; color: var(--teal-deep); }
.mini-chart { background: var(--paper); border-radius: 5px; height: 70px; padding: 6px; }

.phone-float { position: absolute; right: -18px; bottom: -30px; width: 120px; background: #fff; border: 4px solid var(--navy); border-radius: 20px; box-shadow: 0 20px 50px rgba(12,29,56,0.4); padding: 10px 8px; z-index: 3; }
.phone-float .check-circle { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; margin: 0 auto 6px; }
.phone-float .amt { text-align: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--navy); }
.phone-float .lbl { text-align: center; font-size: 7px; color: var(--muted); margin-bottom: 4px; }

.trial-badge { position: absolute; left: -20px; bottom: 30px; z-index: 4; width: 108px; height: 108px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 16px 40px rgba(22,169,144,0.45); }
.trial-badge .big { font-family: var(--font-display); font-size: 13px; font-weight: 700; line-height: 1.15; }
.trial-badge .small { font-size: 7.5px; margin-top: 3px; opacity: 0.9; }

.trust-bar { background: var(--navy-deep); padding: 16px 6vw; display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.trust-bar .t-item { text-align: center; }
.trust-bar .t-num { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--teal); }
.trust-bar .t-lbl { font-size: 10.5px; color: #B9C6D6; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---- Sections ---- */
.section { padding: 70px 6vw; }
.section.dark { background: var(--navy); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head .eyebrow { color: var(--teal-deep); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.section.dark .section-head .eyebrow { color: var(--teal); }
.section-head h2 { font-size: 30px; margin-bottom: 10px; }
.section.dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 15px; }
.section.dark .section-head p { color: #B9C6D6; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.section.dark .feature-card { background: var(--navy-soft); border-color: #2A4670; }
.feature-card .icon-chip { width: 42px; height: 42px; border-radius: 10px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.section.dark .feature-card .icon-chip { background: rgba(22,169,144,0.18); }
.feature-card .icon-chip svg { width: 22px; height: 22px; stroke: var(--teal-deep); }
.section.dark .feature-card .icon-chip svg { stroke: var(--teal); }
.feature-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.section.dark .feature-card h3 { color: #fff; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.section.dark .feature-card p { color: #A9BCCB; }

.security-callout { grid-column: span 1; background: var(--teal-tint); border: 1.5px solid var(--teal); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.security-callout h3 { color: var(--teal-deep); font-size: 14px; margin-bottom: 6px; }
.security-callout p { font-size: 12.5px; color: var(--navy); }

/* Diff row (icon + text, horizontal) */
.diff-row { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; max-width: 1000px; margin: 0 auto; }
.diff-item { display: flex; gap: 12px; align-items: flex-start; width: 220px; }
.diff-item .icon-chip { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.diff-item .icon-chip svg { width: 20px; height: 20px; stroke: var(--teal-deep); }
.diff-item h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.diff-item p { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; position: relative; }
.price-card.featured { border: 2px solid var(--teal); }
.price-card.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 22px; background: var(--teal); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.price-card .plan-tag { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #fff; background: var(--navy); padding: 4px 10px; border-radius: 5px; margin-bottom: 14px; }
.price-card.featured .plan-tag { background: var(--teal); }
.price-card .plan-price { font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--navy); }
.price-card .plan-period { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.price-card li { font-size: 13px; color: var(--navy); padding: 7px 0; border-top: 1px dashed var(--line); display: flex; gap: 8px; align-items: flex-start; }
.price-card li:first-child { border-top: none; }

.final-cta { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); border-radius: 16px; padding: 44px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; }
.final-cta h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.final-cta p { color: #B9C6D6; font-size: 14px; }
.qr-box { background: #fff; padding: 8px; border-radius: 8px; width: 74px; height: 74px; display: flex; align-items: center; justify-content: center; }

.footer { background: var(--navy-deep); padding: 40px 6vw 26px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid #22345A; margin-bottom: 20px; }
.footer-col h4 { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; color: #A9BCCB; font-size: 13px; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; color: #6B7F97; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 30px; height: 30px; border-radius: 50%; background: #1E3A63; display: flex; align-items: center; justify-content: center; }
.social-row svg { width: 14px; height: 14px; stroke: #fff; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .diagonal-photo { display: none; }
  .hero-copy h1 { font-size: 30px; }
  .nav-links { display: none; }
}
