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

:root {
  --primary: #244ad6;
  --primary-dark: #0c42dc;
  --secondary: #fff5ee;
  --third: #000000;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  color: white;
  background-color: var(--primary);
  overflow-x: hidden;
  line-height: 1.6;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  position: relative;
}

#hero {
  padding: 40px 20px;
}

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

/* Floating Buttons */
.whatsapp-float,
.instagram-float {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-float {
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

.instagram-float {
  bottom: 110px;
  right: 30px;
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: white;
}

.whatsapp-float:hover,
.instagram-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp-float svg,
.instagram-float svg {
  width: 32px;
  height: 32px;
}

/* Hero Section */
#hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

/* About Section - Alternate Dark */
#about {
  background: var(--primary-dark);
}

/* Categories Section - Back to Primary */
#categories {
  background: var(--primary);
}

/* How It Works Section - Alternate Dark */
#how-it-works {
  background: var(--primary-dark);
}

/* CTA Section - Back to Primary */
#cta {
  background: var(--primary);
  color: white;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(90, 127, 255, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(90, 127, 255, 0.2) 0%,
      transparent 50%
    );
  animation: gradientShift 8s ease-in-out infinite;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 1s ease;
  position: relative;
  z-index: 1;
}

.hero-banner-wrapper {
  position: relative;
  margin-bottom: 30px;
  display: inline-block;
  perspective: 1500px;
}

.hero-banner {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 12px 30px rgba(0, 0, 0, 0.3);
  animation: bannerFloat3D 6s ease-in-out infinite,
    bannerSpin 5s ease-in-out infinite;
  transition: transform 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(
    circle,
    rgba(255, 245, 238, 0.4) 0%,
    transparent 70%
  );
  filter: blur(40px);
  animation: pulse 3s ease-in-out infinite;
  z-index: 1;
}

.banner-decoration {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 245, 238, 0.3),
    rgba(255, 245, 238, 0.1)
  );
  backdrop-filter: blur(10px);
  z-index: 0;
}

.decoration-1 {
  width: 80px;
  height: 80px;
  top: -15px;
  left: -25px;
  animation: floatDecoration1 7s ease-in-out infinite;
}

.decoration-2 {
  width: 120px;
  height: 120px;
  bottom: -30px;
  right: -40px;
  animation: floatDecoration2 9s ease-in-out infinite;
}

.decoration-3 {
  width: 60px;
  height: 60px;
  top: 50%;
  right: -30px;
  animation: floatDecoration3 5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 15px;
  color: white;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 245, 238, 0.95);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 15px;
  position: relative;
  animation: scroll 2s infinite;
}

.mouse::before {
  content: "";
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  color: white;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  opacity: 1;
  visibility: visible;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: inline-block;
  animation: bounce 2s infinite;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.category-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.15);
  min-height: 250px;
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(10px);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover .category-overlay {
  opacity: 0.05;
}

.category-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--secondary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.category-content {
  position: relative;
  z-index: 1;
}

.category-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: white;
}

.category-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

/* How It Works */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 auto 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.step-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.step-connector {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin: 0 20px;
}

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

.cta-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
  animation: pulse 2s infinite;
  /* Removed filter to show original logo colors on gradient background */
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-text {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

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

.cta-button {
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-button svg {
  width: 24px;
  height: 24px;
}

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

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:hover {
  background: var(--secondary);
  color: var(--primary);
}

.cta-button.secondary:hover {
  background: white;
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  /* Removed filter to show original logo colors on dark background */
}

.footer-text {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

@keyframes bannerFloat3D {
  0%,
  100% {
    transform: translateY(0px) rotateY(-5deg) rotateX(2deg);
  }
  50% {
    transform: translateY(-20px) rotateY(5deg) rotateX(-2deg);
  }
}

@keyframes bannerSpin {
  0%,
  28.5% {
    transform: rotateY(0deg);
  }
  71.5%,
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes floatDecoration1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(10px, -20px) scale(1.1);
  }
  66% {
    transform: translate(-10px, -10px) scale(0.9);
  }
}

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

@keyframes floatDecoration3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(15px, -15px) rotate(180deg);
  }
}

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

@keyframes scroll {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes scrollDot {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }

  .whatsapp-float,
  .instagram-float {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .instagram-float {
    bottom: 85px;
    right: 20px;
  }

  .whatsapp-float svg,
  .instagram-float svg {
    width: 26px;
    height: 26px;
  }

  .step-connector {
    width: 100%;
    height: 3px;
    margin: 20px 0;
    transform: rotate(90deg);
  }

  .steps-container {
    flex-direction: column;
  }

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

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .features-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    max-width: 100%;
    border-radius: 20px;
  }

  .decoration-1,
  .decoration-2,
  .decoration-3 {
    display: none;
  }

  .feature-card,
  .category-card {
    padding: 30px 20px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}
