/* styles.css */
*{margin:0;padding:0;box-sizing:border-box}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell",sans-serif;
  line-height:1.6;
  color:#334155;
  background:linear-gradient(135deg,#f8fafc 0%,#eff6ff 60%,#fff7ed 100%);
  min-height:100vh;
}

.hidden{display:none}

/* Nav */
.navbar{
  position:fixed;
  top:0;left:0;right:0;
  background-color:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  z-index:1000;
  box-shadow:0 1px 3px rgba(0,0,0,.1);
  border-bottom:1px solid #dbeafe;
}

.navContainer{
  max-width:1280px;
  margin:0 auto;
  padding:0 1rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:64px;
  position:relative;
}

.navBack{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  color:#ea580c;
  text-decoration:none;
  font-weight:800;
  padding:.5rem .9rem;
  border-radius:.7rem;
  transition:transform .2s ease, background-color .2s ease;
}
.navBack:hover{
  background-color:#fff7ed;
  transform:translateX(-3px);
}
.navBackIcon{font-size:1.05rem;line-height:1}

.navBrand{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}
.navBrandTitle{
  font-weight:950;
  font-size:1.15rem;
  background:linear-gradient(to right,#0b1f3a,#ea580c);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.navLinks{display:none;gap:1.5rem;align-items:center}
.navLink{
  color:#334155;
  text-decoration:none;
  font-weight:800;
  transition:color .2s ease;
}
.navLink:hover{color:#ea580c}

.menuBtn{
  display:block;
  background:none;
  border:none;
  cursor:pointer;
  color:#334155;
  font-size:1.35rem;
}

.mobileMenu{
  position:fixed;
  top:64px;left:0;right:0;
  background:#fff;
  border-top:1px solid #dbeafe;
  box-shadow:0 10px 16px rgba(0,0,0,.12);
  transform:translateY(-100%);
  opacity:0;
  transition:transform .25s ease, opacity .25s ease;
  z-index:999;
}
.mobileMenu.active{transform:translateY(0);opacity:1}

.mobileLink{
  display:block;
  padding:1rem 1.25rem;
  color:#334155;
  text-decoration:none;
  font-weight:800;
  transition:background-color .2s ease;
}
.mobileLink:hover{background-color:#eff6ff}

@media (min-width:768px){
  .navLinks{display:flex}
  .menuBtn{display:none}
  .mobileMenu{display:none}
  .navBrand{position:static;transform:none}
}
@media (max-width:767px){
  .navBrand{display:none}
}

/* Hero */
.hero{
  padding:7.25rem 1rem 3.25rem;
  border-bottom:1px solid #dbeafe;
}

.heroInner{
  max-width:980px;
  margin:0 auto;
  text-align:center;
}

.badgeRow{
  display:flex;
  flex-direction:column;
  gap:.75rem;
  align-items:center;
  justify-content:center;
}
@media (min-width:720px){
  .badgeRow{flex-direction:row}
}

.badge{
  display:inline-flex;
  align-items:center;
  padding:.4rem .85rem;
  border-radius:999px;
  background:linear-gradient(135deg,#1e40af,#ea580c);
  color:#fff;
  font-weight:950;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.3px;
}

.badgeLink{
  display:inline-flex;
  align-items:center;
  padding:.4rem .85rem;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #dbeafe;
  color:#1e40af;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 10px 16px rgba(15,23,42,.06);
  transition:transform .2s ease, background-color .2s ease;
}
.badgeLink:hover{
  transform:translateY(-2px);
  background-color:#eff6ff;
}

.heroTitle{
  font-size:2.35rem;
  font-weight:950;
  margin:1rem 0 .6rem;
  background:linear-gradient(to right,#0b1f3a,#1e40af,#ea580c);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

@media (min-width:768px){
  .heroTitle{font-size:3.2rem}
}

.heroSubtitle{
  font-size:1.06rem;
  color:#475569;
  max-width:62ch;
  margin:0 auto 1.15rem;
  line-height:1.75;
}

.metaRow{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  justify-content:center;
  margin-bottom:1.2rem;
}

.metaItem{
  padding:.55rem .85rem;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  border:1px solid #dbeafe;
  color:#475569;
  font-weight:850;
  box-shadow:0 10px 16px rgba(15,23,42,.06);
}

.heroActions{
  display:flex;
  flex-direction:column;
  gap:.75rem;
  justify-content:center;
  align-items:center;
  margin:1rem 0 1.6rem;
}
@media (min-width:640px){
  .heroActions{flex-direction:row}
}

.btnPrimary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(to right,#1e40af,#ea580c);
  color:#fff;
  padding:.85rem 1.6rem;
  border-radius:.75rem;
  font-weight:950;
  text-decoration:none;
  box-shadow:0 12px 20px rgba(0,0,0,.12);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btnPrimary:hover{
  transform:translateY(-2px);
  filter:brightness(1.02);
  box-shadow:0 18px 28px rgba(0,0,0,.16);
}

.btnSecondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.85rem 1.6rem;
  border-radius:.75rem;
  font-weight:950;
  text-decoration:none;
  border:2px solid #1e40af;
  color:#1e40af;
  background:#fff;
  transition:transform .2s ease, background-color .2s ease;
}
.btnSecondary:hover{
  transform:translateY(-2px);
  background-color:#eff6ff;
}

.heroMedia img{
  width:100%;
  height:auto;
  border-radius:1rem;
  border:1px solid #dbeafe;
  box-shadow:0 16px 30px rgba(15,23,42,.12);
  display:block;
  background:#000;
}

.caption{
  margin-top:.65rem;
  text-align:center;
  color:#64748b;
  font-size:.92rem;
}

/* Sections */
.section{padding:4.5rem 1rem}
.sectionWhite{background:#fff}

.container{max-width:900px;margin:0 auto}
.containerWide{max-width:1280px;margin:0 auto}

.sectionTitle{
  font-size:2.05rem;
  font-weight:950;
  text-align:center;
  margin-bottom:1.75rem;
  color:#0f172a;
}

.card{
  background:linear-gradient(135deg,#ffffff,#eff6ff);
  border:1px solid #dbeafe;
  border-radius:1rem;
  padding:1.75rem;
  box-shadow:0 14px 22px rgba(0,0,0,.08);
}

.lead{
  font-size:1.05rem;
  color:#334155;
  line-height:1.75;
  margin-bottom:1.25rem;
}

.grid{
  display:grid;
  gap:1rem;
  grid-template-columns:1fr;
}
@media (min-width:900px){
  .grid{grid-template-columns:repeat(3,1fr)}
}

.miniCard{
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:1rem;
  padding:1.1rem;
  box-shadow:0 10px 16px rgba(15,23,42,.06);
}
.miniTitle{
  font-weight:950;
  color:#0f172a;
  margin-bottom:.35rem;
}
.miniText{
  color:#475569;
  line-height:1.7;
}

.details{
  margin-top:1.25rem;
  border:1px solid #dbeafe;
  border-radius:1rem;
  background:#fff;
  overflow:hidden;
}
.detailsSummary{
  cursor:pointer;
  padding:1rem 1rem;
  font-weight:900;
  color:#0f172a;
  background:#f8fafc;
  border-bottom:1px solid #e2e8f0;
}
.codeBlock{
  margin:0;
  padding:1rem;
  background:#0b1220;
  color:#e5e7eb;
  overflow:auto;
  font-size:.92rem;
  line-height:1.6;
}

/* Demo */
.demoSingle{
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:1rem;
  box-shadow:0 14px 22px rgba(0,0,0,.08);
  overflow:hidden;
}

.demoHeader{
  padding:1.5rem 1.5rem .75rem;
  background:linear-gradient(135deg,#eff6ff,#fff7ed);
  border-bottom:1px solid #dbeafe;
}

.demoTitle{
  font-size:1.4rem;
  font-weight:950;
  color:#0f172a;
  margin-bottom:.35rem;
}

.demoText{
  color:#475569;
  line-height:1.75;
}

.mediaFrame{
  padding:1.5rem;
}

.demoVideo{
  width:100%;
  border-radius:1rem;
  border:1px solid #dbeafe;
  box-shadow:0 12px 20px rgba(15,23,42,.10);
  background:#000;
  display:block;
}

/* Architecture */
.flow{
  display:grid;
  gap:.85rem;
  margin-top:.75rem;
}

.flowStep{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:1rem;
  padding:1rem;
  border-radius:1rem;
  background:#fff;
  border:1px solid #dbeafe;
  box-shadow:0 10px 16px rgba(15,23,42,.06);
}
@media (max-width:720px){
  .flowStep{grid-template-columns:1fr}
}

.flowLeft{
  font-weight:950;
  color:#0f172a;
}

.flowRight{
  color:#475569;
  line-height:1.7;
}

.ctaRow{
  margin-top:1.25rem;
  display:flex;
  justify-content:center;
}

/* Contact */
.contact{
  background:linear-gradient(135deg,#0b1f3a 0%,#1e40af 55%,#ea580c 100%);
  color:#fff;
}

.contactInner{text-align:center}

.contactTitle{
  font-size:2.35rem;
  font-weight:950;
  margin-bottom:.35rem;
}

.contactSubtitle{
  max-width:60ch;
  margin:0 auto 1.25rem;
  color:rgba(255,255,255,.92);
  line-height:1.75;
  font-size:1.05rem;
}

.contactRow{
  display:flex;
  flex-direction:column;
  gap:.75rem;
  align-items:stretch;
  justify-content:center;
}
@media (min-width:640px){
  .contactRow{flex-direction:row;align-items:center}
}

.contactBtn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:1rem 1.6rem;
  border-radius:.85rem;
  background:#fff;
  color:#0f172a;
  font-weight:950;
  text-decoration:none;
  border:2px solid #fff;
  box-shadow:0 14px 28px rgba(0,0,0,.28);
  transition:transform .2s ease, box-shadow .2s ease;
}
.contactBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(0,0,0,.33);
}

/* Footer */
.footer{
  padding:1.75rem 1rem;
  border-top:1px solid #dbeafe;
  background:#fff;
}

.footerInner{
  max-width:1280px;
  margin:0 auto;
  text-align:center;
  color:#475569;
  font-weight:850;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  flex-wrap:wrap;
}
.footerSep{color:#94a3b8}

/* Small screens */
@media (max-width:767px){
  .hero{padding:6.5rem 1rem 3rem}
  .section{padding:3.75rem 1rem}
  .sectionTitle{font-size:1.9rem}
  .card{padding:1.35rem}
  .mediaFrame{padding:1.15rem}
}
