@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #C0F000;
  --primary-dark: #8FB700;
  --primary-light: #E8FF99;
  --ink: #0B0E13;
  --ink-2: #131821;
  --text: #1B2230;
  --muted: #6B7280;
  --bg: #F6F8FA;
  --panel: #FFFFFF;
  --line: #E6EAF0;
  --shadow: 0 18px 45px rgba(10, 15, 24, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

section { padding: 96px 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(192, 240, 0, 0.18);
  color: #0B1400;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #0D1300;
  box-shadow: 0 10px 30px rgba(192, 240, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #F6F6F6;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 13, 18, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #F3F6F8;
}
.logo img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #DDE3EA;
  font-weight: 500;
}
.site-nav a { position: relative; }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.site-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #F3F6F8;
}

.hero {
  background: radial-gradient(circle at top left, rgba(192, 240, 0, 0.28), transparent 45%),
              linear-gradient(120deg, #0A0D12 0%, #121827 55%, #0A0D12 100%);
  color: #F8FAFC;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(192, 240, 0, 0.35), rgba(192, 240, 0, 0));
  filter: blur(10px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.05; }
.hero p { color: rgba(255, 255, 255, 0.7); font-size: 18px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hero-stat {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}
.hero-stat strong { display: block; font-size: 20px; color: var(--primary); }
.hero-visual {
  position: relative;
}
.hero-visual img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-overlay {
  position: absolute;
  left: -30px;
  bottom: -24px;
  background: #0F1420;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: min(280px, 90%);
}
.hero-overlay h4 { color: #F3F6F8; font-size: 16px; margin-bottom: 8px; }
.hero-overlay .spark {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  align-items: end;
  height: 60px;
}
.hero-overlay span {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--primary), #3D5C00);
  border-radius: 6px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-title h2 { font-size: clamp(28px, 3vw, 40px); }

.feature-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.metric-board {
  background: linear-gradient(140deg, #0F1420 0%, #141C2E 100%);
  border-radius: 26px;
  padding: 28px;
  color: #F3F6F8;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.metric-board::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(192, 240, 0, 0.2), transparent 55%);
}
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.metric-row:last-child { border-bottom: none; }
.metric-row strong { color: var(--primary); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(21, 24, 32, 0.12); }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(192, 240, 0, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.step-card {
  background: var(--panel);
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.step-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary);
  color: #0C1200;
  font-weight: 700;
  margin-bottom: 12px;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.case-card {
  background: linear-gradient(135deg, #FFFFFF, #F1F5F9);
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.testimonial {
  background: #0F1420;
  color: #F3F6F8;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta {
  background: linear-gradient(130deg, #0D121B 0%, #141C2C 60%, #0D121B 100%);
  color: #F6F7F9;
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cta-device {
  background: #0B0F18;
  border-radius: 28px;
  padding: 30px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero {
  padding: 110px 0 70px;
  background: linear-gradient(140deg, #0E1320 0%, #141B2E 60%, #0E1320 100%);
  color: #F6F7F9;
}
.page-hero .hero-grid { grid-template-columns: 1fr 1fr; }

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
}

.form-card {
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 25, 35, 0.08);
}

form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
input, textarea, select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #D7DDE5;
  font-family: inherit;
  font-size: 15px;
}
textarea { min-height: 120px; resize: vertical; }

.alert {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  margin-top: 12px;
  font-weight: 600;
}
.alert.success { background: rgba(45, 212, 191, 0.18); color: #0F172A; }
.alert.error { background: rgba(239, 68, 68, 0.15); color: #7F1D1D; }

.doc-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.site-footer {
  background: #0B0E13;
  color: #D2D7DE;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-links a { display: block; margin-bottom: 10px; color: #D2D7DE; }
.footer-bottom { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 18px; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-grid, .feature-split, .cta, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-cases, .testimonials, .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 36px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .site-nav { display: none; position: absolute; left: 4%; right: 4%; top: 78px; background: #0B0E13; padding: 20px; border-radius: 16px; flex-direction: column; }
  .site-nav.active { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .btn { display: none; }
  .hero-stats, .feature-grid, .use-cases, .testimonials, .section-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-overlay { position: relative; left: 0; bottom: 0; margin-top: 16px; }
}

body.h5 {
  background: #0B0E13;
  color: #F3F6F8;
}
body.h5 section { padding: 48px 0; }
body.h5 .info-card, body.h5 .form-card {
  background: #121826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #E3E8EF;
}
body.h5 p { color: rgba(255, 255, 255, 0.72); }
