/* Variables */
:root {
  --color-bg: #070B14;
  --color-surface: #101827;
  --color-surface-hover: #162238;
  --color-primary: #EC4899;
  --color-primary-hover: #F472B6;
  --color-primary-soft: rgba(236, 72, 153, 0.12);
  --color-primary-pale: #FBCFE8;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-text: #F8FAFC;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;
  --color-button-text: #18040F;
  --container-width: 1180px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 0 0 1px rgba(236, 72, 153, 0.22), 0 24px 70px rgba(236, 72, 153, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

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

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

table {
  border-collapse: collapse;
  width: 100%;
}

/* Base */
body {
  min-height: 100vh;
  color: var(--color-text);
  background:
    radial-gradient(circle at 10% 5%, rgba(236, 72, 153, 0.18), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(249, 168, 212, 0.12), transparent 24%),
    linear-gradient(180deg, #070B14 0%, #0A0E1D 46%, #070B14 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 86px 86px;
  content: "";
  opacity: 0.45;
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, transparent 36%, rgba(236, 72, 153, 0.08) 36%, rgba(236, 72, 153, 0.08) 37%, transparent 37%),
    linear-gradient(20deg, transparent 0%, transparent 64%, rgba(244, 114, 182, 0.06) 64%, rgba(244, 114, 182, 0.06) 65%, transparent 65%);
  content: "";
  pointer-events: none;
}

::selection {
  color: var(--color-text);
  background: rgba(236, 72, 153, 0.42);
}

/* Layout */
.container {
  width: min(100% - 40px, var(--container-width));
  margin: 0 auto;
}

.section {
  padding: 94px 0;
}

.section-contrast {
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.08), transparent 34%),
    rgba(16, 24, 39, 0.36);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-kicker,
.eyebrow {
  margin-bottom: 12px;
  color: var(--color-primary-hover);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: 64px;
}

h2 {
  max-width: 820px;
  font-size: 42px;
}

h3 {
  font-size: 20px;
}

p {
  color: var(--color-text-secondary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 11, 20, 0.82);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.header-logo {
  width: 152px;
  height: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.footer-links a,
.faq-item a,
.footer-bottom a {
  color: var(--color-primary-hover);
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--color-text);
  background: var(--color-primary-soft);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary-hover);
  outline-offset: 4px;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 92px;
}

.hero-section::before {
  position: absolute;
  top: 10%;
  right: -90px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28), transparent 62%);
  content: "";
  pointer-events: none;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 46px;
  align-items: end;
}

.hero-copy {
  padding-top: 34px;
}

.hero-text {
  max-width: 760px;
  margin-top: 22px;
  font-size: 20px;
}

.hero-badges,
.premium-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span,
.premium-tags span {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--color-primary-pale);
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(249, 168, 212, 0.26);
  border-radius: 999px;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.hero-poster {
  position: relative;
  min-height: 470px;
  padding: 30px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(236, 72, 153, 0.24), rgba(16, 24, 39, 0.72) 42%),
    linear-gradient(180deg, rgba(16, 24, 39, 0.94), rgba(7, 11, 20, 0.82));
  border: 1px solid rgba(249, 168, 212, 0.28);
  border-radius: 30px;
  box-shadow: var(--shadow-glow);
}

.hero-poster::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(249, 168, 212, 0.16);
  border-radius: 22px;
  content: "";
}

.poster-rank {
  position: relative;
  color: var(--color-primary-pale);
  font-size: 104px;
  font-weight: 900;
  line-height: 1;
}

.poster-title {
  position: relative;
  max-width: 280px;
  margin-top: 18px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}

.poster-line {
  position: relative;
  width: 84%;
  height: 2px;
  margin: 30px 0;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

.poster-grid {
  position: relative;
  display: grid;
  gap: 12px;
}

.poster-grid article {
  padding: 16px;
  background: rgba(7, 11, 20, 0.56);
  border: 1px solid rgba(249, 168, 212, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.poster-grid span {
  display: block;
  color: var(--color-text-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.poster-grid strong {
  display: block;
  margin-top: 3px;
}

/* Sections */
.editorial-grid,
.amnezia-grid,
.premium-layout {
  display: grid;
  gap: 34px;
}

.editorial-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.section-intro p + p {
  margin-top: 16px;
}

.block-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.block-card-large {
  grid-column: span 2;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(249, 168, 212, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  min-width: 900px;
  background: rgba(16, 24, 39, 0.74);
}

.comparison-table th,
.comparison-table td {
  padding: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.comparison-table th {
  color: var(--color-text);
  background: rgba(236, 72, 153, 0.14);
}

.comparison-table td {
  color: var(--color-text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.highlight-row {
  background: rgba(236, 72, 153, 0.1);
}

.amnezia-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.amnezia-card,
.premium-panel {
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(16, 24, 39, 0.7)),
    rgba(16, 24, 39, 0.62);
  border: 1px solid rgba(249, 168, 212, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.amnezia-card p + p {
  margin-top: 16px;
}

.proof-list,
.use-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.proof-list {
  grid-template-columns: 1fr;
}

.premium-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.use-cases h2 {
  margin-bottom: 20px;
}

.use-grid,
.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Cards */
.block-card,
.proof-list article,
.use-grid article,
.faq-item {
  padding: 24px;
  background: linear-gradient(145deg, rgba(16, 24, 39, 0.86), rgba(22, 34, 56, 0.56));
  border: 1px solid rgba(249, 168, 212, 0.16);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.block-card:nth-child(2),
.use-grid article:nth-child(3),
.proof-list article:nth-child(2) {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(16, 24, 39, 0.66));
}

.block-card:hover,
.proof-list article:hover,
.use-grid article:hover,
.faq-item:hover {
  border-color: rgba(249, 168, 212, 0.36);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.card-index {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--color-primary-pale);
  background: var(--color-primary-soft);
  border: 1px solid rgba(249, 168, 212, 0.24);
  border-radius: 14px;
  font-weight: 900;
}

.block-card p,
.proof-list p,
.use-grid p,
.faq-item p {
  margin-top: 12px;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: var(--color-button-text);
  background: var(--color-primary);
  box-shadow: 0 18px 46px rgba(236, 72, 153, 0.28);
}

.button-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 0 0 1px rgba(249, 168, 212, 0.25), 0 24px 62px rgba(236, 72, 153, 0.36);
}

.button-secondary {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(249, 168, 212, 0.28);
}

.button-secondary:hover {
  color: var(--color-primary-pale);
  background: var(--color-primary-soft);
  border-color: rgba(249, 168, 212, 0.48);
}

/* FAQ */
.faq-item a {
  color: var(--color-primary-hover);
  font-weight: 800;
}

.faq-item a:hover {
  color: var(--color-primary-pale);
}

/* Footer */
.site-footer {
  padding: 54px 0 26px;
  background: rgba(5, 8, 15, 0.92);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 42px;
}

.footer-logo {
  width: 172px;
  height: auto;
}

.footer-brand p {
  max-width: 410px;
  margin-top: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-title {
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.12;
}

.footer-links a {
  min-height: 30px;
  color: var(--color-text-secondary);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--color-primary-pale);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 1080px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-layout,
  .editorial-grid,
  .amnezia-grid,
  .premium-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    min-height: 380px;
  }
}

@media (max-width: 740px) {
  .container {
    width: min(100% - 28px, var(--container-width));
  }

  .section {
    padding: 64px 0;
  }

  .hero-section {
    padding: 58px 0 66px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-text {
    font-size: 17px;
  }

  .header-cta {
    width: 100%;
  }

  .main-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .hero-actions {
    display: grid;
  }

  .block-list,
  .use-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .block-card-large {
    grid-column: auto;
  }

  .amnezia-card,
  .premium-panel,
  .block-card,
  .proof-list article,
  .use-grid article,
  .faq-item {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 25px;
  }

  .header-logo {
    width: 138px;
  }

  .hero-badges span,
  .premium-tags span {
    width: 100%;
  }

  .hero-poster {
    min-height: 330px;
    padding: 22px;
    border-radius: 22px;
  }

  .poster-rank {
    font-size: 74px;
  }

  .poster-title {
    font-size: 27px;
  }
}
