/* ===== SMARTCARWASH DESIGN SYSTEM ===== */

/* CSS Variables - Premium Dark Theme */
:root {
  /* Primary Colors */
  --primary: #00d4ff;
  --primary-dark: #00a8cc;
  --primary-glow: rgba(0, 212, 255, 0.3);
  
  /* Secondary Colors */
  --secondary: #7c3aed;
  --secondary-dark: #5b21b6;
  
  /* Accent Colors */
  --accent-gold: #fbbf24;
  --accent-green: #10b981;
  
  /* Neutral Colors */
  --dark-900: #0a0a0f;
  --dark-800: #121218;
  --dark-700: #1a1a24;
  --dark-600: #252532;
  --dark-500: #32324a;
  
  --light-100: #ffffff;
  --light-200: #f8fafc;
  --light-300: #e2e8f0;
  --light-400: #94a3b8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-900) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 100px;
  --container-width: 1200px;
  
  /* Effects */
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background: var(--dark-900);
  color: var(--light-200);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

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

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

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

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

p {
  color: var(--light-400);
  font-size: 1.1rem;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 15, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-100);
}

.nav-logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--light-400);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--light-100);
}

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

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-primary);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-900);
  box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px var(--primary-glow);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--light-100);
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--dark-900);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px var(--primary-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--light-100);
  border: 2px solid var(--dark-500);
}

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

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(37, 211, 102, 0.4);
}

.btn-icon {
  font-size: 1.2rem;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, var(--primary-glow) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(124, 58, 237, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title {
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--light-400);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

/* ===== SECTIONS ===== */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-glass);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--light-400);
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow-card);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--light-400);
  font-size: 1rem;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--dark-700);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
}

.service-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

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

.service-content {
  padding: 30px;
}

.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.service-text {
  color: var(--light-400);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
}

.service-link:hover {
  gap: 12px;
}

/* ===== AUTHORITY SECTION ===== */
.authority {
  background: var(--dark-800);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.authority-content h2 {
  margin-bottom: 24px;
}

.authority-content p {
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.authority-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.authority-point {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--dark-700);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.authority-point-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.authority-point-text {
  font-weight: 500;
  color: var(--light-200);
}

.authority-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.authority-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.2;
  z-index: 1;
}

.authority-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
}

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: var(--dark-700);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'MÁS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  color: var(--dark-900);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
}

.pricing-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

.pricing-header {
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--dark-500);
  margin-bottom: 30px;
}

.pricing-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-period {
  color: var(--light-400);
  font-size: 0.9rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--light-300);
}

.pricing-feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 0.8rem;
}

.pricing-btn {
  width: 100%;
}

/* ===== COVERAGE SECTION ===== */
.coverage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.coverage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--dark-700);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.coverage-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.coverage-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--dark-700);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

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

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--light-400);
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.blog-excerpt {
  color: var(--light-400);
  margin-bottom: 20px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
}

/* ===== ARTICLE STYLES ===== */
.article-header {
  padding: 160px 0 60px;
  background: var(--dark-800);
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--light-400);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.article-content h2 {
  margin-top: 48px;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.article-content p {
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-cta {
  margin-top: 60px;
  padding: 40px;
  background: var(--dark-700);
  border-radius: var(--border-radius-lg);
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-800);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px;
}

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

.footer-brand p {
  margin-top: 20px;
  color: var(--light-400);
  max-width: 300px;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--light-100);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--light-400);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--light-400);
  margin-bottom: 16px;
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  background: var(--dark-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: var(--light-400);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  background: var(--dark-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-400);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--gradient-primary);
  color: var(--dark-900);
  transform: translateY(-3px);
}

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

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

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .authority-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--dark-800);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid,
  .services-grid,
  .pricing-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
