/* OmniMate TV — marketing site (matches license portal palette) */

:root {
  color-scheme: dark;
  --omni-bg: #0f1117;
  --omni-bg-elevated: #161b26;
  --omni-surface: #1c2230;
  --omni-surface-hover: #252d3d;
  --omni-border: #2e3848;
  --omni-text: #e8ecf1;
  --omni-text-muted: #9aa3b2;
  --omni-link: #6eb3ff;
  --omni-link-hover: #9ecaff;
  --omni-accent: #48c774;
  --omni-accent-dim: rgba(72, 199, 116, 0.15);
  --omni-warning: #ffdd57;
  --omni-radius: 10px;
  --omni-max: 1120px;
  --omni-nav-h: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  background: var(--omni-bg);
  color: var(--omni-text);
}

a {
  color: var(--omni-link);
  text-decoration: none;
}

a:hover {
  color: var(--omni-link-hover);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--omni-max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--omni-nav-h);
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--omni-border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--omni-text);
}

.brand:hover {
  color: var(--omni-text);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #48c774 0%, #3273dc 100%);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--omni-text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--omni-text);
}

.nav-cta {
  display: none;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: var(--omni-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--omni-nav-h);
  left: 0;
  right: 0;
  background: var(--omni-bg-elevated);
  border-bottom: 1px solid var(--omni-border);
  padding: 1rem 1.5rem 1.25rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile li + li {
  margin-top: 0.75rem;
}

.nav-mobile a {
  color: var(--omni-text);
  font-size: 1.05rem;
}

@media (min-width: 769px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }

  .nav-burger,
  .nav-mobile {
    display: none !important;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--omni-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--omni-accent);
  color: #0a1a0f;
  border-color: var(--omni-accent);
}

.btn-primary:hover {
  background: #3eb868;
  color: #0a1a0f;
}

.btn-outline {
  background: transparent;
  color: var(--omni-text);
  border-color: var(--omni-border);
}

.btn-outline:hover {
  background: var(--omni-surface);
  color: var(--omni-text);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* —— Hero —— */
.hero {
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(72, 199, 116, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--omni-accent);
  background: var(--omni-accent-dim);
  border: 1px solid rgba(72, 199, 116, 0.35);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  color: var(--omni-text-muted);
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  background: var(--omni-surface);
  border: 1px solid var(--omni-border);
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--omni-border);
}

.hero-mock {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(145deg, #1a2030 0%, #0d1018 100%);
  border: 1px solid var(--omni-border);
  display: grid;
  grid-template-columns: 0.28fr 1fr;
  overflow: hidden;
}

.mock-sidebar {
  background: var(--omni-bg-elevated);
  border-right: 1px solid var(--omni-border);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mock-line {
  height: 6px;
  border-radius: 3px;
  background: var(--omni-border);
}

.mock-line.accent {
  background: var(--omni-accent);
  width: 70%;
}

.mock-main {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-epg-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  flex: 1;
}

.mock-cell {
  border-radius: 4px;
  background: var(--omni-surface-hover);
  min-height: 2rem;
}

.mock-cell.wide {
  grid-column: span 2;
  background: rgba(72, 199, 116, 0.25);
  border: 1px solid rgba(72, 199, 116, 0.4);
}

/* —— Sections —— */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--omni-bg-elevated);
  border-block: 1px solid var(--omni-border);
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--omni-text-muted);
}

/* —— Promo —— */
.promo {
  background: linear-gradient(135deg, rgba(72, 199, 116, 0.12) 0%, rgba(50, 115, 220, 0.08) 100%);
  border: 1px solid rgba(72, 199, 116, 0.3);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.promo h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.promo-stat {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--omni-accent);
  line-height: 1;
  margin: 0.5rem 0;
}

.promo p {
  margin: 0 0 1.25rem;
  color: var(--omni-text-muted);
}

/* —— Features —— */
.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--omni-surface);
  border: 1px solid var(--omni-border);
  border-radius: var(--omni-radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.15s, background 0.15s;
}

.feature-card:hover {
  background: var(--omni-surface-hover);
  border-color: #3a4658;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
  line-height: 1;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--omni-text-muted);
}

/* —— Platforms —— */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.platform-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--omni-surface);
  border: 1px solid var(--omni-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.platform-pill svg {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.85;
}

/* —— Download —— */
.download-grid {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.download-card {
  background: var(--omni-surface);
  border: 1px solid var(--omni-border);
  border-radius: var(--omni-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.download-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.download-card p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--omni-text-muted);
}

.download-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--omni-text-muted);
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--omni-border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--omni-text-muted);
  max-width: 28rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--omni-text-muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.4rem;
}

.footer-col a {
  color: var(--omni-text);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--omni-link);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--omni-border);
  font-size: 0.85rem;
  color: var(--omni-text-muted);
  text-align: center;
}

.disclaimer {
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 52rem;
  margin-inline: auto;
}
