@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0f1117;
  --bg-surface: #181b23;
  --bg-card: #1e2130;
  --bg-card-hover: #252840;
  --border: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(200, 165, 80, 0.45);
  --text: #e8e6e1;
  --text-muted: #8b8a87;
  --primary: #c8a550;
  --primary-soft: rgba(200, 165, 80, 0.12);
  --primary-glow: rgba(200, 165, 80, 0.25);
  --danger: #e05858;
  --success: #4caf82;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(15, 17, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #b8943e);
  color: #1a1400;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

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

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

/* ─── HERO SECTION ─── */
.hero {
  padding: 160px 40px 100px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Subtle background glow effect */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ─── PLANS SECTION ─── */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-10px);
  border-color: rgba(200, 165, 80, 0.3);
  box-shadow: var(--shadow);
}

.plan-popular {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-card) 100%);
}

.plan-popular::after {
  content: 'Más Elegido';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary);
  color: #1a1400;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(45deg);
}

.plan-header {
  margin-bottom: 30px;
}

.plan-name {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
}

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

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-features li .icon {
  color: var(--success);
  font-size: 1.2rem;
}

.plan-card .btn {
  width: 100%;
  text-align: center;
}

/* ─── FOOTER ─── */
.footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .nav-links {
    display: none;
  }
}
