:root{
  --text: #eaf1fb;
  --muted: rgba(234,241,251,.72);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 24px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 14px;
  --container: 1120px;
  --gold: rgba(255, 210, 74, .95);

  --glass-bg: rgba(12, 16, 22, .56);
  --glass-bg-strong: rgba(12, 16, 22, .68);
  --glass-blur: 18px;

  --line: rgba(255,255,255,.12);
}

/* ---- Global / Background fix (mobile) ---- */
html, body{
  height: 100%;
  min-height: 100%;
}
body{
  margin:0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: #06080c; /* fallback */
  overflow-x: hidden;
}
/* A fixed pseudo background that always covers the whole viewport AND long pages (mobile-safe) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    radial-gradient(900px 500px at 15% 0%, rgba(255,210,74,.08), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(120,190,255,.08), transparent 55%),
    linear-gradient(rgba(6,8,12,.90), rgba(6,8,12,.92)),
    url("img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0); /* helps some mobile renderers */
}

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.small{ font-size: 13px; }
a{ color: inherit; }

/* ---- Topbar ---- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6,8,12,.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 16px 0;
  transition: padding .22s ease;
}

/* ---- Brand + Collapsing logo ---- */
.brand{
  display:flex;
  align-items:center;
  gap: 16px;
  text-decoration: none;
  min-width: 320px;
}
.brand__logo{
  width: 208px;   /* big on top */
  height: 208px;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
  flex: 0 0 auto;

  transition: width .22s ease, height .22s ease, border-radius .22s ease, box-shadow .22s ease;
}
.brand__logo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(1.05);
}
.brand__text{
  transition: transform .22s ease, opacity .22s ease;
}
.brand__name{
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1.08;
  font-size: 22px;
}
.brand__tagline{
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

/* Collapsed state on scroll */
body.is-scrolled .topbar__inner{
  padding: 10px 0;
}
body.is-scrolled .brand__logo{
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.30);
}
body.is-scrolled .brand__name{
  font-size: 18px;
}
body.is-scrolled .brand__tagline{
  font-size: 13px;
  margin-top: 4px;
}

/* ---- Tabs (big) ---- */
.nav{ display:flex; gap: 14px; align-items:center; flex-wrap: wrap; justify-content: flex-end; }
.tab{
  cursor:pointer;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  padding: 18px 26px;
  font-size: 18px;
  border-radius: 999px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.tab:hover{
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.08);
}
.tab--active{
  color: rgba(10,10,10,.92);
  background: rgba(255,210,74,.92);
  border-color: rgba(255,210,74,.70);
  box-shadow: 0 12px 30px rgba(255,210,74,.10);
}

/* ---- Glass ---- */
.glass{
  background: var(--glass-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}
.glass--pad{ padding: 18px; }

/* ---- Layout ---- */
.hero{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
  padding: 26px 0 18px;
  align-items:start;
}
.hero__header h1{
  margin: 4px 0 10px;
  font-size: 34px;
  letter-spacing: .2px;
}
.hero__header p{ margin: 0 0 14px; line-height: 1.6; }

.hero__side{
  padding: 18px;
  background: var(--glass-bg-strong);
  border: 1px solid rgba(255,255,255,.10);
}
.hero__side h3{ margin: 2px 0 10px; font-size: 16px; letter-spacing: .2px; }

.bullets{ margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.75; }
.bullets li{ margin: 6px 0; }

.divider{
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

.mini__label{ font-size: 12px; letter-spacing: .35px; text-transform: uppercase; color: rgba(234,241,251,.60); }
.mini__value{ margin-top: 6px; color: rgba(234,241,251,.86); }

/* Cards */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.card{
  padding: 14px;
  background: rgba(10, 14, 20, .40);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  transition: transform .20s ease, border-color .20s ease, background .20s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
  background: rgba(10, 14, 20, .48);
}
.card h2{ margin: 0 0 8px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); line-height: 1.6; }
.grid__span2{ grid-column: 1 / -1; }

/* Fields */
.fields{ display:grid; gap: 10px; margin-top: 10px; }
.field{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.field__label{ font-size: 12px; letter-spacing: .35px; text-transform: uppercase; color: rgba(234,241,251,.62); margin-bottom: 6px; }
.field__value{ color: var(--text); font-size: 15px; }

/* Buttons */
.cta{ margin-top: 14px; display:flex; flex-direction:column; gap: 10px; }
.cta--row{ flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; }

.btn{
  cursor:pointer;
  border: 1px solid rgba(255,210,74,.70);
  background: linear-gradient(180deg, rgba(255,210,74,.95), rgba(255,210,74,.86));
  color: rgba(10,10,10,.92);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .2px;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  box-shadow: 0 12px 30px rgba(255,210,74,.10);
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.btn:active{ transform: translateY(0px); }

.btn--ghost{
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-color: rgba(255,255,255,.18);
  box-shadow: none;
}

/* Panels */
.panel{ display:none; }
.panel--active{ display:block; opacity: 1; transform: translateY(0); }

/* Animations */
.panel.is-enter{ animation: fadeInUp .34s ease both; }
.panel.is-exit{ animation: fadeOutDown .22s ease both; }

@keyframes fadeInUp{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes fadeOutDown{
  from{ opacity:1; transform: translateY(0); }
  to{ opacity:0; transform: translateY(8px); }
}

/* Footer */
.footer{
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(6,8,12,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1100px){
  .brand__logo{ width: 140px; height: 140px; }
  .brand__name{ font-size: 18px; }
  .tab{ padding: 14px 20px; font-size: 16px; }
}

@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .grid__span2{ grid-column: auto; }
  .brand__tagline{ display:none; }
  .topbar__inner{ align-items: flex-start; }
}
