:root {
  --bg: #030510;
  --surface: rgba(13, 17, 29, 0.7);
  --primary: #9d5cfc;
  --primary-glow: rgba(157, 92, 252, 0.4);
  --secondary: #3ccb7f;
  --secondary-glow: rgba(60, 203, 127, 0.3);
  --accent: #ff9a2e;
  --text: #ffffff;
  --subtext: #94969c;
  --border: rgba(255, 255, 255, 0.06);
  --glass: blur(20px);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 10% 20%, rgba(157, 92, 252, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(60, 203, 127, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(3, 5, 16, 1) 0%, #030510 100%);
}

/* Floating Glow Balls */
.glow-ball {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  animation: float 20s infinite alternate;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 50px); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Refinement */
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: var(--glass);
  background: rgba(8, 10, 21, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.header-socials {
  display: flex;
  gap: 1.2rem;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.header-socials a {
  color: var(--subtext);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-socials a:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 0 8px var(--primary));
}

.lang-nav {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.lang-nav a {
  color: var(--subtext);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.lang-nav a:hover, .lang-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section WOW */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -4px;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero p {
  font-size: 1.25rem;
  color: var(--subtext);
  max-width: 800px;
  margin: 0 auto 4rem;
  font-weight: 400;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  padding: 1.2rem 2.8rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: white;
  border: 1px solid var(--border);
  backdrop-filter: var(--glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Premium Sections */
.section-title {
  text-align: center;
  margin: 160px 0 80px;
}

.section-title h2 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -2px;
}

.section-title p {
  color: var(--subtext);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Glass Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 40px 0;
}

.service-card {
  background: var(--surface);
  backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  padding: 4rem 3rem;
  border-radius: 40px;
  transition: all 0.5s;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.visual-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(157, 92, 252, 0.1);
  border-radius: 20px;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Deep Tech Pipeline (The "WOW" Scheme) */
.tech-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin: 80px 0;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 48px;
  border: 1px solid var(--border);
}

.pipeline-step {
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: block;
}

.pipeline-arrow {
  font-size: 2rem;
  color: var(--border);
  opacity: 0.5;
}

/* Roadmap: The Ultimate Feature */
.roadmap-visual {
  position: relative;
  padding: 60px 0;
  max-width: 1000px;
  margin: 0 auto;
}

.roadmap-visual::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--primary), var(--secondary), transparent);
  transform: translateX(-50%);
}

.roadmap-card {
  width: 45%;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 24px;
  backdrop-filter: var(--glass);
  margin-bottom: 40px;
  position: relative;
  transition: all 0.4s;
}

.roadmap-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(157, 92, 252, 0.1);
}

.roadmap-card.left { float: left; text-align: right; }
.roadmap-card.right { float: right; text-align: left; }

.roadmap-card::after {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--bg);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.roadmap-card.left::after { right: -13.5%; }
.roadmap-card.right::after { left: -13.5%; }

.roadmap-visual::after { content: ""; display: table; clear: both; }

.roadmap-date {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.roadmap-status {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--primary-glow);
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* FAQ Clean Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.faq-item {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 30px;
  transition: 0.3s;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

/* Contact Support Hub */
.contact-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.contact-node {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 24px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: 0.4s;
  text-align: center;
}

.contact-node:hover {
  border-color: var(--secondary);
  background: var(--secondary-glow);
  transform: translateY(-5px);
}

.contact-node svg { margin-bottom: 1.5rem; color: var(--secondary); }

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-info h4 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.footer-col h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--subtext); margin-bottom: 2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 1rem; }
.footer-col a { color: var(--subtext); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-col a:hover { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .services-grid, .tech-pipeline, .faq-grid, .footer-grid, .contact-hub { grid-template-columns: 1fr; }
  .roadmap-visual::before { left: 5%; }
  .roadmap-card { width: 90%; float: right !important; text-align: left !important; }
  .roadmap-card::after { left: -7.5% !important; }
  .pipeline-arrow { transform: rotate(90deg); }
}

