:root {
  /* Design Tokens */
  --primary: #FF3131;
  --primary-dark: #D42828;
  --bg-dark: #050505;
  --bg-darker: #020202;
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --header-glass: rgba(5, 5, 5, 0.85);
}

/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: 'Outfit', sans-serif;
}

/* Utilities */
.section-padding {
  padding: 100px 6%;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 24px;
  }
}

/* Glassmorphism */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 49, 49, 0.3);
  transform: translateY(-8px);
}

/* Navigation */
.nav-glass {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
  .nav-glass {
    height: 70px;
    background: #000000;
  }
}

/* Buttons */
.btn-premium {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(255, 49, 49, 0.25);
}

.btn-premium:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 49, 49, 0.4);
}

.btn-secondary {
  background: var(--glass);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

/* Custom Text Effects */
.text-glow {
  text-shadow: 0 0 30px rgba(255, 49, 49, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, #FFF 0%, #AAA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.red-gradient-bg {
  background: radial-gradient(circle at top right, rgba(255, 49, 49, 0.08), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255, 49, 49, 0.05), transparent 40%),
    var(--bg-dark);
}

.bg-near-black {
  background-color: #080808;
}

.bg-deep-charcoal {
  background-color: #0c0c0c;
}

.border-subtle {
  border-color: rgba(255, 255, 255, 0.05);
}

/* Hide scrollbar for carousel */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.bg-striped {
  background-color: #0c0c0c;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255, 49, 49, 0.02) 40px, rgba(255, 49, 49, 0.02) 80px);
}

/* Premium Light Theme Sections */
.section-light {
  background-color: #ffffff;
  color: #1a1a1a;
}
.section-light .glass-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.section-light .glass-card:hover {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: rgba(255,49,49,0.3);
  transform: translateY(-10px);
}
.section-light .glass-card h3 {
  color: #1a1a1a;
}
.section-light .glass-card p {
  color: #4a4a4a;
}
.section-light h2,
.section-light h3,
.section-light p,
.section-light li,
.section-light summary {
  color: #1a1a1a !important;
}
.section-light .text-gray-400,
.section-light .text-gray-300,
.section-light .text-white\/60 {
  color: #555555 !important;
}

.invert-logos img {
  filter: invert(1) brightness(2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-reveal {
  opacity: 0;
  animation: reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-500 {
  animation-delay: 500ms;
}

/* Custom Reveal for Image */
.hero-image-reveal {
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-reveal.active {
  opacity: 1;
  transform: translateX(0) scale(1.1);
  /* Increased size as requested */
}

/* Soro Blog Theme Overrides */
#soro-blog {
  color: #FFFFFF !important;
}
#soro-blog h1, #soro-blog h2, #soro-blog h3, #soro-blog h4, #soro-blog h5, #soro-blog h6 {
  color: #FFFFFF !important;
}
#soro-blog p, #soro-blog span, #soro-blog div, #soro-blog li {
  color: #FFFFFF !important;
}
#soro-blog a {
  color: #FF3131 !important;
  transition: color 0.3s ease;
}
#soro-blog a:hover {
  color: #D42828 !important;
}
#soro-blog button, #soro-blog .btn, #soro-blog [role="button"] {
  background-color: #FF3131 !important;
  color: #FFFFFF !important;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
#soro-blog button:hover, #soro-blog .btn:hover {
  background-color: #D42828 !important;
}
#soro-blog .card, #soro-blog .post-card, #soro-blog article {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 20px;
}