/* Reset */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
  /* Dark blue gradient version you liked */
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 35%, #0f172a 70%, #022c43 100%);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 6vw;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(14px);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
  color: #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

.nav-button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.9);
  background: radial-gradient(circle at top left, #4f46e5, #2563eb);
  font-size: 14px;
  font-weight: 500;
  opacity: 1;
}

/* Main – full width, no centering container */

.main {
  width: 100%;
  margin: 0;
  padding: 40px 0 60px;              /* no horizontal padding here */
  min-height: calc(100vh - 60px);
}

/* Hero – positioned from viewport left/top */

.hero-plain {
  margin-top: 5vh;                  /* how far down from header */
  padding-left: 4vw;                /* how far from left edge of screen */
  max-width: 1500px;
  width: 80vw;
  min-width: 1200px;
  text-align: left;
  margin-bottom: 28vh;
}

.hero-plain h1 {
  font-size: clamp(32px, 4.2vw, 44px);
  margin: 0 0 16px;
  color: #f9fafb;
  text-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

.hero-plain p {
  margin: 0;
  font-size: 16px;
  max-width: 560px;
  line-height: 1.7;
  color: #e5e7eb;
  opacity: 0.95;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(219, 234, 254, 0.3);
  backdrop-filter: blur(4px);
}

/* Slider – centered under hero, independent of hero position */

.scroller {
  margin-top: 32px;
}

.scroll-inner {
  max-width: 900px;
  margin: 0 auto;                    /* centers the whole pill */
  overflow: hidden;
  border-radius: 999px;
  padding: 12px 8px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.9), rgba(17, 24, 39, 0.96));
  border: 1px solid rgba(129, 140, 248, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.scroll-content {
  display: inline-flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  animation: scroll 22s linear infinite;
}

.scroll-content span {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.1);
  border: 1px solid rgba(191, 219, 254, 0.7);
  color: #e5e7eb;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive */

@media (max-width: 820px) {
  .hero-plain {
    margin-top: 12vh;
    padding-left: 6vw;
    max-width: 90%;
  }

  .scroll-inner {
    max-width: 100%;
  }

  .scroll-content {
    font-size: 14px;
    gap: 22px;
  }
}
