
:root {
  /* Fondo principal Pixar verde */
  --bg-main: radial-gradient(
      circle at top,
      #3fd36b,
      #0f2a1f 60%
    );

  --bg-dark: #0b1f17;

  /* Cards tipo glass futurista */
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.18);

  /* Verde acento luminoso */
  --accent: #5cff9d;
  --accent-soft: rgba(92, 255, 157, 0.25);

  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.85);
}


/* ===============================
   RESET BÁSICO
   =============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ===============================
   BASE
   =============================== */
.pf-body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: #0b1f17; /* base sólida */
}

.section.hero {
  background:
    radial-gradient(circle at 70% 40%, rgba(92,255,157,.12), transparent 60%),
    linear-gradient(180deg, #0f2a1f, #08140f);
}



/* ===============================
   LAYOUT HELPERS
   =============================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-center {
  text-align: center;
}

/* ===============================
   GRIDS
   =============================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ===============================
   HEADER
   =============================== */
.pf-header {
  backdrop-filter: blur(16px);
  background: rgba(11, 31, 23, 0.65);
}

.section:first-of-type {
  background: linear-gradient(
    180deg,
    rgba(15, 42, 31, 0.95),
    rgba(15, 42, 31, 0.85)
  );
}


.logo {
  color: var(--pf-gold);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--pf-text-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--pf-gold);
}

.nav-cta {
  color: var(--pf-gold);
  font-weight: 600;
}

/* ===============================
   SECCIONES
   =============================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(
    180deg,
    rgba(8, 20, 15, 0.92),
    rgba(8, 20, 15, 1)
  );
}

/* ===============================
   HERO
   =============================== */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--pf-gold);
}

.hero-title span,
.nav-cta {
  color: var(--accent);
}

.hero-text {
  margin-top: 1.5rem;
  max-width: 540px;
  color: var(--pf-text-soft);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-box {
  width: 320px;
  height: 320px;
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
}

/* ===============================
   CARDS
   =============================== */
.card {
  background: var(--pf-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}


.card h3 {
  color: var(--pf-gold);
  font-size: 1.2rem;
}

.card p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--pf-text-soft);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 30px 80px rgba(0,0,0,.4),
    0 0 40px rgba(92,255,157,.15);
}


.card.featured {
  transform: scale(1.05);
}
.card .btn-gold {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* ===============================
   PLANES
   =============================== */
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pf-gold);
}

.plan-speed {
  margin-top: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.plan-price {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* ===============================
   BOTONES
   =============================== */
.btn-gold {
  margin-top: auto;
  background: linear-gradient(135deg, #5cff9d, #3fd36b);
  color: #052014;
  font-weight: 800;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(92, 255, 157, 0.45);
}


.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 0.75rem;
  text-decoration: none;
}

/* ===============================
   CTA
   =============================== */
.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pf-gold);
}

/* ===============================
   FOOTER
   =============================== */
.pf-footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}

/* ===============================
   ANIMACIONES
   =============================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.visible {
  animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .nav a {
    margin-left: 1rem;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo img {
  width: 28px;
  height: 28px;
}

.logo span {
  color: var(--pf-gold);
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-logo {
  width: 240px;
  opacity: 0.95;
  filter:
    drop-shadow(0 40px 80px rgba(0,0,0,.45))
    drop-shadow(0 0 40px rgba(92,255,157,.25));
}

.hero-brand img {
  width: 220px;
  margin-top: 1rem;
  opacity: 0.95;
}


.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.hero-logo {
  width: 220px;
  opacity: 0.95;
  filter:
    drop-shadow(0 40px 80px rgba(0,0,0,.45))
    drop-shadow(0 0 40px rgba(92,255,157,.25));
}

.hero-wordmark {
  width: 180px;
  opacity: 0.9;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #5cff9d;
}

.contact-form select {
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 0.75rem;
  padding: 0.7rem 2.5rem 0.7rem 0.9rem;

  color: #fff;
  font-size: 0.9rem;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #5cff9d 50%),
    linear-gradient(135deg, #5cff9d 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 4px),
    calc(100% - 12px) calc(50% - 4px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;

  cursor: pointer;
}

.contact-form select:focus {
  color: #3a3838;
  background: #1f1e1e4d;
  outline: none;
  border-color: #5cff9d;
  box-shadow: 0 0 0 2px rgba(92,255,157,.25);
}

/* ===============================
   TOAST NOTIFICATION
   =============================== */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  min-width: 280px;
  max-width: 360px;
  padding: 1rem 1.4rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.95rem;

  background: linear-gradient(
    135deg,
    rgba(40, 255, 140, 0.95),
    rgba(20, 200, 110, 0.95)
  );

  color: #022c1a;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(40, 255, 140, 0.35);

  transform: translateX(120%);
  opacity: 0;
  transition: all 0.45s ease;
  z-index: 9999;
}

/* Visible */
.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Error variant */
.toast.error {
  background: linear-gradient(
    135deg,
    rgba(255, 120, 120, 0.95),
    rgba(200, 60, 60, 0.95)
  );
  color: #300;
}
