/* =========================================================
   CENTRAL SPIKE — Commercial Website
   ========================================================= */

:root {
  --navy-950: #050b18;
  --navy-900: #071022;
  --navy-800: #0b1730;
  --navy-700: #10203f;
  --navy-600: #16294f;
  --cyan-400: #35d0ff;
  --cyan-300: #7ce7ff;
  --blue-500: #2f6fed;
  --accent: #35d0ff;
  --accent-2: #2f6fed;
  --text-light: #eaf2ff;
  --text-muted: #9fb2cf;
  --text-dark: #0b1730;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-lg: 0 30px 60px -20px rgba(4, 12, 30, 0.55);
  --shadow-md: 0 15px 35px -12px rgba(4, 12, 30, 0.4);
  --font-head: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --container-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.15; color: #08132a; }
p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--cyan-300); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 18px; }
.section-head p { color: var(--text-muted); font-size: 17px; }
.section-head.center p { color: #5c6c86; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: #051022;
  box-shadow: 0 10px 25px -8px rgba(53, 208, 255, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(53, 208, 255, 0.65); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-nav { padding: 10px 22px; font-size: 14px; }

/* =============== LANGUAGE SUGGESTION BANNER =============== */
.lang-suggest {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
  background: var(--navy-800);
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 44px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
}
.lang-suggest.show { display: flex; }
body.has-lang-banner .site-header { top: 40px; }
@media (max-width: 640px) {
  .lang-suggest { padding: 10px 40px; }
  body.has-lang-banner .site-header { top: 64px; }
}
.lang-suggest a {
  color: var(--cyan-300);
  text-decoration: underline;
  font-weight: 700;
}
.lang-suggest #lang-suggest-close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
}
.lang-suggest #lang-suggest-close:hover { color: var(--text-light); }

/* =============== HEADER =============== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(5, 11, 24, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(5, 11, 24, 0.92);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  color: #051022; font-size: 16px;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--text-light);
}
.brand-text strong { color: var(--cyan-300); }

.main-nav { display: flex; align-items: center; gap: 30px; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--text-light);
  font-size: 14.5px;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity .2s, color .2s;
  position: relative;
}
.main-nav a:hover { opacity: 1; color: var(--cyan-300); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-light);
  font-size: 14px; font-weight: 700;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}
.lang-current .chev { font-size: 10px; transition: transform .2s; }
.lang-current.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  min-width: 170px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu li { }
.lang-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 12px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-align: left;
}
.lang-menu button:hover { background: rgba(255,255,255,0.08); color: var(--cyan-300); }
.flag { font-size: 16px; }

.menu-toggle {
  display: none;
  color: var(--text-light);
  font-size: 22px;
  padding: 6px;
}

.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  padding: 10px 24px 24px;
  gap: 4px;
  z-index: 999;
  transform: translateY(-120%);
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
  color: var(--text-light);
  padding: 14px 6px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav .btn { margin-top: 14px; justify-content: center; }

/* =============== HERO =============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,9,22,0.75) 0%, rgba(4,9,22,0.88) 55%, rgba(4,9,22,0.97) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(53, 208, 255, 0.18);
  border: 1.5px solid rgba(53, 208, 255, 0.6);
  color: var(--cyan-300);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.8px;
  padding: 12px 26px;
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: 0 0 0 4px rgba(53,208,255,0.06), 0 6px 18px rgba(0,0,0,0.28);
}
.pill::before {
  content: "\f5a0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
}
@media (max-width: 600px) {
  .pill { font-size: 12.5px; padding: 10px 18px; letter-spacing: 1.2px; }
}
.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 640px;
  margin-bottom: 34px;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 720px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 30px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--cyan-300);
}
.stat-label { color: var(--text-muted); font-size: 13px; font-weight: 600; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce { 0%,100%{transform: translate(-50%,0);} 50%{transform: translate(-50%,8px);} }

/* =============== CHALLENGE =============== */
.challenge { padding: 90px 0; background: #f5f8fc; }
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.challenge-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .25s ease;
}
.challenge-item:hover { transform: translateY(-6px); }
.challenge-item i { font-size: 26px; color: var(--accent-2); }
.challenge-item span { font-weight: 700; font-size: 14.5px; color: #22304a; }

/* =============== PLATFORM =============== */
.platform { padding: 100px 0; background: var(--white); }
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.platform-media { position: relative; }
.platform-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.platform-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.platform-badge i { font-size: 24px; color: var(--accent-2); }
.platform-badge strong { display: block; font-size: 14px; color: #08132a; }
.platform-badge span { font-size: 12.5px; color: #6b7c96; }

.platform-copy h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px; }
.platform-copy p { color: #556278; margin-bottom: 16px; font-size: 16px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #33415c; font-weight: 600; }
.check-list i { color: #17b26a; margin-top: 3px; }

/* =============== MODULES =============== */
.modules { padding: 100px 0; background: #f5f8fc; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(20,40,70,0.05);
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(53,208,255,0.15), rgba(47,111,237,0.15));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.module-icon i { font-size: 22px; color: var(--accent-2); }
.module-card h3 { font-size: 18px; margin-bottom: 10px; }
.module-card p { color: #5c6c86; font-size: 14.5px; }

/* =============== BENEFITS =============== */
.benefits { padding: 100px 0; background: var(--white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f7fafd, #ffffff);
  border: 1px solid #eaeff6;
  transition: transform .25s ease;
}
.benefit-card:hover { transform: translateY(-6px); }
.benefit-card i { font-size: 30px; color: var(--accent-2); margin-bottom: 18px; display: inline-block; }
.benefit-card h3 { font-size: 18px; margin-bottom: 10px; }
.benefit-card p { color: #5c6c86; font-size: 14.5px; }

/* =============== USE CASES =============== */
.usecases { padding: 100px 0; background: #f5f8fc; }
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usecase-card {
  background: var(--white);
  padding: 34px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform .25s ease;
}
.usecase-card:hover { transform: translateY(-6px); }
.usecase-card i { font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--cyan-400), var(--blue-500)); width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.usecase-card h3 { font-size: 17px; margin-bottom: 8px; }
.usecase-card p { color: #5c6c86; font-size: 14.5px; }

/* =============== WHY BANNER =============== */
.why-banner { position: relative; padding: 110px 0; overflow: hidden; }
.banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,10,24,0.93), rgba(9,20,48,0.88)); }
.why-content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.why-content h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 44px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
.why-item { text-align: left; }
.why-number {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--cyan-300);
  margin-bottom: 10px;
}
.why-item p { color: rgba(255,255,255,0.8); font-size: 14.5px; }

/* =============== DEMO FORM =============== */
.demo-section { padding: 110px 0; background: var(--white); }
.demo-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: flex-start;
}
.demo-intro h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; }
.demo-intro p { color: #556278; font-size: 16px; margin-bottom: 10px; }
.contact-mini {
  margin-top: 30px;
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: #f5f8fc;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: #22304a;
}
.contact-mini i { color: var(--accent-2); }

.demo-form {
  background: #f8fafd;
  border: 1px solid #e7edf5;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label { font-size: 13.5px; font-weight: 700; color: #2a3a54; }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid #dfe6ef;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #1c2942;
  background: var(--white);
  transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent-2);
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.checkbox-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #33415c;
  background: var(--white);
  border: 1px solid #e7edf5;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
.checkbox-item input { accent-color: var(--accent-2); width: 16px; height: 16px; flex-shrink: 0; }

.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-privacy { font-size: 12.5px; color: #8a97ab; margin-top: 14px; text-align: center; }
.form-message { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; }
.form-message.success { background: #e6f7ee; color: #147a4a; }
.form-message.error { background: #fdeaea; color: #b3261e; }
.form-message.show { display: block; }

/* =============== FOOTER =============== */
.site-footer { background: var(--navy-950); color: var(--text-muted); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-text { color: var(--text-light); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: #8b9cb8; }
.footer-product { margin-top: 10px; font-size: 13px; color: #6f83a3; }
.footer-col h4 { color: var(--text-light); font-size: 15px; margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { color: #9fb2cf; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--cyan-300); }
.footer-lang-list { display: flex; flex-direction: column; gap: 10px; }
.footer-lang-list button { text-align: left; color: #9fb2cf; font-size: 14px; }
.footer-lang-list button:hover { color: var(--cyan-300); }
.footer-bottom { text-align: center; padding: 24px 0; font-size: 13px; color: #6f83a3; }

/* =============== FLOATING CTA =============== */
.floating-cta {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 900;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: #051022;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 30px -8px rgba(53,208,255,0.55);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all .3s ease;
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* =============== RESPONSIVE =============== */
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: 1fr; gap: 50px; }
  .platform-media { max-width: 500px; margin: 0 auto; }
  .modules-grid, .benefits-grid, .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .challenge-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn-nav { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header-inner { padding: 12px 18px; }
  .hero { padding-top: 90px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { justify-content: center; }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid, .benefits-grid, .usecases-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .platform-badge { position: static; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
  .demo-form { padding: 26px; }
  .lang-current span#lang-current-label { display: none; }
}
