/* ==========================================================================
   growFlow - Premium Dark Theme Stylesheet (With Exact App Auth Design)
   ========================================================================== */

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

:root {
  --bg-main: #060907;
  --bg-card: rgba(15, 23, 19, 0.65);
  --bg-card-hover: rgba(22, 34, 28, 0.85);
  --bg-nav: rgba(6, 9, 7, 0.8);
  
  --accent-primary: #10b981;
  --accent-neon: #00ff87;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(16, 185, 129, 0.3);
  
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
}

/* Background Gradients (Ajustados sin desborde lateral) */
.bg-glow-1 {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(0, 255, 135, 0.05) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-glow-2 {
  position: absolute;
  top: 1400px;
  right: 0;
  width: 100%;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  overflow: hidden;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-neon);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge i {
  font-size: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #059669 100%);
  color: #031c13;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-primary) 100%);
}

.btn-app-green {
  background: #34d399;
  color: #052e16;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 1.05rem;
  width: 100%;
}

.btn-app-green:hover {
  background: var(--accent-neon);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition-fast);
}

.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
}

.logo i {
  color: var(--accent-neon);
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(0, 255, 135, 0.5));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Hero Mockup Preview */
.hero-mockup-wrapper {
  margin-top: 40px;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.hero-mockup {
  background: #0d1511;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
}

.mockup-header {
  height: 40px;
  background: rgba(0, 0, 0, 0.4);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-light);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

/* Bento Grid Features */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  border: 1px solid var(--border-accent);
}

.bento-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Forum & Community Feed Styles */
.forum-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.forum-post {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-fast);
}

.forum-post:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.post-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #031c13;
}

.user-meta .username {
  font-weight: 700;
  font-size: 0.95rem;
}

.user-meta .post-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.post-content {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.post-actions {
  display: flex;
  gap: 20px;
}

.action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.action-btn:hover {
  color: var(--accent-neon);
}

/* Auth Modal Styles (Matching App Screenshot 1:1) */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-card {
  background: #18191a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.close-modal-btn:hover {
  color: var(--text-primary);
}

.auth-app-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: #ffffff;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.avatar-picker-section {
  text-align: center;
  margin-bottom: 20px;
}

.avatar-picker-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  text-align: left;
}

.avatar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
  max-height: 120px;
  overflow-y: auto;
  padding: 4px;
}

.avatar-item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.avatar-item:hover {
  border-color: #34d399;
  color: #34d399;
}

.avatar-item.active {
  background: rgba(52, 211, 153, 0.15);
  border: 2px solid #34d399;
  color: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

.input-with-icon {
  position: relative;
  margin-bottom: 14px;
}

.input-with-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

.input-with-icon input, .input-with-icon select {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-md);
  background: #242526;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.input-with-icon input:focus, .input-with-icon select:focus {
  outline: none;
  border-color: #34d399;
}

.input-helper-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: -8px;
  margin-bottom: 12px;
  padding-left: 4px;
}

/* User Badge in Nav */
.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-neon);
}

/* Sections Common */
.section {
  padding: 100px 0;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

/* Search Engine Component */
.search-bar-wrapper {
  max-width: 840px;
  margin: 0 auto 32px;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(12, 20, 16, 0.85);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.search-input-container:focus-within {
  border-color: var(--accent-neon);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 135, 0.3);
  transform: translateY(-2px);
}

.search-icon {
  color: var(--accent-neon);
  font-size: 1.15rem;
  margin-right: 14px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 135, 0.6));
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  outline: none;
  padding: 10px 0;
}

.search-input::placeholder {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.clear-search-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 12px;
  transition: var(--transition-fast);
}

.clear-search-btn:hover {
  color: #ef4444;
}

.search-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-neon) 0%, var(--accent-primary) 100%);
  color: #031c13;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 255, 135, 0.35);
}

.search-action-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0, 255, 135, 0.6);
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-neon) 100%);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip:hover {
  border-color: var(--border-accent);
  color: var(--accent-neon);
  background: rgba(16, 185, 129, 0.1);
}

.filter-chip.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  box-shadow: 0 0 14px rgba(0, 255, 135, 0.3);
}

/* Demo & Genetics Cards */
.genetics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.strain-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.strain-card:hover {
  background: rgba(16, 185, 129, 0.06);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 135, 0.1);
}

.strain-type {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.strain-card h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.strain-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-neon);
  opacity: 0.85;
  transition: var(--transition-fast);
}

.strain-card:hover .strain-card-cta {
  opacity: 1;
  transform: translateX(4px);
}

.strain-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Modal Ficha Técnica */
.strain-modal-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

.metric-box .metric-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-box .metric-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.tag-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-neon);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item, details.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-header, details.faq-item summary.faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.05rem;
  user-select: none;
  list-style: none;
}

details.faq-item summary::-webkit-details-marker,
details.faq-item summary::marker {
  display: none;
  content: "";
}

.faq-header i {
  color: var(--accent-neon);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-header i,
details.faq-item[open] .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item:not(details) .faq-body {
  display: none;
}

.faq-item.active:not(details) .faq-body {
  display: block !important;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  margin-top: 100px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.legal-footer-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  padding: 24px 36px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  min-width: 540px;
}

.legal-footer-col:hover {
  border-color: var(--border-accent);
  background: rgba(16, 185, 129, 0.04);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.08);
}

.legal-footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 700;
}

.legal-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.legal-nav-list a {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-fast);
}

.legal-nav-list a:hover {
  color: var(--accent-neon);
  transform: translateY(-2px);
}

/* Legal / Privacy Policy Modal Styling */
.legal-modal-card {
  max-width: 800px;
  width: 92%;
  max-height: 85vh;
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.18);
  background: #0d1511;
  padding: 36px;
}

.legal-modal-content {
  color: var(--text-primary);
  line-height: 1.7;
}

.legal-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--accent-neon);
  font-weight: 600;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.legal-modal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-neon);
  margin-top: 24px;
  margin-bottom: 10px;
  padding-bottom: 4px;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.2);
}

.legal-modal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.legal-modal-content ul {
  margin: 10px 0 16px 20px;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.legal-modal-content li {
  margin-bottom: 8px;
}

.legal-modal-content strong {
  color: #ffffff;
}

.legal-link {
  color: var(--accent-neon);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.legal-link:hover {
  text-decoration: underline;
  color: var(--accent-cyan);
}

/* Contact Modal Component Buttons */
.contact-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-card-btn.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  border: none;
}

.contact-card-btn.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  background: linear-gradient(135deg, #34E075 0%, #25D366 100%);
}

.contact-card-btn.email-btn {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-neon);
}

.contact-card-btn.email-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-neon);
  transform: translateY(-2px);
}

.contact-card-btn.gmail-btn {
  background: rgba(234, 67, 53, 0.1);
  border: 1px solid rgba(234, 67, 53, 0.3);
  color: #f8fafc;
}

.contact-card-btn.gmail-btn:hover {
  background: rgba(234, 67, 53, 0.22);
  border-color: #ea4335;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Features Interactive Grid 2.0 */
.features-interactive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bento-icon.style-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(56, 189, 248, 0.3);
}

.bento-icon.style-gold {
  background: rgba(250, 204, 21, 0.12);
  color: var(--accent-gold);
  border-color: rgba(250, 204, 21, 0.3);
}

.bento-icon.style-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
}

.feature-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-esencial {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-neon);
  border: 1px solid var(--accent-neon);
}

.badge-pro {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.badge-gold {
  background: rgba(250, 204, 21, 0.15);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.badge-premium {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid #a855f7;
}

.badge-ia {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(56, 189, 248, 0.2) 100%);
  color: #c084fc;
  border: 1px solid #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.btn-feature-detail {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid var(--border-accent);
  color: var(--accent-neon);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-feature-detail:hover {
  background: var(--accent-neon);
  color: #031c13;
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.4);
}

/* Pricing Section Styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.15);
}

.pricing-card-featured {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
  background: rgba(15, 23, 42, 0.6);
}

.pricing-card-featured:hover {
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.35);
  border-color: var(--accent-cyan);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-primary) 100%);
  color: #031c13;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.08em;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
}

.pricing-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 8px;
}

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

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.check-icon {
  color: var(--accent-neon);
  margin-top: 3px;
  font-size: 0.95rem;
}

.check-icon-cyan {
  color: var(--accent-cyan);
  margin-top: 3px;
  font-size: 0.95rem;
}

.check-icon-purple {
  color: #a855f7;
  margin-top: 3px;
  font-size: 0.95rem;
}

/* Pricing Comparison Table Styles */
.pricing-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  width: 25%;
}

.pricing-table th:first-child {
  width: 35%;
}

.table-category-header td {
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-neon);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-success { color: var(--accent-neon); font-size: 1.1rem; }
.text-cyan { color: var(--accent-cyan); font-size: 1.1rem; }
.text-purple { color: #a855f7; font-size: 1.1rem; }
.text-danger { color: #ef4444; font-size: 0.9rem; opacity: 0.6; }

.tag-table-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .features-interactive-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .bento-card.col-span-2 { grid-column: span 1; }
  .genetics-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 24px; }
  .legal-footer-col { min-width: 100%; width: 100%; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2.2rem; }
  .nav-links { display: none; }
  .legal-nav-list { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Select & Option Dark Dropdown Styling */
select {
  background-color: #16181a !important;
  color: #ffffff !important;
}

select option {
  background-color: #1a1d20 !important;
  color: #ffffff !important;
  padding: 12px !important;
}

select option:checked,
select option:hover,
select option:focus {
  background-color: #10b981 !important;
  color: #000000 !important;
}

/* Option 2: Dispositivos Superpuestos (Laptop Web + Celular Smartphone) */
.hero-dual-wrapper {
  position: relative;
  max-width: 1050px;
  margin: 40px auto 0;
  padding-bottom: 30px;
}

.hero-feature-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-tab-btn:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.3);
}

.hero-tab-btn.active {
  background: var(--accent-neon);
  color: #000000;
  border-color: var(--accent-neon);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.dual-devices-container {
  position: relative;
  width: 100%;
}

/* Dispositivo 1: Pantalla Principal (Aumentado 30% más ancho) */
.laptop-device {
  width: 100%;
  max-width: 936px;
  margin: 0 auto;
  background: #0d1117;
  border: 1px solid var(--border-accent);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.2);
}

.laptop-screen {
  position: relative;
  height: 580px;
  background: #080f0c;
  overflow: hidden;
}

.laptop-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, object-position 12s linear;
  cursor: pointer;
}

.laptop-slide.active {
  display: block;
  opacity: 1;
}

.laptop-slide:hover {
  object-position: bottom center;
}

/* Dispositivo 2: Celular Smartphone Superpuesto */
.phone-device {
  position: absolute;
  bottom: -25px;
  right: 0;
  width: 260px;
  height: 500px;
  background: #000000;
  border: 4px solid #22272e;
  border-radius: 38px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 35px rgba(16, 185, 129, 0.3);
  overflow: hidden;
  z-index: 10;
  animation: phoneFloat 5s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 14px;
  background: #22272e;
  border-radius: 10px;
  z-index: 15;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 10px;
  background: #080f0c;
  overflow: hidden;
}

.phone-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, object-position 12s linear;
  cursor: pointer;
}

.phone-slide.active {
  display: block;
  opacity: 1;
}

.phone-slide:hover {
  object-position: bottom center;
}

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

/* Language Selector Box */
.language-selector-box {
  margin-top: 24px;
  max-width: 220px;
}

.language-selector-box label {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-dropdown {
  width: 100%;
  padding: 10px 14px;
  background: rgba(15, 23, 19, 0.9);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.lang-dropdown:hover, .lang-dropdown:focus {
  border-color: var(--accent-neon);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.lang-dropdown option {
  background-color: #0d1117 !important;
  color: #ffffff !important;
  padding: 8px;
}

/* Chips Flotantes Decorativos */
.floating-chip {
  position: absolute;
  background: rgba(22, 24, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-accent);
  padding: 10px 16px;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: floatAnim 4s ease-in-out infinite;
  z-index: 10;
}

.chip-left {
  top: 35%;
  left: 10px;
}

.chip-right {
  bottom: 15%;
  right: 10px;
  animation-delay: 2s;
}

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

/* Animación de Desplazamiento Automático Panorámico para Móviles */
@keyframes mobileAutoScroll {
  0% {
    object-position: top center;
  }
  42% {
    object-position: bottom center;
  }
  50% {
    object-position: bottom center;
  }
  92% {
    object-position: top center;
  }
  100% {
    object-position: top center;
  }
}

/* Adaptação Móvil (Responsive Mobile Layout) */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 6px;
    flex-shrink: 0;
  }

  .mobile-menu-btn:hover {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-neon);
    border-color: rgba(16, 185, 129, 0.4);
  }

  .nav-links {
    display: none !important;
  }

  .nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 7, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-accent);
    padding: 16px 20px;
    gap: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    z-index: 99;
  }

  .nav-links.active li {
    width: 100%;
  }

  .nav-links.active a {
    font-size: 0.95rem;
    padding: 8px 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
  }

  .nav-links.active a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-neon);
  }

  .navbar {
    padding: 8px 0 !important;
    width: 100% !important;
  }

  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .logo {
    font-size: 1.05rem !important;
    gap: 5px !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    text-align: left !important;
    flex-shrink: 0 !important;
  }

  .logo i {
    font-size: 1.15rem !important;
  }

  .nav-actions {
    display: flex !important;
    gap: 5px !important;
    align-items: center !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .btn {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.3 !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

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

  .hero-dual-wrapper {
    margin-top: 24px;
    padding: 0;
  }

  .hero-feature-tabs {
    gap: 8px;
    margin-bottom: 16px;
  }

  .hero-tab-btn {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  /* Desplazamiento Automático Continuo en Móviles */
  .laptop-slide.active,
  .phone-slide.active {
    animation: mobileAutoScroll 12s ease-in-out infinite;
  }

  /* Dispositivo Principal en Móvil */
  .laptop-device {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
  }

  .laptop-screen {
    height: 380px;
  }

  /* Celular Superpuesto en Móvil (Perfectamente encajado) */
  .phone-device {
    width: 140px;
    height: 280px;
    bottom: -15px;
    right: 5px;
    border-width: 3px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
  }

  .phone-notch {
    width: 45px;
    height: 8px;
    top: 4px;
  }

  .floating-chip {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 6px !important;
  }

  .nav-actions {
    gap: 3px !important;
  }

  .nav-actions .btn {
    padding: 5px 6px !important;
    font-size: 0.7rem !important;
  }

  .laptop-screen {
    height: 320px;
  }

  .phone-device {
    width: 110px;
    height: 220px;
    bottom: -10px;
    right: 0;
  }
}
