/* Import Modern Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --bg-dark: #070B19;
  --bg-card: rgba(15, 23, 42, 0.75);
  --cyan-accent: #00F0FF;
  --cyan-glow: rgba(0, 240, 255, 0.25);
  --blue-brand: #0284C7;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: #F8FAFC;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070B19;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 5px;
  border: 2px solid #070B19;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284C7;
}

/* Glassmorphism Effect */
.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover:hover {
  transform: translateY(-6px);
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 12px 40px 0 rgba(0, 240, 255, 0.15);
}

/* Gradient Text */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00F0FF 0%, #38BDF8 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-silver {
  background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow & Ambient Background Effects */
.ambient-glow-1 {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(14, 165, 233, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.btn-shimmer {
  background: linear-gradient(90deg, #0284C7 0%, #00F0FF 50%, #0284C7 100%);
  background-size: 200% 100%;
  transition: all 0.3s ease;
}

.btn-shimmer:hover {
  background-position: 100% 0;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

/* Custom Checkbox in Budget Calculator */
.custom-checkbox:checked + div {
  border-color: #00F0FF;
  background: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
}

/* Accordion Animation */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-answer.open {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
