:root{
  --bg:#0b0f2a;
  --text:#ffffff;
  --muted:rgba(255,255,255,.80);
  --muted-2:rgba(255,255,255,.64);
  --panel:rgba(255,255,255,.05);
  --panel-border:rgba(255,255,255,.10);
  --panel-strong:rgba(10,12,30,.38);
  --shadow:0 28px 90px rgba(0,0,0,.34);
  --radius-xl:28px;
  --radius-lg:20px;
  --max:1200px;
  --glow-icon:rgba(120,88,255,0.4);
  --accent:#9b85ff;
}

.sc-icon{
  stroke: var(--muted-2);
  opacity: 0.8;
  transition: stroke .3s ease, opacity .3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

*{ box-sizing:border-box; }

html, body {
  margin:0;
  padding:0;
  width:100%;
  overflow-x:hidden;
  position:relative;
}

body{
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:
    linear-gradient(rgba(8,10,28,.50), rgba(8,10,28,.72)),
    url('../images/fondo.jpg') no-repeat center center fixed;
  background-size:cover;
}

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

a{ color:inherit; }

.page-shell{
  position:relative;
  isolation:isolate;
  width:100%;
  overflow-x:hidden;
}

.glow{
  position:absolute;
  left:-140px;
  bottom:120px;
  width:560px;
  height:560px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(120,88,255,.24) 0%, rgba(120,88,255,0) 72%);
  filter:blur(24px);
  pointer-events:none;
  z-index:0;
  animation: glowPulse 8s infinite alternate ease-in-out;
}

@keyframes glowPulse {
  from { transform: scale(1) translate(0, 0); opacity: 0.8; }
  to { transform: scale(1.2) translate(50px, -30px); opacity: 1; }
}

.site-header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:100;
  padding:24px 32px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.header-logo{
  display:flex;
  margin-left:max(0px, calc((100% - var(--max)) / 2));
}

.header-logo img{
  height: 70px;
  width:auto;
}

.lang{
  display:flex;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-size:14px;
}

.lang a{
  text-decoration:none;
  color:rgba(255,255,255,.86);
  padding:5px 10px;
  border-radius:999px;
}

.lang a.active{
  background:rgba(255,255,255,.18);
  color:#fff;
  font-weight:600;
}

.hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;
}

.hero-inner{
  position:relative;
  z-index:2;
  max-width:var(--max);
  margin:0 auto;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:120px 24px 60px;
}

.hero-copy{
  width:min(620px, 100%);
  position:relative;
  z-index:3;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.88);
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#9b85ff;
  box-shadow:0 0 16px rgba(155,133,255,.7);
  flex:none;
}

.hero h1{
  margin:0;
  font-size:clamp(40px, 5.2vw, 68px);
  line-height:1.03;
  font-weight:800;
  letter-spacing:-0.04em;
  max-width:680px;
  text-wrap:balance;
  text-shadow:0 8px 34px rgba(0,0,0,.22);
  background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.7) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  word-wrap: break-word;
}

.hero-subtitle{
  margin:22px 0 0;
  max-width:720px;
  font-size:clamp(18px, 2vw, 27px);
  line-height:1.42;
  color:rgba(255,255,255,.90);
  font-weight:400;
  text-wrap:balance;
}

.hero-tagline {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.75;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  text-align: center;
  color: #fff;
  font-weight: 400;
}

.hero-lead{
  margin:20px 0 0;
  max-width:700px;
  font-size:clamp(16px, 1.4vw, 20px);
  line-height:1.72;
  color:var(--muted);
}

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

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 24px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  transition: all .25s ease;
  border:1px solid transparent;
  cursor:pointer;
}

.btn-primary:hover{
  background:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 34px rgba(255,255,255,.18);
}

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

.btn-primary{
  background:#ffffff;
  color:#0b0f2a;
  box-shadow:0 10px 30px rgba(0,0,0,.20);
}

.btn-secondary{
  background:rgba(255,255,255,.08);
  color:#fff;
  border-color:rgba(255,255,255,.14);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.hero-badge{
  font-size:13px;
  color:rgba(255,255,255,.80);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:8px 12px;
}

.tablet{
  position:absolute;
  right:-220px;
  bottom: 170px;
  width:clamp(520px, 48vw, 760px);
  max-width:none;
  opacity:.94;
  pointer-events:none;
  user-select:none;
  filter:drop-shadow(0 36px 90px rgba(0,0,0,.38));
  z-index:1;
  animation: float 6s infinite ease-in-out;
}

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

@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy {
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badges span {
  opacity: 0;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badges span:nth-child(1) { animation-delay: 0.6s; }
.hero-badges span:nth-child(2) { animation-delay: 0.7s; }
.hero-badges span:nth-child(3) { animation-delay: 0.8s; }
.hero-badges span:nth-child(4) { animation-delay: 0.9s; }

.hero-fade{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg, rgba(10,12,30,.14) 0%, rgba(10,12,30,.10) 34%, rgba(10,12,30,.04) 58%, rgba(10,12,30,0) 100%);
  pointer-events:none;
}

.section{
  position:relative;
  z-index:3;
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
}

.section-card{
  background:var(--panel-strong);
  border:1px solid var(--panel-border);
  border-radius:var(--radius-xl);
  padding:32px;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
}

.section-title{
  margin:0;
  font-size:clamp(28px, 3vw, 42px);
  line-height:1.08;
  letter-spacing:-0.03em;
  text-wrap:balance;
}

.section-intro{
  margin:14px 0 0;
  max-width:860px;
  font-size:17px;
  line-height:1.75;
  color:var(--muted);
}

.overview{
  padding-bottom:34px;
  margin-top:-30px;
}

.overview-grid,
.products-grid,
.use-grid,
.faq-grid{
  display:grid;
  gap:18px;
  margin-top:28px;
}

.overview-grid{ grid-template-columns:repeat(3,1fr); }
.products-grid{ grid-template-columns:repeat(2,1fr); }
.use-grid{ grid-template-columns:repeat(3,1fr); }
.faq-grid{ grid-template-columns:repeat(3,1fr); }

.overview-item,
.product,
.use-card,
.faq-item{
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:22px;
  padding:20px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.overview-item h2,
.product h3,
.use-card h3,
.faq-item h3,
.contact-card h3 {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Minimalist Icons */
.sc-icon {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  opacity: 0.9;
  margin-right: 0; /* Handled by gap in flex */
  flex-shrink: 0;
  transform: translateY(1px);
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 0 0px transparent);
}

.overview-item:hover .sc-icon,
.use-card:hover .sc-icon,
.product:hover .sc-icon,
.faq-item:hover .sc-icon,
.contact-card:hover .sc-icon {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.25));
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero .eyebrow .sc-icon {
  margin: 0;
  width: 24px;
  height: 24px;
}

.section-title {
  display: flex !important;
  align-items: center;
  gap: 12px;
  justify-content: inherit;
}

.section-title .sc-icon {
  margin-right: 0;
}

.overview-item h2{ font-size:20px; }
.product h3{ font-size:22px; }
.use-card h3{ font-size:19px; }
.faq-item h3{ font-size:18px; }

.overview-item p,
.product p,
.use-card p,
.faq-item p{
  margin:0;
  font-size:15px;
  line-height:1.72;
  color:var(--muted);
}

.products,
.use-cases,
.faq,
.contact{
  padding-top:32px;
  padding-bottom:24px;
}

.faq{ padding-bottom:38px; }

.product .tag{
  display:inline-block;
  margin-bottom:14px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.78);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  margin-top:28px;
}

.contact-card,
.contact-form-wrap{
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:22px;
  padding:24px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}

.contact-card h3,
.contact-form-wrap h3{
  margin:0 0 10px;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-0.02em;
}

.contact-card p,
.contact-form-wrap p{
  margin:0 0 16px;
  font-size:15px;
  line-height:1.72;
  color:var(--muted);
}

.contact-mail{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 20px;
  border-radius:999px;
  text-decoration:none;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-weight:600;
  transition:all .2s ease;
}

.contact-mail:hover{
  background:rgba(255,255,255,.14);
  transform:translateY(-2px);
}

.contact-list{
  margin:18px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.contact-list li{
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.contact-form{
  display:grid;
  gap:12px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#fff;
  border-radius:14px;
  padding:14px 15px;
  font:inherit;
  outline:none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color:rgba(255,255,255,.52);
}

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

.contact-form button{
  justify-self:start;
  min-height:46px;
  padding:0 24px;
  border:none;
  border-radius:999px;
  background:#fff;
  color:#0b0f2a;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(0,0,0,.20);
  transition:all .25s ease;
}

.contact-form button:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 34px rgba(255,255,255,.12);
}

.hp {
  display: none;
  visibility: hidden;
}

.form-status {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  display: none;
  text-align: center;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Hover Micro-Interactions */
.overview-item:hover,
.product:hover,
.use-card:hover,
.faq-item:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.product:hover{
  box-shadow:
    0 18px 60px rgba(0,0,0,.35),
    0 0 30px rgba(120,88,255,.15);
}

@media (hover:hover){
  .overview-item:hover,
  .product:hover,
  .use-card:hover,
  .faq-item:hover{
    transform: translateY(-6px);
  }
}

footer{
  position:relative;
  z-index:3;
  max-width:var(--max);
  margin:0 auto;
  padding:32px 24px 48px;
  color:var(--muted-2);
  font-size:14px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
  line-height:1.6;
}

footer a{
  color:rgba(255,255,255,.88);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.22);
  transition: .2s ease;
}

footer a:hover{
  color:#fff;
  border-bottom-color:rgba(255,255,255,.5);
}

.sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

@media (max-width: 1400px){
  .tablet{
    right:-210px;
    bottom:-50px;
    width:clamp(500px, 47vw, 700px);
  }
}

@media (max-width: 1200px){
  .tablet{
    right:-190px;
    bottom:-30px;
    width:clamp(460px, 45vw, 620px);
    opacity:.9;
  }
}

@media (max-width: 1100px){
  .hero-inner{
    padding-top:96px;
    align-items:flex-start;
  }

  .overview-grid,
  .use-grid,
  .faq-grid{
    grid-template-columns:1fr;
  }

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

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

@media (max-width: 1024px){
  .tablet{
    right:-150px;
    bottom:-10px;
    width:clamp(420px, 43vw, 540px);
    opacity:.88;
  }
}

@media (max-width: 900px){
  body{
    background:
      linear-gradient(rgba(8,10,28,.56), rgba(8,10,28,.78)),
      url('../images/fondo.jpg') no-repeat center center fixed;
    background-size:cover;
  }

  .hero{
    min-height:auto;
  }

  .hero-inner{
    min-height:auto;
    padding:110px 20px 24px;
    display:block;
  }

  .hero-copy{
    width:100%;
    max-width:720px;
    margin:0 auto;
    text-align:center;
  }

  .hero-actions,
  .hero-badges{
    justify-content:center;
  }

  .tablet{
    position:relative;
    right:auto;
    bottom:auto;
    width:min(92vw, 560px);
    margin:26px auto 0;
    opacity:.96;
    display:block;
  }

  .hero-fade{
    display:none;
  }

  .overview{
    margin-top:0;
  }

  .section{
    padding:0 20px;
  }

  .section-card{
    padding:20px 18px;
    border-radius:22px;
  }

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

@media (max-width: 1200px){
  .header-logo{ margin-left:0; }
  .site-header{ padding:24px; }
}

@media (max-width: 1100px){
  .hero-inner{ padding-top:120px; }
}

@media (max-width: 900px){
  .hero-inner{
    padding-top:110px;
  }
}

@media (max-width: 640px){
  .site-header{
    padding:16px 20px;
  }

  .header-logo img{
    height:45px;
  }

  .lang{
    font-size:13px;
  }

  .hero h1{
    font-size:clamp(34px, 11vw, 52px);
  }

  .hero-subtitle{
    font-size:18px;
  }

  .hero-lead{
    font-size:15px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .btn,
  .contact-form button{
    width:100%;
  }

  .section-title{
    font-size:30px;
  }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}

.brand{
  font-family:'Inter',sans-serif;
  font-weight:600;
  letter-spacing:-0.01em;
  white-space:nowrap;
}

.brand .cue{
  font-style:italic;
}

/* Language Suggestion Banner */
.lang-suggest {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 1000;
  background: var(--panel-strong);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 12px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
}

.lang-suggest.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.lang-suggest p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.lang-suggest .suggest-actions {
  display: flex;
  gap: 8px;
}

.lang-suggest .btn-suggest {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.lang-suggest .btn-go {
  background: #fff;
  color: #0b0f2a;
}

.lang-suggest .btn-close {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

.lang-suggest .btn-go:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.lang-suggest .btn-close:hover {
  background: rgba(255,255,255,0.15);
}

@media (max-width: 600px) {
  .lang-suggest {
    width: calc(100% - 32px);
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 16px;
    bottom: 16px;
    white-space: normal;
  }
}
