/* ============================================
   NIGERIAN LEGAL ASSISTANT - MAIN STYLESHEET
   Mobile-First, Premium Design
   ============================================ */

/* ---- RESET & ROOT VARIABLES ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --royal-blue: #002366;
  --royal-blue-light: #0047CC;
  --royal-blue-dark: #001540;
  --gold: #B8860B;
  --gold-light: #FFD700;
  --charcoal: #1a1a2e;
  --charcoal-mid: #333333;
  --charcoal-light: #555555;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --light-grey: #F0F2F8;
  --border-grey: #E0E4EE;
  --success: #00875A;
  --error: #C0392B;
  --warning: #E67E22;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 35, 102, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 35, 102, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 35, 102, 0.18);
  --shadow-xl: 0 30px 80px rgba(0, 35, 102, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--charcoal-mid);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--royal-blue); border-radius: 3px; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-grey);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  font-size: 28px;
  animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1.1;
}

.brand-accent {
  color: var(--gold);
}

.brand-sub {
  font-size: 10px;
  color: var(--charcoal-light);
  letter-spacing: 0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline-nav {
  padding: 8px 20px;
  border: 2px solid var(--royal-blue);
  background: transparent;
  color: var(--royal-blue);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-nav:hover {
  background: var(--royal-blue);
  color: var(--white);
}

.btn-primary-nav {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 35, 102, 0.3);
}

.btn-primary-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 35, 102, 0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, var(--royal-blue-dark) 0%, var(--royal-blue) 40%, #003399 70%, #0047CC 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(184, 134, 11, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(0, 71, 204, 0.3) 0%, transparent 40%);
}

.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--gold-light);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--white);
  bottom: 100px;
  left: -80px;
  animation-delay: 3s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--gold);
  top: 50%;
  right: 20%;
  animation-delay: 5s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.title-gradient {
  background: linear-gradient(135deg, var(--gold-light), #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--royal-blue-dark);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(184, 134, 11, 0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(184, 134, 11, 0.5);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.5s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  background: var(--white);
  padding: 32px 24px;
  border-bottom: 1px solid var(--border-grey);
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.trust-label {
  font-size: 12px;
  color: var(--charcoal-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 500;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--off-white);
  border: 1px solid var(--border-grey);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--royal-blue);
  transition: var(--transition);
}

.trust-badge:hover {
  background: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
  transform: translateY(-2px);
}

.trust-badge i { color: var(--gold); }
.trust-badge:hover i { color: var(--gold-light); }

/* ============================================
   SECTIONS - SHARED
   ============================================ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 35, 102, 0.08);
  color: var(--royal-blue);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--charcoal-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 0;
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-card--large {
    grid-column: span 2;
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-grey);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue), var(--gold));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-wrap i {
  font-size: 24px;
  color: var(--white);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--charcoal-mid);
}

.feature-list li i {
  color: var(--success);
  font-size: 13px;
  flex-shrink: 0;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.howitworks-section {
  padding: 100px 0;
  background: var(--white);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
  }
}

.step-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  flex: 1;
  border: 1px solid var(--border-grey);
  transition: var(--transition);
  max-width: 250px;
  width: 100%;
}

.step-card:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card:hover h3,
.step-card:hover p,
.step-card:hover .step-number {
  color: var(--white);
}

.step-card:hover .step-icon {
  background: rgba(255,255,255,0.2);
  color: var(--gold-light);
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--border-grey);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition);
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 35, 102, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  color: var(--royal-blue);
  transition: var(--transition);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  transition: var(--transition);
}

.step-card p {
  font-size: 14px;
  color: var(--charcoal-light);
  line-height: 1.6;
  transition: var(--transition);
}

.step-connector {
  color: var(--royal-blue);
  font-size: 20px;
  opacity: 0.4;
  display: none;
}

@media (min-width: 768px) {
  .step-connector { display: block; margin-top: 80px; }
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  padding: 100px 0;
  background: var(--off-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--border-grey);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background: linear-gradient(160deg, var(--royal-blue-dark), var(--royal-blue));
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-xl);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card--featured .plan-name,
.pricing-card--featured .price-amount,
.pricing-card--featured .price-period,
.pricing-card--featured .plan-tagline,
.pricing-card--featured .plan-features li {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card--featured .plan-features li i.fa-check {
  color: var(--gold-light);
}

.pricing-card--featured .plan-features li.feature-disabled {
  color: rgba(255, 255, 255, 0.3);
}

.pricing-popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-header { margin-bottom: 32px; }

.plan-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.plan-badge.free { background: rgba(0, 135, 90, 0.1); color: var(--success); }
.plan-badge.premium { background: rgba(184, 134, 11, 0.2); color: var(--gold); }
.plan-badge.enterprise { background: rgba(0, 35, 102, 0.1); color: var(--royal-blue); }

.pricing-card--featured .plan-badge.premium { background: rgba(255, 215, 0, 0.2); color: var(--gold-light); }

.plan-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--royal-blue);
}

.pricing-card--featured .price-amount { color: var(--gold-light); }

.price-period {
  font-size: 16px;
  color: var(--charcoal-light);
}

.plan-tagline {
  font-size: 14px;
  color: var(--charcoal-light);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--charcoal-mid);
}

.plan-features li i.fa-check { color: var(--success); flex-shrink: 0; }
.plan-features li i.fa-times { color: var(--error); flex-shrink: 0; }

.feature-disabled { opacity: 0.5; }

.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-plan-outline {
  background: transparent;
  border: 2px solid var(--royal-blue);
  color: var(--royal-blue);
}

.btn-plan-outline:hover {
  background: var(--royal-blue);
  color: var(--white);
}

.btn-plan-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: var(--royal-blue-dark);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.btn-plan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 134, 11, 0.5);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-grey);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--royal-blue);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i { color: var(--gold-light); font-size: 14px; }

.testimonial-text {
  font-size: 15px;
  color: var(--charcoal-mid);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--charcoal);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--charcoal-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--royal-blue-dark), var(--royal-blue));
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(184, 134, 11, 0.2) 0%, transparent 60%);
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--royal-blue-dark);
  border: none;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 40px rgba(184, 134, 11, 0.5);
}

.btn-cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(184, 134, 11, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr;
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--royal-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 60, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.98);
  transition: var(--transition);
  animation: none;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-container--wide {
  max-width: 760px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--off-white);
  color: var(--charcoal-light);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--error);
  color: var(--white);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-logo {
  font-size: 48px;
  margin-bottom: 16px;
  animation: gentleFloat 3s ease-in-out infinite;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 15px;
  color: var(--charcoal-light);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group label i {
  color: var(--royal-blue);
  width: 14px;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 2px solid var(--border-grey);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--royal-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 35, 102, 0.08);
}

.form-group input::placeholder { color: #AAA; }

.password-wrap {
  position: relative;
}

.password-wrap input {
  width: 100%;
  padding-right: 50px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--charcoal-light);
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
  transition: var(--transition);
}

.toggle-password:hover { color: var(--royal-blue); }

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--charcoal-mid);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--royal-blue);
}

.checkbox-label a { color: var(--royal-blue); text-decoration: none; }

.forgot-link {
  font-size: 13px;
  color: var(--royal-blue);
  text-decoration: none;
  font-weight: 600;
}

.forgot-link:hover { text-decoration: underline; }

.form-error {
  font-size: 13px;
  color: var(--error);
  background: rgba(192, 57, 43, 0.08);
  border-radius: var(--radius-sm);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.form-error.visible {
  padding: 12px 16px;
  max-height: 100px;
}

.form-success {
  font-size: 13px;
  color: var(--success);
  background: rgba(0, 135, 90, 0.08);
  border-radius: var(--radius-sm);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.form-success.visible {
  padding: 12px 16px;
  max-height: 100px;
}

.btn-modal-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(0, 35, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 35, 102, 0.4);
}

.btn-modal-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.modal-footer-text {
  text-align: center;
  font-size: 14px;
  color: var(--charcoal-light);
  margin-top: 24px;
}

.modal-footer-text a {
  color: var(--royal-blue);
  font-weight: 600;
  text-decoration: none;
}

.modal-footer-text a:hover { text-decoration: underline; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--charcoal);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast i { color: var(--success); }
.toast.error i { color: var(--error); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 480px) {
  .modal-container { padding: 32px 24px; }
  .modal-container--wide { padding: 32px 20px; }
  .hero-stats { gap: 16px; }
  .stat-number { font-size: 24px; }
  .nav-actions .btn-outline-nav { display: none; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 360px) {
  .hero-cta { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
}