/* ==========================================================================
   MASINGA TECHNOLOGIES - MAIN STYLESHEET
   Premium IT Services & Compliance Website (Gauteng, South Africa)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. TABLE OF CONTENTS
   --------------------------------------------------------------------------
   1. CSS Variables / Design System
   2. Reset & Base Typography
   3. Utility & Helper Classes
   4. Navbar & Navigation
   5. Buttons & Interactive Controls
   6. General Layout & Sections
   7. Homepage Hero Section
   8. Inner Page Hero Section
   9. Service Cards & Features
   10. Stats Bar & Counters
   11. Process Steps Workflow
   12. Accordion & FAQ System
   13. Pricing Cards & Packages
   14. Testimonials & Social Proof
   15. Call to Action (CTA) Sections
   16. Contact Section & Forms
   17. Footer & Brand Links
   18. Tools Page & Interactive Calculators
   19. Compliance Page Components
   20. Animations & Transitions
   21. Responsive Media Queries
   -------------------------------------------------------------------------- */

/* ==========================================================================
   1. CSS VARIABLES / DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Brand Primary Colors */
  --primary: #0066cc;
  --primary-dark: #004d99;
  --primary-light: #3385ff;
  --accent: #00c6ff;
  
  /* Brand Gold Accents */
  --gold: #c5a55a;
  --gold-light: #e0c887;
  --gold-dark: #a38238;
  
  /* Dark & Neutral Palette */
  --dark: #0a1628;
  --dark-2: #0f1d35;
  --dark-3: #162642;
  --gray: #5a6b85;
  --gray-light: #8e9cb0;
  --gray-border: #e8eef5;
  --light: #f7f9fc;
  --white: #ffffff;
  
  /* Gradients */
  --gradient: linear-gradient(135deg, #0066cc, #00c6ff);
  --gradient-gold: linear-gradient(135deg, #c5a55a, #e0c887);
  --gradient-dark: linear-gradient(135deg, #0a1628, #0f1d35);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  
  /* Shadows */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(0, 198, 255, 0.25);
  --shadow-gold-glow: 0 0 30px rgba(197, 165, 90, 0.25);
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

body.loaded {
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

ul,
ol {
  list-style: none;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Custom Selection Highlight */
::selection {
  background: rgba(0, 102, 204, 0.2);
  color: var(--primary-dark);
}

/* ==========================================================================
   3. UTILITY & HELPER CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }

.accent-gold {
  color: var(--gold) !important;
  font-style: italic;
}

.accent-blue {
  background: linear-gradient(135deg, #00c6ff, #0066cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-white { background-color: var(--white) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* ==========================================================================
   4. NAVBAR & NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(225, 230, 240, 0.6);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-link img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-link:hover img {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 6px 18px rgba(0, 102, 204, 0.3);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.navbar:not(.scrolled) .logo-text,
.navbar-dark .logo-text {
  color: var(--white);
}

.navbar.scrolled .logo-text {
  color: var(--dark);
}

.logo-text span {
  color: var(--primary);
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold) !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  font-size: 14px;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.2);
}

.navbar:not(.scrolled) .nav-cta {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.nav-cta:hover {
  background: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.35);
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(225, 230, 240, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1010;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
  pointer-events: auto;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--dark) !important;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary) !important;
}

.dropdown-menu a::after {
  display: none !important;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar:not(.scrolled) .mobile-toggle span {
  background: var(--white);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--dark) !important;
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--dark) !important;
}

/* Mobile Slide-Down Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 100px 30px 40px;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu .nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.mobile-menu .nav-links a {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark) !important;
  width: 100%;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .nav-cta {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 14px 28px !important;
}

/* ==========================================================================
   5. BUTTONS & INTERACTIVE CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--dark);
  box-shadow: 0 10px 25px rgba(197, 165, 90, 0.3);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(197, 165, 90, 0.45);
  color: var(--dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 102, 204, 0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: var(--radius-pill);
}

.btn i,
.btn svg {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn:hover i,
.btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   6. GENERAL LAYOUT & SECTIONS
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  background: rgba(197, 165, 90, 0.12);
  border: 1px solid rgba(197, 165, 90, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
  font-weight: 400;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   7. HOMEPAGE HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  animation: drift 18s infinite ease-in-out;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(197, 165, 90, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  animation: drift 22s infinite ease-in-out reverse;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 40px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(197, 165, 90, 0.4);
  background: rgba(197, 165, 90, 0.1);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #00c853;
  border-radius: 50%;
  box-shadow: 0 0 10px #00c853;
  animation: pulse 2s infinite ease-in-out;
}

.hero h1 {
  font-size: 56px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.glass-card h3 {
  color: var(--white);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.status-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.3s ease;
}

.status-item:hover {
  background: rgba(0, 102, 204, 0.2);
  border-color: rgba(0, 198, 255, 0.3);
  transform: translateY(-2px);
}

.status-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}

.status-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   8. INNER PAGE HERO SECTION
   ========================================================================== */
.page-hero {
  min-height: 50vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  animation: drift 15s infinite ease-in-out;
  pointer-events: none;
}

.page-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 48px;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span.current {
  color: var(--white);
  font-weight: 500;
}

/* ==========================================================================
   9. SERVICE CARDS & FEATURES
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 238, 245, 0.8);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(0, 102, 204, 0.2);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.25);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(3deg);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 15px;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

.service-features {
  list-style: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e8eef5;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray);
}

.service-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(0, 200, 83, 0.12);
  color: #00c853;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   10. STATS BAR & COUNTERS
   ========================================================================== */
.stats-bar {
  background: var(--dark);
  padding: 60px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  padding: 0 20px;
}

.stat-item h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ==========================================================================
   11. PROCESS STEPS WORKFLOW
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 20px;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.process-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark);
}

.process-step p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   12. ACCORDION & FAQ SYSTEM
   ========================================================================== */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8eef5;
  background: var(--white);
  transition: all 0.3s ease;
}

.accordion-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--dark);
  transition: background 0.3s ease, color 0.3s ease;
}

.accordion-header:hover {
  background: rgba(247, 249, 252, 0.8);
  color: var(--primary);
}

.accordion-header::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
  line-height: 1;
}

.accordion-item.active .accordion-header::after {
  content: '−';
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  transition: max-height 0.4s ease-in-out;
}

.accordion-content p {
  padding: 0 24px 24px;
  color: var(--gray);
  line-height: 1.7;
  font-size: 15px;
}

/* ==========================================================================
   13. PRICING CARDS & PACKAGES
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid #e8eef5;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.pricing-featured {
  border-color: var(--primary);
  position: relative;
  transform: scale(1.05);
  box-shadow: var(--shadow-elevated);
  z-index: 2;
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: var(--gradient-gold);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--dark);
}

.pricing-price {
  font-size: 42px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0;
}

.pricing-price span {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  font-family: 'Inter', sans-serif;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--gray);
}

.pricing-features li::before {
  content: '✓';
  color: #00c853;
  font-weight: bold;
}

/* ==========================================================================
   14. TESTIMONIALS & SOCIAL PROOF
   ========================================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  border: 1px solid rgba(232, 238, 245, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
  pointer-events: none;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--dark);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img,
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  margin-bottom: 2px;
}

.testimonial-author p {
  font-size: 13px;
  color: var(--gray);
}

/* ==========================================================================
   15. CALL TO ACTION (CTA) SECTIONS
   ========================================================================== */
.cta-section {
  background: var(--gradient-dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ==========================================================================
   16. CONTACT SECTION & FORMS
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--light);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
  outline: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

/* ==========================================================================
   17. FOOTER & BRAND LINKS
   ========================================================================== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   18. TOOLS PAGE & INTERACTIVE CALCULATORS
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 238, 245, 0.8);
  transition: all 0.4s ease;
}

.tool-card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: rgba(0, 102, 204, 0.2);
}

.tool-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}

.tool-card p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
}

.tool-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.tool-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
}

.tool-input:focus {
  border-color: var(--primary);
  outline: none;
}

.tool-btn {
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tool-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
  transform: translateY(-2px);
}

.tool-output {
  margin-top: 16px;
  min-height: 40px;
}

.tool-result {
  background: var(--light);
  border-radius: 12px;
  padding: 20px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--dark);
}

.tool-result.error {
  background: #fff5f5;
  border-left: 3px solid #e53935;
  color: #c62828;
}

.tool-result.success {
  background: #f0fff4;
  border-left: 3px solid #00c853;
  color: #1b5e20;
}

/* Strength Meter Components */
.strength-bar {
  height: 8px;
  border-radius: 4px;
  margin-top: 12px;
  transition: all 0.4s ease;
}

.strength-meter {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.strength-segment {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #e8eef5;
  transition: background 0.3s ease;
}

.strength-segment.active.weak {
  background: #e53935;
}

.strength-segment.active.medium {
  background: #ff9800;
}

.strength-segment.active.strong {
  background: #4caf50;
}

.strength-segment.active.very-strong {
  background: #2e7d32;
}

/* Quiz Container & Components */
.quiz-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
}

.quiz-progress {
  height: 6px;
  background: #e8eef5;
  border-radius: 3px;
  margin-bottom: 24px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--gradient);
  transition: width 0.4s ease;
}

.quiz-question {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--dark);
}

.quiz-option {
  padding: 14px 18px;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option:hover {
  background: var(--light);
  border-color: rgba(0, 102, 204, 0.3);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(0, 102, 204, 0.05);
  font-weight: 600;
}

.quiz-score {
  text-align: center;
  padding: 30px 0;
}

/* ==========================================================================
   19. COMPLIANCE PAGE COMPONENTS
   ========================================================================== */
.compliance-hero {
  min-height: 55vh;
  background: linear-gradient(135deg, #0a1628 0%, #0f1d35 60%, #004d99 100%);
}

.compliance-section {
  padding: 80px 0;
}

.compliance-section:nth-child(even) {
  background: var(--light);
}

.compliance-section:nth-child(odd) {
  background: var(--white);
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.compliance-badge {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 24px;
  border: 1px solid #e8eef5;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
}

.compliance-badge i,
.compliance-badge svg {
  color: var(--gold);
  font-size: 20px;
}

.compliance-checklist {
  max-width: 700px;
  margin: 0 auto;
}

.checklist-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: var(--white);
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 238, 245, 0.6);
  position: relative;
}

.checklist-item::before {
  content: '✓';
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.1);
  color: #00c853;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.checklist-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--dark);
}

.checklist-item p {
  font-size: 14px;
  color: var(--gray);
}

.compliance-timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 30px;
  border-left: 2px solid #e8eef5;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 165, 90, 0.2);
}

.timeline-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--dark);
}

.timeline-item p {
  font-size: 14px;
  color: var(--gray);
}

.timeline-date {
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

/* ==========================================================================
   20. ANIMATIONS & TRANSITIONS
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Keyframe Animations */
@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -40px) scale(1.05);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ==========================================================================
   21. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .pricing-featured {
    transform: scale(1);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav-container,
  .container {
    padding: 0 24px;
  }
}

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

  .nav-container {
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }

  .btn-gold,
  .btn-ghost,
  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 14px;
  }
}
