/* IPTV Xsmart Player — Cinematic Slate website */

:root {
  --navy: #0b161e;
  --slate: #152c39;
  --teal: #56777c;
  --seafoam: #98bdbc;
  --mist: #d6dbdb;
  --live: #e85d5d;
  --gold: #c4a574;
  --emerald: #7eb8a2;
  --glass: rgba(152, 189, 188, 0.06);
  --glass-border: rgba(152, 189, 188, 0.14);
  --max-width: 1120px;
  --radius: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--mist);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--seafoam);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #b8d4d3;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "DM Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--mist);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: rgba(214, 219, 219, 0.82);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: rgba(214, 219, 219, 0.82);
}

li + li {
  margin-top: 0.4rem;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 22, 30, 0.82);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--mist);
  font-weight: 700;
  font-family: "Sora", sans-serif;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand span {
  font-size: 1.05rem;
}

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

.nav a {
  color: rgba(214, 219, 219, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--seafoam);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--seafoam);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(152, 189, 188, 0.25);
}

.btn-primary:hover {
  background: #b0d0cf;
  color: var(--navy);
}

.btn-secondary {
  background: var(--glass);
  color: var(--mist);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(152, 189, 188, 0.12);
  color: var(--mist);
}

.btn-store {
  background: var(--slate);
  color: var(--mist);
  border: 1px solid var(--glass-border);
  padding: 0.65rem 1.1rem;
}

.btn-store svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Hero */

.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 0%, rgba(86, 119, 124, 0.35), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(152, 189, 188, 0.15), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(152, 189, 188, 0.12);
  border: 1px solid var(--glass-border);
  color: var(--seafoam);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: min(100%, 280px);
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, var(--slate), #0f1f28);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(152, 189, 188, 0.06) inset;
}

.phone-mockup img {
  border-radius: 26px;
  width: 100%;
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 189, 188, 0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(21, 44, 57, 0.35), transparent);
}

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

.section-header p {
  font-size: 1.05rem;
}

.overline {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seafoam);
  margin-bottom: 0.75rem;
}

/* Feature cards */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(152, 189, 188, 0.28);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(152, 189, 188, 0.12);
  color: var(--seafoam);
  margin-bottom: 1.1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--seafoam);
  color: var(--navy);
  font-weight: 800;
  font-family: "Sora", sans-serif;
  margin-bottom: 1rem;
}

/* Screenshots */

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.screenshot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--slate);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

/* Disclaimer */

.disclaimer {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(21, 44, 57, 0.6);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--gold);
}

.disclaimer h3 {
  color: var(--gold);
}

/* CTA */

.cta {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(21, 44, 57, 0.9), rgba(11, 22, 30, 0.95)),
    radial-gradient(ellipse at top right, rgba(152, 189, 188, 0.12), transparent);
  border: 1px solid var(--glass-border);
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta p {
  max-width: 48ch;
  margin: 0 auto 1.75rem;
}

/* Legal / Privacy page */

.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--teal);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--seafoam);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: var(--mist);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(214, 219, 219, 0.65);
  font-size: 0.9rem;
}

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

.footer-copy {
  color: rgba(214, 219, 219, 0.45);
  font-size: 0.85rem;
}

/* Mobile nav toggle */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--mist);
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .store-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .features-grid,
  .steps,
  .screenshots {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(11, 22, 30, 0.98);
    border-bottom: 1px solid var(--glass-border);
  }

  .nav.open {
    display: flex;
  }

  .site-header .container {
    position: relative;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3rem;
  }

  .btn-store span {
    font-size: 0.85rem;
  }
}
