/* ===================================
  UNIVERSAL STYLES
  =================================== */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Exo', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 100vh;
  overscroll-behavior-y: none;
}

/* Root Variables */
:root {
  /* Original Site Colors */
  --headline-font-family: 'Bebas Neue', sans-serif;
  --headline-font-size: 5rem;
  --headline-font-weight: 900;
  --headline-text-shadow: 2px 2px 1px black;
  --headline-letter-spacing: 3px;

  /* Dark Theme Colors */
  --primary-accent: #5dade2;
  --primary-accent-hover: #3498db;
  --background-dark: #0a0a0a;
  --background-darker: #050505;
  --card-background: #111111;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  --gradient-accent: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 30px rgba(93, 173, 226, 0.3);

  /* Legacy Colors (for other pages) */
  --primary-color: #5dade2;
  --secondary-color: #d3d3d3;
  --tertiary-color: #efb7aa;
  --light-tan: #f8f1dd;
}

/* Remove any container scroll - this is likely the culprit */
.page-content {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

/* Additional aggressive fixes for double scrollbar */
.about-us-page .page-content {
  overflow: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}

/* Target any wrapper that might have scroll */
#app,
#root,
#__next,
.main-wrapper,
.content-wrapper,
.site-wrapper {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

/* ===================================
  ABOUT PAGE SPECIFIC STYLES
  =================================== */

.about-us-page {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible !important;
  min-height: 100vh;
  height: auto !important;
  background: var(--background-dark);
  color: var(--text-primary);
}

/* Prevent AOS from causing overflow */
[data-aos] {
  overflow-anchor: none;
}

/* Simple fade-in animation to replace AOS */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Staggered animations for value cards */
.values-grid .value-card:nth-child(1) {
  transition-delay: 0.1s;
}
.values-grid .value-card:nth-child(2) {
  transition-delay: 0.2s;
}
.values-grid .value-card:nth-child(3) {
  transition-delay: 0.3s;
}
.values-grid .value-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(93, 173, 226, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(93, 173, 226, 0.05) 0%,
      transparent 50%
    );
  z-index: 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  position: relative;
}

.greeting {
  color: var(--primary-accent);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.name {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  margin: 0 0 20px 0;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.tagline {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-weight: 300;
}

.hero-description {
  margin-bottom: 40px;
}

.hero-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-accent);
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image {
  position: relative;
}

.image-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.image-frame:hover img {
  filter: grayscale(0%);
}

.image-accent {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  background: var(--gradient-accent);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.image-frame:hover .image-accent {
  top: 30px;
  left: 30px;
  right: -30px;
  bottom: -30px;
  opacity: 0.5;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  margin: 10px auto 0;
  border-right: 2px solid var(--primary-accent);
  border-bottom: 2px solid var(--primary-accent);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Values Section */
.values-section {
  padding: 100px 0;
  position: relative;
  background: var(--background-darker);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(
    to right,
    var(--text-primary) 0%,
    var(--primary-accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

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

.value-card {
  background: var(--card-background);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(93, 173, 226, 0.1);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(93, 173, 226, 0.3);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  padding: 20px;
  background: rgba(93, 173, 226, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background: rgba(93, 173, 226, 0.2);
  transform: scale(1.1);
}

.value-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(61%) sepia(53%) saturate(437%)
    hue-rotate(165deg) brightness(95%) contrast(91%);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.value-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-card:hover .value-accent {
  transform: scaleX(1);
}

/* Problem/Solution Section */
.problem-solution-section {
  padding: 100px 0;
  position: relative;
}

.problem-container,
.solution-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
  align-items: center;
}

.content-box {
  position: relative;
}

.section-label {
  display: inline-block;
  background: rgba(93, 173, 226, 0.1);
  color: var(--primary-accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border: 1px solid rgba(93, 173, 226, 0.3);
}

.content-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

.content-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.problem-list,
.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-list li,
.solution-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.problem-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.2rem;
}

.solution-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.visual-element {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-element img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(93, 173, 226, 0.2));
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(93, 173, 226, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

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

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 5px 20px rgba(93, 173, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(93, 173, 226, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-accent);
  border: 2px solid var(--primary-accent);
}

.btn-secondary:hover {
  background: rgba(93, 173, 226, 0.1);
  transform: translateY(-3px);
}

/* Scroll Banner */
.scroll-banner {
  background: var(--background-darker);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(93, 173, 226, 0.2);
  border-bottom: 1px solid rgba(93, 173, 226, 0.2);
}

.scroll-content {
  display: flex;
  animation: scroll-left 40s linear infinite;
  white-space: nowrap;
}

.scroll-content span {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.separator {
  color: var(--primary-accent);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .problem-container,
  .solution-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

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

  .image-frame {
    max-width: 300px;
  }

  .solution-container {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 80px 0;
  }

  .name {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .hero-description p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .value-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .content-box h2 {
    font-size: 2rem;
  }

  .content-box p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .problem-list li,
  .solution-list li {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .values-section,
  .problem-solution-section,
  .cta-section {
    padding: 60px 0;
  }

  .value-card {
    padding: 30px 20px;
  }

  .value-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .hero-description p,
  .content-box p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .problem-list li,
  .solution-list li {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .cta-content p {
    font-size: 0.9rem;
  }

  .scroll-content span {
    font-size: 0.8rem;
  }
}

/* ================================
   FAQ PAGE - EXCLUSIVE STYLES
   Dark, Mysterious, Neon Theme
   All classes prefixed with 'faq-' to avoid conflicts
   ================================ */

/* FAQ Page Variables */
.faq-page {
  --faq-primary-neon: #00ffff;
  --faq-secondary-neon: #ff00ff;
  --faq-accent-purple: #818cf8;
  --faq-accent-pink: #ec4899;
  --faq-accent-green: #10b981;
  --faq-dark-bg: #0a0a0a;
  --faq-darker-bg: #050505;
  --faq-card-bg: rgba(15, 15, 15, 0.9);
  --faq-text-primary: #ffffff;
  --faq-text-secondary: #b0b0b0;
  --faq-gradient-primary: linear-gradient(135deg, #00ffff, #818cf8);
  --faq-gradient-accent: linear-gradient(135deg, #818cf8, #ec4899);
}

/* Page Base */
.faq-page {
  background-color: var(--faq-dark-bg);
  color: var(--faq-text-primary);
  font-family: 'Exo', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Page Content Wrapper */
.faq-page-content {
  position: relative;
  z-index: 2;
}

/* Floating Elements Background */
.faq-floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.faq-float-shape {
  position: absolute;
  font-size: 2rem;
  opacity: 0.1;
  animation: faq-float 20s infinite ease-in-out;
}

.faq-float-shape.question-mark {
  top: 15%;
  left: 10%;
  font-size: 3rem;
  color: var(--faq-primary-neon);
  animation-duration: 25s;
}

.faq-float-shape.lightbulb {
  top: 60%;
  right: 15%;
  font-size: 2.5rem;
  animation-duration: 30s;
  animation-delay: 5s;
}

.faq-float-shape.gear {
  bottom: 20%;
  left: 20%;
  font-size: 2rem;
  color: var(--faq-accent-purple);
  animation-duration: 35s;
  animation-delay: 10s;
}

.faq-float-shape.chat {
  top: 40%;
  right: 10%;
  font-size: 2.2rem;
  color: var(--faq-accent-pink);
  animation-duration: 28s;
  animation-delay: 15s;
}

@keyframes faq-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, -30px) rotate(10deg);
  }
  50% {
    transform: translate(-30px, 50px) rotate(-5deg);
  }
  75% {
    transform: translate(40px, 20px) rotate(15deg);
  }
}

/* Hero Section */
.faq-hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0a, #1a1a1a);
  padding-top: 93px;
}

@media (max-width: 768px) {
  .faq-hero-section {
    padding-top: 70px;
    min-height: 50vh;
  }
}

.faq-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(0, 255, 255, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(129, 140, 248, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(236, 72, 153, 0.05) 0%,
      transparent 50%
    );
  z-index: 1;
}

/* Animated Background */
.faq-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.faq-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.faq-glow-orb.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--faq-primary-neon);
  top: -200px;
  left: -200px;
  animation: faq-orb-float 15s infinite ease-in-out;
}

.faq-glow-orb.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--faq-accent-purple);
  bottom: -150px;
  right: -150px;
  animation: faq-orb-float 20s infinite ease-in-out reverse;
}

.faq-glow-orb.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--faq-accent-pink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: faq-orb-pulse 10s infinite ease-in-out;
}

@keyframes faq-orb-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(100px, 50px);
  }
}

@keyframes faq-orb-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

/* Hero Content */
.faq-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
  max-width: 1200px;
  width: 100%;
}

.faq-hero-text-wrapper {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .faq-hero-text-wrapper {
    padding: 2rem;
  }
}

.faq-hero-title {
  font-family: 'Exo', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  line-height: 0.9;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(
    135deg,
    #00ffff 0%,
    #818cf8 25%,
    #ec4899 50%,
    #10b981 75%,
    #00ffff 100%
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: faq-gradient-shift 8s ease-in-out infinite;
}

@keyframes faq-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.faq-hero-word {
  display: block;
  margin: 0.1em 0;
}

@keyframes faq-word-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.faq-hero-divider {
  width: 100px;
  height: 3px;
  background: var(--faq-gradient-primary);
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
}

.faq-hero-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: faq-divider-shine 3s infinite;
}

@keyframes faq-divider-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.faq-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--faq-text-secondary);
  margin: 0;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0;
  animation: faq-fade-in-up 1s ease-out 0.5s forwards;
}

@keyframes faq-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Content Section */
.faq-content-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Search Container */
.faq-search-container {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.faq-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.faq-search-input {
  width: 100%;
  padding: 1.2rem 3rem 1.2rem 1.5rem;
  background: rgba(15, 15, 15, 0.9);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--faq-text-primary);
  font-size: 1rem;
  font-family: 'Exo', sans-serif;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-search-input:focus {
  outline: none;
  border-color: var(--faq-primary-neon);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.faq-search-input::placeholder {
  color: var(--faq-text-secondary);
  opacity: 0.7;
}

.faq-search-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faq-text-secondary);
  pointer-events: none;
}

/* FAQ Accordion */
.faq-accordion-container {
  margin-bottom: 3rem;
}

.faq-accordion-item {
  margin-bottom: 1rem;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.faq-accordion-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-accordion-item:hover {
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.1);
}

.faq-accordion-item.active {
  background: rgba(20, 20, 20, 0.8);
  border-color: var(--faq-primary-neon);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.faq-accordion-item.search-highlight {
  border-color: var(--faq-accent-pink);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.faq-accordion-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Exo', sans-serif;
  transition: all 0.3s ease;
}

.faq-accordion-item.active .faq-accordion-question {
  background: rgba(0, 255, 255, 0.05);
}

.faq-question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--faq-text-primary);
  text-align: left;
  flex: 1;
  padding-right: 1rem;
}

.faq-question-icon {
  width: 24px;
  height: 24px;
  color: var(--faq-primary-neon);
  flex-shrink: 0;
}

.faq-question-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.faq-accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-accordion-item.active .faq-accordion-answer {
  max-height: 1000px;
}

.faq-answer-content {
  padding: 0 2rem 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--faq-text-secondary);
}

.faq-answer-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.faq-answer-list li {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer-list li:last-child {
  border-bottom: none;
}

.faq-answer-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--faq-primary-neon);
  font-weight: bold;
}

.faq-link {
  color: var(--faq-primary-neon);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.faq-link:hover {
  color: var(--faq-accent-purple);
  text-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

.faq-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--faq-accent-purple);
  transition: width 0.3s ease;
}

.faq-link:hover::after {
  width: 100%;
}

/* Contact Link */
.faq-contact-link {
  text-align: center;
  font-size: 1.1rem;
  color: var(--faq-text-secondary);
  margin-top: 2rem;
}

/* Performance Section */
.faq-performance-section {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(180deg, #0a0a0a, #1a1a1a);
  overflow: hidden;
}

.faq-performance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 10% 50%,
      rgba(129, 140, 248, 0.1) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 30%
    );
  z-index: 0;
}

.faq-performance-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-performance-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 1rem 0;
  background: var(--faq-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-performance-subtitle {
  font-size: 1.3rem;
  color: var(--faq-text-secondary);
  text-align: center;
  margin: 0 0 4rem 0;
}

/* Performance Demo */
.faq-performance-demo {
  margin-bottom: 5rem;
}

.faq-demo-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.faq-demo-header {
  padding: 2rem;
  background: rgba(129, 140, 248, 0.1);
  border-bottom: 1px solid rgba(129, 140, 248, 0.2);
}

.faq-demo-header h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  color: var(--faq-text-primary);
}

.faq-demo-header p {
  margin: 0;
  color: var(--faq-text-secondary);
  font-size: 0.9rem;
}

.faq-demo-content {
  padding: 2rem;
}

.faq-load-time-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.faq-load-time-selector label {
  font-weight: 600;
  color: var(--faq-text-primary);
}

#load-time-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

#load-time-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--faq-primary-neon);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

#load-time-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

#load-time-display {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--faq-primary-neon);
  min-width: 50px;
  text-align: center;
}

.faq-impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .faq-impact-metrics {
    grid-template-columns: 1fr;
  }
}

.faq-metric-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.faq-metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 10px 20px rgba(129, 140, 248, 0.1);
}

.faq-metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--faq-text-primary);
  margin-bottom: 0.5rem;
  transition: all 0.5s ease;
}

.faq-metric-label {
  font-size: 0.9rem;
  color: var(--faq-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Statistics Grid */
.faq-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

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

.faq-stat-card {
  position: relative;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.faq-stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-stat-card:hover {
  background: rgba(20, 20, 20, 0.8);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
  transform: translateY(-10px);
}

.faq-stat-icon {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--faq-primary-neon);
  opacity: 0.8;
}

.faq-stat-icon svg {
  filter: drop-shadow(0 0 10px currentColor);
}

.faq-stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--faq-text-primary);
  display: inline-block;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #00ffff, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-stat-suffix {
  font-size: 2rem;
  font-weight: 600;
  color: var(--faq-accent-purple);
  margin-left: 0.2rem;
}

.faq-stat-description {
  font-size: 0.95rem;
  color: var(--faq-text-secondary);
  line-height: 1.4;
}

/* Info Blocks */
.faq-info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .faq-info-blocks {
    grid-template-columns: 1fr;
  }
}

.faq-info-block {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.faq-info-block:hover {
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 10px 30px rgba(129, 140, 248, 0.1);
}

.faq-info-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--faq-text-primary);
}

.faq-info-icon {
  font-size: 1.8rem;
  display: inline-flex;
}

.faq-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-info-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--faq-text-secondary);
  line-height: 1.6;
}

.faq-info-list li:last-child {
  border-bottom: none;
}

.faq-info-list strong {
  color: var(--faq-text-primary);
  font-weight: 600;
}

/* Key Takeaways */
.faq-takeaways {
  background: rgba(129, 140, 248, 0.05);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.faq-takeaways-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 2rem 0;
  color: var(--faq-text-primary);
}

.faq-takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

@media (max-width: 768px) {
  .faq-takeaways-grid {
    grid-template-columns: 1fr;
  }
}

.faq-takeaway-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.faq-takeaway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.faq-takeaway-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.faq-takeaway-card p {
  margin: 0;
  color: var(--faq-text-secondary);
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .faq-hero-title {
    font-size: 2rem;
  }

  .faq-hero-word {
    display: block;
    margin: 0.2em 0;
  }

  .faq-performance-title {
    font-size: 2rem;
  }

  .faq-performance-subtitle {
    font-size: 1rem;
  }

  .faq-stat-number {
    font-size: 2.5rem;
  }

  .faq-stat-suffix {
    font-size: 1.5rem;
  }

  .faq-takeaways {
    padding: 2rem;
  }

  .faq-info-block {
    padding: 1.5rem;
  }
}

/* Animation Delays for Staggered Effects */
.faq-accordion-item:nth-child(1) {
  animation-delay: 0.1s;
}
.faq-accordion-item:nth-child(2) {
  animation-delay: 0.2s;
}
.faq-accordion-item:nth-child(3) {
  animation-delay: 0.3s;
}
.faq-accordion-item:nth-child(4) {
  animation-delay: 0.4s;
}
.faq-accordion-item:nth-child(5) {
  animation-delay: 0.5s;
}
.faq-accordion-item:nth-child(6) {
  animation-delay: 0.6s;
}
.faq-accordion-item:nth-child(7) {
  animation-delay: 0.7s;
}
.faq-accordion-item:nth-child(8) {
  animation-delay: 0.8s;
}
.faq-accordion-item:nth-child(9) {
  animation-delay: 0.9s;
}
.faq-accordion-item:nth-child(10) {
  animation-delay: 1s;
}
.faq-accordion-item:nth-child(11) {
  animation-delay: 1.1s;
}
.faq-accordion-item:nth-child(12) {
  animation-delay: 1.2s;
}

/* ================================
   BLOG PAGE - EXCLUSIVE STYLES
   Dark, Mysterious, Neon Theme
   All classes prefixed with 'blog-' to avoid conflicts
   ================================ */

/* Blog Page Variables */
.blog-page {
  --blog-primary-neon: #00ffff;
  --blog-secondary-neon: #ff00ff;
  --blog-accent-purple: #818cf8;
  --blog-accent-pink: #ec4899;
  --blog-accent-green: #10b981;
  --blog-dark-bg: #0a0a0a;
  --blog-darker-bg: #050505;
  --blog-card-bg: rgba(15, 15, 15, 0.9);
  --blog-text-primary: #ffffff;
  --blog-text-secondary: #b0b0b0;
  --blog-gradient-primary: linear-gradient(135deg, #00ffff, #818cf8);
  --blog-gradient-accent: linear-gradient(135deg, #818cf8, #ec4899);
}

/* Page Base */
.blog-page {
  background-color: var(--blog-dark-bg);
  color: var(--blog-text-primary);
  font-family: 'Exo', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Hero Section */
.blog-hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0a, #1a1a1a);
  padding-top: 93px;
}

@media (max-width: 768px) {
  .blog-hero-section {
    padding-top: 70px;
    min-height: 60vh;
  }
}

.blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(129, 140, 248, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(236, 72, 153, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(0, 255, 255, 0.08) 0%,
      transparent 50%
    );
  z-index: 1;
}

/* Animated Background */
.blog-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.blog-particle {
  position: absolute;
  background: radial-gradient(
    circle,
    rgba(129, 140, 248, 0.8) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

#particle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation: float-particle-1 25s ease-in-out infinite;
}

#particle-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.6) 0%,
    transparent 70%
  );
  animation: float-particle-2 30s ease-in-out infinite;
}

#particle-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 0.5) 0%,
    transparent 70%
  );
  animation: float-particle-3 20s ease-in-out infinite;
}

.blog-code-float {
  position: absolute;
  font-family: 'Fira Code', monospace;
  font-size: 2rem;
  font-weight: bold;
  opacity: 0.1;
  color: var(--blog-primary-neon);
}

#code-1 {
  top: 20%;
  right: 15%;
  animation: float-code-1 15s ease-in-out infinite;
}

#code-2 {
  bottom: 30%;
  left: 10%;
  color: var(--blog-accent-purple);
  animation: float-code-2 20s ease-in-out infinite;
}

#code-3 {
  top: 60%;
  left: 30%;
  color: var(--blog-accent-pink);
  font-size: 3rem;
  animation: float-code-3 18s ease-in-out infinite;
}

@keyframes float-particle-1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

@keyframes float-particle-2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-80px, -80px) rotate(180deg);
  }
}

@keyframes float-particle-3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-50px, -30px);
  }
  66% {
    transform: translate(30px, 20px);
  }
}

@keyframes float-code-1 {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
    opacity: 0.1;
  }
  50% {
    transform: rotate(15deg) translateY(-20px);
    opacity: 0.2;
  }
}

@keyframes float-code-2 {
  0%,
  100% {
    transform: rotate(-10deg);
    opacity: 0.1;
  }
  50% {
    transform: rotate(10deg);
    opacity: 0.15;
  }
}

@keyframes float-code-3 {
  0%,
  100% {
    transform: scale(1) translateX(0);
  }
  50% {
    transform: scale(1.1) translateX(20px);
  }
}

/* Hero Content */
.blog-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 2rem;
  max-width: 1000px;
  width: 100%;
}

.blog-hero-text-wrapper {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 30px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .blog-hero-text-wrapper {
    padding: 2rem 1.5rem;
  }
}

.blog-hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  letter-spacing: 2px;
}

.blog-word-1 {
  display: block;
  background: linear-gradient(135deg, #00ffff 0%, #818cf8 50%, #ec4899 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 4s ease infinite;
}

.blog-word-2 {
  display: inline-block;
  color: var(--blog-text-secondary);
  font-size: 0.7em;
  margin: 0 0.2em;
  opacity: 0.6;
}

.blog-word-3 {
  display: block;
  background: linear-gradient(135deg, #ec4899 0%, #818cf8 50%, #00ffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 4s ease infinite reverse;
}

@keyframes gradient-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.blog-hero-divider {
  width: 80px;
  height: 4px;
  background: var(--blog-gradient-primary);
  margin: 2rem auto;
  border-radius: 2px;
  animation: pulse-width 2s ease-in-out infinite;
}

@keyframes pulse-width {
  0%,
  100% {
    width: 80px;
  }
  50% {
    width: 120px;
  }
}

.blog-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--blog-text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.blog-scroll-indicator {
  margin-top: 2rem;
  color: var(--blog-primary-neon);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fade-bounce 2s ease-in-out infinite;
}

.blog-scroll-arrow {
  width: 24px;
  height: 24px;
  margin: 10px auto 0;
  border-right: 2px solid var(--blog-primary-neon);
  border-bottom: 2px solid var(--blog-primary-neon);
  transform: rotate(45deg);
  animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes fade-bounce {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(5px);
  }
}

/* Blog Grid Section */
.blog-grid-section {
  padding: 80px 0;
  background: var(--blog-darker-bg);
  position: relative;
}

.blog-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Filter Tags */
.blog-filter-tags {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.blog-tag {
  background: transparent;
  border: 1px solid rgba(129, 140, 248, 0.3);
  color: var(--blog-text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--blog-gradient-accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.blog-tag:hover::before,
.blog-tag.active::before {
  left: 0;
}

.blog-tag:hover,
.blog-tag.active {
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(129, 140, 248, 0.3);
}

/* Blog Posts Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Blog Post Card */
.blog-post-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.blog-post-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.blog-post-card {
  background: var(--blog-card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-10px);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(129, 140, 248, 0.1);
}

.blog-post-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-post-card:hover .blog-post-overlay {
  opacity: 1;
}

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

.read-more {
  color: var(--blog-primary-neon);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--blog-primary-neon);
  border-radius: 50px;
  background: transparent;
  transition: all 0.3s ease;
}

.blog-post-card:hover .read-more {
  background: var(--blog-primary-neon);
  color: var(--blog-dark-bg);
  transform: translateY(-5px);
}

.blog-post-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.blog-post-date {
  color: var(--blog-text-secondary);
}

.blog-post-category {
  background: rgba(129, 140, 248, 0.1);
  color: var(--blog-accent-purple);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

.blog-post-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  background: linear-gradient(
    to right,
    var(--blog-text-primary) 0%,
    var(--blog-text-primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.blog-post-card:hover .blog-post-title {
  background: var(--blog-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-post-excerpt {
  color: var(--blog-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.read-time {
  color: var(--blog-text-secondary);
  font-size: 0.85rem;
}

.arrow-icon {
  color: var(--blog-accent-purple);
  transition: transform 0.3s ease;
}

.blog-post-card:hover .arrow-icon {
  transform: translateX(5px);
  color: var(--blog-primary-neon);
}

/* Stats Section */
.blog-stats-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #050505, #0a0a0a);
  position: relative;
  overflow: hidden;
}

.blog-stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 10% 50%,
      rgba(0, 255, 255, 0.1) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(255, 0, 255, 0.08) 0%,
      transparent 30%
    );
  pointer-events: none;
}

.blog-stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.blog-stats-title {
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.stats-gradient {
  background: linear-gradient(
    135deg,
    #00ffff 0%,
    #818cf8 25%,
    #ec4899 50%,
    #10b981 75%,
    #00ffff 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.blog-stats-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--blog-text-secondary);
  margin-bottom: 60px;
}

.blog-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.blog-stat-card {
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-stat-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--blog-gradient-accent);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.blog-stat-card:hover::before {
  opacity: 0.5;
}

.blog-stat-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.stat-icon {
  margin-bottom: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--blog-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--blog-text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.blog-stats-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.stats-detail-card {
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
}

.stats-detail-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--blog-primary-neon);
}

.stats-detail-card ul {
  list-style: none;
  padding: 0;
}

.stats-detail-card li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--blog-text-secondary);
  line-height: 1.6;
}

.stats-detail-card li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--blog-accent-purple);
  font-weight: bold;
}

/* CTA Section */
.blog-cta-section {
  padding: 80px 0;
  background: var(--blog-dark-bg);
  text-align: center;
}

.blog-cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--blog-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-cta-text {
  font-size: 1.2rem;
  color: var(--blog-text-secondary);
  margin-bottom: 2rem;
}

.blog-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--blog-gradient-accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.blog-cta-button:hover::before {
  left: 100%;
}

.blog-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(129, 140, 248, 0.4);
}

.blog-cta-button svg {
  transition: transform 0.3s ease;
}

.blog-cta-button:hover svg {
  transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-hero-title {
    font-size: 2.5rem;
  }

  .blog-filter-tags {
    gap: 0.5rem;
  }

  .blog-tag {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .blog-post-title {
    font-size: 1.25rem;
  }

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

  .stat-number {
    font-size: 2.5rem;
  }

  .blog-cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* ===================================
  JOBS PAGE
  =================================== */
.jobs-page {
  background-color: black;
}

.jobs-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: 'Exo', sans-serif;
  overflow: hidden;
  z-index: 1;
  padding: 40px 20px;
  padding-top: 150px;
}

.jobs-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://storage.googleapis.com/background-vid/about-jobs-collab-bg.webp')
    center/cover no-repeat;
  z-index: -2;
}

.jobs-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.jobs-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.jobs-content {
  max-width: 800px;
  padding: 20px;
}

.jobs-content p {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 15px;
}

.jobs-contact {
  font-weight: 600;
  font-size: 1.3rem;
}

.jobs-contact a {
  font-weight: 600;
  color: #ffb902;
  text-decoration: underline;
}

.jobs-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .jobs-heading {
    font-size: 4.5rem;
  }

  .jobs-content {
    max-width: 90%;
  }

  .jobs-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 950px) {
  .jobs-heading {
    font-size: 3rem;
  }

  .jobs-content {
    max-width: 95%;
    padding: 20px;
  }

  .jobs-content p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .jobs-contact {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .jobs-heading {
    font-size: 2.5rem;
  }

  .jobs-content p {
    font-size: 0.95rem;
    font-weight: 500;
  }

  .jobs-contact {
    font-size: 1rem;
  }
}

.jobs-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 40px;
}

@keyframes fallAndSpin {
  from {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
  to {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

.job-icon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fallAndSpin 1s ease-out forwards;
  opacity: 0;
}

.job-icon-item:nth-child(1) {
  animation-delay: 0s;
}
.job-icon-item:nth-child(2) {
  animation-delay: 0.2s;
}
.job-icon-item:nth-child(3) {
  animation-delay: 0.4s;
}
.job-icon-item:nth-child(4) {
  animation-delay: 0.6s;
}

.job-icon-item svg {
  width: 100px;
  height: 100px;
  fill: white;
}

@media (max-width: 950px) {
  .jobs-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 480px) {
  .jobs-icons {
    gap: 60px;
  }
}

.partnerships-section {
  max-width: 1000px;
  text-align: center;
  margin-top: 50px;
}

.partnerships-heading {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.partnerships-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.partnerships-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partner-item {
  display: flex;
  justify-content: center;
}

.partner-card {
  background: darkgray;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: black;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
}

.partner-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

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

.partner-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.partner-description {
  font-size: 1rem;
  color: black;
}
