:root {
  --bg: #020617;
  --bg2: #0f172a;
  --panel: #111827;
  --line: rgba(148, 163, 184, 0.22);
  --text: #ffffff;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --accent: #f59e0b;
  --accent2: #f97316;
  --light: #f8fafc;
  --ink: #0f172a;
  --card: rgba(15, 23, 42, 0.78);
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.13), transparent 28%),
    linear-gradient(180deg, #020617 0%, #08111f 45%, #020617 100%);
  color: var(--text);
  line-height: 1.55;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 27px;
}

.brand-main span,
.mock-logo span {
  color: var(--accent);
}

.brand-os,
.mock-logo small {
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.main-nav {
  display: flex;
  gap: 30px;
  color: #cbd5e1;
  font-size: 14px;
}

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

.login-btn,
.secondary-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  min-height: 42px;
  padding: 0 22px;
}

.login-btn,
.secondary-btn {
  border: 1px solid rgba(203, 213, 225, 0.28);
  color: #fff;
}

.login-btn:hover,
.secondary-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.primary-btn {
  color: #111827;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.25);
}

.primary-btn:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 86px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 58px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 1000;
  font-size: 13px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

h1 {
  max-width: 680px;
  font-size: clamp(48px, 6vw, 76px); /* Subimos el mínimo a 48px y el máximo a 76px */
  line-height: 1.1;
}

h2 {
  font-size: clamp(34px, 4.8vw, 62px);
}

h3 {
  letter-spacing: -0.03em;
  font-size: 20px;
}

.lead {
  max-width: 620px;
  color: #e2e8f0;
  font-size: 22px;
  margin: 28px 0 0;
}

.support,
.section-lead {
  max-width: 820px;
  color: #b6c4d8;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel,
.wide-card,
.contact-card,
.card,
.template-card,
.app-mockup {
  border: 1px solid rgba(148, 163, 184, 0.20);
  background: rgba(15, 23, 42, 0.64);
  border-radius: var(--radius);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.26);
}

.hero-panel {
  padding: 32px;
  min-height: 440px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  color: #cbd5e1;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 48px;
}

.status-dot::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-panel h2 {
  font-size: 44px;
}

.hero-panel p {
  color: #94a3b8;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.chip-grid span,
.pill-row span,
.tabs span,
.badge {
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(2, 6, 23, 0.28);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
}

.panel-footer {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 18px;
  padding: 18px;
  color: #cbd5e1;
}

.section {
  padding: 82px 0;
}

.section.compact {
  padding-top: 40px;
}

.wide-card {
  padding: clamp(28px, 5vw, 52px);
}

.wide-card p {
  color: #d5dfed;
  max-width: 960px;
}

.note {
  color: #fef3c7 !important;
  font-weight: 800;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }

.card,
.template-card {
  padding: 28px;
  min-height: 170px;
}

.card p,
.template-card p,
.template-card li,
.contact-card dd,
.small {
  color: #aebbd0;
}

.card.highlighted,
.template-card.highlighted {
  border-color: rgba(245, 158, 11, 0.52);
  background: rgba(245, 158, 11, 0.055);
}

.product-screens {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(2, 6, 23, 0.22));
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}

.app-mockup {
  overflow: hidden;
  background: #f8fafc;
  color: var(--ink);
}

.app-mockup.wide {
  grid-column: span 2;
}

.app-topbar {
  min-height: 36px;
  padding: 10px 14px;
  background: #0f172a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.app-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 430px;
}

.app-sidebar {
  background: #fff;
  border-right: 1px solid #e2e8f0;
  padding: 24px 20px;
}

.mock-logo {
  font-weight: 1000;
  font-size: 28px;
  letter-spacing: -0.06em;
  margin-bottom: 30px;
}

.side-section {
  background: #0f172a;
  color: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 12px;
  font-weight: 1000;
  margin: 18px 0 12px;
}

.side-link {
  color: #64748b;
  font-weight: 900;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 10px;
}

.side-link.selected {
  color: #0f172a;
  background: #fff7ed;
  border-left: 3px solid var(--accent);
}

.app-content {
  padding: 26px;
}

.app-titlebar,
.mini-titlebar {
  background: #0f172a;
  color: #fff;
  border-bottom: 4px solid var(--accent);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-titlebar small,
.mini-titlebar small {
  color: #94a3b8;
  font-weight: 1000;
  letter-spacing: 0.09em;
}

.app-titlebar h3,
.mini-titlebar h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
  margin-top: 2px;
}

.app-titlebar button,
.mock-action {
  border: 0;
  background: var(--accent);
  color: #111827;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 1000;
}

.app-card,
.app-table {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  margin-top: 18px;
  padding: 16px;
}

.input-line {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  color: #94a3b8;
  font-style: italic;
  font-weight: 700;
}

.filter-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.filter-row span {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 900;
}

.badge {
  color: #0f172a;
  background: #fff7ed !important;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: 0.5fr 2.2fr 1.1fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
}

.table-head {
  color: #475569;
  font-weight: 1000;
  text-transform: uppercase;
  background: #f8fafc;
}

.table-row strong { color: #0f172a; }
.table-row em,
.inventory-list em {
  justify-self: start;
  background: #0f172a;
  color: var(--accent);
  border-radius: 999px;
  padding: 5px 8px;
  font-style: normal;
  font-size: 10px;
  font-weight: 1000;
}

.mini-titlebar {
  margin: 22px 22px 0;
  border-radius: 0;
}

.tabs,
.pill-row {
  margin: 18px 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tabs span,
.pill-row span {
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.tabs .tab-active,
.pill-row span:first-child {
  color: #fff;
  background: #0f172a;
  box-shadow: 0 4px 0 var(--accent);
}

.dark-strip {
  margin: 16px 22px;
  padding: 22px;
  background: #0f172a;
  color: #fff;
  border-bottom: 4px solid var(--accent);
  display: grid;
  gap: 4px;
}

.dark-strip small {
  color: #94a3b8;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 22px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
  color: #475569;
}

.form-grid label span {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px;
  color: #0f172a;
  font-size: 12px;
  text-transform: none;
}

.mock-action {
  margin: 0 22px 22px;
  width: calc(100% - 44px);
  background: #0f172a;
  color: #fff;
}

.inventory-list {
  padding: 0 22px 22px;
  display: grid;
  gap: 10px;
}

.inventory-list div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.disclaimer {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 18px;
}

.template-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.template-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.template-card li {
  padding: 9px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.contact-grid {
  grid-template-columns: 1.35fr 0.65fr;
}

.contact-card {
  padding: 36px;
}

.contact-card dl {
  display: grid;
  gap: 0;
}

.contact-card div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.contact-card dt {
  color: #94a3b8;
}

.contact-card dd {
  margin: 0;
  font-weight: 900;
}

.contact-card a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 980px) {
  .main-nav { display: none; }

  .hero-grid,
  .contact-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .cards.four,
  .cards.three {
    grid-template-columns: 1fr 1fr;
  }

  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .app-mockup.wide {
    grid-column: span 1;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    height: 66px;
  }

  .hero {
    padding: 54px 0 62px;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 18px;
  }

  .cards.four,
  .cards.three {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .wide-card,
  .contact-card {
    padding: 24px;
  }

  .app-titlebar,
  .mini-titlebar {
    display: grid;
  }

  .form-grid,
  .table-head,
  .table-row,
  .inventory-list div {
    grid-template-columns: 1fr;
  }
}
