/* =============================================
   OMNIKAHUB — Main Stylesheet
   ============================================= */

:root {
  --navy:       #0F1F3D;
  --navy-mid:   #1A2F52;
  --indigo:     #4F46E5;
  --indigo-lt:  #6366F1;
  --indigo-dim: #3730A3;
  --mint:       #10B981;
  --amber:      #F59E0B;
  --rose:       #F43F5E;
  --sky:        #0EA5E9;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --tint:       #F1F5F9;
  --slate-lt:   #E2E8F0;
  --slate:      #64748B;
  --slate-dk:   #334155;
  --text:       #1E293B;

  /* Hub accent colors */
  --c-order:   #4F46E5;
  --c-retail:  #10B981;
  --c-parking: #F59E0B;
  --c-omni:    #0EA5E9;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* CONTAINER */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}
.btn-primary:hover { background: var(--indigo-dim); border-color: var(--indigo-dim); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,.35); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-nav { background: var(--indigo); color: var(--white); padding: 9px 20px; font-size: 0.875rem; }
.btn-nav:hover { background: var(--indigo-dim); }
.btn-outline { border: 2px solid currentColor; background: transparent; }
.btn-outline-indigo { border: 2px solid var(--indigo); color: var(--indigo); background: transparent; }
.btn-outline-indigo:hover { background: var(--indigo); color: var(--white); }
.btn-outline.btn-order   { color: var(--c-order); }
.btn-outline.btn-retail  { color: var(--c-retail); }
.btn-outline.btn-omni    { color: var(--c-omni); }
.btn-outline.btn-order:hover  { background: var(--c-order);  color: var(--white); }
.btn-outline.btn-retail:hover { background: var(--c-retail); color: var(--white); }
.btn-outline.btn-omni:hover   { background: var(--c-omni);   color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav.scrolled .nav-links a,
.nav.scrolled .logo-text { color: var(--text); }
.nav.scrolled .logo-mark { background: var(--indigo); }
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--white);
  color: var(--indigo);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  transition: background .3s, color .3s;
}
.logo-text {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color .3s;
}
.nav.scrolled .logo-mark { background: var(--indigo); color: var(--white); }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--slate); }
.nav.scrolled .nav-links a:hover { color: var(--indigo); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background .3s;
}
.nav.scrolled .nav-toggle span { background: var(--text); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 60%, #2d1b6e 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(79,70,229,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 660px;
}
.gradient-text {
  background: linear-gradient(90deg, #818CF8, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}
.hero-hubs-preview {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1;
}
.hub-pill {
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  animation: floatIn 0.6s ease both;
}
.hub-pill.hub-order   { background: rgba(79,70,229,.25);  color: #A5B4FC; animation-delay: 0.1s; }
.hub-pill.hub-retail  { background: rgba(16,185,129,.25); color: #6EE7B7; animation-delay: 0.25s; }
.hub-pill.hub-parking { background: rgba(245,158,11,.25); color: #FCD34D; animation-delay: 0.4s; }
.hub-pill.hub-omni    { background: rgba(14,165,233,.25); color: #7DD3FC; animation-delay: 0.55s; }

@keyframes floatIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 96px 0; }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-tint { background: var(--tint); }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: rgba(255,255,255,.55); }
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,.6); }

/* =============================================
   HUB BADGES
   ============================================= */
.hub-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.hub-badge.hub-order   { background: rgba(79,70,229,.12);  color: var(--c-order); }
.hub-badge.hub-retail  { background: rgba(16,185,129,.12); color: var(--c-retail); }
.hub-badge.hub-parking { background: rgba(245,158,11,.12); color: var(--c-parking); }
.hub-badge.hub-omni    { background: rgba(14,165,233,.12); color: var(--c-omni); }

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--slate-lt);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.product-card--featured {
  border-color: var(--c-parking);
  box-shadow: 0 0 0 2px var(--c-parking), var(--shadow);
}
.featured-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--c-parking);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
}
.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-icon { font-size: 1.75rem; }
.product-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.product-desc {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.65;
}
.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-features li {
  font-size: 0.875rem;
  color: var(--slate-dk);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feat-check {
  color: var(--mint);
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.product-billing {
  padding-top: 16px;
  border-top: 1px solid var(--slate-lt);
  display: flex;
  align-items: center;
  gap: 8px;
}
.billing-label { font-size: 0.8125rem; color: var(--slate); }
.billing-unit {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--indigo);
}

/* Left accent border per hub */
.product-card[data-hub="order"]   { border-left: 4px solid var(--c-order); }
.product-card[data-hub="retail"]  { border-left: 4px solid var(--c-retail); }
.product-card[data-hub="parking"] { border-left: 4px solid var(--c-parking); }
.product-card[data-hub="omni"]    { border-left: 4px solid var(--c-omni); }

/* =============================================
   SERVICE MATRIX
   ============================================= */
.matrix-wrapper { overflow: hidden; }
.matrix-scroll  { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.service-matrix {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.service-matrix thead th {
  padding: 16px 20px;
  text-align: center;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.matrix-service-col { text-align: left !important; width: 36%; }
.service-matrix tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .15s;
}
.service-matrix tbody tr:hover { background: rgba(255,255,255,.04); }
.service-matrix td {
  padding: 14px 20px;
  text-align: center;
}
.service-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  text-align: left !important;
}
.service-icon { font-size: 1rem; }
.check {
  color: var(--mint);
  font-weight: 800;
  font-size: 1.1rem;
}
.dash { color: rgba(255,255,255,.2); font-size: 1rem; }

/* =============================================
   PLANS
   ============================================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.plan-card {
  background: var(--white);
  border: 1px solid var(--slate-lt);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, transform .25s;
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan-card--highlight {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.plan-icon { font-size: 2rem; }
.plan-type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo);
}
.plan-card--highlight .plan-type { color: #818CF8; }
.plan-model {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(79,70,229,.1);
  color: var(--indigo);
  width: fit-content;
}
.plan-card--highlight .plan-model { background: rgba(255,255,255,.15); color: rgba(255,255,255,.8); }
.plan-name {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.plan-desc {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}
.plan-card--highlight .plan-desc { color: rgba(255,255,255,.65); }
.plan-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.plan-items li {
  font-size: 0.875rem;
  color: var(--slate-dk);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 14px;
  position: relative;
}
.plan-items li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 900;
}
.plan-card--highlight .plan-items li { color: rgba(255,255,255,.75); }
.plan-card--highlight .plan-items li::before { color: #818CF8; }
.plan-card .btn { margin-top: 8px; }

/* =============================================
   WHY US
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-lt);
}
.why-icon { font-size: 1.75rem; margin-bottom: 12px; }
.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.why-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* =============================================
   CTA / CONTACT
   ============================================= */
.section-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 60%, #2d1b6e 100%);
  color: var(--white);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-desc {
  color: rgba(255,255,255,.7);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.cta-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-bullets li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.cta-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-dk);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--slate-lt);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}
.form-note {
  font-size: 0.8rem;
  color: var(--slate);
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #060F20;
  color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-mark { background: var(--indigo); color: var(--white); }
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 12px;
}
.footer-links-group h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links-group li { margin-bottom: 10px; }
.footer-links-group a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links-group a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* =============================================
   MOBILE NAV OPEN STATE
   ============================================= */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  z-index: 200;
  gap: 16px;
}
.nav-links.open a { color: var(--text); font-size: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-hubs-preview { display: none; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 0 60px; }
  .section { padding: 64px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .cta-form-wrap { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.25rem; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }

/* Success diagram image */
.success-diagram img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
