:root {
  --coral: #e07850;
  --coral-dark: #c45a30;
  --coral-glow: rgba(224, 120, 80, 0.3);
  --bg: #0a0a0c;
  --card: #141418;
  --card-hover: #1c1c22;
  --border: #2a2a32;
  --text: #f4f4f6;
  --muted: #8b8b9e;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.nav-cta {
  padding: 12px 28px;
  background: var(--coral);
  color: var(--white) !important;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(224, 120, 80, 0.4);
  white-space: nowrap;
}

.nav-links a.nav-cta:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px var(--coral-glow);
  color: var(--white) !important;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

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

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-dropdown-menu a:hover {
  background: var(--card-hover);
  color: var(--coral);
}

/* Hero Wrapper - for full-width gradients */
.hero-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Ambient background gradients - on wrapper for full-width */
.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(224, 120, 80, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-wrapper::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(196, 90, 48, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Hero */
.hero {
  height: 100vh;
  min-height: 700px;
  max-height: 900px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 100px 48px 60px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 1;
}

.hero-content {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(224, 120, 80, 0.1);
  border: 1px solid rgba(224, 120, 80, 0.2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--coral);
  margin-bottom: 32px;
  font-weight: 500;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -3px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 20px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.btn-primary {
  padding: 16px 36px;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px var(--coral-glow);
}

.btn-secondary {
  padding: 16px 36px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--muted);
  background: rgba(255,255,255,0.02);
}

/* Hero Slideshow */
.hero-slideshow {
  flex: 1;
  max-width: 550px;
  position: relative;
  z-index: 1;
}

.slideshow-container {
  position: relative;
  width: 100%;
}

.slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-window {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.slide-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.slide-dot:nth-child(1) { background: #ff5f57; }
.slide-dot:nth-child(2) { background: #ffbd2e; }
.slide-dot:nth-child(3) { background: #28ca42; }

.slide-title {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.slide-content {
  padding: 20px;
  min-height: 280px;
}

/* Inventory Slide */
.inventory-slide {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.inv-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--muted);
}

.search-icon {
  font-size: 14px;
}

.inv-filters {
  display: flex;
  gap: 6px;
}

.filter-chip {
  padding: 6px 12px;
  font-size: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  cursor: default;
}

.filter-chip.active {
  background: rgba(224, 120, 80, 0.1);
  border-color: var(--coral);
  color: var(--coral);
}

.inv-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.inv-thumb {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--border), var(--card));
  border-radius: 6px;
}

.inv-details {
  flex: 1;
}

.inv-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.inv-sku {
  font-size: 10px;
  color: var(--muted);
  font-family: 'Space Mono', monospace;
}

.inv-stock {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}

.inv-stock.good { color: #28ca42; }
.inv-stock.warning { color: #ffbd2e; }
.inv-stock.danger { color: #ff5f57; }

/* Shipping Slide */
.shipping-slide {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shipping-summary {
  display: flex;
  gap: 12px;
}

.ship-stat {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.ship-value {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.ship-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carrier-breakdown {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.carrier-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.carrier-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.carrier-bar:last-child {
  margin-bottom: 0;
}

.carrier-name {
  width: 50px;
  font-size: 11px;
  color: var(--muted);
}

.carrier-progress {
  flex: 1;
  height: 8px;
  background: var(--card);
  border-radius: 4px;
  overflow: hidden;
}

.carrier-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--coral-dark));
  border-radius: 4px;
}

.carrier-pct {
  width: 32px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--text);
  text-align: right;
}

/* Planogram Slide */
.plano-slide {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plano-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.plano-toolbar .tool {
  padding: 6px 12px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 4px;
  cursor: default;
}

.plano-toolbar .tool.active {
  background: var(--card);
  color: var(--text);
  font-weight: 600;
}

.tool-spacer {
  flex: 1;
}

.tool-save {
  padding: 6px 12px;
  font-size: 11px;
  background: var(--coral);
  color: white;
  border-radius: 4px;
  font-weight: 600;
}

.plano-shelf-view {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plano-shelf {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--card);
  border-radius: 4px;
}

.plano-product {
  flex: 1;
  height: 36px;
  border-radius: 4px;
}

.plano-product.p1 { background: linear-gradient(135deg, #e85a4f, #d44a3f); }
.plano-product.p2 { background: linear-gradient(135deg, #4a90a4, #3a8094); }
.plano-product.p3 { background: linear-gradient(135deg, #9370db, #8360cb); }
.plano-product.p4 { background: linear-gradient(135deg, #ffbd2e, #e5a628); }

.plano-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.plano-stats strong {
  color: var(--text);
  font-family: 'Space Mono', monospace;
}

/* Slideshow Dots */
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slideshow-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-dots .dot.active {
  background: var(--coral);
  width: 24px;
  border-radius: 4px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 60px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'Space Mono', monospace;
  font-size: 42px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Products Section */
.products {
  padding: 140px 48px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--coral-dark));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  border-color: rgba(224, 120, 80, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  width: 64px;
  height: 64px;
  background: rgba(224, 120, 80, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.product-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--coral);
}

.product-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.product-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-features {
  list-style: none;
  margin-bottom: 32px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li::before {
  content: '\2192';
  color: var(--coral);
  font-weight: 600;
}

/* App Preview */
.app-preview {
  margin-top: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.app-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.app-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.app-preview-dot:nth-child(1) { background: #ff5f57; }
.app-preview-dot:nth-child(2) { background: #ffbd2e; }
.app-preview-dot:nth-child(3) { background: #28ca42; }

.app-preview-content {
  padding: 24px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-preview-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.app-preview-cell {
  height: 36px;
  background: var(--card);
  border-radius: 6px;
  flex: 1;
}

.app-preview-cell.highlight {
  background: rgba(224, 120, 80, 0.2);
  border: 1px solid rgba(224, 120, 80, 0.3);
}

.app-preview-cell.small {
  flex: 0.5;
}

/* Planogram Preview */
.planogram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 40px);
  gap: 6px;
  padding: 24px;
}

.shelf-item {
  background: var(--card);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.shelf-item:hover {
  transform: scale(1.05);
}

.shelf-item.coral { background: rgba(224, 120, 80, 0.4); }
.shelf-item.coral-dark { background: rgba(196, 90, 48, 0.4); }
.shelf-item.muted { background: rgba(139, 139, 158, 0.2); }

/* App Preview Title */
.app-preview-title {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

/* OMS Preview Styles */
.oms-preview {
  padding: 16px;
}

.oms-table-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.oms-table-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.oms-table-row:last-child {
  border-bottom: none;
}

.oms-table-row .order-num {
  font-family: 'Space Mono', monospace;
  font-weight: 600;
  color: var(--text);
}

.oms-table-row .customer {
  color: var(--muted);
}

.oms-table-row .status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  width: fit-content;
}

.oms-table-row .status.shipped {
  background: rgba(40, 202, 66, 0.15);
  color: #28ca42;
}

.oms-table-row .status.processing {
  background: rgba(224, 120, 80, 0.15);
  color: var(--coral);
}

.oms-table-row .status.pending {
  background: rgba(255, 189, 46, 0.15);
  color: #ffbd2e;
}

.oms-table-row .total {
  font-family: 'Space Mono', monospace;
  font-weight: 600;
  color: var(--text);
}

/* Schedule Preview Styles */
.schedule-preview {
  padding: 12px;
}

/* Budget Bar */
.budget-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.budget-item {
  flex: 1;
  text-align: center;
}

.budget-label {
  display: block;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.budget-value {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.budget-value .budget-target {
  font-weight: 400;
  color: var(--muted);
}

.budget-value.under {
  color: #28ca42;
}

.budget-value.over {
  color: #ff5f57;
}

.schedule-header {
  display: grid;
  grid-template-columns: 36px repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.schedule-header .schedule-time {
  font-size: 9px;
  color: var(--muted);
}

.schedule-header .schedule-day {
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  padding: 4px 0;
}

.schedule-header .schedule-day.weekend {
  color: var(--muted);
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 36px repeat(7, 1fr);
  gap: 4px;
  align-items: center;
}

.schedule-row .schedule-time {
  font-size: 9px;
  color: var(--muted);
  text-align: right;
  padding-right: 6px;
}

.schedule-cell {
  height: 32px;
  background: var(--bg);
  border-radius: 4px;
  border: 1px solid var(--border);
  padding: 2px;
}

.schedule-cell .shift {
  height: 100%;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: white;
}

.schedule-cell .shift.sarah {
  background: linear-gradient(135deg, #e85a4f 0%, #d44a3f 100%);
}

.schedule-cell .shift.mike {
  background: linear-gradient(135deg, #4a90a4 0%, #3a8094 100%);
}

.schedule-cell .shift.alex {
  background: linear-gradient(135deg, #9370db 0%, #8360cb 100%);
}

/* Forecasting Section */
.forecasting {
  padding: 140px 48px;
  background: var(--card);
  position: relative;
  overflow: hidden;
}

.forecasting::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 120, 80, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.forecasting-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.forecasting-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.forecasting-title span {
  color: var(--coral);
}

.forecasting-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.forecasting-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.forecast-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.forecast-icon {
  width: 48px;
  height: 48px;
  background: rgba(224, 120, 80, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
}

.forecast-feature h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.forecast-feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.forecasting-visual {
  position: relative;
}

.forecast-chart {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.chart-title {
  font-size: 14px;
  font-weight: 600;
}

.chart-badge {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: #28ca42;
  background: rgba(40, 202, 66, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.chart-body {
  padding: 24px;
}

.chart-svg {
  width: 100%;
  height: auto;
}

.chart-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.chart-legend {
  display: flex;
  gap: 24px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.legend-line {
  width: 20px;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
}

.legend-line.dashed {
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0px,
    var(--coral) 6px,
    transparent 6px,
    transparent 10px
  );
}

/* Philosophy */
.philosophy {
  padding: 140px 48px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--card) 50%, var(--bg) 100%);
}

.philosophy-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -1px;
  margin-bottom: 40px;
  font-style: italic;
}

.philosophy-quote span {
  color: var(--coral);
}

.philosophy-attribution {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  font-style: normal;
}

.philosophy-attribution em {
  font-style: italic;
}

.philosophy-text {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-context {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.philosophy-context p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.philosophy-context p:last-child {
  margin-bottom: 0;
  color: var(--text);
}

.philosophy-context em {
  color: var(--text);
  font-style: italic;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto 24px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b8b9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select option {
  background: var(--card);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 16px 36px;
}

.form-alt {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}

.form-alt a {
  color: var(--coral);
  text-decoration: none;
}

.form-alt a:hover {
  text-decoration: underline;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(40, 202, 66, 0.1);
  border: 2px solid #28ca42;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #28ca42;
}

.form-success h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted);
}

/* CTA Section */
/* Custom Solutions Section */
.custom-section {
  padding: 140px 48px;
  text-align: center;
}

.custom-section .section-header {
  max-width: 700px;
  margin: 0 auto;
}

.custom-section .section-title span {
  color: var(--coral);
}

.custom-section .section-desc {
  font-size: 18px;
  line-height: 1.7;
}

.cta-section {
  padding: 100px 48px;
  text-align: center;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--coral-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-simple {
  text-align: center;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

/* Contact Page */
.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 48px 80px;
}

.contact-container {
  max-width: 600px;
  width: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-header h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.contact-header p {
  font-size: 18px;
  color: var(--muted);
}

.nav-links a.active {
  color: var(--text);
}

/* Footer */
footer {
  padding: 60px 48px;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo svg {
  width: 32px;
  height: 32px;
}

.footer-text {
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    gap: 40px;
    flex-wrap: wrap;
  }

  .forecasting-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-slideshow {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 24px 80px;
  }

  .hero-slideshow {
    display: none;
  }

  .products, .philosophy, .cta-section {
    padding: 80px 24px;
  }

  .product-card {
    padding: 32px;
  }

  .cta-box {
    padding: 48px 32px;
  }

  footer {
    padding: 40px 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .forecasting {
    padding: 80px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
