:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #101526;
  --primary: #4f46e5;
  --primary-soft: rgba(79, 70, 229, 0.1);
  --accent: #22d3ee;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.6);
}

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

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #020617 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.92),
    rgba(2, 6, 23, 0.86),
    transparent
  );
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, #111827, #020617);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.6);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 0.2s ease-out;
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-control {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

.language-control select {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text);
  padding: 4px 8px;
  font-size: 0.8rem;
}

.btn {
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--muted);
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.75);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* SECTIONS BASE */
.section {
  padding: 72px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #020617 0, #020617 55%, #050816 100%);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin: 8px 0 10px;
}

.section-lead {
  color: var(--muted);
  font-size: 0.98rem;
}

.section-eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 80px;
  background: radial-gradient(
    circle at 10% 0,
    rgba(56, 189, 248, 0.08),
    transparent 55%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.7),
      rgba(15, 23, 42, 0.6),
      rgba(15, 23, 42, 0.7)
    ),
    radial-gradient(circle at 80% 10%, rgba(79, 70, 229, 0.35), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(15, 23, 42, 0.5), #020617);
  z-index: 0;
  opacity: 0.62;
}

.hero-video-layer {
  position: absolute;
  inset: -20px;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero-video-layer video:first-of-type {
  opacity: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin: 10px 0 12px;
  color: #f9fafb;
}

.hero-title-main {
  display: inline-block;
}

.hero-subtitle {
  color: #e5e7eb;
  font-size: 0.98rem;
  max-width: 480px;
}

.hero-meta {
  color: #e5e7eb;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(145deg, #020617, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.96);
  overflow: hidden;
}

.hero-card-header {
  padding: 14px 18px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at left, rgba(79, 70, 229, 0.35), #020617);
}

.hero-card-body {
  padding: 18px 18px 20px;
}

.hero-card-title {
  margin: 0 0 8px;
  font-weight: 600;
}

.hero-card-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pill {
  font-size: 0.75rem;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.pill-good {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(34, 197, 94, 0.7);
}

.pill-soon {
  background: rgba(79, 70, 229, 0.16);
  border-color: rgba(79, 70, 229, 0.8);
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.hero-orbit-1 {
  inset: -24px -34px auto auto;
}

.hero-orbit-2 {
  inset: auto -46px -36px auto;
}

/* VALUE GRID */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-item {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background 0.18s ease-out;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.85);
  border-color: rgba(56, 189, 248, 0.6);
  background: radial-gradient(circle at top left, #020617, #020617);
}

.value-item h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1rem;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* FEATURES GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background 0.18s ease-out;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.9);
  border-color: rgba(79, 70, 229, 0.8);
  background: radial-gradient(circle at top left, #020617, #020617);
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* AI AVATAR SECTION */
.ai-avatar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: center;
}

.bullet-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.ai-avatar-visual {
  display: flex;
  justify-content: center;
}

.ai-avatar-card {
  position: relative;
  border-radius: 24px;
  padding: 18px 18px 20px;
  background: linear-gradient(140deg, #020617, #020617, #020617);
  border: 1px solid rgba(79, 70, 229, 0.7);
  box-shadow: var(--shadow-soft);
  max-width: 320px;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.ai-avatar-card.is-tilting {
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.95);
}

.ai-avatar-avatar-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}

.ai-avatar-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(34, 211, 238, 0.7);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 60%);
  opacity: 0;
}

.ai-avatar-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22d3ee, #4f46e5);
  border: 3px solid rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.4);
  position: relative;
  z-index: 1;
}

.ai-avatar-badge {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ai-avatar-content {
  margin-top: 12px;
}

.ai-avatar-line {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.ai-avatar-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 20px 18px 22px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background 0.18s ease-out;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.92);
  border-color: rgba(79, 70, 229, 0.85);
  background: radial-gradient(circle at top, #020617, #020617);
}

.step:hover .step-number {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #f9fafb;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(79, 70, 229, 0.8);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* PLATFORMS */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.platform-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  padding: 20px 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out, background 0.18s ease-out;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.9);
  border-color: rgba(34, 211, 238, 0.8);
  background: radial-gradient(circle at top left, #020617, #020617);
}

.platform-card:hover .link-muted {
  color: var(--accent);
}

.platform-card h3 {
  margin: 0 0 6px;
}

.platform-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.platform-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-muted {
  font-size: 0.85rem;
  color: var(--muted);
}

.link-muted:hover {
  color: var(--accent);
}

/* CONTACT (last section with seamless background) */
#contact {
  position: relative;
  background: radial-gradient(circle at top, #020617 0, #020617 55%, #020617 100%);
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/seamless.webp");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.contact-layout {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.contact-copy {
  max-width: 640px;
  text-align: center;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 18px 0 24px;
  background: radial-gradient(circle at top, #020617 0, #020617 55%, #020617 100%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-brand p {
  margin: 2px 0 0;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* OBSERVER ANIMATIONS */
.js-observe {
  opacity: 0;
  transform: translateY(18px);
}

.js-observe.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .value-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-avatar-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .platforms-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 54px 0;
  }

  .hero-inner {
    gap: 28px;
  }

  .value-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

