:root {
  --bg: #f8f4ec;
  --surface: #fffaf2;
  --ink: #16211f;
  --muted: #596763;
  --line: #e7ddcf;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --mauve: #5b1fa6;
  --mauve-dark: #35105f;
  --warn: #d97706;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(90deg, rgba(36, 14, 78, 0.98), rgba(75, 18, 142, 0.94));
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.image-brand img {
  display: block;
  height: 46px;
  object-fit: contain;
  width: 180px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.main-nav a {
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.hero {
  display: grid;
  min-height: 560px;
  place-items: center;
  padding: 56px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(0, 8, 15, 0.92), rgba(18, 7, 42, 0.62)),
    url("abonnement-atlas-pro-bg.jpg") center/cover;
  color: #ffffff;
}

.hero-content {
  width: min(760px, 100%);
  margin-right: auto;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #88e0d4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.02;
  margin: 0;
  max-width: 920px;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  margin: 0;
}

h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.hero p:not(.eyebrow),
.page-header p {
  color: inherit;
  font-size: 18px;
  margin: 18px 0 0;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--mauve);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--mauve-dark);
}

.button.secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.section,
.page {
  padding: 56px clamp(18px, 5vw, 64px);
}

.section-heading {
  margin-bottom: 24px;
}

.feature-grid,
.pricing-grid,
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid.four-cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.price-card,
.steps article,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-card p,
.price-card p,
.steps p,
.contact-panel p {
  color: var(--muted);
  margin: 0;
}

.page-header {
  background:
    linear-gradient(90deg, rgba(36, 14, 78, 0.92), rgba(75, 18, 142, 0.78)),
    url("abonnement-atlas-pro-bg.jpg") center/cover;
  border-radius: 8px;
  color: #ffffff;
  margin-bottom: 32px;
  padding: clamp(34px, 5vw, 70px);
}

.page-header p {
  color: rgba(255, 255, 255, 0.86);
}

.page-header .eyebrow {
  color: #d8c7ff;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card.highlighted {
  border-color: var(--mauve);
  box-shadow: 0 14px 34px rgba(91, 31, 166, 0.16);
}

.price {
  color: var(--ink) !important;
  font-size: 42px;
  font-weight: 900;
}

.steps article span,
.error-code {
  color: var(--warn);
  font-weight: 900;
}

.steps article span {
  display: inline-block;
  margin-bottom: 16px;
}

.contact-panel {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-details a {
  background: rgba(91, 31, 166, 0.08);
  border: 1px solid rgba(91, 31, 166, 0.16);
  border-radius: 6px;
  color: var(--mauve-dark);
  font-weight: 800;
  padding: 10px 12px;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 12px;
  width: 100%;
}

.not-found {
  display: grid;
  min-height: calc(100vh - 145px);
  place-content: center;
  padding: 56px clamp(18px, 5vw, 64px);
}

.not-found p:not(.error-code) {
  color: var(--muted);
  font-size: 18px;
  margin: 16px 0 0;
  max-width: 620px;
}

.error-code {
  font-size: clamp(64px, 12vw, 150px);
  line-height: 0.9;
  margin: 0 0 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 22px clamp(18px, 5vw, 64px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .pricing-grid,
  .steps,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .pricing-grid.four-cols {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 520px;
  }
}

.home-header {
  align-items: center;
  background: linear-gradient(90deg, rgba(36, 14, 78, 0.96), rgba(75, 18, 142, 0.92));
  color: #ffffff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(170px, 250px) minmax(0, 1fr);
  left: 0;
  padding: 18px clamp(18px, 4vw, 54px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}

.home-header.inner-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: sticky;
}

.logo-mark {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  gap: 8px;
  line-height: 1.05;
  text-decoration: none;
}

.image-logo img,
.footer-logo img {
  display: block;
  height: auto;
  object-fit: contain;
}

.image-logo img {
  max-height: 78px;
  width: clamp(170px, 18vw, 235px);
}

.footer-logo img {
  max-height: 86px;
  width: clamp(210px, 22vw, 280px);
}

.logo-mark strong {
  color: #ff3d31;
}

.logo-tv {
  border: 4px solid #1e93ce;
  border-top-color: #df0c70;
  border-right-color: #97c93d;
  border-bottom-color: #ff6b1a;
  border-radius: 48% 48% 42% 42%;
  display: inline-block;
  height: 72px;
  position: relative;
  width: 88px;
}

.logo-tv::before,
.logo-tv::after {
  background: #df0c70;
  content: "";
  height: 42px;
  position: absolute;
  top: -34px;
  width: 3px;
}

.logo-tv::before {
  left: 24px;
  transform: rotate(-32deg);
}

.logo-tv::after {
  right: 24px;
  transform: rotate(32deg);
}

.home-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.6vw, 24px);
  justify-content: flex-end;
}

.home-nav a,
.cart-total {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
}

.home-nav a:hover {
  color: #7dd3fc;
}

.home-nav a[aria-current="page"] {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.home-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 8, 15, 0.94) 0%, rgba(10, 20, 44, 0.78) 42%, rgba(18, 7, 42, 0.72) 100%),
    url("abonnement-atlas-pro-bg.jpg") center/cover;
  color: #ffffff;
  display: flex;
  min-height: clamp(680px, 78vh, 920px);
  padding: clamp(118px, 12vw, 170px) clamp(20px, 7vw, 132px) clamp(64px, 8vw, 100px);
}

.hero-panel {
  margin-left: clamp(0px, 10vw, 220px);
  max-width: 820px;
}

.home-hero h1 {
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.09;
}

.promo {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  margin: 34px 0 0;
}

.hero-seo {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.8;
  margin: 26px 0 0;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
  max-width: 780px;
}

.hero-keywords span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 10px;
}

.button.light {
  background: #ffffff;
  color: #09131b;
  text-transform: uppercase;
}

.button.outline-light {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
  text-transform: uppercase;
}

.button.dark {
  background: var(--mauve);
  color: #ffffff;
  min-width: 134px;
}

.button.dark:hover {
  background: var(--mauve-dark);
}

.button.blue {
  background: #2586cf;
  color: #ffffff;
  text-transform: uppercase;
}

.home-section,
.vod-section,
.why-section,
.text-columns {
  background: var(--bg);
  padding: 54px clamp(18px, 7vw, 130px);
}

.home-section h2,
.vod-section h2 {
  color: #050505;
  font-size: clamp(30px, 3vw, 44px);
  margin: 0 0 24px;
  text-align: center;
}

.plans-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 1580px;
}

.plan-card {
  background: var(--surface);
  color: #09131b;
  min-height: 675px;
  overflow: hidden;
  padding-bottom: 30px;
  position: relative;
  text-align: center;
}

.plan-head {
  background: linear-gradient(135deg, var(--mauve-dark), var(--mauve));
  color: #ffffff;
  min-height: 98px;
  padding: 20px 14px;
}

.plan-head h3 {
  font-size: 24px;
  margin: 0 0 4px;
}

.plan-head p {
  color: #ffffff;
  font-size: 13px;
  margin: 0;
}

.ribbon {
  background: #ff0b0b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding: 7px 45px;
  position: absolute;
  right: -42px;
  text-transform: uppercase;
  top: 22px;
  transform: rotate(48deg);
  z-index: 2;
}

.plan-price {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 132px;
  padding: 24px 16px 10px;
}

.old-price {
  color: #444444;
  font-size: 15px;
  margin-right: 16px;
  text-decoration: line-through;
}

.plan-price strong {
  color: var(--mauve);
  font-size: 66px;
  line-height: 0.8;
}

.plan-price small {
  font-size: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.plan-price sup {
  font-size: 18px;
  margin-left: 3px;
}

.plan-price > span:last-child {
  align-self: flex-end;
  color: var(--mauve-dark);
  margin: 0 0 8px 4px;
}

.plan-card ul {
  list-style: none;
  margin: 12px auto 28px;
  max-width: 286px;
  padding: 0;
  text-align: left;
}

.plan-card li {
  border-bottom: 1px solid #d7d7d7;
  font-size: 14px;
  padding: 13px 0 13px 26px;
  position: relative;
}

.plan-card li::before {
  border: 2px solid #0b3045;
  border-radius: 50%;
  color: #d97706;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
  height: 15px;
  left: 0;
  line-height: 12px;
  position: absolute;
  text-align: center;
  top: 15px;
  width: 15px;
}

.poster-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.poster-strip img {
  aspect-ratio: 2 / 3;
  display: block;
  height: clamp(320px, 34vw, 560px);
  object-fit: cover;
  width: 100%;
}

.benefits-band {
  background: #f3f5f7;
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 46px clamp(18px, 8vw, 190px) 120px;
  text-align: center;
}

.benefits-band article {
  max-width: 260px;
  margin: 0 auto;
}

.benefit-icon {
  color: #242424;
  display: block;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 20px;
}

.benefits-band h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.benefits-band p {
  color: #111111;
  font-size: 14px;
  line-height: 1.9;
}

.about-section {
  align-items: center;
  background: var(--bg);
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 0.8fr;
  padding: 14px clamp(18px, 9vw, 210px) 46px;
}

.about-copy h2,
.why-section h2,
.text-columns h2 {
  color: #000000;
  font-size: clamp(30px, 3vw, 42px);
  margin: 0 0 24px;
}

.about-copy p,
.why-section p,
.text-columns p {
  color: #111111;
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 20px;
}

.brand-badge {
  display: grid;
  justify-items: center;
  margin: 0 auto;
  width: min(460px, 100%);
}

.brand-badge img {
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(41, 16, 89, 0.22);
  display: block;
  height: auto;
  width: 100%;
}

.why-section {
  display: grid;
  gap: 46px;
  grid-template-columns: 310px 1fr;
  padding-top: 70px;
}

.media-stack {
  display: grid;
  gap: 20px;
}

.media-stack img {
  display: block;
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.media-stack img:nth-child(2) {
  height: 220px;
}

.text-columns {
  display: grid;
  gap: 70px;
  grid-template-columns: 1.15fr 0.85fr;
  padding-bottom: 70px;
}

.whatsapp-float {
  align-items: center;
  background: #33d66b;
  border-radius: 50%;
  bottom: 28px;
  box-shadow: 0 10px 26px rgba(18, 129, 58, 0.28);
  color: #ffffff;
  display: flex;
  font-weight: 900;
  height: 60px;
  justify-content: center;
  position: fixed;
  right: 28px;
  text-decoration: none;
  width: 60px;
  z-index: 40;
}

.whatsapp-float svg {
  fill: #ffffff;
  height: 34px;
  width: 34px;
}

.home-footer {
  background: var(--bg);
  border-top: 1px solid #dddddd;
  color: #111111;
  display: grid;
  gap: 44px;
  grid-template-columns: 1.2fr 0.65fr 0.75fr 0.7fr;
  padding: 72px clamp(18px, 9vw, 210px);
}

.home-footer h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 22px;
}

.home-footer a {
  color: #6f7580;
  display: block;
  font-size: 14px;
  margin: 0 0 10px;
  text-decoration: none;
}

.footer-contact {
  margin-top: 16px;
}

.footer-contact a {
  color: var(--mauve);
  font-weight: 800;
}

.home-footer p {
  color: #111111;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.footer-brand {
  text-align: center;
}

.footer-brand .logo-mark {
  color: #111111;
  justify-content: center;
  margin-bottom: 42px;
}

.footer-brand strong {
  display: block;
  font-size: 20px;
}

.subscribe-form input {
  background: #fafafa;
  border-color: #dcdcdc;
  min-height: 40px;
}

.subscribe-form .button {
  margin-top: 18px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (min-width: 1600px) {
  .home-section,
  .vod-section,
  .why-section,
  .text-columns,
  .about-section,
  .benefits-band,
  .home-footer,
  .page {
    padding-left: max(130px, calc((100vw - 1680px) / 2));
    padding-right: max(130px, calc((100vw - 1680px) / 2));
  }

  .home-hero {
    padding-left: max(132px, calc((100vw - 1680px) / 2));
    padding-right: max(132px, calc((100vw - 1680px) / 2));
  }
}

@media (max-width: 1280px) {
  .home-header {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  }

  .home-nav a,
  .cart-total {
    font-size: 13px;
  }

  .pricing-grid.four-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .home-header {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  }

  .plans-grid,
  .benefits-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section,
  .why-section,
  .text-columns {
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .home-header {
    grid-template-columns: 1fr;
    position: relative;
  }

  .home-header:not(.inner-header) {
    position: relative;
  }

  .home-nav {
    justify-content: flex-start;
  }

  .home-hero {
    min-height: auto;
    padding-top: 72px;
  }

  .hero-panel {
    margin-left: 0;
  }

  .about-section,
  .why-section,
  .text-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-header {
    background: linear-gradient(90deg, rgba(36, 14, 78, 0.98), rgba(75, 18, 142, 0.96));
    grid-template-columns: 1fr;
    position: relative;
  }

  .home-nav {
    gap: 10px 16px;
    justify-content: flex-start;
  }

  .home-nav a,
  .cart-total {
    font-size: 12px;
    min-height: 32px;
  }

  .home-hero {
    min-height: auto;
    padding: 56px 20px;
  }

  .hero-panel {
    margin-left: 0;
  }

  .plans-grid,
  .pricing-grid.four-cols,
  .poster-strip,
  .benefits-band,
  .about-section,
  .why-section,
  .text-columns,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .poster-strip img {
    height: auto;
  }

  .benefits-band {
    padding-bottom: 56px;
  }

  .about-section {
    gap: 32px;
    padding-top: 52px;
  }

  .whatsapp-float {
    bottom: 18px;
    height: 54px;
    right: 18px;
    width: 54px;
  }
}

@media (max-width: 520px) {
  .home-header {
    gap: 14px;
    padding: 14px 16px;
  }

  .home-nav {
    gap: 8px 12px;
  }

  .home-nav a,
  .cart-total {
    font-size: 11px;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .actions .button,
  .plan-card .button,
  .price-card .button,
  .subscribe-form .button {
    width: 100%;
  }

  .home-section,
  .vod-section,
  .why-section,
  .text-columns,
  .about-section,
  .benefits-band,
  .home-footer,
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-keywords span {
    font-size: 12px;
  }

  .plan-price {
    flex-wrap: wrap;
  }

  .plan-price strong {
    font-size: 54px;
  }

  .page-header {
    padding: 28px 18px;
  }
}
