:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-cyan: #38bdf8;
  --accent-orange: #f97316;
  --secondary: #25D366;
  --dark: #0b0f19;
  --dark-surface: #111827;
  --light-bg: #0b0f19;
  --card-bg: rgba(17, 24, 39, 0.75);
  --text-main: #e2e8f0;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-accent {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.15) 0%, rgba(11, 15, 25, 1) 70%);
  padding: 120px 0 100px;
  color: #ffffff;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section Common */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.3rem;
  color: var(--text-heading);
  margin-bottom: 12px;
}

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

/* Google Presentation Iframe */
.presentacion-section {
  padding: 80px 0;
  background: #090d16;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(12px);
  transition: transform 0.2s, border-color 0.2s;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.glass-card h3 {
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 10px;
}

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

/* Taller & Herramientas Sections */
.taller-section, .herramientas-section, .hub-section {
  padding: 90px 0;
}

/* LogiFueguina Featured App */
.featured-app {
  background: linear-gradient(180deg, #090d16 0%, #111827 100%);
  padding: 90px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.app-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.app-desc {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.app-feature-list {
  list-style: none;
  margin: 24px 0 32px;
}

.app-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.app-preview-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.app-mockup {
  background: #000;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #222;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url {
  background: #111;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mockup-item {
  background: #111827;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 12px;
  border-left: 3px solid var(--accent-cyan);
  font-size: 0.85rem;
}

/* Investigaciones en Vivo Section */
.investigacion-section {
  padding: 90px 0;
  background: #0b1120;
  border-bottom: 1px solid var(--border);
}

.prompt-box {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 16px;
  padding: 24px;
  max-width: 850px;
  margin: 0 auto 40px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.1);
}

.prompt-header {
  font-weight: 700;
  color: var(--accent-orange);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.prompt-body {
  font-family: monospace;
  font-size: 1rem;
  color: #f1f5f9;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: 8px;
  border-left: 3px solid var(--accent-orange);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-orange);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* Infographic Container */
.infographic-container {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.infographic-title {
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}

.chart-card {
  background: #111827;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.chart-card h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

.chart-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.chart-wrapper {
  position: relative;
  height: 250px;
  width: 100%;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.pilar-card {
  background: #111827;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.pilar-card.blue { border-top: 4px solid #2563eb; }
.pilar-card.orange { border-top: 4px solid #f97316; }
.pilar-card.green { border-top: 4px solid #10b981; }

.pilar-icon { font-size: 2rem; margin-bottom: 8px; }
.pilar-card h4 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.pilar-card p { color: var(--text-muted); font-size: 0.85rem; }

.infographic-footer {
  margin-top: 30px;
  text-align: center;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 16px;
  border-radius: 12px;
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

/* Hub Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* CTA */
.cta-section {
  padding: 90px 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 28px;
  padding: 60px 20px;
  text-align: center;
}

/* Footer */
.footer {
  background: #070a10;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero h1 { font-size: 2.3rem; }
  .app-wrapper { grid-template-columns: 1fr; }
}
