/*
Archivo: assets/style.css
Hoja de estilos principal de la landing. Define la apariencia global, la navegación, el hero, las secciones informativas, las tarjetas de workers, la llamada a la acción y el formulario de contacto.
*/

:root{
  --bg:#07111f;
  --bg-soft:#0d1728;
  --panel:#101d31;
  --panel-2:#13233c;
  --line:rgba(255,255,255,0.08);
  --text:#eaf1ff;
  --muted:#a7b5cf;
  --primary:#61a8ff;
  --primary-2:#7df0d5;
  --white:#ffffff;
  --shadow:0 20px 60px rgba(0,0,0,0.28);
  --radius:20px;
  --max:1200px;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(97,168,255,.18), transparent 28%),
    radial-gradient(circle at top right, rgba(125,240,213,.12), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #091423 40%, #0c1728 100%);
  color:var(--text);
  line-height:1.55;
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.section{
  padding:88px 0;
}

.section-head{
  max-width:780px;
  margin-bottom:34px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--primary-2);
  background:rgba(255,255,255,0.03);
  font-size:.88rem;
  font-weight:700;
  letter-spacing:.02em;
}

.eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  box-shadow:0 0 18px rgba(125,240,213,.45);
}

h1,h2,h3,h4{
  line-height:1.08;
}

h1{
  font-size:clamp(2.8rem,6vw,5rem);
  letter-spacing:-.04em;
}

h2{
  font-size:clamp(2rem,4vw,3.2rem);
  letter-spacing:-.03em;
}

h3{
  font-size:1.2rem;
}

p{
  color:var(--muted);
}

.lead{
  font-size:1.1rem;
  max-width:700px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 22px;
  border-radius:14px;
  font-weight:700;
  transition:.22s ease;
  border:1px solid transparent;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),#87baff);
  color:#08101b;
  box-shadow:0 16px 40px rgba(97,168,255,.24);
}

.btn-primary:hover{
  transform:translateY(-2px);
}

.btn-secondary{
  background:rgba(255,255,255,0.02);
  border-color:var(--line);
  color:var(--text);
}

.btn-secondary:hover{
  background:rgba(255,255,255,0.05);
}

.btn-ghost{
  color:var(--white);
  border:1px solid var(--line);
  background:transparent;
}

.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

/* Header */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
  background:rgba(7,17,31,0.72);
  border-bottom:1px solid rgba(255,255,255,0.05);
}

.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:800;
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(97,168,255,.95), rgba(125,240,213,.95));
  box-shadow:0 14px 30px rgba(97,168,255,.25);
  position:relative;
  overflow:hidden;
}

.brand-mark::after{
  content:"";
  position:absolute;
  inset:8px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.45);
}

.brand-text span{
  display:block;
}

.brand-text .top{
  font-size:.78rem;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.brand-text .bottom{
  font-size:1rem;
  color:var(--white);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:26px;
  list-style:none;
  flex-wrap:wrap;
}

.nav-links a{
  color:var(--muted);
  font-weight:600;
  font-size:.96rem;
}

.nav-links a:hover{
  color:var(--white);
}

.nav-cta{
  display:flex;
  gap:12px;
  align-items:center;
}

/* Hero */

.hero{
  padding:74px 0 42px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:stretch;
}

.hero-copy,
.hero-panel{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
}

.hero-copy{
  padding:34px;
}

.hero-copy h1{
  margin:18px 0 18px;
}

.hero-copy p{
  max-width:690px;
}

.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.trust-chip{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,0.03);
  border:1px solid var(--line);
  color:var(--text);
  font-weight:600;
  font-size:.95rem;
}

.hero-panel{
  padding:24px;
  position:relative;
  overflow:hidden;
}

.hero-panel::before{
  content:"";
  position:absolute;
  inset:auto -70px -70px auto;
  width:190px;
  height:190px;
  background:radial-gradient(circle, rgba(97,168,255,.25), transparent 66%);
  pointer-events:none;
}

.status-card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:22px;
  padding:20px;
}

.status-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.status-tag{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:.88rem;
  font-weight:700;
  color:var(--primary-2);
}

.status-tag::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--primary-2);
}

.mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:16px 0;
}

.mini-card{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
}

.mini-card strong{
  display:block;
  font-size:1.35rem;
  color:var(--white);
  margin-bottom:6px;
}

.workflow{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  background:rgba(8,15,28,.55);
  border:1px solid var(--line);
}

.workflow-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:12px 0;
}

.workflow-item + .workflow-item{
  border-top:1px solid var(--line);
}

.workflow-step{
  flex:0 0 34px;
  height:34px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  background:linear-gradient(135deg, rgba(97,168,255,.18), rgba(125,240,213,.18));
  color:var(--white);
  border:1px solid var(--line);
}

/* Concept */

.concept-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
}

.panel{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
}

.feature-list{
  list-style:none;
  display:grid;
  gap:14px;
  margin-top:22px;
}

.feature-list li{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px;
  border-radius:16px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
}

.feature-list li::before{
  content:"✓";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:999px;
  flex:0 0 26px;
  color:#07111f;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  font-weight:900;
}

.do-dont{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:22px;
}

.do-dont .box{
  padding:20px;
  border-radius:18px;
  border:1px solid var(--line);
}

.do-dont .yes{
  background:rgba(125,240,213,.06);
}

.do-dont .no{
  background:rgba(255,255,255,.025);
}

.do-dont h3{
  margin-bottom:12px;
}

.do-dont ul{
  list-style:none;
  display:grid;
  gap:10px;
}

.do-dont li{
  color:var(--muted);
}

/* Use cases */

.use-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.use-card{
  padding:24px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.use-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(97,168,255,.18), rgba(125,240,213,.18));
  border:1px solid var(--line);
  font-size:1.2rem;
}

.use-card p{
  margin-top:10px;
}

.use-card ul{
  list-style:none;
  display:grid;
  gap:8px;
  margin-top:16px;
}

.use-card li{
  color:var(--muted);
}

/* Workers */

.workers-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.worker-card{
  padding:24px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:14px;
}

.worker-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.worker-badge{
  padding:7px 11px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--primary-2);
  font-size:.82rem;
  font-weight:700;
  background:rgba(255,255,255,.03);
}

.worker-card p{
  margin-bottom:4px;
}

.worker-card ul{
  list-style:none;
  display:grid;
  gap:8px;
}

.worker-card li{
  color:var(--muted);
}

.worker-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:auto;
}

/* CTA demo */

.cta-band{
  padding:34px;
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(97,168,255,.14), rgba(125,240,213,.10)),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.cta-band-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.cta-band h2{
  max-width:700px;
}

/* Contact */

.contact-grid{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:22px;
}

.contact-points{
  list-style:none;
  display:grid;
  gap:14px;
  margin-top:22px;
}

.contact-points li{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  color:var(--muted);
}

.contact-form{
  display:grid;
  gap:14px;
}

.field{
  display:grid;
  gap:8px;
}

.field label{
  font-weight:700;
  color:var(--white);
  font-size:.95rem;
}

.field input,
.field textarea,
.field select{
  width:100%;
  padding:15px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(9,17,32,.85);
  color:var(--white);
  outline:none;
}

.field input::placeholder,
.field textarea::placeholder{
  color:#7f90af;
}

.field textarea{
  min-height:140px;
  resize:vertical;
}

.form-note{
  font-size:.9rem;
  color:var(--muted);
}

.full{
  grid-column:1/-1;
}

/* Footer */

.site-footer{
  padding:24px 0 40px;
  border-top:1px solid rgba(255,255,255,0.06);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  color:var(--muted);
}

/* Responsive */

@media (max-width:1080px){
  .hero-grid,
  .concept-grid,
  .contact-grid,
  .use-grid,
  .workers-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:860px){
  .nav{
    padding:14px 0;
    align-items:flex-start;
    flex-direction:column;
  }

  .nav-links{
    gap:16px;
  }

  .nav-cta{
    width:100%;
  }

  .nav-cta .btn{
    flex:1;
  }

  .mini-grid,
  .do-dont{
    grid-template-columns:1fr;
  }

  .section{
    padding:72px 0;
  }

  .hero{
    padding-top:36px;
  }

  .status-title{
  display:block;
  font-size:1.1rem;
  margin-bottom:4px;
}

.panel-title{
  margin-top:18px;
}

.cta-title{
  margin-top:18px;
}

.cta-text{
  margin-top:14px;
}

.cta-buttons{
  margin-top:0;
}

.contact-title{
  margin-top:18px;
}

.contact-text{
  margin-top:16px;
}

.nav-links a.is-active{
  color:var(--white);
  position:relative;
}

.nav-links a.is-active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
}

.input-error{
  border-color:#ff7b7b !important;
  box-shadow:0 0 0 3px rgba(255,123,123,0.12);
}

.field-error{
  font-size:.88rem;
  color:#ff9a9a;
  margin-top:2px;
}

/*
  Estilos adicionales para workers.html.
*/

.hero--compact{
  padding:56px 0 24px;
}

.hero-copy--full{
  width:100%;
}

.workers-grid--single{
  grid-template-columns:1fr;
}

.worker-card--detailed{
  gap:18px;
}

.worker-subtitle{
  margin-top:6px;
  color:var(--muted);
  font-size:.96rem;
}

.worker-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.worker-detail-box{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
}

.worker-detail-box strong{
  display:block;
  margin-bottom:12px;
  color:var(--white);
  font-size:1rem;
}

.worker-detail-box ul{
  list-style:none;
  display:grid;
  gap:8px;
}

.worker-detail-box li{
  color:var(--muted);
}

@media (max-width:860px){
  .worker-detail-grid{
    grid-template-columns:1fr;
  }
}

/*
  Estilos específicos para demo.html.
*/

.demo-layout{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:start;
}

.demo-main,
.demo-sidebar{
  display:grid;
  gap:22px;
}

.demo-panel{
  padding:28px;
}

.demo-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.demo-panel-title{
  margin-top:18px;
}

.demo-worker-summary{
  margin:20px 0 22px;
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
}

.demo-alert{
  padding:14px 16px;
  border-radius:14px;
  font-size:.95rem;
  border:1px solid transparent;
}

.demo-alert--error{
  background:rgba(255,123,123,.08);
  border-color:rgba(255,123,123,.26);
  color:#ffb3b3;
}

.demo-empty-state{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.025);
  border:1px dashed var(--line);
}

.demo-processing{
  display:grid;
  justify-items:center;
  gap:14px;
  padding:26px 20px;
  border-radius:18px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
  text-align:center;
}

.demo-loader{
  width:44px;
  height:44px;
  border-radius:999px;
  border:4px solid rgba(255,255,255,.12);
  border-top-color:var(--primary-2);
  animation:spin 1s linear infinite;
}

.demo-result{
  display:grid;
  gap:14px;
}

.demo-result-block{
  padding:18px;
  border-radius:18px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
}

.demo-result-block strong{
  display:block;
  margin-bottom:10px;
  color:var(--white);
}

.demo-result-list{
  list-style:none;
  display:grid;
  gap:8px;
}

.demo-result-list li{
  color:var(--muted);
}

.demo-side-note{
  margin-top:14px;
}

.demo-code-block{
  margin-top:18px;
  padding:18px;
  border-radius:18px;
  background:#08101b;
  border:1px solid var(--line);
  color:#dce8ff;
  overflow:auto;
  font-size:.9rem;
  line-height:1.55;
  white-space:pre-wrap;
  word-break:break-word;
}

.file-meta{
  font-size:.9rem;
  color:var(--muted);
}

@keyframes spin{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}

@media (max-width:1080px){
  .demo-layout{
    grid-template-columns:1fr;
  }
}

.demo-code-block--inside{
  margin-top:12px;
  margin-bottom:0;
}
	
	
.demo-result-clean{
  display:grid;
  gap:16px;
}

.demo-top-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.demo-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  font-size:.9rem;
  font-weight:700;
  border:1px solid var(--line);
}

.demo-badge--neutral{
  background:rgba(255,255,255,.04);
  color:var(--white);
}

.demo-badge--warn{
  background:rgba(255,190,92,.12);
  color:#ffd28a;
}

.demo-badge--alert{
  background:rgba(255,123,123,.12);
  color:#ffb3b3;
}

.demo-badge--ok{
  background:rgba(125,240,213,.10);
  color:var(--primary-2);
}

.demo-card{
  padding:20px;
  border-radius:18px;
  background:rgba(255,255,255,.025);
  border:1px solid var(--line);
}

.demo-card h4{
  margin-bottom:10px;
  font-size:1rem;
  color:var(--white);
}

.demo-card p{
  color:var(--text);
  line-height:1.65;
}
	
/*
  Ajustes de legibilidad para demo.html
  Mejora respiración vertical entre títulos, campos y bloques de resultado.
*/

.demo-panel h3{
  margin-bottom:22px;
  line-height:1.2;
}

.demo-panel-title{
  margin-top:18px;
  margin-bottom:20px;
  line-height:1.2;
}

.contact-form{
  gap:18px;
}

.field{
  gap:10px;
}

.field label{
  margin-bottom:2px;
  line-height:1.3;
}

.field.full textarea{
  margin-bottom:2px;
}

.demo-result-clean{
  display:grid;
  gap:20px;
}

.demo-card{
  padding:22px;
}

.demo-card h4{
  margin-bottom:12px;
  line-height:1.25;
}

.demo-card p{
  line-height:1.75;
}

.demo-top-badges{
  margin-bottom:4px;
}

.demo-worker-summary{
  margin:22px 0 24px;
}

.demo-worker-summary .worker-top h3{
  margin-bottom:8px;
}

.demo-worker-summary .worker-subtitle{
  line-height:1.6;
}

@media (max-width:860px){
  .demo-panel h3{
    margin-bottom:18px;
  }

  .demo-card{
    padding:18px;
  }
}
	
/*
  Datos estructurados para demo de backoffice
*/

.demo-data-list{
  display:grid;
  gap:10px;
}

.demo-data-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.demo-data-row:last-child{
  border-bottom:none;
}

.demo-data-label{
  color:var(--muted);
  font-weight:600;
}

.demo-data-value{
  color:var(--text);
  text-align:right;
  word-break:break-word;
}
	
.demo-card p{
  white-space: pre-line;
}
}