:root{
  --bg:#0f1724; --muted:#9aa4b2; --accent:#06b6d4;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

html,body{
  margin:0;
  background:linear-gradient(180deg,#071024,#08122a);
  color:#e6eef6;
}

/* ===== HEADER ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(7,16,36,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
  max-width:1100px;
  margin:auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nav img{height:36px}

/* Nav links */
.nav-links{
  display:flex;
  gap:10px;
}

.nav-links a {
  position: relative;
  padding: 0 10px;
  text-decoration: none;
  color: white;
}

/* Separator */
.nav-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -6px;
  color: rgba(255,255,255,0.5);
}

/* Hamburger */
.hamburger{
  display:none;
  font-size:26px;
  cursor:pointer;
}

/* Mobile menu */
@media (max-width:768px){
  .nav-links{
    position:absolute;
    top:60px;
    left:0;
    width:100%;
    background:#071024;
    flex-direction:column;
    display:none;
    padding:5px 0;
  }
  .nav-links.show{display:flex}
  .nav-links a{padding:10px 16px}
  .hamburger{display:block}
}

/* ===== MAIN ===== */
.wrap{
  max-width:1100px;
  margin:auto;
  padding:16px;
}

.video-section video{
  width:100%;
  display:block;
}

/* Cards */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:18px;
}

.card{
  background:rgba(255,255,255,.04);
  border-radius:12px;
  padding:14px;
  text-align:center;
  cursor:pointer;
  transition:.2s;
}
.card:hover{transform:translateY(-6px)}

.logo-wrap{
  height:84px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-wrap img{max-width:100%;max-height:100%}

.name{font-weight:600;font-size:14px}
.meta{font-size:12px;color:var(--muted)}

/* ===== FOOTER ===== */
.site-footer{
    background:rgba(7,16,36,.85);
  padding:28px 16px 18px;
  color:#e6eef6;
}

.footer-social{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:20px;
}

.footer-social a svg{
  width:20px;
  height:20px;
  fill:#ffffff;
  opacity:.85;
}
.footer-social a:hover svg{
  opacity:1;
}

/* Main content */
.footer-content{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:32px;
}

.footer-brand img{
  height:34px;
  margin-bottom:12px;
}

.footer-tagline{
  font-size:14px;
  font-weight:500;
  margin:0 0 10px;
}

.footer-desc{
  font-size:13px;
  line-height:1.6;
  color:#cbd5e1;
  max-width:420px;
  border-left:2px solid rgba(255,255,255,.2);
  padding-left:12px;
}

.footer-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.footer-links a{
  display:block;
  font-size:14px;
  color:#e6eef6;
  text-decoration:none;
  margin-bottom:8px;
}
.footer-links a:hover{
  color:var(--accent);
}

/* Bottom */
.footer-bottom{
  margin-top:24px;
  text-align:center;
  font-size:12px;
  color:#cbd5e1;
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:12px;
}

/* Mobile */
@media(max-width:768px){
  .footer-content{
    grid-template-columns:1fr;
    text-align:center;
  }
  .footer-desc{
    border-left:none;
    padding-left:0;
    margin:auto;
  }
  .footer-links{
    justify-content:center;
  }
}
/* Desktop */
@media(min-width:769px){
  .footer-links{
    justify-content:center;
    margin-top: 40px;
  }
}


/* ===== PARTNER MODAL ===== */
.modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
}

.modal{
  max-width:620px;
  width:90%;
  background:linear-gradient(135deg,#020617,#0b1024);
  border-radius:16px;
  padding:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}

/* Header */
.modal-header{
  display:flex;
  gap:16px;
  align-items:center;
}

.modal-logo{
  width:72px;
  height:72px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.modal-logo img{
  max-width:100%;
  max-height:100%;
}

.modal-title{
  font-size:20px;
  font-weight:600;
}

.modal-tagline{
  font-size:14px;
  color:var(--muted);
}

/* Body */
.modal-desc{
  margin:18px 0 22px;
  font-size:14px;
  line-height:1.6;
  color:#cbd5e1;
}

/* Actions */
.modal-actions{
  display:flex;
  gap:12px;
}

.btn{
  padding:10px 18px;
  border-radius:12px;
  font-size:14px;
  cursor:pointer;
  border:none;
}

.btn.primary{
  background:linear-gradient(90deg,#22d3ee,#6366f1);
  color:#020617;
}

.btn.secondary{
  background:rgba(255,255,255,.08);
  color:#e6eef6;
}