:root {
  --navy: #0d1117;
  --dark: #161b27;
  --card: #1e2535;
  --purple: #7c3aed;
  --purple-light: #9d5cf0;
  --purple-glow: rgba(124, 58, 237, 0.15);
  --green: #10b981;
  --green-dark: #059669;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(124, 58, 237, 0.2);
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-dot { color: var(--purple); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: white; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.lang-switch:hover { border-color: var(--purple); color: #fff; }
.nav-cta {
  background: var(--purple);
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: var(--purple-light); transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(124, 58, 237, 0.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 30% at 80% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
}
.hero-inner {
  position: relative;
  max-width: 880px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: #c4b5fd;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-badge::before { content: '●'; font-size: 8px; color: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--purple), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--purple);
  color: white;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover { background: var(--purple-light); transform: translateY(-2px); box-shadow: 0 0 40px rgba(124, 58, 237, 0.6); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--purple); color: white; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  display: block;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; max-width: 200px; }

/* ===== SECTIONS ===== */
section { padding: 96px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.section-tag::before { content: '◆'; font-size: 8px; }
h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* ===== TECH / CAPABILITY CARDS ===== */
.news-section { background: var(--dark); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--green));
}
.news-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.news-card-tag {
  display: inline-block;
  background: var(--purple-glow);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.news-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
}
.news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.news-card-impact {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  font-size: 13px;
  color: var(--green);
}
.news-card-impact strong { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.2s;
}
.service-card:hover { border-color: var(--purple); background: rgba(30, 37, 53, 0.9); }
.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== CASE STUDY ===== */
.case-section { background: var(--dark); }
.case-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.case-tag {
  background: linear-gradient(135deg, var(--purple), var(--green));
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 16px;
}
.case-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}
.case-box p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.result-box {
  background: rgba(13, 17, 23, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.result-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  display: block;
}
.result-num.green { color: var(--green); }
.result-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.result-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; opacity: 0.7; }

/* ===== ROI CALCULATOR ===== */
.roi-section { background: linear-gradient(180deg, var(--navy) 0%, rgba(124, 58, 237, 0.05) 100%); }
.roi-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}
.roi-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.roi-box p { color: var(--text-muted); margin-bottom: 32px; }
.roi-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.roi-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.roi-field input, .roi-field select {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.roi-field input:focus, .roi-field select:focus { border-color: var(--purple); }
.roi-result {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(16, 185, 129, 0.08));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  text-align: center;
}
.roi-result-item .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  display: block;
}
.roi-result-item .num.green { color: var(--green); }
.roi-result-item .label { font-size: 12px; color: var(--text-muted); }
.roi-calc-btn {
  background: var(--purple);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-bottom: 20px;
  transition: background 0.2s;
}
.roi-calc-btn:hover { background: var(--purple-light); }
.roi-disclaimer { font-size: 12px; color: var(--text-muted); margin-top: 16px; text-align: center; opacity: 0.7; }

/* ===== GLOSSARY ===== */
.glossary-section { background: var(--dark); }
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.glossary-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.glossary-term {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 6px;
}
.glossary-def { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ===== CONTACT ===== */
.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--purple);
}
.form-group textarea { height: 120px; resize: vertical; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0;
}
.consent-label input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple); flex-shrink: 0; }
.consent-label a { color: var(--purple-light); }
.form-submit {
  background: var(--purple);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}
.form-submit:hover { background: var(--purple-light); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-notice { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }
.success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 16px;
  color: var(--green);
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
}
.error-msg {
  display: none;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 16px;
  color: #f87171;
  text-align: center;
  margin-top: 16px;
  font-weight: 500;
  font-size: 14px;
}

/* ===== TRUST BAR ===== */
.trust-section {
  background: var(--dark);
  padding: 40px 24px;
  text-align: center;
}
.trust-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}
.trust-logo { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: 0.05em; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .case-box { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .roi-fields { grid-template-columns: 1fr; }
  .roi-result { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .case-results { grid-template-columns: 1fr 1fr; }
}

/* ===== FADE IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
