:root {
  --bg-dark: #07070f;
  --bg-card: rgba(20, 20, 35, 0.7);
  --text-main: #f0f4f8;
  --text-muted: #a0aec0;
  --coral: #ff6b6b;
  --cyan: #00f2fe;
  --white: #ffffff;
  --border-color: rgba(255, 255, 255, 0.08);
  --glow-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Efecto Gráfico Único de Fondo (Ecosistema Dinámico) */
body::before {
  content: "";
  position: fixed;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 15% 20%, rgba(0, 242, 254, 0.04) 0%, transparent 40%),
              radial-gradient(circle at 85% 75%, rgba(255, 6b, 6b, 0.04) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Skip Link para Accesibilidad */
.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--coral);
  color: var(--white);
  padding: 10px 20px;
  z-index: 10000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 10px;
}

/* HEADER & NAVEGACIÓN */
header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(7, 7, 15, 0.85);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.logo-img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

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

.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
}

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

/* HERO SECTION */
.hero-sec {
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--cyan);
  border-radius: 20px;
  color: var(--cyan);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero-media {
  max-width: 1000px;
  margin: 40px auto 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--glow-shadow);
  border: 1px solid var(--border-color);
}

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

/* CARDS & GLASSMORPHISM */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.3);
}

/* RANDOM SECTION 1 - ECOSYSTEM */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* FEATURES SECTION (ASYMMETRIC) */
.features-sec {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.features-media, .features-content {
  flex: 1;
}

.features-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--glow-shadow);
}

.features-list {
  list-style: none;
  margin-top: 24px;
}

.features-item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.features-item::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: bold;
  font-size: 1.2rem;
}

/* PRICING SECTION */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.price-card {
  position: relative;
  text-align: center;
}

.price-card.popular {
  border: 2px solid var(--cyan);
  box-shadow: var(--glow-shadow);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--bg-dark);
  font-weight: bold;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
}

.price-val {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin: 20px 0;
}

.price-val span {
  font-size: 1rem;
  color: var(--text-muted);
}

.btn-pricing {
  display: inline-block;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-pricing:hover {
  background: var(--cyan);
  color: var(--bg-dark);
}

.price-card.popular .btn-pricing {
  background: var(--cyan);
  color: var(--bg-dark);
}

.price-card.popular .btn-pricing:hover {
  background: transparent;
  color: var(--cyan);
}

/* FORM SECTION */
.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--cyan);
  outline: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 4px;
}

.checkbox-label a {
  color: var(--cyan);
  text-decoration: none;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--coral));
  border: none;
  border-radius: 8px;
  color: var(--white);
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

/* FAQ ACCORDION */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-main);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--cyan);
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 15px;
}

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

/* TRUST LAYER */
.trust-layer {
  background: rgba(255, 107, 107, 0.03);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: 12px;
  padding: 24px;
  margin-top: 60px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.trust-title {
  font-weight: bold;
  color: var(--coral);
  margin-bottom: 10px;
}

.trust-link {
  color: var(--cyan);
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #04040a;
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-col-title {
  color: var(--white);
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

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

.footer-links li {
  margin-bottom: 8px;
}

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

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

.footer-info {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  line-height: 1.6;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(13, 12, 29, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glow-shadow);
}

@media(min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    left: 40px;
    right: 40px;
  }
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 800px;
}

.cookie-text a {
  color: var(--cyan);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-cookie {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-weight: bold;
}

.btn-cookie-accept {
  background: var(--cyan);
  color: var(--bg-dark);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* MOBILE RESPONSIVENESS */
@media(max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu.active {
    display: flex;
  }

  .burger-btn {
    display: block;
  }

  .features-sec {
    flex-direction: column;
    gap: 40px;
  }

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