@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --black: #050505;
  --black-2: #0a0a0c;
  --blue: #075dff;
  --blue-light: #2f7dff;
  --red: #ff1020;
  --red-dark: #b9000d;
  --white: #f5f7fb;
  --muted: #9ba1ad;
  --line: rgba(255,255,255,.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
}

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

.navbar {
  height: 84px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,5,5,.88);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.brand img {
  width: 104px;
  height: 68px;
  object-fit: contain;
}

nav { display: flex; align-items: center; gap: 30px; }

nav > a {
  color: #c9cbd1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .25s;
}

nav > a:hover, nav > a.active { color: #fff; }

.login-btn {
  border: 1px solid rgba(255,16,32,.8);
  padding: 10px 17px;
  color: #fff !important;
  box-shadow: 0 0 18px rgba(255,16,32,.14);
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 90px 9vw;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 44%, rgba(0,85,255,.20), transparent 31%),
    radial-gradient(circle at 86% 75%, rgba(255,0,20,.15), transparent 26%),
    linear-gradient(125deg, #050505 45%, #080b12 100%);
}

.hero:after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255,16,32,.23);
  border-radius: 50%;
  right: -250px;
  top: 80px;
  box-shadow: 0 0 100px rgba(255,16,32,.08);
}

.hero-content { max-width: 720px; position: relative; z-index: 2; }

.eyebrow {
  color: #d7d9de;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3em;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(50px, 7vw, 92px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-shadow: 0 0 24px rgba(0,85,255,.35);
}

.hero-text {
  max-width: 570px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions { display: flex; gap: 14px; }

.primary-btn, .outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: .25s;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(110deg, var(--blue), #0846d5);
  box-shadow: 0 10px 35px rgba(0,88,255,.25);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,88,255,.4);
}

.outline-btn {
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  background: rgba(255,255,255,.03);
}

.outline-btn:hover { border-color: var(--red); }

.section { padding: 105px 9vw; }

.section-heading { max-width: 720px; margin-bottom: 55px; }

.section-heading h2, .cta h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.section-heading > p:last-child {
  color: var(--muted);
  margin-top: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stats div:last-child { border-right: 0; }

.stats strong {
  display: block;
  font-size: 37px;
  color: #fff;
}

.stats span { color: var(--muted); font-size: 12px; }

.dark-section {
  background: #08090c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 260px;
  padding: 32px;
  background: linear-gradient(145deg, #0d0e12, #070709);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: .3s;
}

.card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(var(--blue), var(--red));
}

.card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.18); }

.icon {
  font-size: 12px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .2em;
  margin-bottom: 70px;
}

.card h3 { font-size: 20px; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 13px; }

.cta {
  padding: 115px 9vw;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(0,80,255,.16), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(255,0,25,.13), transparent 40%);
}

.cta h2 { margin-bottom: 12px; }

.cta > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 28px;
}

footer {
  padding: 26px 6vw;
  display: flex;
  justify-content: space-between;
  color: #6f737c;
  font-size: 10px;
  letter-spacing: .16em;
  border-top: 1px solid var(--line);
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 35%, rgba(0,75,255,.13), transparent 30%),
    radial-gradient(circle at 55% 75%, rgba(255,0,25,.09), transparent 25%),
    var(--black);
}

.login-page .navbar { flex-shrink: 0; }

.login-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 60px 20px;
}

.login-card {
  width: min(440px, 100%);
  padding: 38px;
  background: rgba(10,11,14,.94);
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 30px 100px rgba(0,0,0,.55), 0 0 70px rgba(0,75,255,.07);
  position: relative;
}

.login-card:before {
  content: "";
  height: 3px;
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.login-logo { text-align: center; margin-bottom: 15px; }

.login-logo img {
  width: 135px;
  height: 92px;
  object-fit: contain;
}

.login-card .eyebrow { text-align: center; margin-bottom: 8px; color: var(--blue-light); }

.login-card h1 {
  text-align: center;
  font-size: 31px;
  text-transform: uppercase;
  letter-spacing: -.03em;
}

.login-subtitle {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin: 7px 0 28px;
}

form label:not(.remember) {
  display: block;
  color: #d7d9de;
  font-size: 11px;
  font-weight: 700;
  margin: 17px 0 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

input[type="text"], input[type="password"] {
  width: 100%;
  height: 49px;
  border: 1px solid #252831;
  outline: 0;
  padding: 0 14px;
  color: #fff;
  background: #07080a;
  font: inherit;
  font-size: 13px;
  transition: .2s;
}

input[type="text"]:focus, input[type="password"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,90,255,.10);
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 17px 0 22px;
  font-size: 10px;
}

.form-row a { color: #8b8f99; }

.remember {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9ba1ad;
}

.remember input { accent-color: var(--blue); }

.full { width: 100%; }

.message {
  display: none;
  text-align: center;
  color: #67a0ff;
  font-size: 11px;
  margin-top: 15px;
}

.message.show { display: block; }

.back-link {
  display: block;
  text-align: center;
  margin-top: 25px;
  color: #8d919b;
  font-size: 11px;
}

.back-link:hover { color: #fff; }

@media (max-width: 800px) {
  .navbar { padding: 0 20px; }
  nav { gap: 12px; }
  nav > a:not(.login-btn):not(.active) { display: none; }
  .hero { min-height: 650px; padding: 70px 25px; }
  .section, .cta { padding: 75px 25px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  footer { padding: 22px 20px; }
}

@media (max-width: 480px) {
  .login-card { padding: 28px 22px; }
  .hero h1 { font-size: 47px; }
  .hero-actions { flex-direction: column; }
  .stats strong { font-size: 30px; }
}
