/* ============================================================
   BurchZONES - Enhanced CSS (COMPLETE)
   Bold & Modern | Dark Navy + Electric Blue
   Fully compatible with all HTML pages
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&display=swap');

/* CSS Variables - Properly Scoped with Fallbacks */
:root {
  /* Brand Colors */
  --primary: #0a0f2e;
  --secondary: #0057ff;
  --accent: #00c2ff;
  --green: #00e676;
  --white: #ffffff;
  --light: #f0f4ff;
  --mid: #6c7a9e;
  --surface: #111827;
  --card-bg: #1a2340;
  
  /* Effects */
  --border: rgba(0, 87, 255, 0.18);
  --shadow: 0 8px 32px rgba(0, 87, 255, 0.15);
  --shadow-lg: 0 20px 60px rgba(0, 87, 255, 0.25);
  
  /* Typography */
  --font-head: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  
  /* Spacing & Radius */
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   SMOOTH SCROLL OFFSET FOR FIXED HEADER
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   FOCUS STATES - ACCESSIBILITY
   ============================================================ */
*:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Skip to content link - Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 8px 16px;
  z-index: 1001;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 80px;
}

/* ============================================================
   LAYOUT - OPTIMIZED SPACING
   ============================================================ */
.container {
  width: min(94%, 1400px);
  margin-inline: auto;
}

section, .section {
  padding: 60px 0;
}

@media (max-width: 768px) {
  section, .section {
    padding: 40px 0;
  }
}

/* ============================================================
   HEADER & NAVIGATION - WITH FALLBACK
   ============================================================ */
.header {
  background: rgba(255, 255, 255, 0.96);
  /* Fallback for older browsers */
  background: #ffffff;
  /* Modern browsers */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 87, 255, 0.1);
  transition: var(--transition);
}

/* Support check for backdrop-filter */
@supports not (backdrop-filter: blur(16px)) {
  .header {
    background: rgba(255, 255, 255, 0.98);
  }
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0, 87, 255, 0.12);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.sitename {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.5px;
}

.sitename span {
  color: var(--secondary);
}

/* Desktop Navigation */
.navmenu ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.navmenu > ul > li > a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.navmenu > ul > li > a:hover,
.navmenu > ul > li > a.active {
  background: var(--light);
  color: var(--secondary);
}

/* Dropdown Menus */
.navmenu .dropdown {
  position: relative;
}

.navmenu .dropdown ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 220px;
  padding: 10px;
  box-shadow: var(--shadow);
  z-index: 100;
}

.navmenu .dropdown:hover > ul {
  display: flex;
}

.navmenu .dropdown ul li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--primary);
  border-radius: 6px;
  transition: var(--transition);
}

.navmenu .dropdown ul li a:hover {
  background: var(--light);
  color: var(--secondary);
}

/* Nested Dropdown */
.navmenu .dropdown .dropdown {
  position: relative;
}

.navmenu .dropdown .dropdown > ul {
  top: 0;
  left: 100%;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
  background: none;
  border: none;
  transition: var(--transition);
}

/* Mobile Active State */
.mobile-nav-active .navmenu ul {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  padding: 80px 24px 24px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 999;
}

.mobile-nav-active .navmenu ul li a {
  padding: 12px 16px;
  font-size: 1rem;
  display: block;
  width: 100%;
}

.mobile-nav-active .navmenu .dropdown ul {
  position: static;
  box-shadow: none;
  padding-left: 20px;
  background: transparent;
}

/* ============================================================
   HERO SECTION - OPTIMIZED HEIGHT
   ============================================================ */
.hero {
  min-height: 85vh;
  /* Fallback for older browsers */
  background: #0a1640;
  /* Modern browsers */
  background: linear-gradient(145deg, #020818 0%, #0a1640 45%, #0d2060 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(0, 87, 255, 0.18) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 194, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -1px;
}

.hero h1 b {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (background-clip: text) {
  .hero h1 b {
    color: var(--accent);
    background: none;
    -webkit-text-fill-color: initial;
  }
  
  .stat-number {
    color: var(--accent);
    background: none;
    -webkit-text-fill-color: initial;
  }
}

.hero h2 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 520px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}

.hero-badge i {
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-img img {
  width: 100%;
  border-radius: 20px;
  filter: drop-shadow(0 20px 60px rgba(0, 87, 255, 0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 70px;
    padding-bottom: 40px;
    min-height: auto;
    text-align: center;
  }
  
  .hero h2 {
    margin: 0 auto 1.5rem;
  }
  
  .hero-badges {
    justify-content: center;
  }
}

/* ============================================================
   STATS BAR SECTION - ENHANCED REDESIGN (REDUCED FONT SIZES)
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #0d1a4a 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

/* Animated background effect */
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 87, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 194, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.stats-bar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.03) 0%, transparent 70%);
  animation: statsPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes statsPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Enhanced Stat Cards */
.stat-card-enhanced {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 194, 255, 0.15);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.08), transparent);
  transition: left 0.6s ease;
}

.stat-card-enhanced:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 194, 255, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat-card-enhanced:hover::before {
  left: 100%;
}

/* Stat Icon - SMALLER */
.stat-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.2), rgba(0, 194, 255, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.stat-card-enhanced:hover .stat-icon {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  transform: scale(1.05);
}

.stat-icon i {
  font-size: 1.4rem;
  color: var(--accent);
  transition: var(--transition);
}

.stat-card-enhanced:hover .stat-icon i {
  color: var(--white);
}

/* Stat Number - SMALLER */
.stat-number-wrapper {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.8;
}

.stat-currency {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-right: 2px;
}

/* Stat Label - SMALLER */
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: -0.3px;
}

/* Stat Description - SMALLER */
.stat-description {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-card-enhanced {
    padding: 20px 14px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-icon {
    width: 44px;
    height: 44px;
  }
  
  .stat-icon i {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .stat-description {
    font-size: 0.65rem;
  }
}

@media (max-width: 576px) {
  .stats-bar {
    padding: 40px 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .stat-card-enhanced {
    padding: 18px 12px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  
  .stat-icon i {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .stat-description {
    font-size: 0.6rem;
  }
}

/* ============================================================
   BUTTONS - STANDARDIZED
   ============================================================ */
.btn-get-started,
.cta-btn,
.btn,
.btn-primary,
.btn-outline-primary {
  cursor: pointer;
  transition: var(--transition);
}

.btn-get-started {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0, 87, 255, 0.4);
  border: none;
}

.btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 87, 255, 0.5);
  color: var(--white);
}

.btn-get-started i {
  font-size: 1rem;
  transition: transform 0.3s;
}

.btn-get-started:hover i {
  transform: translateX(4px);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--secondary);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--secondary);
}

.cta-btn:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 87, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 87, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.4);
  color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn-outline-primary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Disabled button states */
.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* ============================================================
   LOADING STATES
   ============================================================ */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spinner-rotate {
  to { transform: rotate(360deg); }
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading .btn-text {
  opacity: 0;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
}

/* ============================================================
   SECTION TITLES - REDUCED MARGIN
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--mid);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.section-title .badge-label {
  display: inline-block;
  background: var(--light);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 30px;
  }
}

/* ============================================================
   SERVICE BOXES - OPTIMIZED
   ============================================================ */
.services.section {
  background: var(--light);
}

.service-box {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 87, 255, 0.3);
}

.service-box .service-icon {
  width: 56px;
  height: 56px;
  background: var(--light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  transition: var(--transition);
}

.service-box:hover .service-icon {
  background: var(--secondary);
  color: var(--white);
}

.service-box h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.service-box p {
  color: var(--mid);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.service-box .service-list {
  list-style: none;
  padding: 0;
}

.service-box .service-list li {
  padding: 6px 0 6px 22px;
  font-size: 0.85rem;
  color: var(--mid);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.service-box .service-list li:last-child {
  border-bottom: none;
}

.service-box .service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: auto;
}

.read-more i {
  transition: transform 0.3s;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* ============================================================
   FEATURE BOXES - OPTIMIZED
   ============================================================ */
.features.section {
  background: var(--white);
}

.feature-box {
  background: var(--light);
  padding: 24px 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.feature-box h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-box p {
  color: var(--mid);
  font-size: 0.88rem;
  margin: 0;
}

/* ============================================================
   PRICING PLANS (Support_Tier) - COMPACT
   ============================================================ */
.pricing-plans.section {
  background: var(--light);
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.plan-card.featured {
  border: 2px solid var(--secondary);
  background: linear-gradient(145deg, #fff 0%, var(--light) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--white);
  padding: 5px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.plan-header h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.price {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.price .currency {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--secondary);
}

.price .period {
  font-size: 0.85rem;
  color: var(--mid);
  font-family: var(--font-body);
  font-weight: 400;
}

.subtitle {
  color: var(--mid);
  font-size: 0.85rem;
  margin: 0;
}

.plan-features {
  flex: 1;
  margin-bottom: 20px;
}

.plan-features ul {
  list-style: none;
  padding: 0;
}

.plan-features li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li > i {
  color: var(--green);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-content strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.feature-content p {
  color: var(--mid);
  font-size: 0.8rem;
  margin: 0;
}

.plan-footer {
  text-align: center;
  padding-top: 20px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq.section {
  background: var(--white);
}

.faq-item {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--secondary);
}

.faq-item h3 {
  font-size: 1rem;
  display: flex;
  gap: 12px;
  margin: 0;
  align-items: center;
}

.faq-item .num {
  color: var(--secondary);
  font-weight: 600;
}

.faq-content {
  padding-top: 10px;
  color: var(--mid);
  font-size: 0.9rem;
  display: none;
}

.faq-item.active .faq-content {
  display: block;
}

.faq-item.active h3 {
  color: var(--secondary);
}

/* ============================================================
   CTA SECTION - TIGHTER
   ============================================================ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2060 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 6px;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .cta {
    padding: 40px 0;
    text-align: center;
  }
}

/* ============================================================
   PAGE TITLE - REDUCED PADDING
   ============================================================ */
.page-title {
  background: linear-gradient(145deg, var(--primary), #0d2060);
  padding: 110px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0, 87, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-title h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.page-title p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .page-title {
    padding: 90px 0 40px;
  }
  
  .page-title h1 {
    font-size: 1.8rem;
  }
  
  .page-title p {
    font-size: 0.9rem;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  position: relative;
  z-index: 1;
}

.breadcrumbs ol {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.breadcrumbs ol li a:hover {
  color: var(--accent);
}

.breadcrumbs ol li + li::before {
  content: '/';
  color: rgba(255, 255, 255, 0.3);
  padding-right: 8px;
}

.breadcrumbs ol li a.active {
  color: var(--accent);
}

/* ============================================================
   CONTACT SECTION & FORM
   ============================================================ */
.contact.section {
  background: var(--white);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: var(--light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.info-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}

.info-item i {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-top: 2px;
  flex-shrink: 0;
}

.info-item h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 3px;
}

.info-item p, .info-item a {
  color: var(--mid);
  font-size: 0.9rem;
  margin: 0;
}

.info-item a:hover {
  color: var(--secondary);
}

.php-email-form {
  background: var(--light);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 87, 255, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--primary);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.1);
}

.form-control::placeholder {
  color: #aab;
}

/* ============================================================
   FORM VALIDATION STYLES
   ============================================================ */
.form-control.is-valid,
input:valid:not(:placeholder-shown):not([type="checkbox"]):not([type="radio"]) {
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300e676' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-control.is-invalid,
input:invalid:not(:placeholder-shown):not([type="checkbox"]):not([type="radio"]) {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dc3545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-feedback {
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}

.form-feedback.visible {
  display: block;
}

.form-feedback.error {
  color: #dc3545;
}

.form-feedback.success {
  color: var(--green);
}

.loading, .sent-message, .error-message {
  display: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.loading {
  background: var(--light);
  color: var(--mid);
}

.sent-message {
  background: #e8f5e9;
  color: #2e7d32;
}

.error-message {
  background: #ffeaea;
  color: #c62828;
}

/* Quick Contact Cards */
.quick-contact-card {
  transition: var(--transition);
}

.quick-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--secondary) !important;
}

/* ============================================================
   ABOUT PAGE SPECIFIC
   ============================================================ */
.about-intro {
  background: var(--white);
}

.about-intro img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--primary);
  border-bottom: 1px solid rgba(0, 87, 255, 0.08);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list i {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
}

.approach.section {
  background: var(--light);
}

.approach-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.approach-card i {
  font-size: 2.2rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 14px;
}

.approach-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.approach-card p {
  color: var(--mid);
  font-size: 0.9rem;
  margin: 0;
}

/* Service Cards on About Page */
.service-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.service-card li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--mid);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card li:last-child {
  border-bottom: none;
}

.service-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--secondary);
}

/* Stat Cards */
.stat-card {
  background: var(--light);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-card i {
  font-size: 1.8rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 10px;
}

.stat-card h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.stat-card p {
  color: var(--mid);
  font-size: 0.85rem;
  margin: 0;
}

/* ============================================================
   FOOTER - REDUCED PADDING
   ============================================================ */
.footer {
  background: var(--primary);
  padding: 40px 0 24px;
  text-align: center;
}

.footer .sitename {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.footer > .container > p {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.credits {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.credits a {
  color: var(--accent);
}

.credits a:hover {
  color: var(--white);
}

/* ============================================================
   SCROLL TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0, 87, 255, 0.4);
  transition: var(--transition);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: var(--white);
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader::after {
  content: '';
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ============================================================
   REDUCED MOTION - ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-img img {
    animation: none;
    transform: none;
  }
  
  .stats-bar::after {
    animation: none;
  }
  
  [data-aos] {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   HIGH CONTRAST MODE SUPPORT
   ============================================================ */
@media (forced-colors: active) {
  .stat-card-enhanced,
  .service-box,
  .plan-card,
  .feature-box {
    border: 2px solid CanvasText;
  }
  
  .btn-get-started,
  .cta-btn,
  .btn-primary,
  .btn-outline-primary {
    border: 2px solid CanvasText;
    forced-color-adjust: none;
  }
  
  .stat-number {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
  
  .hero h1 b {
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
  }
}

/* ============================================================
   ANIMATIONS (AOS)
   ============================================================ */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s, transform 0.6s;
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s, transform 0.6s;
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s, transform 0.6s;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ============================================================
   GRID SYSTEM (Fallback) - OPTIMIZED GAPS
   ============================================================ */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.row > * {
  padding: 0 12px;
}

.col-lg-3 {
  width: 25%;
}

.col-lg-4 {
  width: 33.333%;
}

.col-lg-6 {
  width: 50%;
}

.col-lg-8 {
  width: 66.666%;
}

.col-md-6 {
  width: 50%;
}

.col-md-12 {
  width: 100%;
}

.gy-4 > * {
  padding-top: 20px;
}

.g-5 > * {
  padding: 14px;
}

.g-4 > * {
  padding: 10px;
}

@media (max-width: 768px) {
  .gy-4 > * {
    padding-top: 16px;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.text-center {
  text-align: center !important;
}

.text-lg-start {
  text-align: left !important;
}

.text-lg-end {
  text-align: right !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.w-100 {
  width: 100%;
}

.mt-5 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0;
}

.px-1 {
  padding-inline: 4px;
}

.ms-2 {
  margin-left: 8px;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.rounded {
  border-radius: var(--radius) !important;
}

.rounded-pill {
  border-radius: 100px !important;
}

.bg-light {
  background: var(--light) !important;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8,
  .col-md-6 {
    width: 100%;
  }

  .navmenu ul {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .text-lg-start, .text-lg-end {
    text-align: center !important;
  }

  .plan-card {
    margin-bottom: 16px;
  }

  .php-email-form {
    padding: 20px;
  }

  .service-box {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .plan-card {
    padding: 20px 16px;
  }

  .faq-item {
    padding: 14px 16px;
  }

  .info-item {
    padding: 14px;
  }
}

/* ============================================================
   ENHANCED PRINT STYLES
   ============================================================ */
@media print {
  /* Hide non-essential elements */
  .header,
  .footer,
  .btn,
  .scroll-top,
  #preloader,
  .cta,
  .stats-bar::before,
  .stats-bar::after,
  .hero::before,
  .hero::after,
  .breadcrumbs,
  .social-links,
  .mobile-nav-toggle,
  button,
  .faq-item .faq-content {
    display: none !important;
  }
  
  /* Ensure text is readable */
  body {
    color: #000 !important;
    background: #fff !important;
    padding-top: 0 !important;
    font-size: 12pt;
  }
  
  /* Show URLs after links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
  
  /* Don't show JavaScript links */
  a[href^="javascript"]::after,
  a[href^="#"]::after {
    content: "";
  }
  
  /* Ensure images don't break layout */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  /* Prevent breaking inside boxes */
  .service-box,
  .plan-card,
  .feature-box {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #ddd;
    box-shadow: none;
  }
  
  /* Ensure proper margins */
  .container {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Dark backgrounds print properly */
  .hero,
  .stats-bar,
  .page-title,
  .cta {
    background: #f5f5f5 !important;
    color: #000 !important;
    padding: 20px 0 !important;
  }
  
  .hero h1,
  .hero h2,
  .page-title h1,
  .page-title p,
  .cta h3,
  .cta p {
    color: #000 !important;
  }
  
  .hero {
    min-height: auto;
    padding: 20px 0;
  }
}