/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #070b12;
  color: #e5e7eb;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER & NAV ========== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(7, 11, 18, 0.96);
  border-bottom: 1px solid #1e293b;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1300px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Desktop Menu */
.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.menu a:hover {
  color: #60a5fa;
}

/* Mega Menu (Desktop) */
.dropdown {
  position: relative;
}

.mega {
  position: absolute;
  left: 0;
  top: 100%;
  width: 500px;
  background: #0b1220;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 25px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .mega {
  display: grid;
}

.mega h4 {
  font-size: 14px;
  margin-bottom: 12px;
  color: #fff;
}

.mega a {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: #9ca3af;
}

/* CTA Buttons */
.cta {
  padding: 9px 20px;
  border: 1px solid #60a5fa;
  border-radius: 6px;
  color: #60a5fa;
  text-decoration: none;
  font-size: 14px;
}

.cta:hover {
  background: #60a5fa;
  color: #fff;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 180px 20px 100px;
  text-align: center;
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.15), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero span {
  color: #60a5fa;
}

.hero p {
  color: #9ca3af;
  font-size: clamp(16px, 2vw, 20px);
  max-width: 700px;
  margin: auto;
}

.hero .btn {
  display: inline-block;
  margin-top: 40px;
  background: #fff;
  color: #020617;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Animation Background */
.dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background: radial-gradient(circle, #60a5fa 1px, transparent 1px);
  background-size: 40px 40px;
  animation: move 60s linear infinite;
}

@keyframes move {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 1000px 1000px;
  }
}

/* ========== SECTIONS GENERAL ========== */
section {
  padding: 100px 20px;
  border-top: 1px solid #1e293b;
}

/* ========== GENAI PLATFORM ========== */
.genai-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.genai-text h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.secure {
  background: #22c55e;
}

.scalable {
  background: #f59e0b;
}

.compliant {
  background: #3b82f6;
}

/* Visual Orbit */
.genai-visual {
  position: relative;
  width: 350px;
  height: 350px;
  margin: auto;
}

.core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 120px;
  height: 120px;
  background: #60a5fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  color: #000;
  box-shadow: 0 0 50px rgba(96, 165, 250, 0.5);
}

.node {
  position: absolute;
  width: 100px;
  padding: 10px;
  background: #0b1220;
  border: 1px solid #1e293b;
  border-radius: 10px;
  font-size: 12px;
  text-align: center;
}

.private {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.finetune {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
}

.evaluate {
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.deploy {
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}

/* ========== ANNOTATION SECTION ========== */
.annotation-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.pipeline {
  background: #0b1220;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #1e293b;
}

.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0;
}

.stage {
  padding: 15px;
  background: #1e293b;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.arrow {
  height: 2px;
  flex: 1;
  background: #60a5fa;
  margin: 0 10px;
  position: relative;
}

.metrics {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
}

/* ========== DATA ENGINE CARDS ========== */
.engine-header {
  text-align: center;
  margin-bottom: 60px;
}

.engine-cards {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.engine-card {
  background: #0b1220;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #1e293b;
  transition: 0.3s;
}

.engine-card:hover {
  border-color: #60a5fa;
  transform: translateY(-5px);
}

/* ========== FOOTER CTA ========== */
.cta-box {
  max-width: 1200px;
  margin: auto;
  padding: 60px;
  background: linear-gradient(90deg, #1e3a8a, #070b12);
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-btn {
  background: #fff;
  color: #000;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

/* ========== FOOTER ========== */
.footer-main {
  padding: 80px 20px 40px;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: 13px;
}

/* ========== RESPONSIVE DESIGN (MOBILE FIRST FIXES) ========== */

/* Hamburger Button Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

@media (max-width: 992px) {
  .nav {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #0b1220;
    flex-direction: column;
    padding: 100px 40px;
    transition: 0.4s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .menu.active {
    right: 0;
  }

  .desktop-only {
    display: none;
  }

  .mega {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px 0;
    background: transparent;
    border: none;
  }

  .dropdown.active .mega {
    display: grid;
  }

  .genai-container,
  .annotation-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .genai-visual {
    margin-top: 50px;
  }

  .cta-box {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding: 40px 20px;
  }

  .arrow {
    display: none;
  }

  /* Hide arrows on mobile flow */
  .pipeline-flow {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .genai-visual {
    width: 280px;
    height: 280px;
  }

  .node {
    width: 80px;
    font-size: 10px;
  }
}




/* =========================================================
   PREMIUM MICRO-ANIMATIONS (ADD-ON ONLY — DO NOT MODIFY BASE)
   ========================================================= */

/* Smooth global transitions */
a,
button,
.engine-card,
.pipeline,
.node,
.core {
  transition: all 0.35s ease;
}

/* Hero entrance animation */
.hero-content {
  animation: heroFadeUp 1.2s ease forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle floating GenAI core */
.core {
  animation: floatCore 4s ease-in-out infinite;
}

@keyframes floatCore {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Orbit glow pulse */
.genai-visual::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.15), transparent 70%);
  animation: pulseGlow 3.5s ease-in-out infinite;
  z-index: -1;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }
}

/* Node hover elevation */
.node:hover {
  transform: scale(1.08);
  border-color: #60a5fa;
  box-shadow: 0 15px 40px rgba(96, 165, 250, 0.25);
}

/* Engine cards premium hover */
.engine-card {
  position: relative;
  overflow: hidden;
}

.engine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(96, 165, 250, 0.12), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
}

.engine-card:hover::before {
  transform: translateX(100%);
}

/* Pipeline subtle glow */
.pipeline {
  animation: softGlow 4s ease-in-out infinite;
}

@keyframes softGlow {

  0%,
  100% {
    box-shadow: 0 0 0 rgba(96, 165, 250, 0);
  }

  50% {
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.25);
  }
}

/* CTA breathing effect */
.cta-btn,
.hero .btn {
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Footer CTA lift on hover */
.cta-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

/* Mobile performance safety */
@media (max-width: 768px) {

  .core,
  .pipeline,
  .cta-btn,
  .hero .btn {
    animation-duration: 5s;
  }
}


/* ===== FOOTER SOCIAL ICON ===== */
.footer-social {
  margin-left: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0b1220;
  border: 1px solid #1e293b;
  color: #0a66c2;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #0a66c2;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(10, 102, 194, 0.4);
}
