/* Sample 2: Tech-Forward Dark — Dark backgrounds + Cyan/Purple gradients */
:root {
  --bg-primary: #0b0f1a;
  --bg-secondary: #111827;
  --bg-card: #1a2035;
  --bg-card-hover: #1f2842;
  --cyan: #06d6a0;
  --cyan-dark: #05b889;
  --purple: #7c5cfc;
  --purple-light: #a78bfa;
  --gradient: linear-gradient(135deg, #06d6a0, #7c5cfc);
  --gradient-text: linear-gradient(135deg, #06d6a0, #60a5fa);
  --white: #f1f5f9;
  --text: #cbd5e1;
  --text-muted: #64748b;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(6,214,160,0.3);
  --success: #06d6a0;
  --warning: #fbbf24;
  --danger: #f87171;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(6,214,160,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text); background: var(--bg-primary);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}

h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--white); }
h2 { font-size: 2.4rem; font-weight: 700; line-height: 1.2; color: var(--white); }
h3 { font-size: 1.3rem; font-weight: 600; color: var(--white); }
h4 { font-size: 1.05rem; font-weight: 600; color: var(--white); }

.text-gradient {
  background: var(--gradient-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(11,15,26,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
}
.nav-logo {
  font-size: 1.4rem; font-weight: 800; color: var(--white);
  text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
}
.nav-logo .accent { color: var(--cyan); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: var(--transition);
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  background: var(--gradient); color: var(--bg-primary) !important;
  padding: 0.55rem 1.4rem; border-radius: var(--radius-sm); font-weight: 700 !important;
}
.nav-cta:hover { opacity: 0.9; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

/* ---- Hero ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 6rem 2rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,214,160,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,92,252,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero p { color: var(--text); font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 520px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-gradient {
  background: var(--gradient); color: var(--bg-primary); padding: 0.85rem 2rem;
  border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
  font-size: 1rem; transition: var(--transition); border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(6,214,160,0.25); }
.btn-outline {
  background: transparent; color: var(--white); padding: 0.85rem 2rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
  font-size: 1rem; transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* Hero Terminal */
.hero-terminal {
  background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow);
}
.terminal-bar {
  background: rgba(255,255,255,0.03); padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #f87171; }
.terminal-dot.yellow { background: #fbbf24; }
.terminal-dot.green { background: #06d6a0; }
.terminal-title { color: var(--text-muted); font-size: 0.75rem; margin-left: 0.5rem; }
.terminal-body { padding: 1.5rem; font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 0.85rem; }
.terminal-line { margin-bottom: 0.5rem; opacity: 0; animation: typeLine 0.4s ease forwards; }
.terminal-line:nth-child(1) { animation-delay: 0.3s; }
.terminal-line:nth-child(2) { animation-delay: 0.7s; }
.terminal-line:nth-child(3) { animation-delay: 1.1s; }
.terminal-line:nth-child(4) { animation-delay: 1.5s; }
.terminal-line:nth-child(5) { animation-delay: 1.9s; }
.terminal-line:nth-child(6) { animation-delay: 2.3s; }
.terminal-line:nth-child(7) { animation-delay: 2.7s; }
.terminal-line:nth-child(8) { animation-delay: 3.1s; }
.t-prompt { color: var(--cyan); }
.t-cmd { color: var(--white); }
.t-output { color: var(--text-muted); }
.t-highlight { color: var(--cyan); font-weight: 600; }
.t-warning { color: var(--warning); }
.t-success { color: var(--success); }
.t-purple { color: var(--purple-light); }
@keyframes typeLine { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }

/* ---- Glowing Divider ---- */
.glow-divider {
  height: 1px; max-width: 1280px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
  opacity: 0.3;
}

/* ---- Stats ---- */
.stats {
  padding: 4rem 2rem; background: var(--bg-secondary);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem;
}
.stat-card {
  text-align: center; padding: 1.5rem;
  border-radius: var(--radius-sm); background: var(--bg-card);
  border: 1px solid var(--border); transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-glow); }
.stat-value { font-size: 2.5rem; font-weight: 800; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.3rem; }

/* ---- Sections ---- */
section { padding: 6rem 2rem; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-tag {
  display: inline-block; background: rgba(6,214,160,0.1); color: var(--cyan);
  padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem;
  border: 1px solid rgba(6,214,160,0.2);
}

/* ---- Services ---- */
.services { background: var(--bg-primary); }
.services-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.service-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); opacity: 0; transition: var(--transition);
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.4rem;
  background: rgba(6,214,160,0.08); border: 1px solid rgba(6,214,160,0.15);
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.service-badge {
  display: inline-block; margin-top: 1rem; font-size: 0.72rem; font-weight: 600;
  color: var(--purple-light); background: rgba(124,92,252,0.1);
  padding: 0.2rem 0.6rem; border-radius: 4px; border: 1px solid rgba(124,92,252,0.2);
}

/* ---- AI Dashboard Section ---- */
.ai-section { background: var(--bg-secondary); }
.ai-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start;
}
.ai-features-list { display: flex; flex-direction: column; gap: 1rem; }
.ai-feat {
  display: flex; gap: 1rem; padding: 1.2rem; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border); transition: var(--transition);
}
.ai-feat:hover { border-color: var(--border-hover); }
.ai-feat-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  background: rgba(124,92,252,0.08); border: 1px solid rgba(124,92,252,0.15);
}
.ai-feat h4 { margin-bottom: 0.2rem; }
.ai-feat p { font-size: 0.82rem; color: var(--text-muted); }

/* Dashboard */
.ai-dash {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow);
}
.dash-top {
  padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.dash-top h4 { font-size: 0.95rem; }
.dash-live {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; color: var(--cyan); font-weight: 600;
}
.dash-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); animation: blink 1.5s infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.dash-content { padding: 1.5rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.8rem; margin-bottom: 1.5rem; }
.kpi {
  background: rgba(255,255,255,0.02); border-radius: var(--radius-sm);
  padding: 1rem; border: 1px solid var(--border);
}
.kpi .label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi .val { font-size: 1.6rem; font-weight: 800; color: var(--white); margin: 0.2rem 0; }
.kpi .delta { font-size: 0.75rem; font-weight: 600; }
.kpi .delta.positive { color: var(--success); }
.kpi .delta.negative { color: var(--danger); }

/* Mini chart bars */
.mini-chart { margin-bottom: 1.5rem; }
.mini-chart h4 { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 80px; }
.chart-bar {
  flex: 1; border-radius: 3px 3px 0 0; transition: 0.6s ease; position: relative;
}
.chart-bar.b1 { height: 40%; background: var(--cyan); opacity: 0.5; }
.chart-bar.b2 { height: 55%; background: var(--cyan); opacity: 0.6; }
.chart-bar.b3 { height: 45%; background: var(--cyan); opacity: 0.55; }
.chart-bar.b4 { height: 70%; background: var(--cyan); opacity: 0.7; }
.chart-bar.b5 { height: 85%; background: var(--cyan); }
.chart-bar.b6 { height: 60%; background: var(--cyan); opacity: 0.65; }
.chart-bar.b7 { height: 75%; background: var(--purple); opacity: 0.7; }
.chart-bar.b8 { height: 90%; background: var(--purple); }

/* Alert */
.dash-warning {
  background: rgba(251,191,36,0.06); border: 1px solid rgba(251,191,36,0.15);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem;
  display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8rem;
}
.dash-warning .icon { flex-shrink: 0; }
.dash-warning strong { color: var(--warning); }

/* ---- Warehouse Map ---- */
.warehouse-section { background: var(--bg-primary); }
.map-wrap {
  max-width: 1280px; margin: 0 auto;
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 2.5rem; position: relative;
}
.globe-visual {
  width: 100%; height: 300px; position: relative;
  background: radial-gradient(ellipse at center, rgba(6,214,160,0.04) 0%, transparent 70%);
  border-radius: var(--radius-sm); margin-bottom: 2rem;
}
.globe-point {
  position: absolute; cursor: pointer;
}
.globe-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px rgba(6,214,160,0.4);
  position: relative; z-index: 2;
}
.globe-dot.secondary { background: var(--purple); box-shadow: 0 0 12px rgba(124,92,252,0.4); }
.globe-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(6,214,160,0.3);
  animation: ringPulse 2.5s infinite;
}
@keyframes ringPulse {
  0% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(3); opacity: 0; }
}
.globe-label {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  background: var(--bg-primary); color: var(--cyan); padding: 0.2rem 0.5rem;
  border-radius: 4px; font-size: 0.65rem; font-weight: 600; white-space: nowrap;
  border: 1px solid rgba(6,214,160,0.2);
}

.wh-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.wh-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.2rem; transition: var(--transition);
}
.wh-card:hover { border-color: var(--border-hover); }
.wh-card h4 { margin-bottom: 0.3rem; font-size: 0.95rem; }
.wh-card p { font-size: 0.8rem; color: var(--text-muted); }
.wh-tag {
  display: inline-block; margin-top: 0.6rem; font-size: 0.7rem; font-weight: 600;
  color: var(--cyan); background: rgba(6,214,160,0.08); padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* ---- Testimonials ---- */
.testimonials { background: var(--bg-secondary); }
.test-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.test-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border); transition: var(--transition);
}
.test-card:hover { border-color: var(--border-hover); }
.test-stars { font-size: 0.9rem; margin-bottom: 1rem; }
.test-stars span { color: var(--warning); }
.test-card blockquote { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 0.7rem; }
.test-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: var(--bg-primary); font-size: 0.9rem;
}
.test-name { font-weight: 600; font-size: 0.85rem; color: var(--white); }
.test-role { font-size: 0.75rem; color: var(--text-muted); }

/* ---- CTA ---- */
.cta {
  text-align: center; padding: 6rem 2rem;
  background: var(--bg-primary); position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,214,160,0.06), rgba(124,92,252,0.04), transparent);
  border-radius: 50%;
}
.cta h2 { position: relative; z-index: 1; margin-bottom: 1rem; }
.cta p { position: relative; z-index: 1; color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-btns { position: relative; z-index: 1; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- Footer ---- */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem; color: var(--text-muted);
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 3rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; margin-top: 0.8rem; }
.footer-col h4 {
  color: var(--white); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1280px; margin: 2.5rem auto 0;
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; font-size: 0.8rem;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  transform: translateY(100%); animation: cookieSlide 0.5s ease 1.2s forwards;
}
@keyframes cookieSlide { to { transform: translateY(0); } }
.cookie-banner p { font-size: 0.85rem; color: var(--text); max-width: 700px; }
.cookie-banner a { color: var(--cyan); font-weight: 600; }
.cookie-btns { display: flex; gap: 0.75rem; }
.ck-btn {
  padding: 0.5rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.85rem;
  font-weight: 600; cursor: pointer; transition: var(--transition); border: none;
}
.ck-accept { background: var(--gradient); color: var(--bg-primary); }
.ck-accept:hover { opacity: 0.9; }
.ck-decline { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border); }
.ck-decline:hover { border-color: var(--border-hover); color: var(--white); }

/* ---- Page Content ---- */
.page-header {
  background: var(--bg-secondary); padding: 8rem 2rem 3rem;
  text-align: center; border-bottom: 1px solid var(--border);
}
.page-header p { color: var(--text-muted); margin-top: 0.5rem; }
.page-content {
  max-width: 800px; margin: 0 auto; padding: 3rem 2rem;
}
.page-content h2 { font-size: 1.4rem; margin: 2rem 0 0.8rem; }
.page-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.6rem; }
.page-content p { margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.8; color: var(--text); }
.page-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.page-content li { margin-bottom: 0.4rem; font-size: 0.95rem; color: var(--text); }
.page-content a { color: var(--cyan); }
.page-content table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.88rem; }
.page-content th, .page-content td {
  padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
}
.page-content th { background: var(--bg-card); color: var(--white); font-weight: 600; }
.page-content td { color: var(--text); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-terminal { display: none; }
  .services-grid, .test-grid { grid-template-columns: repeat(2,1fr); }
  .ai-grid { grid-template-columns: 1fr; }
  .wh-cards { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero { min-height: auto; padding: 8rem 1.5rem 4rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid, .test-grid, .wh-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; text-align: center; }
}
