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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
.btn {
  border: none;
  cursor: pointer;
  font: inherit;
  transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 42px;
  min-width: 42px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.12);
  padding: 0.35rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #60a5fa;
}

.brand-tag {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #cbd5e1;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #60a5fa;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.whatsapp-icon {
  font-size: 1.1rem;
}

.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: #ffffff;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 1002;
  text-decoration: none;
  font-weight: 600;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.2) 35%, rgba(15, 23, 42, 0.85)), url('assets/images/hero.jpg') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.28) 30%, rgba(15, 23, 42, 0.88));
    pointer-events: none;
  }

  .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 25%),
                radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.15), transparent 30%);
    z-index: 1;
    pointer-events: none;
  }

  .hero-content,
  .hero-visual {
    position: relative;
    z-index: 2;
  }

  .hero-content {
    max-width: 640px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    color: #f8fafc;
  }

  .hero-badge {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.3);
    color: #a5f3fc;
  }

  .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    color: #f8fafc;
  }

  .hero-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .hero-card {
    max-width: 420px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
    padding: 2rem;
  }

  .hero-card h3 {
    color: #e0f2fe;
  }

  .hero-card li {
    color: #cbd5e1;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  border-radius: 32px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.8);
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-card h3 {
  color: #f1f5f9;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

.hero-card li {
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.5);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advantage-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.advantage-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
}

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

.advantage-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.advantage-card p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Packages Section */
.packages {
  padding: 80px 0;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.package-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.package-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
}

.package-header {
  margin-bottom: 1.5rem;
}

.package-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
}

.package-price span {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 400;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.package-card.popular {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.1);
}

.package-card.popular::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  opacity: 1;
}

.package-card p {
  color: #94a3b8;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 80px 0;
  background: rgba(15, 23, 42, 0.5);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.legal-info h3 {
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.legal-badges {
  display: grid;
  gap: 1rem;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  color: #cbd5e1;
}

.badge strong {
  color: #f1f5f9;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

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

.contact-icon {
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.contact-item strong {
  color: #f1f5f9;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item a {
  color: #60a5fa;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #3b82f6;
}

.contact-card p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #60a5fa;
}

.footer-admin {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.12);
  border-radius: 18px;
  padding: 0.75rem 1rem;
  min-width: 240px;
}

.footer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: #0f172a;
}

.admin-label {
  color: #38bdf8;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.footer-admin p {
  margin: 0;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.footer-admin a {
  color: #a5f3fc;
  text-decoration: none;
}

.footer-admin a:hover {
  text-decoration: underline;
}

.footer-counter {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 18px;
  padding: 0.85rem 1rem;
  min-width: 210px;
}

.footer-counter > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.counter-metrics {
  display: grid;
  gap: 0.35rem;
}

.counter-metrics span {
  color: #c7f9d9;
  font-size: 0.9rem;
}

.counter-label {
  display: block;
  color: #a7f3d0;
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
}

#visitor-count {
  color: #e2e8f0;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-dashboard {
  margin-top: 0.75rem;
}

.footer-dashboard-link {
  display: inline-flex;
  align-items: center;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.footer-dashboard-link:hover {
  color: #93c5fd;
}

.footer-info p {
  color: #94a3b8;
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

.admin-panel {
  padding: 3rem 0;
}

.admin-panel h1 {
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.admin-panel p {
  color: #94a3b8;
  max-width: 620px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dashboard-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.dashboard-card h3 {
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.dashboard-card strong {
  color: #f8fafc;
}

.chart-grid {
  display: grid;
  gap: 0.85rem;
}

.chart-bar {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 180px;
  padding-bottom: 0.5rem;
}

.chart-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
}

.chart-bar-value {
  width: 100%;
  background: linear-gradient(180deg, #22c55e 0%, #3b82f6 100%);
  border-radius: 999px 999px 0 0;
  min-height: 10px;
  transition: height 0.4s ease;
}

.chart-bar-label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
}

.chart-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: #cbd5e1;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

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

@media (max-width: 768px) {
  .nav {
    padding: 0.75rem 0;
    height: 60px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
  }

  .nav .cta-button {
    display: none !important;
  }

  .whatsapp-float {
    display: inline-flex;
  }

  .hero {
    display: block;
    padding: 100px 1.5rem 60px;
    margin-top: 0;
    min-height: auto;
    background-position: center top;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .advantages-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-counter {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .advantage-card,
  .package-card,
  .contact-card {
    padding: 1.5rem;
  }
}