/* ============================================
   KIVO SUITE - Marketing Website
   Neomorphic + Display style fusion
   ============================================ */

/* --- Design Tokens --- */
:root {
  --bg: #e8edf2;
  --bg-alt: #dde3ea;
  --surface: #e8edf2;
  --text: #1a1a2e;
  --text-muted: #6b7a8d;
  --teal: #2ec4b6;
  --teal-dark: #25a99d;
  --purple: #6c63ff;
  --blue: #5b8def;
  --violet: #8b6ccf;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, #2ec4b6, #6c63ff);
  --gradient-subtle: linear-gradient(135deg, rgba(46,196,182,0.08), rgba(108,99,255,0.08));

  --shadow-out: 6px 6px 14px rgba(163, 177, 198, 0.6),
                -6px -6px 14px rgba(255, 255, 255, 0.8);
  --shadow-out-sm: 3px 3px 8px rgba(163, 177, 198, 0.5),
                   -3px -3px 8px rgba(255, 255, 255, 0.7);
  --shadow-hover: 8px 8px 18px rgba(163, 177, 198, 0.7),
                  -8px -8px 18px rgba(255, 255, 255, 0.9);
  --shadow-in: inset 4px 4px 8px rgba(163, 177, 198, 0.5),
               inset -4px -4px 8px rgba(255, 255, 255, 0.7);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --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;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.neo-raised {
  background: var(--surface);
  box-shadow: var(--shadow-out);
  border-radius: var(--radius-lg);
}
.neo-raised-sm {
  background: var(--surface);
  box-shadow: var(--shadow-out);
  border-radius: var(--radius-sm);
}
.neo-inset {
  box-shadow: var(--shadow-in);
  border-radius: var(--radius-md);
}
.neo-gradient {
  background: var(--gradient);
  color: #fff;
}
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.nav-scrolled {
  background: rgba(232, 237, 242, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(163, 177, 198, 0.3);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(232, 237, 242, 0.97);
  backdrop-filter: blur(16px);
  padding: 20px 24px;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(163, 177, 198, 0.4);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  padding: 10px 0;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 196, 182, 0.3);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46, 196, 182, 0.4);
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-out-sm);
}
.btn-secondary:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--teal); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* --- Section Styling --- */
section {
  padding: 100px 0;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 16px 0 12px;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.section-tag {
  display: inline-block;
  padding: 8px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
}

/* --- Hero --- */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

/* Background slideshow */
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-bg-slide.active {
  opacity: 1;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(232, 237, 242, 0.92) 0%,
    rgba(232, 237, 242, 0.85) 40%,
    rgba(232, 237, 242, 0.7) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-proof {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Hero Screen Frame */
.hero-visual {
  position: relative;
}
.hero-screen-frame {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(26, 26, 46, 0.05);
}
.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.screen-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 600;
  transition: opacity 0.3s;
}
.screen-viewport {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}
.screen-slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.screen-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

/* Mini sidebar inside screen */
.mockup-sidebar-mini {
  width: 40px;
  padding: 14px 8px;
  border-right: 1px solid rgba(163, 177, 198, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.sidebar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(163, 177, 198, 0.25);
  transition: background 0.3s;
}
.sidebar-dot.active {
  background: var(--gradient);
}

/* Screen content area */
.screen-content {
  flex: 1;
  padding: 14px;
}

/* Mini stat row */
.mini-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.mini-stat {
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-full) !important;
}
.mini-stat-label {
  display: block;
  font-size: 0.55rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.mini-stat-val {
  font-size: 0.95rem;
  font-weight: 800;
}

/* Mini chart */
.mini-chart {
  padding: 12px;
  height: 110px;
  border-radius: var(--radius-md);
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100%;
}
.chart-bar {
  flex: 1;
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.chart-bar:hover { opacity: 1; }

/* Mini table */
.mini-table {
  font-size: 0.7rem;
}
.mini-table-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(163, 177, 198, 0.2);
  font-size: 0.6rem;
}
.mini-table-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(163, 177, 198, 0.08);
  color: var(--text-muted);
  align-items: center;
}
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 600;
}
.status-active { background: rgba(34,197,94,0.15); color: #22c55e; }
.status-lead { background: rgba(91,141,239,0.15); color: #5b8def; }
.status-paid { background: rgba(34,197,94,0.15); color: #22c55e; }
.status-pending { background: rgba(245,158,11,0.15); color: #f59e0b; }
.status-overdue { background: rgba(239,68,68,0.15); color: #ef4444; }

/* Mini kanban */
.mini-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  height: 100%;
}
.kanban-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kanban-head {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(163, 177, 198, 0.2);
}
.kanban-card {
  padding: 8px 10px;
  font-size: 0.65rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm) !important;
  line-height: 1.4;
}

/* Screen indicators */
.screen-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}
.screen-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(163, 177, 198, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.screen-indicator.active {
  background: var(--gradient);
  width: 24px;
  border-radius: var(--radius-full);
}

/* --- Problems --- */
.problems {
  padding: 80px 0;
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.problem-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.problem-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}
.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- Features --- */
.features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feature-icon-wrap {
  margin-bottom: 20px;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- How It Works --- */
.how-it-works {
  padding: 100px 0;
}
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.step-card {
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  max-width: 300px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.step-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-connector {
  color: var(--text-muted);
  opacity: 0.3;
  flex-shrink: 0;
}

/* --- Comparison --- */
.comparison {
  padding: 100px 0;
}
.comparison-table-wrap {
  padding: 4px;
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(163, 177, 198, 0.15);
}
.comparison-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-bottom: 12px;
}
.comparison-table td.highlight {
  color: var(--teal);
  font-weight: 600;
}
.comparison-table th.highlight {
  color: var(--teal);
}
.comparison-table td svg {
  vertical-align: middle;
  margin-right: 6px;
}
.total-row td {
  border-bottom: none;
  padding-top: 20px;
  font-size: 1.05rem;
}
.comparison-note {
  text-align: center;
  margin-top: 24px;
  font-size: 1rem;
  color: var(--text-muted);
}
.comparison-note strong {
  color: var(--teal);
}

/* --- Pricing --- */
.pricing {
  padding: 100px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.pricing-popular {
  border: 2px solid transparent;
  background:
    var(--surface),
    var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}
.pricing-header {
  margin-bottom: 20px;
}
.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pricing-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.pricing-features li svg {
  flex-shrink: 0;
}
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Industries --- */
.industries {
  padding: 80px 0;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.industry-card {
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.industry-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.industry-icon {
  color: var(--teal);
  margin-bottom: 16px;
}
.industry-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.industry-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq {
  padding: 80px 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: var(--shadow-hover);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-chevron {
  transition: transform 0.3s;
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Final CTA --- */
.final-cta {
  padding: 60px 0 100px;
}
.cta-box {
  padding: 60px 48px;
  text-align: center;
  background:
    var(--gradient-subtle),
    var(--surface);
}
.cta-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-box p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 0;
  background: #1a1a2e;
  color: rgba(255,255,255,0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .nav-logo { color: #fff; }
.footer .nav-logo-icon { box-shadow: none; }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-links h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal); }
.footer-small {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
  line-height: 1.5;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .hero { padding: 110px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(232, 237, 242, 0.95) 0%,
      rgba(232, 237, 242, 0.88) 50%,
      rgba(232, 237, 242, 0.8) 100%
    );
  }

  section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.7rem; }

  .problems-grid { grid-template-columns: 1fr; gap: 18px; }
  .features-grid { grid-template-columns: 1fr; gap: 18px; }

  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
  .step-card { max-width: 100%; }

  .comparison-table th:first-child,
  .comparison-table td:first-child { min-width: 120px; }

  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .pricing-popular { order: -1; }

  .industries-grid { grid-template-columns: 1fr; gap: 18px; }

  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.5rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .price-amount { font-size: 2.2rem; }
  .mockup-sidebar { display: none; }
  .mockup-stats { grid-template-columns: 1fr; }
}

/* ============================================
   Philosophy Section
   ============================================ */

.philosophy {
  padding: 100px 0;
  background: var(--gradient-subtle);
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.philosophy-content .section-tag {
  margin-bottom: 16px;
}

.philosophy-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}

.philosophy-lead {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 20px;
}

.philosophy-content > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.philosophy-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  border-radius: var(--radius-md);
}

.philosophy-value h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.philosophy-value p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.philosophy-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.philosophy-quote {
  padding: 32px;
  position: relative;
}

.quote-mark {
  color: var(--teal);
  opacity: 0.3;
  margin-bottom: 12px;
}

.philosophy-quote p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}

.quote-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}

.philosophy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.philosophy-stat {
  padding: 20px 14px;
  text-align: center;
  border-radius: var(--radius-lg) !important;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============================================
   Specialist Modules Section
   ============================================ */

.specialist-modules {
  padding: 100px 0;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.module-card {
  padding: 32px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}

.module-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.module-featured {
  border: 2px solid transparent;
  background:
    var(--surface),
    var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.module-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
}

.module-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.module-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.module-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.module-features {
  list-style: none;
  margin-bottom: 20px;
}

.module-features li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.module-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.module-coming {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(163, 177, 198, 0.15);
  border-radius: var(--radius-full);
}

.modules-cta {
  text-align: center;
  margin-top: 40px;
}

.modules-cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ============================================
   Smart Dispatch Section
   ============================================ */

.smart-dispatch {
  padding: 100px 0;
  background: var(--gradient-subtle);
}

.dispatch-subhead {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin: 48px 0 28px;
  letter-spacing: -0.01em;
}

.dispatch-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.dispatch-step {
  padding: 28px 24px;
  text-align: center;
  max-width: 240px;
  flex: 1;
  transition: box-shadow 0.3s, transform 0.3s;
}

.dispatch-step:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.dispatch-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.dispatch-step-icon {
  color: var(--teal);
  margin-bottom: 14px;
}

.dispatch-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dispatch-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.dispatch-connector {
  color: var(--text-muted);
  opacity: 0.3;
  flex-shrink: 0;
  padding-top: 52px;
}

.dispatch-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 40px auto;
}

.dispatch-stat {
  padding: 24px 16px;
  text-align: center;
}

.dispatch-network-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dispatch-network-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.dispatch-tier {
  padding: 32px 28px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.dispatch-tier:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.dispatch-tier-highlight {
  border: 2px solid transparent;
  background:
    var(--surface),
    var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.dispatch-tier-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

.dispatch-tier-free svg { color: var(--teal); }
.dispatch-tier-paid svg { color: var(--purple); }

.dispatch-tier-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.dispatch-tier-features {
  list-style: none;
}

.dispatch-tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dispatch-tier-features li svg {
  flex-shrink: 0;
}

.dispatch-tier-arrow {
  text-align: center;
  color: var(--text-muted);
  opacity: 0.4;
}

.dispatch-network-effect {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 36px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.dispatch-network-effect strong {
  color: var(--teal);
}

/* ============================================
   Landing Page Heroes
   ============================================ */

.landing-hero {
  padding: 140px 0 80px;
  position: relative;
}

.landing-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.landing-hero-content .section-tag {
  margin-bottom: 16px;
}

.landing-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.landing-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.landing-screen {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.landing-screen-content {
  padding: 14px;
}

/* ============================================
   Nav Dropdown
   ============================================ */

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  cursor: pointer;
}

.nav-dropdown-trigger:hover {
  color: var(--teal);
}

.nav-dropdown-trigger svg {
  transition: transform 0.2s;
}

.nav-dropdown-wrap:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 24px rgba(163, 177, 198, 0.5),
              -8px -8px 24px rgba(255, 255, 255, 0.7);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 101;
}

.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.15s;
}

.nav-dropdown-item:hover {
  background: rgba(46, 196, 182, 0.08);
}

.nav-dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Responsive additions
   ============================================ */

@media (max-width: 1024px) {
  .philosophy-layout { grid-template-columns: 1fr; gap: 40px; }
  .modules-grid { grid-template-columns: 1fr; }
  .landing-hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .dispatch-network-grid { grid-template-columns: 1fr; max-width: 400px; }
  .dispatch-tier-arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .nav-dropdown-wrap { display: none; }
  .philosophy { padding: 60px 0; }
  .philosophy-content h2 { font-size: 1.7rem; }
  .philosophy-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat-number { font-size: 1.4rem; }
  .specialist-modules { padding: 60px 0; }
  .modules-grid { grid-template-columns: 1fr; gap: 18px; }
  .landing-hero { padding: 110px 0 60px; }
  .landing-hero-content h1 { font-size: 2.2rem; }
  .landing-hero-layout { grid-template-columns: 1fr; }
  .smart-dispatch { padding: 60px 0; }
  .dispatch-steps { flex-direction: column; align-items: center; }
  .dispatch-step { max-width: 100%; }
  .dispatch-connector { transform: rotate(90deg); padding-top: 0; }
  .dispatch-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media (max-width: 480px) {
  .philosophy-stats { grid-template-columns: 1fr; }
  .landing-hero-content h1 { font-size: 1.8rem; }
  .dispatch-stats { grid-template-columns: 1fr; }
}

/* ============================================
   Language Switcher
   ============================================ */

.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.nav-scrolled .lang-btn {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}

.lang-btn:hover {
  background: rgba(255,255,255,0.2);
}

.nav-scrolled .lang-btn:hover {
  background: rgba(0,0,0,0.1);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  min-width: 160px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  transition: background 0.15s;
}

.lang-option:hover {
  background: rgba(46,196,182,0.1);
}

.lang-option.active {
  background: rgba(46,196,182,0.15);
  font-weight: 600;
}

.lang-code {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--primary);
  min-width: 24px;
}

/* Mobile language row */
.mobile-lang-row {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  justify-content: center;
}

.mobile-lang {
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.mobile-lang.active {
  background: var(--primary);
  color: white;
}

.mobile-lang:hover {
  background: rgba(46,196,182,0.2);
}
