:root {
  --background: hsl(214, 69%, 97%);
  --foreground: hsl(208, 62%, 16%);
  --card: hsl(0, 0%, 100%);
  --muted: hsl(214, 15%, 83%);
  --muted-foreground: hsl(0, 0%, 31%);
  --accent: hsla(214, 58%, 92%, 0.8);
  --accent-strong: hsla(214, 58%, 92%, 1);
  --primary: hsl(208, 62%, 16%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(174, 60%, 43%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --border: hsl(214, 15%, 83%);
  --destructive: hsl(8, 100%, 68%);
  --hero-gradient: linear-gradient(135deg, hsl(208, 62%, 16%), hsl(174, 60%, 43%));
  --card-shadow: 0 10px 30px hsla(208, 62%, 16%, 0.08);
  --radius: 0.75rem;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--background);
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

main {
  margin-top: 64px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(244, 249, 253, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.navigation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  height: 32px;
  width: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background-color: var(--accent-strong);
  color: var(--foreground);
}

.badge-secondary {
  background-color: hsla(174, 60%, 43%, 0.12);
  color: var(--secondary);
}

.gradient-text {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 20px hsla(208, 62%, 16%, 0.15);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px hsla(208, 62%, 16%, 0.18);
}

.button-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
  box-shadow: none;
}

.button-outline:hover,
.button-outline:focus-visible {
  background: hsla(214, 69%, 97%, 0.6);
}

.button-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 10px 20px hsla(174, 60%, 43%, 0.2);
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 8rem 1.5rem 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  opacity: 0.05;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin: 1rem 0 1.5rem;
  font-weight: 700;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.hero .info-box {
  background: rgba(228, 238, 249, 0.9);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  box-shadow: var(--card-shadow);
}

.notify {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.notify-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notify-input {
  flex: 1;
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  background: var(--card);
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-input:focus-visible {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px hsla(174, 60%, 43%, 0.15);
}

.notify-message {
  font-size: 0.85rem;
  color: var(--secondary);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.notify-message.error {
  color: var(--destructive);
}

.notify-message.pending {
  color: var(--foreground);
}

.notify-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .bubble {
  position: absolute;
  background: hsla(174, 60%, 43%, 0.14);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero .bubble:first-of-type {
  width: 140px;
  height: 140px;
  top: 120px;
  left: 8%;
}

.hero .bubble:last-of-type {
  width: 200px;
  height: 200px;
  bottom: 120px;
  right: 10%;
}

.section {
  padding: 6rem 0;
}

.section-muted {
  background: hsla(214, 69%, 97%, 0.6);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2.5rem;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px hsla(208, 62%, 16%, 0.14);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: hsla(208, 62%, 16%, 0.08);
  margin-bottom: 1rem;
}

.contact-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-text {
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-columns {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-brand p {
  color: var(--muted-foreground);
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.footer-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-hero {
  text-align: center;
}

.news-hero p {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--muted-foreground);
}

.news-list {
  display: grid;
  gap: 2.5rem;
}

.news-item {
  padding: 2.5rem;
}

.news-item header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.category-badge {
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.category-product {
  background: hsla(208, 62%, 16%, 0.1);
  color: var(--primary);
}

.category-company {
  background: hsla(142, 71%, 45%, 0.12);
  color: hsl(142, 71%, 35%);
}

.category-partnership {
  background: hsla(221, 83%, 53%, 0.12);
  color: hsl(221, 83%, 45%);
}

.category-milestone {
  background: hsla(261, 73%, 60%, 0.12);
  color: hsl(261, 63%, 45%);
}

.news-item h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.news-item .excerpt {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.news-item .content {
  color: var(--muted-foreground);
}

.legal-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.legal-grid {
  display: grid;
  gap: 2rem;
}

.legal-grid h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.legal-grid ul {
  margin: 0.75rem 0 0 1.25rem;
  padding: 0;
  color: var(--muted-foreground);
}

.legal-grid li + li {
  margin-top: 0.4rem;
}

.legal-footer {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  margin-top: 3rem;
}

.signin-wrapper {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.form-card {
  max-width: 420px;
  width: 100%;
  padding: 2.5rem;
}

.form-card h1 {
  margin: 0 0 0.75rem;
  text-align: center;
}

.form-card p {
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.95rem;
  font-weight: 600;
}

.input {
  border-radius: 0.65rem;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  background: var(--card);
  color: var(--foreground);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus-visible {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px hsla(174, 60%, 43%, 0.15);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-center {
  text-align: center;
}

.form-links {
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.form-links a {
  color: var(--secondary);
}

.demo-hero {
  text-align: center;
  padding: 5rem 0 3rem;
}

.demo-hero p {
  color: var(--muted-foreground);
  max-width: 760px;
  margin: 1.5rem auto 0;
}

.video-card {
  overflow: hidden;
  padding: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card header {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.video-meta {
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.demo-cta {
  text-align: center;
  margin-top: 4rem;
}

.demo-cta p {
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0.75rem auto 2rem;
}

.demo-cta .button {
  min-width: 200px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--foreground);
}

.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: hsl(0, 0%, 96%);
  padding: 3rem 1.5rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 1rem;
}

.not-found p {
  color: hsl(0, 0%, 35%);
  margin-bottom: 1.5rem;
}

.icon {
  width: 24px;
  height: 24px;
}

.icon-small {
  width: 18px;
  height: 18px;
}

@media (min-width: 640px) {
  .notify-form {
    flex-direction: row;
  }

  .notify-message {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: span 3;
  }

  .news-item header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .video-card header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .video-card header div {
    max-width: 75%;
  }
}

@media (max-width: 767px) {
  .navigation-inner {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    height: auto;
    padding: 0.75rem 0;
  }

  main {
    margin-top: 120px;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .news-item {
    padding: 1.75rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  footer {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 639px) {
  .notify {
    align-items: stretch;
  }

  .hero .info-box {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
  }
}
