:root {
  --bg: #120A05;
  --bg-surface: #1C0F08;
  --bg-card: rgba(36, 20, 12, 0.75);
  --bg-glass: rgba(45, 25, 16, 0.55);
  --border: rgba(217, 138, 78, 0.28);
  --border-focus: #D98A4E;
  --primary: #D98A4E;
  --primary-hover: #E89E65;
  --primary-dark: #A9622D;
  --text-main: #FFFBF5;
  --text-muted: #D8C4B0;
  --text-subtle: #A99A8B;
  --gold: #F2C94C;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --shadow-warm: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(217, 138, 78, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at top center, rgba(82, 43, 24, 0.45), transparent 70%);
  padding-top: 84px;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVBAR (TRANSFORMS INTO ULTRA-COMPACT FLOATING ISLAND ON SCROLL) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(18, 10, 5, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  background: rgba(22, 11, 6, 0);
  border: 1px solid rgba(217, 138, 78, 0);
  outline: none;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              gap 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled State: Isla Flotante Ultra Compacta */
.navbar.scrolled {
  top: 14px;
  padding: 0 20px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  pointer-events: none;
}

.navbar.scrolled .nav-container {
  pointer-events: auto;
  width: fit-content;
  max-width: 380px;
  background: rgba(22, 11, 6, 0.86);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(217, 138, 78, 0.35);
  box-shadow: 
    0 16px 36px -4px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(217, 138, 78, 0.18),
    inset 0 1px 1px rgba(217, 138, 78, 0.2);
  padding: 6px 8px 6px 16px;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo {
  width: 28px;
  height: 28px;
}

.navbar.scrolled .nav-brand {
  font-size: 19px;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  max-width: 750px;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  transform: translateY(0) scale(1);
  visibility: visible;
  /* Al regresar: el contenedor se abre primero y luego los links aparecen con fade & slide */
  transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease 0.12s,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
              visibility 0s ease;
}

/* Ocultar enlaces al hacer scroll: desaparecen rápido para un colapso limpio */
.navbar.scrolled .nav-links {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.95);
  visibility: hidden;
  margin: 0;
  padding: 0;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
              opacity 0.18s ease 0s,
              transform 0.18s ease 0s,
              visibility 0s ease 0.25s;
}

.nav-link {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(217, 138, 78, 0.14);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  background: rgba(45, 25, 16, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(65, 35, 22, 0.8);
  border-color: var(--primary);
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* MOBILE DRAWER & OVERLAY */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: rgba(22, 11, 6, 0.97);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-left: 1px solid var(--border);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.8);
}

.mobile-menu-drawer.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(217, 138, 78, 0.2);
}

.mobile-menu-close {
  background: rgba(217, 138, 78, 0.12);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(217, 138, 78, 0.25);
  border-color: var(--primary);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  background: rgba(45, 25, 16, 0.35);
  border: 1px solid rgba(217, 138, 78, 0.12);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: rgba(217, 138, 78, 0.2);
  border-color: var(--primary);
  color: var(--text-main);
  transform: translateX(4px);
}

.mobile-nav-link.subtle {
  color: var(--text-muted);
  font-size: 14px;
  background: transparent;
  border-color: transparent;
}

.mobile-nav-link.subtle:hover {
  background: rgba(217, 138, 78, 0.12);
  border-color: rgba(217, 138, 78, 0.25);
  color: var(--text-main);
}

.mobile-nav-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(217, 138, 78, 0.15);
  margin: 10px 0;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 138, 78, 0.15);
}

.mobile-menu-cta {
  width: 100%;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14.5px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
}

.navbar.scrolled .btn {
  padding: 8px 16px;
  font-size: 13px;
  gap: 6px;
}

.btn-primary {
  background: var(--primary);
  color: #1A0D04;
  box-shadow: 0 4px 14px rgba(217, 138, 78, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 138, 78, 0.5);
}

/* Iconos de botones */
.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0.12) contrast(1.2);
}

.btn-icon-subtle {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0.95);
  transition: transform 0.25s ease;
}

.btn:hover .btn-icon-subtle {
  transform: rotate(-10deg) scale(1.15);
}

.btn-outline {
  background: rgba(45, 25, 16, 0.6);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(65, 35, 22, 0.8);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* HERO SECTION (2 COLUMNS WITH FADING MOCKUP ON RIGHT) */
.hero {
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/fondo-hero-mocapp.webp');
  background-size: cover;
  background-position: center top;
  opacity: 0.16;
  filter: saturate(1.4) contrast(1.1);
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 138, 78, 0.15);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-icon {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, #F2C94C, #D98A4E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-mini-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid rgba(217, 138, 78, 0.2);
  padding-top: 24px;
}

.mini-stat-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.mini-stat-label {
  font-size: 12px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* HERO FADING SHOWCASE ON RIGHT */
.hero-showcase-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-glow-backdrop {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 350px;
  background: radial-gradient(circle, rgba(217, 138, 78, 0.38) 0%, rgba(217, 138, 78, 0.1) 50%, transparent 75%);
  filter: blur(45px);
  z-index: 0;
  pointer-events: none;
}

.hero-fading-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 350px;
  background: #140A05;
  border-radius: 38px 38px 0 0;
  border-top: 3.5px solid rgba(217, 138, 78, 0.7);
  border-left: 3.5px solid rgba(217, 138, 78, 0.45);
  border-right: 3.5px solid rgba(217, 138, 78, 0.45);
  border-bottom: none;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), 0 0 35px rgba(217, 138, 78, 0.25);
  overflow: hidden;
  /* Máscara de difuminado hacia abajo */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0.3) 80%, rgba(0,0,0,0) 97%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, rgba(0,0,0,0.3) 80%, rgba(0,0,0,0) 97%);
  transition: transform 0.35s ease;
}

.hero-fading-phone:hover {
  transform: translateY(-6px);
}

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

/* Floating Pills en los bordes exteriores del Hero */
.hero-floating-pill {
  position: absolute;
  background: rgba(32, 17, 10, 0.94);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-focus);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 8px 25px rgba(0,0,0,0.65), 0 0 15px rgba(217, 138, 78, 0.2);
  z-index: 10;
  animation: gentleFloat 4.5s ease-in-out infinite;
  white-space: nowrap;
}

.pill-comunidad {
  top: 32%;
  left: -32px;
  animation-delay: 0s;
}

.pill-catalogo {
  bottom: 24%;
  right: -24px;
  animation-delay: 2.2s;
}

.pill-cata {
  top: 72%;
  left: -20px;
  animation-delay: 1.1s;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* SECTION HEADER ICON (HOJA & CAFÉ) */
.section-header-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(217, 138, 78, 0.4));
  transition: transform 0.3s ease;
}

.section-header:hover .section-header-icon {
  transform: translateY(-3px) scale(1.08) rotate(4deg);
}

/* SPOTLIGHT SECTION (FICHA DEL CAFÉ - 2 COLUMNS) */
.spotlight-section {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(28, 15, 8, 0.7), rgba(18, 10, 5, 0.95));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.spotlight-bg-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 30%, rgba(217, 138, 78, 0.12), transparent 60%),
                    radial-gradient(circle at 20% 70%, rgba(169, 98, 45, 0.1), transparent 50%);
  pointer-events: none;
}

.spotlight-section .container {
  position: relative;
  z-index: 1;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.spotlight-phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-card {
  width: 290px;
  background: #140A05;
  border-radius: 34px;
  border: 3.5px solid rgba(217, 138, 78, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(217, 138, 78, 0.2);
  overflow: hidden;
  position: relative;
  transition: all 0.35s ease;
}

.phone-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.8), 0 0 35px rgba(217, 138, 78, 0.35);
}

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

.phone-badge-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(22, 11, 6, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 138, 78, 0.4);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-content {
  text-align: left;
}

.spotlight-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.spotlight-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.spotlight-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(217, 138, 78, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.spotlight-point:hover .spotlight-icon-box {
  background: rgba(217, 138, 78, 0.25);
  border-color: var(--primary);
  transform: scale(1.08);
}

.spotlight-icon-box img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.spotlight-point-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.spotlight-point-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* FEATURES GRID */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 42px;
  background-color: var(--bg-surface);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

/* Imagen de fondo invertida horizontalmente (scaleX -1) para que el elemento principal quede al lado izquierdo */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
  transition: transform 0.4s ease;
}

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

.feature-card-bg-1::before {
  background-image: url('assets/fondo1.webp');
}

.feature-card-bg-2::before {
  background-image: url('assets/fondo2.webp');
}

.feature-card-bg-3::before {
  background-image: url('assets/fondo3.webp');
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(217, 138, 78, 0.25);
}

/* El contenido ocupa el espacio derecho con excelente jerarquía tipográfica */
.feature-card-content {
  position: relative;
  z-index: 1;
  width: 68%;
  max-width: 580px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 27px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-main);
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
  .feature-card {
    min-height: auto;
    padding: 28px 22px;
    align-items: flex-start;
  }
  /* En modo celular: se fija el fondo a la derecha */
  .feature-card::before {
    transform: none;
    background-position: right center;
  }
  .feature-card:hover::before {
    transform: scale(1.03);
  }
  .feature-card-content {
    width: 100%;
    max-width: 100%;
  }
}

/* RANKS SECTION */
.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.rank-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.rank-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(242, 201, 76, 0.2);
}

.rank-medal {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.rank-card:hover .rank-medal {
  transform: scale(1.1) rotate(2deg);
}

.rank-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.rank-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 6px;
}

/* FORMULARIO DE ACCESO CON WEB3FORMS */
.request-access-section {
  padding: 90px 0 110px;
  position: relative;
}

.request-card {
  background: linear-gradient(145deg, rgba(38, 20, 12, 0.92), rgba(22, 11, 6, 0.98));
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 740px;
  margin: 0 auto;
  box-shadow: var(--shadow-warm), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.request-card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(217, 138, 78, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.beta-notice-box {
  background: rgba(217, 138, 78, 0.12);
  border: 1px solid rgba(217, 138, 78, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.beta-badge-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.beta-notice-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.beta-notice-text strong {
  color: var(--text-main);
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 2px;
}

.form-label-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.9;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(18, 10, 5, 0.7);
  border: 1.2px solid rgba(217, 138, 78, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(28, 15, 8, 0.85);
  box-shadow: 0 0 12px rgba(217, 138, 78, 0.25);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: rgba(216, 196, 176, 0.4);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 10px;
  position: relative;
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(26, 13, 4, 0.35);
  border-top-color: #1A0D04;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.5;
  text-align: center;
  margin-top: 4px;
  transition: all 0.3s ease;
  animation: fadeIn 0.3s ease;
}

.form-status.success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(46, 125, 50, 0.16);
  border: 1px solid rgba(76, 175, 80, 0.45);
  color: #a3e9a4;
}

.form-status.error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(198, 40, 40, 0.16);
  border: 1px solid rgba(239, 83, 80, 0.45);
  color: #ff9999;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FOOTER */
.footer {
  background: #0D0704;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

.footer-brand h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-subtle);
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-subtle);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(217, 138, 78, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-subtle);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* LEGAL PAGES */
.legal-page {
  padding: 60px 0 100px;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(16px);
}

.legal-title {
  font-family: var(--font-serif);
  font-size: 38px;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 36px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.legal-section p, .legal-section li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-mini-stats {
    justify-content: center;
  }
  .hero-pill-floating {
    display: none;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .spotlight-content {
    text-align: center;
  }
  .spotlight-point {
    text-align: left;
  }
  .spotlight-pill {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    transition: opacity 0.25s ease, transform 0.25s ease, max-width 0.35s ease;
  }
  .navbar {
    padding: 12px 14px;
  }
  .nav-container {
    padding: 0 4px;
    width: 100%;
  }
  .navbar.scrolled {
    top: 10px;
    padding: 0 12px;
  }
  .navbar.scrolled .nav-container {
    padding: 6px 8px 6px 14px;
    max-width: fit-content;
    width: auto;
    gap: 12px;
  }
  .nav-brand {
    font-size: 20px;
    gap: 8px;
  }
  .nav-logo {
    width: 30px;
    height: 30px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
  }
  .nav-cta .btn-icon {
    width: 15px;
    height: 15px;
  }
  .navbar.scrolled .nav-cta {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  /* Ocultar botón de menú hamburguesa al hacer scroll en celular */
  .navbar.scrolled .nav-toggle {
    display: none;
    opacity: 0;
    pointer-events: none;
  }
  .nav-links {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .request-card {
    padding: 32px 20px;
  }
  .legal-content {
    padding: 28px 20px;
  }
  .hero-fading-phone {
    max-width: 290px;
  }
}
