/* ===== CSS DESIGN SYSTEM (NEO-BRUTALIST / POP ART) ===== */
:root {
  /* Colors - Vibrant & Flat */
  --primary: #2e8b57;
  /* Forest Green */
  --primary-dark: #006400;
  --primary-light: #5f9ca0;

  --secondary: #00bfff;
  /* Deep Sky Blue */
  --secondary-dark: #1e90ff;

  --accent: #ff7f50;
  /* Coral */
  --accent-light: #ffa07a;

  --yellow: #ffd700;
  /* Gold/Pop Yellow */
  --purple: #9370db;
  /* Medium Purple */

  --white: #ffffff;
  --black: #000000;
  --background: #fffefae0;

  --gray-100: #f0f8ff;
  --gray-200: #e6e6fa;
  --gray-300: #dcdcdc;
  --gray-800: #333333;

  --success: #32cd32;
  --danger: #ff4500;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Comfortaa', cursive;
  /* Quirky/Cartoon Headings */

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* BORDERS & SHADOWS (The Core of Neo-Brutalism) */
  --border-width: 3px;
  --border-color: #000000;
  --border-main: var(--border-width) solid var(--border-color);

  --shadow-color: #000000;
  --shadow-sm: 2px 2px 0px var(--shadow-color);
  --shadow-md: 4px 4px 0px var(--shadow-color);
  --shadow-lg: 6px 6px 0px var(--shadow-color);
  --shadow-xl: 10px 10px 0px var(--shadow-color);

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

  /* Transitions */
  --transition-fast: 0.15s ease-out;
  /* Snappy */
  --transition-normal: 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  /* Bouncy */
}

/* ===== CUSTOM SCROLLBAR (Minimal) ===== */
::-webkit-scrollbar {
  width: 8px;
  /* Thinner */
  background: transparent;
  /* Seamless */
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-800);
  /* Dark Grey mostly */
  border-radius: 4px;
  /* Slightly rounded for better UX */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--black);
}

/* ===== GLASSMORPHISM UTILITY ===== */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--background);
  /* Optional: Dot Pattern Background - REMOVED */
  width: 100%;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

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

.text-accent {
  color: var(--accent);
}

/* ===== BUTTONS (Neo-Brutalist) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: 1rem;
  font-weight: 800;
  /* Bold text */
  border-radius: var(--radius-md);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: var(--border-main);
  /* Thick black border */
  box-shadow: var(--shadow-md);
  /* Hard shadow */
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translate(4px, 4px);
  /* Pushes down into shadow */
  box-shadow: 0px 0px 0px var(--shadow-color);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0;
}

.btn-outline {
  background: var(--white);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--gray-100);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-dark {
  background: transparent !important;
  color: #000 !important;
  border: 2px solid #000 !important;
}

.btn-outline-dark:hover {
  background: #000 !important;
  color: #fff !important;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.1rem;
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(45, 79, 54, 0.95);
  /* Deep Forest Green */
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  /* Default to white for global/header usage */
}

/* Specific overrides */
.header .logo {
  color: var(--white) !important;
  /* Force white in header */
}

.footer-brand .logo {
  color: var(--black) !important;
  /* Force black in footer */
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

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

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

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url('hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

/* Hero Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 127, 80, 0.6) 0%,
      /* Coral */
      rgba(255, 105, 180, 0.5) 25%,
      /* Hot Pink */
      rgba(30, 144, 255, 0.5) 50%,
      /* Dodger Blue */
      rgba(50, 205, 50, 0.5) 75%,
      /* Lime Green */
      rgba(255, 215, 0, 0.5) 100%
      /* Gold */
    );
  mix-blend-mode: overlay;
  /* Blends nicely with video */
  pointer-events: none;
  animation: overlayPulse 8s ease-in-out infinite;
  z-index: 1;
  /* Ensure overlay is above video */
}

@keyframes overlayPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.9;
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
  z-index: 1;
  /* Ensure particles are above video */
}


.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

.hero-bg::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: floatGlow 12s ease-in-out infinite;
}

.hero-bg::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(135, 206, 235, 0.3) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: floatGlow 15s ease-in-out infinite reverse;
}

/* Floating particles animation */
@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translate(20px, -20px) scale(1.2);
    opacity: 0.5;
  }
}

/* Sparkle particles */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 215, 0, 0.8), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(255, 165, 0, 0.6), transparent),
    radial-gradient(2px 2px at 60% 40%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(2px 2px at 80% 60%, rgba(255, 107, 53, 0.6), transparent),
    radial-gradient(3px 3px at 15% 85%, rgba(255, 215, 0, 0.5), transparent),
    radial-gradient(2px 2px at 85% 25%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 50% 10%, rgba(255, 165, 0, 0.5), transparent),
    radial-gradient(3px 3px at 30% 50%, rgba(255, 215, 0, 0.4), transparent);
  animation: sparkle 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Increased z-index to be above overlay */
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
  margin-top: var(--space-3xl);
  /* Added to move title down */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero h1 span {
  background: linear-gradient(to right, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Standard fallbacks */
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

.hero-buttons .btn {
  animation: buttonPulse 2s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-buttons .btn:hover {
  animation: none;
}

@keyframes buttonPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  /* Fixed equal columns */
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  animation: fadeInUp 1s ease-out 1s backwards;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive grid for smaller screens */
@media (max-width: 992px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== PREMIUM LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff4b6b, #ff9068);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 20px rgba(255, 75, 107, 0.3);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(10deg) scale(1.05);
}

.logo span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #ffe0e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* For light mode adjustments if needed */
/* :root[data-theme="light"] .logo span { ... } */

.stat-item {
  text-align: center;
  animation: countUp 0.5s ease-out backwards;
  /* Fix width stability */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item:nth-child(1) {
  animation-delay: 1.2s;
}

.stat-item:nth-child(2) {
  animation-delay: 1.4s;
}

.stat-item:nth-child(3) {
  animation-delay: 1.6s;
}

.stat-item:nth-child(4) {
  animation-delay: 1.8s;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  /* Increased size */
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  font-variant-numeric: tabular-nums;

  /* STABILITY FIX */
  display: inline-flex;
  justify-content: center;
  min-width: 2ch;
  /* Reserve space for at least 2 digits */
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  padding: var(--space-3xl) 0;
  background: var(--gray-100);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.1), rgba(74, 144, 217, 0.05));
  border: 1px solid rgba(74, 144, 217, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-lg);
}

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

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(74, 144, 217, 0.3);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(74, 144, 217, 0.1), rgba(74, 144, 217, 0.05));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2.5rem;
}

.step-card h3 {
  margin-bottom: var(--space-md);
  color: var(--gray-900);
}

.step-card p {
  color: var(--gray-600);
  margin: 0;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--gray-100), var(--white));
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  text-align: center;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 20px rgba(74, 144, 217, 0.2);
}

.feature-card h4 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== BLOGS SECTION ===== */
.blogs-section {
  padding: var(--space-3xl) 0;
  background: var(--gray-100);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.blog-content h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--gray-900);
  line-height: 1.4;
  flex-grow: 1;
}

.blog-content .btn {
  align-self: center;
  margin-top: auto;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--space-3xl) 0;
  background: url('images/rings-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  display: none;
  /* Remove overlay to show rings image */
}

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

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
}

/* ===== DEVELOPER SECTION ===== */
.developer-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--white), var(--gray-100));
}

.developer-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.developer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.developer-image-container {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--secondary), var(--primary-light));
  box-shadow: var(--shadow-lg);
}

.developer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
}

.developer-info {
  flex: 1;
}

.developer-info h3 {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.developer-role {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
  display: block;
}

.developer-bio {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
}

/* Quote decoration */
.developer-bio::before {
  content: '"';
  font-family: serif;
  font-size: 4rem;
  color: rgba(255, 215, 0, 0.2);
  position: absolute;
  top: -20px;
  left: -20px;
  line-height: 1;
}

@media (max-width: 768px) {
  .developer-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
  }

  .developer-image-container {
    width: 200px;
    height: 200px;
  }
}

.footer {
  background: var(--white);
  border-top: var(--border-main);
  color: var(--black);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  z-index: 10;
}

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

.footer-brand .logo {
  margin-bottom: var(--space-lg);
  color: var(--black);
  /* Force logo text to black */
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 800;
  font-family: var(--font-heading);
}

.footer-brand p {
  color: var(--gray-800);
  max-width: 300px;
  font-weight: 500;
}

.footer-links h4 {
  color: var(--black);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  font-weight: 800;
  /* Bold headings */
  text-transform: uppercase;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--gray-800);
  transition: all var(--transition-fast);
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 2px solid var(--black);
  /* Neo border */
  box-shadow: 2px 2px 0 var(--black);
  /* Neo shadow */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black) !important;
  /* Force icon color */
  transition: all var(--transition-fast);
}

.social-link svg,
.social-link svg path {
  width: 20px;
  height: 20px;
  min-width: 20px;
  /* Force size */
  min-height: 20px;
  fill: var(--black) !important;
  /* Super forced black */
  transition: fill var(--transition-fast);
}

.social-link:hover {
  background: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--black);
  color: var(--white) !important;
}

.social-link:hover svg,
.social-link:hover svg path {
  fill: var(--white) !important;
  /* Super forced white */
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 2px solid var(--gray-300);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--gray-800);
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-buttons {
    display: none;
  }

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

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

  .footer-brand p {
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 2000;
  padding: var(--space-2xl);
  transition: right var(--transition-normal);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.mobile-nav-links {
  margin-top: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-links a {
  color: var(--white);
  font-size: 1.25rem;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* POP ART SHAPES (Auth Backgrounds) */
.pop-shape {
  position: absolute;
  z-index: 0;
  /* Behind content */
  border: 3px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
}

.shape-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #00bfff;
  /* Cyan */
}

.shape-square {
  width: 80px;
  height: 80px;
  background: #feca57;
  /* Yellow */
  transform: rotate(15deg);
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid #ff6b6b;
  /* Red */
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(4px 4px 0 var(--black));
}

/* ===== HERO VIDEO CAROUSEL ===== */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-slide-content {
  position: absolute;
  top: 35%;
  /* Moved UP to 35% to prevent button overlap */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 90%;
  max-width: 800px;
}

.hero-slide-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-slide-content h1 span {
  color: var(--secondary);
}

.hero-slide-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.hero-cta {
  position: absolute;
  bottom: 180px;
  /* Moved DOWN as requested */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 100;
}

.hero-cta .btn-outline {
  background: transparent !important;
  border: 2px solid white !important;
  color: white !important;
  box-shadow: none;
}

.hero-cta .btn-outline:hover {
  background: white !important;
  color: black !important;
}

/* Navigation Dots - HIDDEN */
.hero-nav-dots {
  display: none !important;
  /* Hidden to avoid overlap issues */
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
}

/* Arrow Navigation */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-arrow-left {
  left: 30px;
}

.hero-arrow-right {
  right: 30px;
}

/* Stats positioning */
.hero .hero-stats {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-arrow-left {
    left: 10px;
  }

  .hero-arrow-right {
    right: 10px;
  }

  .hero-nav-dots {
    bottom: 140px;
  }

  .hero-cta {
    flex-direction: column;
    bottom: 220px;
    /* Moved up to make room */
    gap: 0.8rem;
    width: 80%;
  }

  /* Hide potential clutter on mobile */
  .hero .hero-stats,
  .pop-shape {
    display: none !important;
  }

  /* Adjust arrow position */
  .hero-arrow {
    display: none;
    /* Hide arrows on mobile, swipe is better (if implemented) or just dots */
  }
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.3);
}

/* Arrow Navigation */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-arrow-left {
  left: 30px;
}

.hero-arrow-right {
  right: 30px;
}

/* Stats positioning */
.hero .hero-stats {
  position: absolute;
  bottom: 30px;
  /* Moved down slightly */
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-arrow-left {
    left: 10px;
  }

  .hero-arrow-right {
    right: 10px;
  }

  .hero-nav-dots {
    bottom: 90px;
  }

  .hero-cta {
    flex-direction: column;
    bottom: 130px;
  }
}

/* ===== HOW IT WORKS STEPS (Neo-Brutalist Update) ===== */
.how-it-works .step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border: 3px solid var(--black);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 4px 4px 0 var(--black);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.how-it-works .step-card:hover .step-number {
  transform: scale(1.1) rotate(-5deg);
  background: var(--secondary);
  color: var(--black);
}

/* Footer Logo Fix */
.footer .logo span {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #333 !important;
  text-shadow: none !important;
}

/* Stats Font Size Override */
.stat-number {
  font-size: 2.2rem !important;
}

/* ===== MOBILE PERFORMANCE OPTIMIZATIONS ===== */
@media (max-width: 768px) {

  /* Disable heavy blur effects on mobile */
  .contact-item,
  .page-header p,
  .nav-dropdown-menu,
  .notification-dropdown {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Reduce animation intensity */
  .hero h1 span,
  .page-header h1 {
    animation: none !important;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb) !important;
    background-size: 100% 100% !important;
  }

  /* Simplify shadows on mobile */
  .pop-card,
  .btn,
  .step-card,
  .feature-card,
  .profile-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  /* Hide non-active video slides completely */
  .hero-slide:not(.active) video {
    display: none !important;
  }

  /* Reduce hero stats animation */
  .stat-item {
    animation: none !important;
  }
}

/* Prefer reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== MOBILE STATS VISIBILITY FIX ===== */
@media (max-width: 768px) {
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--space-md) !important;
    padding: var(--space-xl) var(--space-md) !important;
    margin-top: var(--space-xl) !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .stat-item {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: var(--space-md) !important;
    border-radius: var(--radius-lg) !important;
  }

  .stat-number {
    font-size: 1.8rem !important;
    color: white !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ===== COMPREHENSIVE MOBILE UI FIX ===== */
@media (max-width: 768px) {

  /* Fix Hero Section */
  .hero {
    min-height: auto !important;
    padding-bottom: var(--space-xl) !important;
  }

  .hero-content,
  .hero-slide-content {
    padding: var(--space-lg) !important;
    padding-top: 100px !important;
  }

  /* Fix Hero Title - Simpler text on mobile */
  .hero h1,
  .hero-slide-content h1 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    margin-top: var(--space-lg) !important;
  }

  /* Fix rainbow span - Make it solid color on mobile for readability */
  .hero h1 span,
  .hero-slide-content h1 span {
    background: linear-gradient(90deg, #ff6b6b, #feca57) !important;
    background-size: 100% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    display: inline !important;
  }

  .hero-subtitle,
  .hero-slide-content p {
    font-size: 0.95rem !important;
    margin-bottom: var(--space-lg) !important;
    padding: 0 var(--space-sm) !important;
  }

  /* Fix CTA Buttons */
  .hero-cta,
  .hero-buttons {
    flex-direction: column !important;
    gap: var(--space-md) !important;
    padding: 0 var(--space-lg) !important;
    width: 100% !important;
  }

  .hero-cta .btn,
  .hero-buttons .btn {
    width: 100% !important;
    padding: var(--space-md) var(--space-lg) !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
  }

  /* Make outline button visible */
  .hero-cta .btn-outline,
  .hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid white !important;
    color: white !important;
  }

  /* Fix Stats */
  .hero-stats {
    margin-top: var(--space-lg) !important;
    padding: var(--space-md) !important;
  }

  /* Remove navigation arrows on mobile */
  .hero-arrow {
    display: none !important;
  }

  /* Logo text smaller on mobile */
  .logo span {
    font-size: 1.1rem !important;
  }
}

/* Extra small devices */
@media (max-width: 400px) {

  .hero h1,
  .hero-slide-content h1 {
    font-size: 1.5rem !important;
  }

  .stat-number {
    font-size: 1.5rem !important;
  }

  .stat-label {
    font-size: 0.65rem !important;
  }
}

/* ===== HERO HEIGHT & BACKGROUND FIX ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 85vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/auth-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }

  /* Ensure content is centered */
  .hero-content,
  .hero-slide-content {
    position: relative !important;
    width: 100% !important;
    padding-top: 0 !important;
    margin-top: 50px !important;
  }

  /* Force background attachment scroll on mobile to avoid lag */
  .hero,
  .page-header {
    background-attachment: scroll !important;
  }
}