/* ═══════════════════════════════════════════
   ELEVATE AI — SHARED STYLES
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img, svg { max-width: 100%; }

:root {
  --bg: #080B12;
  --bg2: #0D1220;
  --bg3: #111827;
  --surface: #151C2E;
  --surface2: #1A2338;
  --text: #EDF0F7;
  --muted: #8B95AD;
  --faint: #2A344E;
  --accent: #3BFFC8;
  --accent2: #FF6B4A;
  --accent3: #7B8CFF;
  --border: rgba(59,255,200,0.15);
  --border2: rgba(255,255,255,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.1; }

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 6%;
  transition: background 0.4s, border-bottom 0.4s;
}

nav.scrolled {
  background: rgba(8,11,18,0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
  z-index: 1001;
  flex-shrink: 0;
}

.nav-logo img {
  height: 32px;
  width: auto;
  max-width: 160px;
  display: block;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg { width: 18px; height: 18px; }

.nav-center {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-center a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-center a:hover, .nav-center a.active { color: var(--text); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown > a svg {
  width: 12px;
  height: 12px;
  stroke: var(--muted);
  transition: transform 0.2s, stroke 0.2s;
}

.nav-dropdown:hover > a svg { transform: rotate(180deg); stroke: var(--text); }

.dropdown-menu {
  position: absolute;
  /* top: calc(100% + 12px); */
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13,18,32,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--muted) !important;
  transition: background 0.2s, color 0.2s !important;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: var(--surface);
  color: var(--text) !important;
}

.dropdown-menu a .dd-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(59,255,200,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--accent);
  color: #080B12;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  background: none;
  border: none;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,11,18,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--text); }

.mobile-menu .mobile-sub {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  border-top: 1px solid var(--border2);
  padding-top: 1.5rem;
  width: 100%;
}

.mobile-menu .mobile-sub a {
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-menu .mobile-cta {
  background: var(--accent);
  color: #080B12 !important;
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  font-size: 1rem !important;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* BUTTONS */
.btn-primary {
  background: var(--accent);
  color: #080B12;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); }

.btn-secondary {
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--faint);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover { border-color: var(--muted); color: var(--text); }

/* SECTIONS */
section { position: relative; z-index: 1; padding: 6rem 6%; }

.section-header { margin-bottom: 3.5rem; }

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 0.75rem;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 7rem 6% 5rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--faint) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,255,200,0.07) 0%, transparent 65%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,140,255,0.06) 0%, transparent 65%);
  bottom: -100px; left: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.hero-tag span { font-size: 0.78rem; color: var(--accent); letter-spacing: 0.05em; font-weight: 500; }

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.35s ease forwards;
}

.hero h1 .accent { color: var(--accent); }
.hero h1 .accent2 { color: var(--accent3); }
.hero h1 .accent3 { color: var(--accent2); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.65s ease forwards;
}

.hero-stats {
  position: absolute;
  right: 6%; bottom: 8%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
  opacity: 0;
  animation: fadeLeft 1s 0.9s ease forwards;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  min-width: 160px;
}

.stat-card .num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-card .desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 300;
}

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.testi-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 1.5rem; left: 1.5rem;
}

.testi-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  font-weight: 300;
}

.testi-author { display: flex; align-items: center; gap: 0.75rem; }

.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem; font-weight: 800;
  color: var(--bg);
}

.testi-name { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--text); }
.testi-role { font-size: 0.78rem; color: var(--muted); font-weight: 300; }

/* CTA SECTION */
.cta-section {
  background: var(--bg);
  padding: 7rem 6%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,255,200,0.06) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.cta-section .label { margin-bottom: 1rem; }

.cta-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 620px;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 4rem 6% 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover { border-color: var(--border); color: var(--accent); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { font-size: 0.82rem; color: var(--muted); font-weight: 300; }
.badge-ug {
  font-size: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--faint);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
}

@media (max-width: 720px) {
  .nav-center, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
}
