/* ===== CSS Reset & Theme ===== */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #e9f1f6;
  background: url('pictures/bg.png') center center/cover no-repeat;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

:root{
  --primary: #14A0FF;        /* bright cyan/blue accent for the headline */
  --text:    #e9f1f6;
  --muted:   #b8c4ce;
  --bg-900:  #08131b;         /* very dark blue */
  --bg-800:  #0b1e29;
  --glass:   rgba(5,16,24,.6);
  --shadow:  0 10px 30px rgba(0,0,0,.35);
}

/* ===== Utilities ===== */
.wrap {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ===== Header & Nav ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(8,19,27,.85), rgba(8,19,27,.35) 60%, transparent);
  backdrop-filter: blur(3px);
}

.site-header .wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px clamp(10px, 2vw, 24px);
}

/* Top line: Brand area (left) + Login button (right) */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Brand area: Logo + Title (left aligned) */
.brand-area {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.brand img {
  display: block;
  height: clamp(28px, 5vw, 42px);
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.3));
}

.header-title {
  display: block;
  font-weight: 700;
  font-size: clamp(25px, 4vw, 40px);
  color: var(--primary);
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
  font-family: "Oswald", Impact, sans-serif;
  letter-spacing: .5px;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}

/* Login button (right aligned on second line) */
.btn-login {
  text-decoration: none;
  color: #06111a;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: 150ms ease;
}
.btn-login:hover { transform: translateY(-1px); }

/* Navigation (third line, left aligned) */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 28px);
  justify-content: flex-start;
}
.nav-link {
  color: #d8e4ec;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 15px);
  padding: 8px 14px;
  border-radius: 999px;
  transition: 150ms ease;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link.active { color: #06111a; background: #18a6ff; }

/* ===== Hero ===== */
main {
  flex: 1;
}

.hero {
  flex: 1;
  position: relative;
  /* Use transparent background to let the body background show through */
  background: transparent;
}

/* Darken & add blue glow with an overlay */
.hero__overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 70% 45%, rgba(26,110,177,.22), transparent 65%),
    linear-gradient(180deg, rgba(7,18,26,.75), rgba(7,18,26,.55) 40%, rgba(7,18,26,.75) 100%);
}

/* Hero Content */
.hero__content {
  position: relative;
  padding-top: clamp(96px, 12vh, 140px);   /* give space for fixed header */
  padding-bottom: clamp(80px, 15vh, 160px); /* give space for footer */
}

.headline {
  margin: 0 0 12px 0;
  line-height: 1.05;
  text-transform: uppercase;
  font-family: "Oswald", Impact, sans-serif;
  letter-spacing: .5px;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.headline-main {
  display: block;
  font-weight: 700;
  font-size: clamp(34px, 7vw, 66px);
  color: var(--primary);
}
.headline-sub {
  display: block;
  margin-top: 6px;
  font-weight: 700;
  font-size: clamp(14px, 2.1vw, 18px);
  color: #ffffff;
  letter-spacing: 1.2px;
}

.copy {
  max-width: 640px;
  margin-top: 16px;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
  color: var(--text);
}
.copy .muted { color: var(--muted); }

/* ===== Responsive Tweaks ===== */
@media (max-width: 900px) {
  .hero {
    background-position: right -40% center, 50% 2%;
    background-size: auto 90%, auto 48%;
  }
  .main-nav { display: none; }         /* hide menu for mobile (simple approach) */
}

@media (max-width: 560px) {
  .headline-main { font-size: clamp(28px, 9vw, 44px); }
  .headline-sub  { font-size: clamp(12px, 3.2vw, 14px); }
  .btn-login { padding: 8px 12px; }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-900);
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 150ms ease;
}
.footer-link:hover { color: var(--primary); }
