/* Template 2 - Midnight Blue Corporate */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --gradient-1: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  --gradient-3: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-4: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
  --gradient-5: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);

  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --glass-bg: rgba(30, 58, 138, 0.1);
  --glass-border: rgba(59, 130, 246, 0.2);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(30, 58, 138, 0.3) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 40%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

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

/* Header with Glassmorphism */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo a {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
  display: inline-block;
}

.site-logo a:hover {
  color: #3b82f6;
  transform: translateY(-2px);
}

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

.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.site-nav a:hover {
  color: var(--text-primary);
}

.site-nav a:hover::after {
  width: 80%;
}

/* Hero Section */
.section.head {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section.head h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  animation: slideInDown 0.8s ease-out;
  letter-spacing: -1px;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section.head p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section header {
  text-align: center;
  margin-bottom: 4rem;
}

.section header h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.section header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 5rem;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-about {
  flex: 1;
  max-width: 400px;
}

.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.copyright a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  opacity: 0;
  animation: floatIn 0.8s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.3s;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

body:not(.faq) h3,
:not(section.faq) h3 {
  font-size: 1.7rem;
  color: #f8fafc;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: left;
}
