/* =========================================================================
   EASYAI - DISTINCT ODD/EVEN SECONDARY GRADIENT SYSTEM & ACTIVE NAV
   ========================================================================= */

:root {
  --navy: #0A2B57;
  --blue: #2477F2;
  --blue-dark: #1356CE;
  --blue-soft: #EBF3FF;
  --indigo: #6366F1;
  --indigo-soft: #EEF2FF;
  --ink: #0F172A;
  --muted: #475569;
  --bg-main: #FFFFFF;
  --bg-alt: #F8FAFC;
  --border: #E2E8F0;
  --card-bg: #FFFFFF;
  
  --emerald: #10B981;
  --gold: #F59E0B;
  
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(10, 43, 87, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(10, 43, 87, 0.08);
  --shadow-lg: 0 20px 45px -12px rgba(10, 43, 87, 0.14);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography Rules */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Header Sticky-on-Scroll */
.header-nav {
  position: relative;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-nav.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px -6px rgba(10, 43, 87, 0.1);
  animation: headerSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes headerSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Navigation Active System */
.nav-link {
  color: var(--muted);
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--blue);
  background-color: rgba(36, 119, 242, 0.05);
}

.nav-link.active {
  color: var(--blue);
  background-color: var(--blue-soft);
  border-color: rgba(36, 119, 242, 0.3);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(36, 119, 242, 0.15);
}

/* DISTINCT ODD & EVEN GRADIENT SECTION SYSTEM */
/* Odd Sections: Vibrant Soft Indigo-Blue Atmosphere */
.section-odd {
  background: radial-gradient(1000px circle at 15% 10%, rgba(99, 102, 241, 0.12), transparent 55%),
              radial-gradient(800px circle at 85% 90%, rgba(36, 119, 242, 0.10), transparent 55%),
              linear-gradient(180deg, #F0F4FF 0%, #E8EEFF 50%, #F5F8FF 100%);
  border-bottom: 1px solid rgba(199, 210, 254, 0.6);
  position: relative;
  overflow: hidden;
}

/* Even Sections: Crisp Slate & Emerald-Navy Atmosphere */
.section-even {
  background: radial-gradient(1000px circle at 85% 10%, rgba(10, 43, 87, 0.08), transparent 58%),
              radial-gradient(800px circle at 15% 90%, rgba(16, 185, 129, 0.07), transparent 58%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 50%, #F1F5F9 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
}

/* Modern Glass & Primary Glow Cards */
.card-modern {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  overflow: hidden;
}

.card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(36, 119, 242, 0.7) 50%, transparent 100%);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.card-modern:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(36, 119, 242, 0.4);
  box-shadow: 0 20px 45px -12px rgba(36, 119, 242, 0.2);
}

.card-modern:hover::before {
  opacity: 1;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2477F2 0%, #1356CE 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(36, 119, 242, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(36, 119, 242, 0.45);
}

/* FAQ Accordion Styling */
details.faq-item {
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

details.faq-item:hover, details.faq-item[open] {
  border-color: rgba(36, 119, 242, 0.4);
  box-shadow: var(--shadow-md);
}

details.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-soft);
  color: var(--blue);
}

/* Sticky Bottom CTA Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  box-shadow: 0 -8px 24px rgba(10, 43, 87, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-bar.visible {
  transform: translateY(0);
}
