/* =======================================================
   OFFSEASON — Landing Page Styles
   Brand: #04121c (navy), white, #038fff (accent),
   gradient #1b8ffc → #d63bf1 (used surgically)
   ======================================================= */

:root {
  --bg: #04121c;
  --bg-2: #06192a;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --dim: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #038fff;
  --grad-a: #1b8ffc;
  --grad-b: #d63bf1;
  --gradient: linear-gradient(135deg, var(--grad-a) 0%, var(--grad-b) 100%);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1240px;
  --pad-x: clamp(1.25rem, 5vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ============= GRAIN OVERLAY ============= */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============= UTILITY ============= */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 2rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============= NAV ============= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem var(--pad-x);
  background: rgba(4, 18, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-logo img {
  height: 64px;
  width: 64px;
  border-radius: 14px;
  transition: transform 0.2s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: 100px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: var(--fg);
}

@media (max-width: 640px) {
  .nav-right { gap: 1rem; }
  .nav-link { display: none; }
}

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 10rem var(--pad-x) 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(27, 143, 252, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(214, 59, 241, 0.06) 0%, transparent 50%),
    var(--bg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-label .dot {
  width: 7px;
  height: 7px;
  background: #2ee06a;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(46, 224, 106, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 11vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title .line {
  display: block;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-title .line-1 { animation-delay: 0.1s; }
.hero-title .line-2 { animation-delay: 0.25s; padding-left: clamp(1rem, 8vw, 7rem); }

/* Override gradient angle for hero title — horizontal spread reads better on short single-line text */
.hero-title .gradient-text {
  background: linear-gradient(90deg, var(--grad-a) 0%, var(--grad-b) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  max-width: 580px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 2.5rem;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.65s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(3, 143, 255, 0.4);
  background: var(--gradient);
  color: var(--fg);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.25rem;
  font-size: 1.05rem;
}

/* ============= HERO STATS ============= */
.hero-stats {
  display: flex;
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  animation: fadeUp 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s both;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.stat-divider {
  width: 1px;
  background: var(--line);
}

/* ============= HERO BG NUMBERS ============= */
.hero-bg-numbers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-num {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(12rem, 28vw, 30rem);
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.015);
  letter-spacing: -0.05em;
  user-select: none;
}

.bg-num-1 {
  top: 5%;
  right: -3%;
}

.bg-num-2 {
  bottom: -8%;
  left: -3%;
}

/* ============= MARQUEE ============= */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.marquee-track span {
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============= WHY SECTION ============= */
.why {
  padding: 8rem var(--pad-x);
  position: relative;
}

.why-inner {
  max-width: 960px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.why-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

.why-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.why-body {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
}

/* ============= FEATURES ============= */
.features {
  padding: 4rem var(--pad-x) 8rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.feature-label {
  margin-bottom: 4rem;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.feature.in-view {
  opacity: 1;
  transform: translateY(0);
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--dim);
  letter-spacing: -0.02em;
}

.feature-content {
  max-width: 620px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.feature-desc {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 700px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============= ABOUT ============= */
.about {
  padding: 8rem var(--pad-x);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.about-body {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.about-signoff {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-top: 2rem;
}

/* ============= FINAL CTA ============= */
.final-cta {
  padding: 10rem var(--pad-x);
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(27, 143, 252, 0.08) 0%, transparent 60%),
    var(--bg);
}

.final-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.final-cta-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

.final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.final-cta-title span {
  display: block;
}

.final-cta-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============= FOOTER ============= */
.footer {
  padding: 5rem var(--pad-x) 2rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.footer-top {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  height: 96px;
  width: 96px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.footer-tag {
  font-size: 1rem;
  color: var(--muted);
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--dim);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ============= LEGAL PAGES ============= */
.legal {
  padding: 8rem var(--pad-x) 6rem;
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.legal .effective {
  font-size: 0.85rem;
  color: var(--dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.legal .intro {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-top: 3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.legal h2 .num {
  font-size: 1rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.legal p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.legal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.legal strong {
  color: var(--fg);
  font-weight: 600;
}

.legal a {
  color: var(--accent);
  border-bottom: 1px solid rgba(3, 143, 255, 0.3);
  transition: border-color 0.2s ease;
}

.legal a:hover {
  border-bottom-color: var(--accent);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 3rem;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--fg);
}

/* ============= ANIMATIONS ============= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============= REDUCED MOTION ============= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}
