/* ===== MavenX AI Labs — Global Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

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

:root {
  --black-1: #080808;
  --black-2: #0d0d0d;
  --black-3: #141414;
  --black-4: #1a1a1a;
  --black-5: #222;
  --purple-1: #6c00ff;
  --purple-2: #9b4dff;
  --purple-3: #c084fc;
  --purple-4: #a855f7;
  --white: #ffffff;
  --gray-1: #aaa;
  --gray-2: #777;
  --gray-3: #444;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --glow: 0 0 30px rgba(108,0,255,0.35);
  --glow-sm: 0 0 15px rgba(108,0,255,0.25);
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--black-1);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: var(--font-body); }

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--purple-2); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-1);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-2);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-1);
  transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--purple-3); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--purple-1);
  color: var(--white);
  box-shadow: var(--glow-sm);
}
.btn-primary:hover {
  background: var(--purple-2);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-3);
}
.btn-ghost:hover {
  border-color: var(--purple-2);
  color: var(--purple-3);
  transform: translateY(-2px);
}

/* ===== SECTION BASE ===== */
section { padding: 100px 0; }
.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--purple-3);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-1);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== HERO BASE ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--black-2) 0%, var(--black-1) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--gray-1);
  max-width: 620px;
  line-height: 1.7;
}
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,0,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-1 { top: -200px; right: -100px; }
.hero-glow-2 { bottom: -200px; left: -150px; }

/* ===== CARDS ===== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  border-color: rgba(108,0,255,0.3);
  box-shadow: var(--glow-sm);
  transform: translateY(-4px);
}
.glass-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(108,0,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--purple-3);
}
.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.glass-card p {
  color: var(--gray-1);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== GRID HELPERS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ===== NEWSLETTER STRIP ===== */
.newsletter-strip {
  padding: 80px 0;
  background: var(--black-2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.newsletter-strip .container { text-align: center; }
.newsletter-strip h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.newsletter-strip p { color: var(--gray-1); margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--black-3);
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: var(--purple-2); box-shadow: var(--glow-sm); }
.newsletter-form button { white-space: nowrap; }

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--glass-border);
  background: var(--black-1);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { color: var(--gray-2); font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-2);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray-1); font-size: 0.9rem; transition: var(--transition); }
.footer-col a:hover { color: var(--purple-3); }
.footer-social { display: flex; gap: 16px; margin-top: 8px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--black-3);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-1);
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--purple-1); color: var(--white); border-color: var(--purple-1); }
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--gray-2); font-size: 0.85rem; }

/* ===== LINK ARROW ===== */
.link-arrow {
  font-weight: 600;
  color: var(--purple-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-size: 0.95rem;
}
.link-arrow:hover { color: var(--purple-2); gap: 10px; }

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

/* ===== TAG / BADGE ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(108,0,255,0.15);
  color: var(--purple-3);
}

/* ===== ACCORDION ===== */
.accordion-item {
  border-bottom: 1px solid var(--glass-border);
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: left;
  transition: var(--transition);
}
.accordion-header:hover { color: var(--purple-3); }
.accordion-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: var(--purple-2);
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-content-inner {
  padding: 0 0 20px;
  color: var(--gray-1);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: flex;
  gap: 24px;
  position: relative;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.process-step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(108,0,255,0.15);
  border: 2px solid var(--purple-1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--purple-3);
}
.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--gray-1);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .page-hero { min-height: auto; padding: 120px 0 60px; }
  .newsletter-form { flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-steps { flex-direction: column; }
}
@media (max-width: 480px) {
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .section-title { font-size: 1.8rem; }
}
