/* ==========================================================================
   Progressive Defense - Design System
   ========================================================================== */

:root {
  /* Color Palette - Deep, sophisticated progressive colors */
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;

  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-400: #818cf8;

  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;

  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;

  --surface-light: #f8fafc;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --white: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--indigo-500) 0%, var(--teal-500) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
  --gradient-dark: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
  --shadow-xl: 0 32px 64px -16px rgba(15, 23, 42, 0.2);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);

  /* Typography */
  --font-family: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--white);
  color: var(--navy-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  image-orientation: none;
  /* Fix for browser-specific EXIF rotation */
  font-style: italic;
  /* For broken images */
}

/* Global SVG defaults for cross-browser consistency */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   Background Effects
   ========================================================================== */

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(20, 184, 166, 0.1), transparent);
  pointer-events: none;
  z-index: -2;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.bg-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.08);
  top: -150px;
  right: -100px;
}

.bg-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(20, 184, 166, 0.06);
  bottom: 20%;
  left: -100px;
}



/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h1 em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.6;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--teal-400) 0%, var(--indigo-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-icon {
  font-size: 1.4rem;
}

.nav {
  display: flex;
  gap: var(--space-xl);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-500);
}

.nav a:hover {
  color: var(--navy-900);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  transition: var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
}

.button.primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.button.primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.button.secondary {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid rgba(15, 23, 42, 0.2);
}

.button.secondary:hover {
  border-color: var(--navy-900);
  background: rgba(15, 23, 42, 0.04);
}

.button.secondary.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.button.secondary.light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button.large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.button.full-width {
  width: 100%;
}

.btn-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  max-height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.button:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 160px 0 100px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-copy {
  max-width: 600px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: var(--surface-glass);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--indigo-600);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-500);
  border-radius: 50%;
}



.hero h1 {
  margin-bottom: var(--space-lg);
}

.lead {
  font-size: 1.2rem;
  color: var(--slate-500);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.stat-icon {
  font-size: 1.5rem;
  padding: var(--space-sm);
  background: var(--gradient-subtle);
  border-radius: var(--radius-md);
}

.stat-content strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.stat-content span {
  color: var(--slate-500);
  font-size: 0.9rem;
}

/* Hero Card */
.hero-card {
  perspective: 1000px;
}

.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.card-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--indigo-600);
  margin-bottom: var(--space-md);
}

.glass-card h2 {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
}

.glass-card>p {
  color: var(--slate-500);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

/* Signup Form */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  max-height: 18px;
  color: var(--slate-400);
  pointer-events: none;
  flex-shrink: 0;
}

.signup-form input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 1.5px solid rgba(148, 163, 184, 0.3);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  transition: all var(--transition-fast);
}

.signup-form input:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.signup-form input::placeholder {
  color: var(--slate-400);
}

.input-hint {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-left: var(--space-xs);
}

.fine-print {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--slate-400);
}

.lock-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  max-width: 14px;
  min-height: 14px;
  max-height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: var(--space-xl) 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.8rem;
  color: var(--white);
}

.success-message h2 {
  margin-bottom: var(--space-sm);
}

.success-message p {
  color: var(--slate-500);
}

/* Hero Decoration - Image Stack */
.hero-decoration {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

.image-stack {
  position: relative;
  width: 100%;
}

.hero-image-main {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
  transform: none !important;
  /* Ensure no rotation in any browser */
}

.hero:hover .hero-image-main {
  transform: scale(1.02) !important;
}

/* Fallback for deco circle if needed, but hidden now */
.deco-circle {
  display: none;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  max-width: 700px;
  margin-bottom: var(--space-3xl);
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--indigo-600);
  margin-bottom: var(--space-md);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal-400);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-lead {
  font-size: 1.15rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ==========================================================================
   Mission Cards
   ========================================================================== */

.mission-grid {
  display: grid;
  gap: 24px;
  gap: var(--space-lg, 24px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.mission-card {
  background: #ffffff;
  background: var(--white, #ffffff);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  border-radius: var(--radius-lg, 20px);
  padding: 32px;
  padding: var(--space-xl, 32px);
  transition: all 0.25s ease;
  transition: all var(--transition-base, 0.25s ease);
  /* Flexbox for equal height content alignment */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mission-card.visible {
  /* Animation complete state */
  transform: translateY(-2px);
}

.mission-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.mission-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.mission-icon svg {
  width: 28px;
  height: 28px;
  min-width: 28px;
  max-width: 28px;
  min-height: 28px;
  max-height: 28px;
  flex-shrink: 0;
  stroke: var(--indigo-500);
}

.mission-card h3 {
  margin-bottom: var(--space-sm);
}

.mission-card p {
  color: var(--slate-500);
  font-size: 0.95rem;
}

/* ==========================================================================
   Values Section
   ========================================================================== */

.values-grid {
  display: grid;
  gap: 64px;
  gap: var(--space-3xl, 64px);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.values-content h2 {
  margin-bottom: var(--space-md);
}

.values-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
  line-height: 1.7;
}

.values-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.step {
  display: flex;
  gap: 24px;
  gap: var(--space-lg, 24px);
  padding: 24px;
  padding: var(--space-lg, 24px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border-radius: var(--radius-lg, 20px);
  transition: all 0.25s ease;
  transition: all var(--transition-base, 0.25s ease);
}

.step.visible {
  transform: translateX(0);
}

.step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-400);
  line-height: 1;
}

.step-content h4 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.step-content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Horizontal scroll carousel */
.testimonial-scroll-wrapper {
  position: relative;
  margin-top: 48px;
  margin-top: var(--space-2xl, 48px);
  width: 100%;
  overflow: hidden;
  overflow-x: visible;
}

.testimonial-scroll {
  /* Explicit flexbox for cross-browser */
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  gap: 24px;
  /* Scrolling */
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Padding */
  padding: 20px 4%;
  padding-bottom: 32px;
}

/* Firefox scrollbar */
.testimonial-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.3) rgba(148, 163, 184, 0.1);
}

/* Webkit scrollbar */
.testimonial-scroll::-webkit-scrollbar {
  height: 8px;
}

.testimonial-scroll::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.1);
  border-radius: 4px;
}

.testimonial-scroll::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}

.testimonial-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

.scroll-hint {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
  color: #94a3b8;
  color: var(--slate-400, #94a3b8);
  font-size: 0.85rem;
}

.scroll-hint svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
}



/* Legacy grid fallback */
.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.testimonial-card {
  background: #ffffff;
  background: var(--white, #ffffff);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  border-radius: var(--radius-lg, 20px);
  padding: 32px;
  padding: var(--space-xl, 32px);
  position: relative;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  /* Force fixed size for horizontal scroll */
  width: 360px;
  min-width: 360px;
  max-width: 360px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.testimonial-card.visible {
  transform: translateY(0);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 24px;
}

.testimonial-card p {
  color: var(--navy-900);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
}

.author-info span {
  color: var(--slate-400);
  font-size: 0.85rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  padding-bottom: 120px;
}

/* Hero Typography */
.hero-copy .lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--slate-500);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Card Balance */
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: var(--space-xl);
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 650px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: var(--space-sm);
  font-size: 1.8rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.cta-actions .button.primary {
  background: var(--white);
  color: var(--navy-900);
}

.cta-actions .button.primary:hover {
  background: var(--slate-300);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--surface-light);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-content {
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1.5fr 2fr;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  color: var(--slate-500);
  font-size: 0.95rem;
  margin-bottom: 24px;
  margin-bottom: var(--space-lg, 24px);
}

.social-links {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  gap: 12px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.social-link {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
  color: var(--slate-500, #64748b);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: #6366f1;
  background: var(--indigo-500, #6366f1);
  color: #ffffff;
  color: var(--white, #ffffff);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  padding: 4px 0;
  padding: var(--space-xs, 4px) 0;
  color: #475569;
  color: var(--slate-600, #475569);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #4f46e5;
  color: var(--indigo-600, #4f46e5);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  font-size: 0.9rem;
  color: var(--slate-400);
}

/* ==========================================================================
   Animations - REMOVED
   ========================================================================== */

.animate-fade-in {
  opacity: 1;
}

.animate-slide-up {
  opacity: 1;
}

.animate-slide-up-delay {
  opacity: 1;
}

.animate-fade-in-delay {
  opacity: 1;
}

.animate-scale-in {
  opacity: 1;
}

/* Loading Spinner */
.loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
}

/* Form Error */
.form-error {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #dc2626;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.form-error svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Button disabled state */
.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-card {
    max-width: 480px;
  }

  .hero-decoration {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-content>.button {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .section {
    padding: 60px 0;
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

/* Community Header Layout */
.community-header-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.community-feature-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  transform: none !important;
  /* Ensure no rotation in any browser */
}

@media (max-width: 900px) {
  .hero-decoration {
    opacity: 0.15;
    right: -20%;
    top: 10%;
    width: 400px;
  }

  .community-header-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .community-feature-image {
    order: -1;
    margin: 0 auto;
  }

  .community-feature-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .mission-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}