:root{
  --bg:#0c1220;
  --panel: rgba(255,255,255,0.06);
  --text:#f3f6ff;
  --muted: rgba(243,246,255,0.75);
  --line: rgba(255,255,255,0.14);

  --btn:#ffffff;
  --btnText:#0c1220;

  --footerHeight: 78px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background:
    radial-gradient(900px 420px at 20% 0%, #1a2a55 0%, rgba(12,18,32,0) 70%),
    var(--bg);
  background-repeat: no-repeat;

  color:var(--text);
  line-height:1.55;

  padding-bottom: var(--footerHeight);
  overflow-x: hidden;
}

/* Prevent animation flash */
.hero h1,
.hero .subtitle,
.hero .hero-actions{
  opacity:0;
}

/* ===============================
   🔥 HERO ANIMATIONS
================================ */

@keyframes heroFadeUp{
  from{
    opacity:0;
    transform: translate3d(0,40px,0);
  }
  to{
    opacity:1;
    transform: translate3d(0,0,0);
  }
}

.hero h1{
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay:.15s;
}

.hero .subtitle{
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay:.35s;
}

.hero .hero-actions{
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay:.55s;
}

/* Accessibility — disable animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero h1,
  .hero .subtitle,
  .hero .hero-actions{
    animation:none;
    opacity:1;
    transform:none;
  }
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }

.container{
  width:min(1100px, 92vw);
  margin-inline:auto;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

.topbar .container{
  width: 100%;
  max-width: none;
  padding-left: 100px;
  padding-right: 160px;
  margin-inline: 0;
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 2px;
}

.topbar-brand{
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
  text-decoration: none;
}

.brand-title{
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.12rem;
  color: #111111;
}

.brand-subtitle{
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}

.topbar-nav{
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.topbar-nav a{
  color: #111111;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

.topbar-nav a:hover{
  border-bottom-color: rgba(0,0,0,0.25);
}

.topbar-nav a.active{
  border-bottom-color: #111111;
}

.menu-toggle{
  display: none;
  border: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu{
  display: none;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  padding: 8px 0;
}

.mobile-menu a{
  display: block;
  color: #111111;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  padding: 12px 2px;
  margin: 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mobile-menu a:last-child{
  border-bottom: 0;
}

.mobile-menu.open{
  display: block;
}

/* ✅ HERO SECTION CENTERED */
.hero {
  min-height: calc(100vh - 76px - var(--footerHeight));
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 0;
}

.hero-inner {
  max-width: 950px;
  margin: 0 auto;
}

h1{
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height:1.15;
}

.subtitle{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}

/* 🔥 BUTTON HOVER UPGRADE */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--btn);
  color: var(--btnText);
  font-weight: 650;
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, opacity .2s;
}

.btn:hover{
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  text-decoration:none;
}

.btn-outline{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.footer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footerHeight);
  display: flex;
  align-items: center;
  background: rgba(12,18,32,0.88);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  z-index: 999;
}

.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 clamp(14px, 3vw, 26px);
}

.footer-links{
  display:flex;
  gap: 14px;
}

/* ===============================
   📱 MOBILE
================================ */

@media (max-width:1100px){
  .topbar .container{
    padding-left:24px;
    padding-right:24px;
  }
}

@media (max-width:760px){

  :root{
    --footerHeight:92px;
  }

  .menu-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .topbar-nav{ display:none; }

  .topbar-inner{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
  }

  .topbar .container{
    padding-left:16px;
    padding-right:16px;
  }
}
