:root {
  --bg: #070a0f;
  --bg-elevated: #0d121a;
  --text: #f2f6fa;
  --text-muted: #9aa8b8;
  --blue: #1180b9;
  --blue-deep: #0d5f8c;
  --green: #41d58c;
  --green-soft: rgba(65, 213, 140, 0.18);
  --line: rgba(242, 246, 250, 0.1);
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --radius: 14px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(17, 128, 185, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(65, 213, 140, 0.18), transparent 50%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(17, 128, 185, 0.12), transparent 60%),
    linear-gradient(180deg, #05070b 0%, #070a0f 45%, #0a1018 100%);
  animation: atmosphere-shift 14s ease-in-out infinite alternate;
}

@keyframes atmosphere-shift {
  from {
    filter: hue-rotate(0deg) saturate(1);
    transform: scale(1);
  }
  to {
    filter: hue-rotate(8deg) saturate(1.08);
    transform: scale(1.03);
  }
}

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: opacity 0.25s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand__mark {
  width: 36px;
  height: auto;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.hero__copy {
  max-width: 38rem;
  animation: rise-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__logo {
  width: min(128px, 34vw);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 12px 40px rgba(17, 128, 185, 0.25));
  animation: logo-glow 4.5s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  from {
    filter: drop-shadow(0 10px 28px rgba(17, 128, 185, 0.2));
    transform: translateY(0);
  }
  to {
    filter: drop-shadow(0 16px 48px rgba(65, 213, 140, 0.28));
    transform: translateY(-4px);
  }
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.2vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding: 0.08em 0.04em 0.12em 0;
  overflow: visible;
  background: linear-gradient(120deg, var(--text) 0%, #cfe7f7 45%, var(--green) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__tagline {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.01em;
}

.hero__lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
}

.hero__actions {
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 55%, #0f6f5a 140%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(17, 128, 185, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(65, 213, 140, 0.28);
  background: linear-gradient(135deg, #1590cf 0%, var(--blue) 50%, var(--green) 160%);
}

.btn__arrow {
  transition: transform 0.25s ease;
}

.btn--primary:hover .btn__arrow {
  transform: translateX(4px);
}

.product {
  border-top: 1px solid var(--line);
  padding: 4.5rem 1.5rem 5rem;
  animation: rise-in 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.product__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.product__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.product__title {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product__text {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.product__link {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(17, 128, 185, 0.12), rgba(13, 18, 26, 0.7));
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  max-width: 100%;
}

.product__link:hover {
  border-color: rgba(65, 213, 140, 0.45);
  transform: translateY(-2px);
  background: linear-gradient(160deg, rgba(17, 128, 185, 0.2), rgba(65, 213, 140, 0.08));
}

.product__logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex-shrink: 0;
}

.product__link strong {
  display: block;
  font-size: 1.05rem;
}

.product__cta {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.product__chevron {
  margin-left: 1.5rem;
  color: var(--green);
  font-size: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .hero__logo,
  .hero__copy,
  .product {
    animation: none;
  }

  .btn--primary:hover,
  .product__link:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .product__link {
    width: 100%;
  }

  .product__chevron {
    margin-left: auto;
  }
}
