:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5f6b7c;
  --line: #d8dee8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --blue: #2563eb;
  --teal: #0f9f8f;
  --red: #e5484d;
  --gold: #c58b16;
  --dark: #102033;
  --shadow: 0 18px 44px rgba(16, 32, 51, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 70px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(216, 222, 232, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.actions,
.nav { display: flex; align-items: center; }

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-size: 14px;
  font-weight: 900;
}

.nav {
  gap: clamp(14px, 2vw, 28px);
  color: #334155;
  font-size: 14px;
}

.actions { gap: 10px; }

.language-select {
  height: 40px;
  max-width: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(229, 72, 77, 0.28);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.12);
}

.button.dark {
  color: #fff;
  background: var(--dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("/site/assets/atp-hero-bg.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 34, 0.92), rgba(10, 20, 34, 0.66) 48%, rgba(10, 20, 34, 0.3)),
    linear-gradient(0deg, rgba(10, 20, 34, 0.42), rgba(10, 20, 34, 0.06));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 36px));
  margin-inline-start: clamp(18px, 8vw, 110px);
  padding: 54px 0 44px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow { color: #8ee4d4; }

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

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.62;
}

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

.version-line {
  min-height: 22px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.promo-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.promo-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(8, 16, 28, 0.52);
  backdrop-filter: blur(12px);
  line-height: 1.48;
}

.promo-line strong {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #fff;
  background: var(--red);
  font-size: 14px;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-head {
  width: min(820px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section h2,
.trial-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.core-section,
.pricing-section { background: var(--white); }

.feature-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto 24px;
}

.feature-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
}

.feature-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.feature-shot h3 {
  margin: 18px 18px 8px;
  font-size: 20px;
  line-height: 1.22;
}

.feature-shot p {
  min-height: 86px;
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
  line-height: 1.62;
}

.core-grid,
.pricing-grid {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 18px;
}

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

.core-card,
.price,
.reward-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.core-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.core-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--blue);
}

.core-card.accent-teal::before { background: var(--teal); }
.core-card.accent-red::before { background: var(--red); }
.core-card.accent-gold::before { background: var(--gold); }

.card-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
  font-size: 14px;
}

.core-card h3,
.price h3,
.reward-list strong {
  display: block;
  margin: 20px 0 10px;
  font-size: 21px;
  line-height: 1.24;
}

.core-card p,
.price p,
.trial-copy p,
.reward-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.video-section { background: #e9edf3; }

.video-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: stretch;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.video-points {
  display: grid;
  align-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-points li {
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #fff;
  padding: 15px 16px;
  color: #2b3547;
  line-height: 1.55;
}

.trial-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  background: var(--dark);
  color: #fff;
}

.trial-copy {
  width: min(560px, 100%);
}

.trial-copy .eyebrow { color: #8ee4d4; }

.trial-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
}

.trial-copy .button { margin-top: 24px; }

.reward-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.reward-list article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.reward-list strong {
  margin-top: 0;
  color: #fff;
}

.reward-list p { color: rgba(255, 255, 255, 0.72); }

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

.price.featured {
  border-color: rgba(15, 159, 143, 0.55);
  box-shadow: var(--shadow);
}

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

.amount span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #dce4ef;
  background: #0b1422;
}

[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(10, 20, 34, 0.92), rgba(10, 20, 34, 0.66) 48%, rgba(10, 20, 34, 0.3)),
    linear-gradient(0deg, rgba(10, 20, 34, 0.42), rgba(10, 20, 34, 0.06));
}

[dir="rtl"] .video-points li {
  border-left: 0;
  border-right: 4px solid var(--teal);
  border-radius: 8px 0 0 8px;
}

@media (max-width: 1060px) {
  .nav { display: none; }
  .core-grid,
  .feature-showcase,
  .video-shell,
  .trial-section,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .core-card { min-height: 0; }
  .feature-shot p { min-height: 0; }
}

@media (max-width: 720px) {
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .brand { flex: 1 1 100%; }
  .actions { width: 100%; }
  .language-select,
  .actions .button {
    flex: 1 1 0;
    min-width: 0;
  }
  .hero {
    min-height: auto;
  }
  .hero-inner {
    width: min(100% - 32px, 760px);
    margin-inline-start: 16px;
    padding: 42px 0 34px;
  }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 20, 34, 0.97), rgba(10, 20, 34, 0.78));
  }
  h1 { font-size: 38px; }
  .hero-copy { display: none; }
  .version-line {
    margin-top: 12px;
    font-size: 12px;
  }
  .promo-lines,
  .reward-list {
    grid-template-columns: 1fr;
  }
  .promo-lines {
    gap: 8px;
    margin-top: 16px;
  }
  .promo-line {
    min-height: 0;
    padding: 12px;
  }
  .button { width: 100%; }
}
