@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --navy: #0a0e1a;
  --navy-2: #0f1628;
  --navy-3: #151d35;
  --blue: #4a90d9;
  --blue-light: #6db3f2;
  --violet: #7b6cf6;
  --violet-light: #a89ef8;
  --cyan: #3dd6f5;
  --white: #f0f4ff;
  --white-muted: #8a9bc5;
  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  --gradient-text: linear-gradient(135deg, #6db3f2 0%, #a89ef8 100%);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── BACKGROUND AMBIANCE ─── */
body::before {
  content: '';
  position: fixed;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123,108,246,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,144,217,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-cta {
  background: var(--gradient);
  color: white !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 7rem 5% 4rem;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 650px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(123,108,246,0.15);
  border: 1px solid rgba(123,108,246,0.3);
  color: var(--violet-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--violet-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--white-muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gradient);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(123,108,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(123,108,246,0.5); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.25); background: var(--card-bg); }

/* ─── SECTIONS ─── */
section {
  padding: 6rem 5%;
  position: relative;
  z-index: 1;
}
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-title em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  color: var(--white-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 3rem;
}

/* ─── CARDS ─── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(123,108,246,0.3);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(123,108,246,0.15);
  border: 1px solid rgba(123,108,246,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--white-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ─── GRID ─── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }

/* ─── DIVIDER ─── */
.divider {
  height: 1px;
  background: var(--card-border);
  margin: 0 5%;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-2);
  border-top: 1px solid var(--card-border);
  padding: 3rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
  position: relative; z-index: 1;
}
.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}
.footer-logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
footer p { color: var(--white-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--white-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ─── CONTACT FORM ─── */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--white-muted); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: rgba(123,108,246,0.5);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--navy-2); }

/* ─── TAG ─── */
.tag {
  display: inline-block;
  background: rgba(74,144,217,0.12);
  border: 1px solid rgba(74,144,217,0.25);
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.6s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 4%; }
  .nav-links { display: none; }
  section { padding: 4rem 5%; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
