/* Base Styles */
:root {
  --primary: #1e6bd8;
  --primary-hover: #1658b8;
  --primary-glow: rgba(30, 107, 216, 0.3);
  --primary-light: rgba(30, 107, 216, 0.1);
  --dark: #0a0d14;
  --darker: #050709;
  --gray-dark: rgba(26, 29, 37, 0.6);
  --gray: rgba(42, 46, 58, 0.6);
  --gray-light: rgba(74, 79, 96, 0.6);
  --text: #ffffff;
  --text-muted: #a0a3ad;
  --border: rgba(42, 46, 58, 0.3);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* Chart Colors */
  --chart-primary: #1e6bd8;
  --chart-secondary: #4a8eff;
  --chart-accent: #00ccff;
  --chart-grid: rgba(255, 255, 255, 0.1);

  /* Animation durations */
  --animation-slow: 0.8s;
  --animation-medium: 0.5s;
  --animation-fast: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("../img/fondo_blue.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 7, 9, 0.4);
  z-index: -1;
}

/* Light Effects */
.light-effect {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.light-effect-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 107, 216, 0.6) 0%, rgba(30, 107, 216, 0) 70%);
  top: -200px;
  right: -100px;
  animation: float 15s ease-in-out infinite;
}

.light-effect-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 0, 255, 0.4) 0%, rgba(76, 0, 255, 0) 70%);
  bottom: -200px;
  left: -200px;
  animation: float 20s ease-in-out infinite reverse;
}

.light-effect-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.3) 0%, rgba(0, 204, 255, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 10s ease-in-out infinite;
}

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

@keyframes pulse {
  0% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Scroll Animations */
.animate-in {
  animation: fadeInUp var(--animation-medium) forwards;
}

.animate-out {
  animation: fadeOutDown var(--animation-medium) forwards;
}

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

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

/* Staggered animations for multiple elements */
.benefit-card:nth-child(1),
.stat-card:nth-child(1) {
  animation-delay: 0.1s;
}

.benefit-card:nth-child(2),
.stat-card:nth-child(2) {
  animation-delay: 0.2s;
}

.benefit-card:nth-child(3),
.stat-card:nth-child(3) {
  animation-delay: 0.3s;
}

.benefit-card:nth-child(4),
.stat-card:nth-child(4) {
  animation-delay: 0.4s;
}

.benefit-card:nth-child(5) {
  animation-delay: 0.5s;
}

.benefit-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Section Gradients */
.section-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.2;
}

.benefits .section-gradient {
  background: linear-gradient(135deg, rgba(30, 107, 216, 0.3) 0%, rgba(0, 0, 0, 0) 50%);
}

.about .section-gradient {
  background: linear-gradient(225deg, rgba(76, 0, 255, 0.2) 0%, rgba(0, 0, 0, 0) 60%);
}

.contact .section-gradient {
  background: linear-gradient(45deg, rgba(0, 204, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
}

.faqs .section-gradient {
  background: linear-gradient(315deg, rgba(30, 107, 216, 0.2) 0%, rgba(0, 0, 0, 0) 60%);
}

.stats-section .section-gradient {
  background: linear-gradient(180deg, rgba(30, 107, 216, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Custom Cursor */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px 5px rgba(30, 107, 216, 0.4);
  transition: width 0.2s, height 0.2s, box-shadow 0.2s;
  display: none; /* Oculto por defecto, mostrado vía JS */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

/* Buttons */
.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 0 10px rgba(30, 107, 216, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 107, 216, 0.3);
}

.btn-outline {
  background-color: rgba(30, 107, 216, 0.05);
  color: var(--text);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: rgba(30, 107, 216, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border: none;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(10, 13, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-link {
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

.mobile-menu-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--primary);
}

.mobile-menu-link:hover::after,
.mobile-menu-link.active::after {
  width: 100%;
}

.mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  width: 200px;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-buttons .btn-primary i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.hero-buttons .btn-primary:hover i {
  transform: translateX(3px);
}

/* Platform Preview */
.platform-preview-container {
  margin-top: 3rem;
  perspective: 1000px;
  padding: 20px;
}

.platform-preview {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateY(0deg);
  will-change: transform, box-shadow;
  transition: transform 0.6s ease-out, box-shadow 0.6s ease-out;
  /* Ensure the element has some depth */
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.platform-preview::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
  z-index: 2;
  pointer-events: none;
  border-radius: 20px;
}

.platform-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.5s ease;
}

/* Platform Preview Tech Overlay */
.platform-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.platform-preview:hover .platform-overlay {
  opacity: 1;
}

.platform-preview:hover .platform-image {
  transform: scale(1.03);
}

.tech-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.2;
  animation: techDotsAnimation 20s linear infinite;
}

.tech-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.tech-lines::before,
.tech-lines::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  width: 200%;
  height: 1px;
  opacity: 0;
  animation: techLinesAnimation 3s ease-in-out infinite;
}

.tech-lines::before {
  top: 25%;
  left: -50%;
  animation-delay: 0s;
}

.tech-lines::after {
  top: 75%;
  left: -50%;
  animation-delay: 1.5s;
}

.tech-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  animation: techGlowAnimation 4s ease-in-out infinite;
}

@keyframes techDotsAnimation {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

@keyframes techLinesAnimation {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  20% {
    opacity: 0.5;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes techGlowAnimation {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0; /* Start invisible for animation */
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 107, 216, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(30, 107, 216, 0.2);
}

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

.benefit-card .icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.benefit-card:hover .icon {
  transform: scale(1.05);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* About Section */
.about-grid {
  max-width: 800px;
  margin: 0 auto;
}

.about-content {
  opacity: 0; /* Start invisible for animation */
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.stats-section.hidden {
  transform: translateY(-50px);
  opacity: 0;
  pointer-events: none;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stats-card {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(50px);
  opacity: 0;
}

.stats-card.animate {
  transform: translateY(0);
  opacity: 1;
}

.stats-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.stats-card-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(90deg, rgba(30, 107, 216, 0.1), rgba(0, 0, 0, 0));
}

.stats-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--chart-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(30, 107, 216, 0.3);
}

.stats-icon i {
  font-size: 1.5rem;
  color: white;
}

.stats-card-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text);
}

.stats-card-body {
  padding: 2rem;
  position: relative;
}

.stats-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), var(--chart-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-value span {
  display: inline-block;
}

.stats-value span:first-child {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.stats-symbol {
  font-size: 2rem;
  margin-left: 0.25rem;
}

.stats-description {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.stats-chart-container {
  position: relative;
  height: 200px;
  margin-top: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: rgba(10, 13, 20, 0.3);
  border: 1px solid var(--glass-border);
}

.stats-chart {
  width: 100%;
  height: 100%;
}

.stats-chart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 70%, rgba(10, 13, 20, 0.5) 100%);
  pointer-events: none;
}

@keyframes chartLineAnimation {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes chartFillAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.3;
  }
}

@keyframes chartPointAnimation {
  0% {
    r: 0;
    opacity: 0;
  }
  50% {
    r: 6;
    opacity: 1;
  }
  100% {
    r: 4;
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .stats-cards {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 576px) {
  .stats-card-header {
    flex-direction: column;
    text-align: center;
  }

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

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

/* Stats Container Styles */
.stats-container {
  max-width: 100%;
  margin: 3rem auto 0;
  text-align: center;
}

.stats-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.stats-description {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 0 auto;
  max-width: 100%;
}

.stat-card {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 107, 216, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.stat-icon-container {
  flex: 0 0 auto;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary);
  display: inline-block;
  background: rgba(30, 107, 216, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1);
  background: rgba(30, 107, 216, 0.2);
}

.stat-content {
  flex: 1;
  text-align: left;
  padding-left: 1rem;
}

.stat-number-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  display: inline-block;
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), #4a8eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus,
.stat-k,
.stat-percent {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), #4a8eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 0.25rem;
}

.stat-card p {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
}

.stat-detail {
  display: block;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 992px) {
  .stat-card {
    padding: 2.5rem 2rem;
  }
}

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

  .stat-card {
    padding: 2rem;
  }

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

  .stat-plus,
  .stat-k,
  .stat-percent {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .stat-card {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem;
  }

  .stat-content {
    text-align: center;
    padding-left: 0;
  }

  .stat-number-container {
    justify-content: center;
  }

  .stat-card p,
  .stat-detail {
    text-align: center;
  }
}

/* Section Dividers */
section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

section:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(30, 107, 216, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

section:last-of-type:after {
  display: none;
}

/* Products Page Styles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.product-card {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(30, 107, 216, 0.4);
}

.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Aspect ratio 1:1 (square) */
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.product-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 107, 216, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.product-card:hover .product-content::before {
  opacity: 1;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--primary);
}

.product-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.rating {
  display: flex;
  margin-bottom: 1.5rem;
  color: #ffd700; /* Gold color for stars */
}

.rating i {
  margin-right: 0.25rem;
  filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.product-price::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  margin-right: 10px;
  border-radius: 2px;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover .product-badge {
  transform: translateZ(0) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary.btn-full {
  padding: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary.btn-full::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.btn-primary.btn-full:hover::after {
  opacity: 1;
  animation: shine 1.5s ease;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

/* FAQs Section */
.faqs-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(30, 107, 216, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  flex: 1;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

.faq-answer p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.faq-answer ul {
  color: var(--text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.faq-answer ul li {
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.contact-form {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  opacity: 0; /* Start invisible for animation */
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 107, 216, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact-form:hover::before {
  opacity: 1;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: rgba(42, 46, 58, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  border-radius: 0.375rem;
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(30, 107, 216, 0.1);
}

.contact-info {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  opacity: 0; /* Start invisible for animation */
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 107, 216, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact-info:hover::before {
  opacity: 1;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--primary);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-detail {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: rgba(5, 7, 9, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(42, 46, 58, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(30, 107, 216, 0.2);
}

.footer-links h4 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

.footer-links li:hover {
  padding-left: 5px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.affiliate-link {
  color: var(--primary) !important;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Legal Pages Styles */
.page-content {
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.page-header h1::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.legal-content {
  background-color: rgba(26, 29, 37, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 3rem;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
  opacity: 1; /* Make visible by default */
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.legal-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 0.75rem;
}

.legal-content strong {
  color: var(--text);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .platform-preview {
    max-width: 90%;
  }
}

@media (max-width: 992px) {
  .nav-buttons {
    display: none;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .legal-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 3rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
  }

  .light-effect {
    opacity: 0.1;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .legal-content {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 1.3rem;
  }

  .logo-img {
    height: 30px;
  }

  .navbar {
    padding: 0.8rem 0;
  }

  .container {
    padding: 0 1rem;
  }

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

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

  .stat-card p {
    font-size: 0.8rem;
  }

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

  .benefit-card {
    padding: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  .legal-content h2 {
    font-size: 1.5rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .product-content {
    padding: 1.5rem;
  }

  .product-title {
    font-size: 1.2rem;
  }

  .product-price {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}
