:root{
  --ink:#0e1726; --mut:#6b7280; --bg:#0b1220; --primary:#3b82f6; --panel: rgba(0,0,0,0.5);
  --white:#ffffff; --card:#101828;
}
*{box-sizing:border-box}
.hidden{display:none !important}
button{cursor:pointer}

/* Background */
body{
  margin:0;
  font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--white);
  background:
    radial-gradient(1200px 800px at 15% 0%, rgba(59,130,246,.18), transparent 60%),
    radial-gradient(900px 700px at 100% 20%, rgba(99,102,241,.16), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0a0f1a 100%);
  position:relative;
}
body::before{
  content:''; position:fixed; inset:0;
  background: url('/static/img/background.jpg') center/cover no-repeat fixed;
  opacity:.95;
  pointer-events:none;
  z-index:-1 !important;
}

.container{max-width:1100px; margin:0 auto; padding:0 16px}

/* Header */
.site-header{
  position:sticky; top:0; z-index:6000;
  display:flex; align-items:center; justify-content:space-between; padding:10px 0;
  background:rgba(10,15,26,.55); backdrop-filter: blur(6px);
}
/* brand + logo */
.brand{
  display:flex;            /* inline logo + text */
  align-items:center;
  gap:10px;
  font-size:1.25rem;
  font-weight:700;
  letter-spacing:0.3px;
}

.brand-logo{
  width:30px;
  height:30px;
  object-fit:contain;
  border-radius:4px;
}

.nav{display:flex; gap:18px; align-items:center}
.nav a{color:#e5e7eb; text-decoration:none; font-weight:500}
.nav a:hover{color:#fff; text-decoration:underline}

.btn{border:0; background:var(--panel); color:#fff; padding:10px 14px; border-radius:10px}
.btn-primary{background:var(--primary)}
.btn-primary:hover{filter:brightness(1.1)}
.btn:focus-visible{outline:2px solid #93c5fd; outline-offset:2px}

/* --- Social links (Videos section) --- */
.social-links{display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin:8px 0 4px}
.btn-icon{display:inline-flex; align-items:center; gap:8px}
.btn-yt{background:#ff0033; border:1px solid rgba(255,255,255,.12)}
.btn-yt:hover{filter:brightness(1.1)}
.btn-ig{
  background:linear-gradient(45deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border:1px solid rgba(255,255,255,.12)
}
.btn-ig:hover{filter:brightness(1.08)}

/* Avatar + dropdown */
.profile{position:relative; display:flex; align-items:center; gap:10px}
.avatar-btn{
  width:36px; height:36px; border-radius:999px; border:1px solid rgba(255,255,255,.2);
  background:#2b3443; color:#fff; font-weight:700; display:flex; align-items:center; justify-content:center;
}

/* SCRIM */
.scrim{
  position:fixed; inset:0; background:rgba(0,0,0,.18);
  backdrop-filter: none;
  z-index:6400;
  pointer-events:none;
}

/* Dropdown */
.profile-menu{
  position:fixed; right:16px; top:64px; width:min(360px, 92vw);
  background:#0f172a;
  border:1px solid #2b3342;
  border-radius:14px;
  padding:14px;
  box-shadow:0 18px 48px rgba(0,0,0,.7);
  z-index:2147483646;
  pointer-events:auto !important;
}
.profile-menu *{pointer-events:auto !important}

.profile-header{
  display:flex; align-items:center; gap:12px; padding-bottom:10px;
  border-bottom:1px solid #2b3342
}
.avatar-lg{
  width:42px; height:42px; border-radius:999px; border:1px solid rgba(255,255,255,.25);
  background:#1b2433; display:flex; align-items:center; justify-content:center; font-weight:700;
}
.profile-header .name{font-size:15.5px; font-weight:700; color:#fff}
.profile-header .muted{color:#cbd5e1}
.profile-body{display:grid; gap:8px; padding:12px 0; font-size:15px; line-height:1.5}
.profile-body strong{color:#e5e7eb}
.profile-actions{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.profile-actions .btn{background:#1f2937; border:1px solid #3b4252; padding:8px 12px; border-radius:10px}
.profile-actions .btn:hover{background:#2a3343}
.profile-actions .btn-primary{background:#3b82f6; border-color:#3b82f6; color:#fff}

/* Hero */
.hero{position:relative; min-height:46vh; display:flex; flex-direction:column; justify-content:center}
.hero .overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.30), rgba(0,0,0,0.50)); pointer-events:none}
.hero-content{position:relative; z-index:1; padding:24px 0 36px}
.hero-content h1{font-size:40px; margin:0 0 8px}
.hero-content p{color:#e5e7eb; max-width:620px; margin:0 0 16px}

/* Sections */
.sections{padding:40px 0 28px}
section{margin-bottom:38px}
h2{font-size:28px; margin:0 0 12px}
p{line-height:1.6}

ul.cards{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:16px}
ul.cards li{background:#111827; border:1px solid rgba(255,255,255,.06); padding:16px; border-radius:14px}

/* Cards used in Parents */
.card{
  background:#0f172a; border:1px solid #2b3342; border-radius:14px; padding:16px; margin:12px 0;
}
.fee-grid{
  display:grid; grid-template-columns:220px 1fr; gap:16px; align-items:start;
}
.fee-grid .qr img{width:200px; height:auto; border-radius:8px; border:1px solid #2b3342}
.history{width:100%; border-collapse:collapse; margin-top:8px}
.history th,.history td{padding:10px; border-bottom:1px solid #273244}
.history a{color:#93c5fd; text-decoration:underline}

/* Contact & footer */
.footer{background:#0a0f1a; padding:30px 0; border-top:1px solid rgba(255,255,255,.06)}
.contact-form{display:grid; gap:10px; grid-template-columns:1fr 1fr}
.contact-form textarea{grid-column:1 / span 2}
.contact-form .muted{grid-column:1 / span 2}
.copy{margin-top:16px; color:#cbd5e1; font-size:14px}
.muted{font-size:12px; color:#9ca3af}

/* Modal */
.modal{position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.35); z-index:6600}
.modal-card{
  position:relative; width:min(720px, 92vw);
  background:#0f172a; border:1px solid #2b3342;
  border-radius:16px; padding:16px;
  box-shadow:0 18px 48px rgba(0,0,0,.7)
}
.modal-close{position:absolute; right:8px; top:6px; font-size:22px; background:transparent; border:0; color:#fff}
.tabs{display:flex; gap:10px; margin-bottom:12px}
.tab{flex:1; padding:10px; border-radius:10px; border:1px solid rgba(255,255,255,.10); background:#132034; color:#fff}
.tab.active{background:#1e293b}
.tab-content.hidden{display:none}
.stack{display:grid; gap:10px}
.grid-2{display:grid; gap:10px; grid-template-columns:1fr 1fr}
.span-2{grid-column:1 / span 2}

/* Inputs */
input, textarea{
  width:100%; padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,.18);
  background:#0f172a; color:#fff;
}
input::placeholder, textarea::placeholder{color:#a9b4c7}

/* Locked message */
.locked{
  padding:14px; background:rgba(255,255,255,.05); border:1px dashed rgba(255,255,255,.15);
  border-radius:12px; color:#cbd5e1;
}

/* Founder */
.founder{
  display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:center; margin:14px 0 6px;
}
.founder-photo{
  width:120px; height:120px; border-radius:999px; object-fit:cover;
  border:2px solid rgba(255,255,255,.35); box-shadow:0 6px 24px rgba(0,0,0,.35);
}

/* --- Responsive tweaks --- */
@media (max-width: 720px){
  .hero-content h1{font-size:32px}
  .fee-grid{grid-template-columns:1fr}
  .contact-form{grid-template-columns:1fr}
  .span-2{grid-column:1 / span 1}
}
