@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f6faff;
  --surface: #ffffff;
  --surface-strong: #edf6ff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --text: #0d243d;
  --muted: #607187;
  --line: #d9e8f7;
  --brand: #0b5fc1;
  --brand-strong: #07376f;
  --brand-deep: #071b36;
  --brand-soft: #e8f3ff;
  --accent: #18a86f;
  --accent-strong: #0f8759;
  --green-button: #18a86f;
  --green-button-strong: #0f8759;
  --green-button-contrast: #ffffff;
  --gold: #e7a52a;
  --whatsapp: #25d366;
  --whatsapp-contrast: #ffffff;
  --blue-button: #0b5fc1;
  --blue-button-strong: #07376f;
  --blue-button-contrast: #ffffff;
  --shadow: 0 18px 44px rgba(16, 74, 139, 0.12);
  --shadow-strong: 0 30px 76px rgba(9, 44, 88, 0.22);
  --radius: 22px;
  --radius-small: 14px;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-button: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #07111f;
    --surface: #0d1d30;
    --surface-strong: #102844;
    --surface-glass: rgba(13, 29, 48, 0.86);
    --text: #edf7ff;
    --muted: #a9b9ca;
    --line: #204364;
    --brand: #78bcff;
    --brand-strong: #b5dcff;
    --brand-deep: #e3f2ff;
    --brand-soft: #112a46;
    --accent: #55d99f;
    --accent-strong: #74efb9;
    --green-button: #8ce9b8;
    --green-button-strong: #42cf8a;
    --green-button-contrast: #062318;
    --gold: #f4c363;
    --whatsapp: #73e89f;
    --whatsapp-contrast: #062318;
    --blue-button: #1b6ed6;
    --blue-button-strong: #0a3b76;
    --blue-button-contrast: #ffffff;
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 30px 76px rgba(0, 0, 0, 0.46);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1d30;
  --surface-strong: #102844;
  --surface-glass: rgba(13, 29, 48, 0.86);
  --text: #edf7ff;
  --muted: #a9b9ca;
  --line: #204364;
  --brand: #78bcff;
  --brand-strong: #b5dcff;
  --brand-deep: #e3f2ff;
  --brand-soft: #112a46;
  --accent: #55d99f;
  --accent-strong: #74efb9;
  --green-button: #8ce9b8;
  --green-button-strong: #42cf8a;
  --green-button-contrast: #062318;
  --gold: #f4c363;
  --whatsapp: #73e89f;
  --whatsapp-contrast: #062318;
  --blue-button: #1b6ed6;
  --blue-button-strong: #0a3b76;
  --blue-button-contrast: #ffffff;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  --shadow-strong: 0 30px 76px rgba(0, 0, 0, 0.46);
}

:root[data-theme="light"] {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 4%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 26rem),
    radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -90px;
  z-index: 100;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-glass);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-strong);
  min-width: max-content;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 6px;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(10, 66, 129, 0.12);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-mark {
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.34),
      0 0 26px rgba(255, 255, 255, 0.5),
      0 18px 38px rgba(0, 0, 0, 0.28);
  }
}

:root[data-theme="dark"] .brand-mark {
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 26px rgba(255, 255, 255, 0.5),
    0 18px 38px rgba(0, 0, 0, 0.28);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--brand-strong);
  border-color: var(--accent);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.nav-toggle {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.theme-toggle {
  width: 46px;
  height: 46px;
}

.theme-toggle:hover,
.theme-toggle:focus,
.nav-toggle:hover,
.nav-toggle:focus {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--shadow);
}

.theme-icon {
  width: 22px;
  height: 22px;
}

.theme-icon-night {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-day {
    display: none;
  }

  :root:not([data-theme="light"]) .theme-icon-night {
    display: block;
  }
}

:root[data-theme="dark"] .theme-icon-day {
  display: none;
}

:root[data-theme="dark"] .theme-icon-night {
  display: block;
}

:root[data-theme="light"] .theme-icon-day {
  display: block;
}

:root[data-theme="light"] .theme-icon-night {
  display: none;
}

.access-app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
  color: var(--blue-button-contrast);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(11, 95, 193, 0.2);
}

.access-app-button:hover,
.access-app-button:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle span + span {
  margin-top: 6px;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 82%, transparent), transparent),
    var(--bg);
}

.section-heading {
  max-width: 790px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.hero h1,
.device-grid h2,
.platform-grid h2,
.ai-showcase h2,
.login-card h2,
.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-heading h2,
.device-grid h2,
.platform-grid h2,
.ai-showcase h2,
.login-card h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-heading p,
.device-grid p,
.platform-grid p,
.ai-showcase p,
.login-card p {
  color: var(--muted);
  font-size: 18px;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--brand-soft) 82%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 80% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    radial-gradient(circle at 8% 82%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 30%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 64px;
  padding: 42px 0 32px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 94px);
}

.hero-lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 23px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button-primary {
  background: linear-gradient(135deg, var(--green-button), var(--green-button-strong));
  color: var(--green-button-contrast);
}

.button-secondary,
.button-outline {
  background: var(--surface);
  color: var(--brand-strong);
  border-color: var(--line);
}

.button-secondary.light {
  background: transparent;
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.button-telegram {
  background: #229ed9;
  color: #ffffff;
}

.button-email {
  background: linear-gradient(135deg, #ffffff, #dff0ff);
  color: #071e3d;
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 12px 28px rgba(120, 188, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.36);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-contrast);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.doctor-stage {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: end center;
}

.doctor-stage::before {
  content: "";
  position: absolute;
  width: min(94%, 470px);
  aspect-ratio: 1;
  bottom: 24px;
  border-radius: 42% 58% 54% 46%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 76%, white 24%), var(--brand-strong));
  box-shadow: var(--shadow-strong);
}

.doctor-stage::after {
  content: "";
  position: absolute;
  width: min(82%, 390px);
  aspect-ratio: 1;
  bottom: 68px;
  border: 1px solid color-mix(in srgb, var(--surface) 58%, transparent);
  border-radius: 50%;
}

.doctor-stage img {
  position: relative;
  z-index: 2;
  width: min(92%, 430px);
  filter: drop-shadow(0 22px 38px rgba(4, 24, 49, 0.28));
}

.floating-proof {
  position: absolute;
  z-index: 3;
  min-width: 146px;
  padding: 15px 17px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.proof-top {
  top: 70px;
  right: 0;
}

.proof-bottom {
  bottom: 82px;
  left: 0;
}

.floating-proof strong,
.floating-proof span {
  display: block;
}

.floating-proof strong {
  color: var(--brand-strong);
  font-size: 25px;
  line-height: 1;
}

.floating-proof span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.stats-grid,
.feature-grid,
.review-grid,
.pricing-grid,
.device-list,
.footer-grid {
  display: grid;
  gap: 18px;
}

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

.stats-grid article,
.feature-grid article,
.review-grid article,
.price-card,
.device-list article,
.tick-list,
.ai-stat-card article,
.login-card,
.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stats-grid article {
  padding: 24px 18px;
}

.stats-grid strong {
  display: block;
  color: var(--brand-strong);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 900;
}

.stats-grid p,
.feature-grid p,
.price-card li,
.review-grid p,
.device-list span,
.tick-list li {
  color: var(--muted);
}

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

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-strong);
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--green-button);
  color: var(--green-button-contrast);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0;
  padding-right: 110px;
  color: var(--text);
  font-size: 24px;
}

.duration {
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.price {
  margin: 0 0 20px;
  color: var(--brand-strong);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-card ul {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li,
.tick-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  font-weight: 800;
  line-height: 1.35;
}

.price-card li::before,
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.price-card .button {
  width: 100%;
}

.price-card .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  padding: 13px 20px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), color-mix(in srgb, var(--accent) 10%, var(--surface)));
  color: var(--brand-strong);
  border: 2px solid color-mix(in srgb, var(--brand) 48%, var(--line));
  border-radius: 999px;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 13%, transparent);
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.price-card .text-link::after {
  content: " →";
}

.price-card .text-link:hover,
.price-card .text-link:focus {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
  color: var(--blue-button-contrast);
  border-color: transparent;
  box-shadow: var(--shadow);
}

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

.feature-grid article,
.review-grid article {
  padding: 30px;
}

.feature-grid h3,
.review-grid strong,
.device-list article {
  color: var(--text);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.feature-grid p,
.review-grid p {
  margin: 0;
}

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

.stars {
  margin-bottom: 14px;
  color: var(--gold);
  letter-spacing: 1px;
}

.review-grid strong,
.review-grid span {
  display: block;
}

.review-grid strong {
  margin-top: 18px;
}

.review-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.device-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 78%, transparent), transparent),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.device-grid,
.platform-grid,
.ai-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.device-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.device-list article {
  padding: 15px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
  font-size: 18px;
}

.device-list span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.usmle-platform-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent), transparent 52%),
    var(--bg);
}

.tick-list {
  margin: 0;
  padding: 30px;
  list-style: none;
}

.tick-list li:last-child {
  margin-bottom: 0;
}

.ai-showcase {
  align-items: stretch;
}

.ai-copy {
  position: relative;
  padding: 42px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(8, 56, 118, 0.96), rgba(13, 168, 121, 0.88)),
    var(--brand-strong);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-strong);
}

.ai-copy::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -80px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.ai-copy h2,
.ai-copy p,
.ai-copy .eyebrow {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.ai-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.ai-stat-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ai-stat-card article {
  padding: 16px 12px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
  text-align: center;
}

.ai-stat-card strong {
  display: block;
  color: var(--brand-strong);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.ai-stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.login-section {
  padding-top: 36px;
}

.login-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--brand-soft) 70%, transparent)),
    var(--surface);
}

.login-card > div:first-child {
  max-width: 680px;
}

.site-footer {
  background: #071e3d;
  color: #eaf4ff;
  padding: 60px 0 28px;
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer .brand-mark {
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.18);
}

.site-footer .brand small,
.site-footer p {
  color: rgba(234, 244, 255, 0.74);
}

.footer-grid {
  grid-template-columns: 1.35fr repeat(3, minmax(0, 0.7fr));
  align-items: start;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 9px 0;
  color: rgba(234, 244, 255, 0.78);
  font-weight: 750;
}

.footer-grid a:not(.brand):hover {
  color: #ffffff;
}

.footer-brand p {
  max-width: 320px;
}

.footer-support {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.footer-contact-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.footer-disclaimer {
  max-width: 850px;
  margin: 16px auto 0;
  color: rgba(234, 244, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 16px;
}

.footer-socials a {
  display: inline-grid !important;
  align-items: center;
  justify-content: center;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  margin: 0 !important;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(234, 244, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-socials a:hover,
.footer-socials a:focus {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-socials .social-youtube:hover,
.footer-socials .social-youtube:focus {
  background: #ff0000;
  border-color: #ff0000;
}

.footer-socials .social-telegram:hover,
.footer-socials .social-telegram:focus {
  background: #229ed9;
  border-color: #229ed9;
}

.footer-socials .social-instagram:hover,
.footer-socials .social-instagram:focus {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-socials .social-whatsapp:hover,
.footer-socials .social-whatsapp:focus {
  background: #25d366;
  border-color: #25d366;
  color: #062318;
}

.footer-bottom {
  margin-top: 24px;
  font-size: 14px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 14px 23px 14px 16px;
  background: linear-gradient(135deg, var(--whatsapp), var(--green-button-strong));
  color: var(--whatsapp-contrast);
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow:
    0 22px 52px rgba(18, 164, 74, 0.46),
    0 0 34px rgba(37, 211, 102, 0.46);
  font-size: 16px;
  font-weight: 800;
  isolation: isolate;
  animation: whatsapp-pulse 1.25s ease-in-out infinite;
}

.floating-whatsapp::before,
.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border: 2px solid rgba(37, 211, 102, 0.62);
  border-radius: inherit;
  opacity: 0;
  animation: whatsapp-wave 1.9s ease-out infinite;
}

.floating-whatsapp::after {
  animation-delay: 0.55s;
}

.floating-whatsapp-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  background: #ffffff;
  color: #16a34a;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(20, 169, 79, 0.08),
    0 0 20px rgba(255, 255, 255, 0.46);
}

.floating-whatsapp-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
  transform: translateY(-3px);
  animation-play-state: paused;
}

.floating-whatsapp:hover::before,
.floating-whatsapp:hover::after,
.floating-whatsapp:focus::before,
.floating-whatsapp:focus::after {
  animation-play-state: paused;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 22px 52px rgba(18, 164, 74, 0.46),
      0 0 34px rgba(37, 211, 102, 0.46);
  }

  50% {
    transform: translateY(-3px) scale(1.035);
    box-shadow:
      0 28px 62px rgba(18, 164, 74, 0.66),
      0 0 54px rgba(37, 211, 102, 0.72);
  }
}

@keyframes whatsapp-wave {
  0% {
    opacity: 0.72;
    transform: scale(0.86);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.52);
  }

  72% {
    opacity: 0;
    transform: scale(1.34);
    box-shadow: 0 0 0 22px rgba(37, 211, 102, 0);
  }

  100% {
    opacity: 0;
    transform: scale(1.34);
  }
}

.page-hero {
  padding: 86px 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 80%, transparent), transparent),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(44px, 8vw, 86px);
}

.page-hero p {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.page-content {
  padding: 72px 0;
}

.content-panel {
  padding: 36px;
}

.content-panel h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 28px;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.support-panel,
.faq-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 28px;
  align-items: start;
  padding: 36px;
}

.support-intro-card {
  padding: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent), transparent),
    var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.support-intro-card h2,
.support-form h2,
.faq-group h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
}

.support-intro-card p,
.support-form p,
.faq-intro p {
  color: var(--muted);
}

.support-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.support-mini-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 750;
}

.support-mini-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent);
}

.support-form {
  display: grid;
  gap: 16px;
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field label {
  color: var(--text);
  font-weight: 800;
}

.support-field input,
.support-field textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--surface-strong);
  color: var(--text);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  font: inherit;
  outline: none;
}

.support-field textarea {
  min-height: 150px;
  resize: vertical;
}

.support-field input:focus,
.support-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 13%, transparent);
}

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

.support-status {
  min-height: 24px;
  margin: 0;
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 800;
}

.faq-shell {
  padding: 34px;
}

.faq-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.faq-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.faq-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  background: var(--surface-strong);
  color: var(--brand-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.faq-quick-links a:hover,
.faq-quick-links a:focus {
  background: var(--brand);
  color: #ffffff;
}

.faq-group {
  padding: 28px 0 0;
}

.faq-group + .faq-group {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-item {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--text);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  min-width: 30px;
  place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-strong);
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 12px 0;
  padding-left: 20px;
}

.faq-answer a:not(.button) {
  color: var(--brand-strong);
  font-weight: 800;
}

.legal-page {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 58%, transparent), transparent 38rem),
    var(--bg);
}

.legal-hero {
  padding: 72px 0;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 22px;
  padding: 8px 14px;
  background: var(--surface);
  color: var(--brand-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.legal-toc,
.legal-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-toc {
  position: sticky;
  top: 104px;
  padding: 22px;
}

.legal-toc h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.legal-toc a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.legal-toc a:last-child {
  border-bottom: 0;
}

.legal-toc a:hover,
.legal-toc a:focus {
  color: var(--brand-strong);
}

.legal-panel {
  padding: 34px;
}

.legal-intro {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-note {
  padding: 18px;
  background: color-mix(in srgb, var(--gold) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 42%, var(--line));
  border-radius: 18px;
  color: var(--text);
  font-weight: 600;
}

.legal-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-section h3 {
  margin: 20px 0 8px;
  color: var(--brand-strong);
  font-size: 19px;
  font-weight: 700;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.legal-panel p {
  margin: 0 0 14px;
}

.legal-panel ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-panel li {
  margin-bottom: 8px;
}

.legal-contact {
  padding: 22px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 10%, transparent), transparent),
    var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal-contact strong {
  color: var(--text);
}

.library-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 28rem),
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 84%, transparent), transparent),
    var(--bg);
}

.library-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 28px;
  align-items: center;
}

.library-hero h1 {
  max-width: 680px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.04;
}

.library-hero p {
  max-width: 640px;
  margin-top: 16px;
  font-size: 17px;
}

.library-hero .hero-actions {
  margin-top: 22px;
}

.library-proof-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.library-proof-panel article,
.library-intro-card,
.resource-search-card,
.resource-group,
.library-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.library-proof-panel article {
  padding: 18px;
}

.library-proof-panel strong {
  display: block;
  color: var(--brand-strong);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.library-proof-panel span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-weight: 850;
}

.library-page {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 50%, transparent), transparent 34rem),
    var(--bg);
}

.library-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  margin-bottom: 22px;
}

.library-intro-card h2,
.library-cta h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.library-intro-card p,
.library-cta p {
  color: var(--muted);
}

.device-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.device-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 999px;
  font-weight: 900;
}

.resource-search-card {
  padding: 22px;
  margin-bottom: 18px;
}

.resource-search-card label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 900;
}

.resource-search-card input {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.resource-search-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}

.resource-search-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.resource-jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.resource-jump-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
  color: var(--blue-button-contrast);
  border: 1px solid color-mix(in srgb, var(--brand) 60%, var(--line));
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(11, 95, 193, 0.16);
}

.resource-jump-list a:nth-child(even) {
  background: linear-gradient(135deg, var(--green-button), var(--green-button-strong));
  color: var(--green-button-contrast);
}

.resource-jump-list a:hover,
.resource-jump-list a:focus {
  background: linear-gradient(135deg, var(--green-button), var(--green-button-strong));
  color: var(--green-button-contrast);
  border-color: var(--green-button-strong);
  transform: translateY(-1px);
}

.resource-groups {
  display: grid;
  gap: 16px;
}

.resource-group {
  overflow: hidden;
}

.resource-group summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 24px 26px;
  cursor: pointer;
  list-style: none;
}

.resource-group summary::-webkit-details-marker {
  display: none;
}

.resource-group summary::before {
  content: "↓";
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
  color: var(--blue-button-contrast);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.resource-group[open] summary::before {
  content: "↑";
  background: var(--green-button);
  color: var(--green-button-contrast);
}

.resource-summary-text,
.resource-summary-text span,
.resource-summary-text small {
  display: block;
}

.resource-summary-text span {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.resource-summary-text em {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 9px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.01em;
  vertical-align: middle;
}

.resource-summary-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  padding: 0 26px 26px;
}

.resource-card {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px 12px 38px;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 15px;
  font-weight: 800;
}

.resource-card::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--accent);
  font-weight: 900;
}

.resource-more {
  justify-content: center;
  padding-left: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gold) 20%, transparent), color-mix(in srgb, var(--brand) 8%, transparent)),
    var(--surface);
  color: var(--brand-strong);
  border-color: color-mix(in srgb, var(--gold) 48%, var(--line));
  font-style: italic;
}

.resource-more::before {
  content: "";
}

.resource-card.is-hidden,
.resource-group.is-hidden {
  display: none;
}

.library-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin-top: 32px;
  padding: 38px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent), transparent),
    var(--surface);
}

.library-cta .button {
  grid-column: 1 / -1;
  width: max-content;
}

.library-plan-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(94px, 1fr));
  gap: 10px;
}

.library-plan-strip article {
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
}

.library-plan-strip article.featured {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}

.library-plan-strip span,
.library-plan-strip strong {
  display: block;
}

.library-plan-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.library-plan-strip strong {
  margin-top: 4px;
  color: var(--brand-strong);
  font-size: 28px;
  font-weight: 900;
}

.install-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background:
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 26rem),
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 88%, transparent), transparent),
    var(--bg);
}

.install-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.54fr);
  gap: 32px;
  align-items: center;
}

.install-hero h1,
.buy-extend-hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 7vw, 74px);
}

.install-platform-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow-strong);
}

.install-platform-card span {
  display: grid;
  min-height: 82px;
  place-items: center;
  background: var(--surface-strong);
  color: var(--brand-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  font-weight: 900;
}

.install-page {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 56%, transparent), transparent 32rem),
    var(--bg);
}

.subscription-banner,
.install-shell,
.buy-plan-card,
.buy-support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subscription-banner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 18px 20px;
}

.subscription-banner strong,
.subscription-banner span {
  display: block;
}

.subscription-banner strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}

.subscription-banner span {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}

.install-shell {
  overflow: hidden;
}

.install-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  background: color-mix(in srgb, var(--surface-strong) 74%, var(--surface));
  border-bottom: 1px solid var(--line);
}

.install-tab {
  min-height: 46px;
  padding: 10px 18px;
  background: var(--surface);
  color: var(--brand-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.install-tab:hover,
.install-tab:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.install-tab.is-active {
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
  color: var(--blue-button-contrast);
  border-color: color-mix(in srgb, var(--brand) 58%, var(--line));
}

.install-panel {
  padding: 34px;
}

.install-panel[hidden] {
  display: none;
}

.install-panel-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.install-panel-heading h2,
.buy-plan-card h2,
.buy-support-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.install-panel-heading p:not(.eyebrow),
.windows-guide-card p,
.buy-plan-card p,
.buy-support-card p {
  color: var(--muted);
}

.install-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  position: relative;
  min-height: 58px;
  padding: 17px 18px 17px 60px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  font-weight: 750;
}

.install-steps li::before {
  counter-increment: install-step;
  content: counter(install-step);
  position: absolute;
  left: 18px;
  top: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
  color: var(--blue-button-contrast);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.install-steps strong {
  display: block;
  color: var(--text);
  font-weight: 900;
}

.activation-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-top: 14px;
}

.activation-card input {
  min-height: 52px;
  width: 100%;
  padding: 13px 15px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-weight: 750;
  outline: none;
}

.activation-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}

.activation-card .button {
  white-space: nowrap;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
  color: var(--blue-button-contrast);
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(11, 95, 193, 0.16);
}

.download-button:hover,
.download-button:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 22px;
  background: #020817;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.windows-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.windows-guide-card {
  padding: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.windows-guide-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.buy-extend-hero {
  background:
    radial-gradient(circle at 78% 14%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28rem),
    linear-gradient(135deg, color-mix(in srgb, var(--brand-soft) 86%, transparent), transparent),
    var(--bg);
}

.buy-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.buy-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.buy-plan-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-strong);
}

.buy-plan-card strong {
  display: block;
  margin: 12px 0 14px;
  color: var(--brand-strong);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}

.buy-plan-card p {
  flex: 1;
  margin: 0 0 22px;
  font-weight: 750;
}

.buy-plan-card .button {
  width: 100%;
}

.buy-support-card {
  margin-top: 28px;
  padding: 34px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, transparent), transparent),
    var(--surface);
}

.buy-support-card p {
  max-width: 760px;
}

.purchase-page {
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--brand) 15%, transparent), transparent 28rem),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 58%, transparent), transparent 36rem),
    var(--bg);
}

.purchase-wrapper {
  width: min(880px, 100%);
  margin: 0 auto;
}

.purchase-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
}

.purchase-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 9px;
  background: linear-gradient(135deg, var(--blue-button), var(--blue-button-strong));
}

.purchase-mode-tab {
  min-height: 58px;
  padding: 14px 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border: 0;
  border-radius: 19px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.purchase-mode-tab.is-active {
  background: var(--surface);
  color: var(--brand-strong);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.13);
}

.purchase-body {
  padding: 30px;
}

.purchase-heading h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.purchase-heading p,
.payment-copy,
.selected-country-box {
  color: var(--muted);
}

.purchase-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 24px 0;
}

.purchase-plan-card {
  min-height: 178px;
  padding: 18px;
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.purchase-plan-card:hover,
.purchase-plan-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.purchase-plan-card.is-active {
  background: color-mix(in srgb, var(--brand-soft) 64%, var(--surface));
  border-color: var(--brand);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--brand) 18%, transparent);
}

.purchase-plan-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  background: var(--blue-button);
  color: var(--blue-button-contrast);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.purchase-plan-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.purchase-plan-card strong {
  display: block;
  color: var(--brand-strong);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.purchase-error {
  display: none;
  margin-bottom: 16px;
  padding: 13px 15px;
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: 15px;
  font-weight: 700;
}

:root[data-theme="dark"] .purchase-error {
  background: rgba(190, 18, 60, 0.15);
  color: #fecdd3;
  border-color: rgba(254, 205, 211, 0.3);
}

.purchase-error.is-visible {
  display: block;
}

.purchase-form {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.purchase-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.purchase-field[hidden],
.purchase-field.is-hidden {
  display: none !important;
}

.purchase-field input {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--line);
  border-radius: 15px;
  font: inherit;
  outline: none;
}

.purchase-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 13%, transparent);
}

.purchase-payment-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.purchase-payment-title h3 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.purchase-summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  background: #071e3d;
  color: #ffffff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.purchase-payment-list {
  display: grid;
  gap: 13px;
}

.purchase-payment-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.purchase-payment-header {
  position: relative;
  width: 100%;
  min-height: 66px;
  padding: 16px 58px 16px 22px;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  text-align: center;
  font: inherit;
  font-size: clamp(18px, 3.1vw, 29px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.purchase-payment-header.crypto {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.purchase-payment-header.preferred {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.purchase-payment-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}

.purchase-payment-body {
  display: none;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.purchase-payment-card.is-active .purchase-payment-body {
  display: block;
  animation: fadeUp 220ms ease;
}

.purchase-payment-body h4 {
  margin: 0 0 8px;
  color: var(--brand-strong);
  font-size: 22px;
  font-weight: 700;
}

.payment-detail-list {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.payment-detail-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.payment-detail-item strong,
.payment-detail-item span {
  display: block;
}

.payment-detail-item strong {
  color: var(--text);
}

.payment-address {
  color: var(--brand-strong);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.copy-btn,
.qr-btn {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 11px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.copy-btn {
  background: #111827;
  color: #ffffff;
}

.qr-btn {
  background: var(--blue-button);
}

.purchase-contact-note,
.preferred-contact-note {
  margin: 16px 0 10px;
  padding: 13px 14px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.purchase-contact-note {
  background: #fff7ed;
  color: #7c2d12;
  border: 1px solid #fed7aa;
}

.preferred-contact-note {
  background: #eff6ff;
  color: #0f3b77;
  border: 1px solid #bfdbfe;
}

:root[data-theme="dark"] .purchase-contact-note {
  background: rgba(245, 158, 11, 0.14);
  color: #fed7aa;
  border-color: rgba(254, 215, 170, 0.26);
}

:root[data-theme="dark"] .preferred-contact-note {
  background: rgba(37, 99, 235, 0.16);
  color: #bfdbfe;
  border-color: rgba(191, 219, 254, 0.28);
}

.purchase-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.purchase-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.purchase-action-btn.wa {
  background: #25d366;
  color: #062318;
}

.purchase-action-btn.tg {
  background: #229ed9;
}

.purchase-action-btn.mail {
  background: #1f2937;
}

.preferred-grid {
  display: grid;
  gap: 12px;
}

.country-list-wrap {
  display: none;
  max-height: 230px;
  overflow-y: auto;
  padding: 8px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.country-list-wrap.is-active {
  display: block;
}

.country-item {
  width: 100%;
  margin-bottom: 6px;
  padding: 11px 13px;
  background: var(--surface);
  color: var(--text);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.country-item:hover,
.country-item.is-active {
  background: var(--blue-button);
  color: var(--blue-button-contrast);
}

.selected-country-box {
  display: none;
  padding: 13px;
  background: color-mix(in srgb, var(--brand-soft) 72%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14px;
}

.selected-country-box.is-active {
  display: block;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 12, 26, 0.62);
  backdrop-filter: blur(8px);
}

.qr-modal[hidden] {
  display: none;
}

.qr-modal-card {
  width: min(380px, 100%);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
  text-align: center;
}

.qr-modal-card h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.qr-modal-card img {
  width: min(260px, 100%);
  margin: 0 auto 18px;
  background: #ffffff;
  border-radius: 18px;
  padding: 10px;
}

@media (max-width: 860px) {
  .library-hero-grid,
  .library-intro-card,
  .library-cta,
  .install-hero-grid,
  .windows-guide-grid,
  .buy-plan-grid,
  .legal-layout,
  .purchase-plan-grid {
    grid-template-columns: 1fr;
  }

  .device-strip {
    justify-content: flex-start;
  }

  .legal-toc {
    position: static;
  }

  .activation-card {
    grid-template-columns: 1fr;
  }

  .subscription-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-detail-item {
    grid-template-columns: 1fr;
  }

  .copy-btn,
  .qr-btn {
    width: 100%;
  }

  .purchase-payment-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-summary {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .library-proof-panel,
  .library-plan-strip {
    grid-template-columns: 1fr;
  }

  .resource-group summary {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .resource-group summary::before {
    justify-self: start;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    padding: 0 22px 22px;
  }

  .library-cta .button {
    width: 100%;
  }

  .install-platform-card,
  .install-tabs {
    grid-template-columns: 1fr;
  }

  .install-tabs {
    display: grid;
  }

  .install-tab,
  .subscription-banner .button,
  .download-button {
    width: 100%;
  }

  .install-panel,
  .buy-plan-card,
  .buy-support-card,
  .legal-panel {
    padding: 24px;
  }

  .purchase-body {
    padding: 22px;
  }

  .purchase-mode-tab,
  .purchase-payment-header {
    font-size: 14px;
  }

  .purchase-payment-header {
    min-height: 58px;
    padding: 14px 48px 14px 14px;
    font-size: clamp(16px, 5vw, 22px);
  }

  .purchase-action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .purchase-action-btn {
    width: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .site-nav a,
  .floating-whatsapp,
  .floating-whatsapp::before,
  .floating-whatsapp::after,
  .theme-toggle,
  .nav-toggle {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1140px) {
  .header-inner {
    gap: 14px;
  }

  .site-nav {
    gap: 14px;
    font-size: 14px;
  }

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

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-grid;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-strong);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .device-grid,
  .platform-grid,
  .ai-showcase,
  .support-panel,
  .faq-intro {
    grid-template-columns: 1fr;
  }

  .faq-quick-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .doctor-stage {
    min-height: 520px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .login-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .header-inner {
    min-height: 74px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
  }

  .access-app-button {
    min-height: 42px;
    padding: 0 13px;
    font-size: 13px;
  }

  .site-nav {
    top: 82px;
  }

  .section {
    padding: 66px 0;
  }

  .hero-grid {
    gap: 28px;
    padding-top: 24px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

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

  .hero-actions .button,
  .footer-contact .button,
  .support-actions .button {
    width: 100%;
  }

  .support-panel,
  .faq-shell {
    padding: 24px;
  }

  .faq-item summary {
    align-items: flex-start;
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }

  .doctor-stage {
    min-height: 430px;
  }

  .floating-proof {
    min-width: 124px;
  }

  .proof-top {
    top: 26px;
    right: 0;
  }

  .proof-bottom {
    bottom: 44px;
  }

  .stats-grid,
  .feature-grid,
  .review-grid,
  .pricing-grid,
  .device-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card h3 {
    padding-right: 0;
  }

  .popular-badge {
    position: static;
    width: max-content;
    margin-bottom: 14px;
  }

  .ai-copy,
  .login-card,
  .content-panel {
    padding: 28px;
  }

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

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    justify-content: center;
    width: 70px;
    height: 70px;
    min-height: 70px;
    padding: 0;
  }

  .floating-whatsapp > span:not(.floating-whatsapp-icon) {
    display: none;
  }

  .floating-whatsapp-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .pricing-grid {
    grid-auto-columns: minmax(310px, 42vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .pricing-grid .price-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .stats-grid article {
    padding: 16px 12px;
  }

  .stats-grid strong {
    font-size: 28px;
  }

  .stats-grid span {
    margin-top: 5px;
    font-size: 14px;
  }

  .stats-grid p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .review-grid {
    grid-auto-columns: minmax(280px, 76vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 6px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .review-grid article {
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid article {
    padding: 14px 10px;
  }

  .stats-grid strong {
    font-size: 25px;
  }

  .review-grid {
    grid-auto-columns: minmax(270px, 84vw);
  }

  .device-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .device-list article {
    padding: 12px 10px;
    font-size: 15px;
  }

  .device-list span {
    font-size: 12px;
  }

  .ai-stat-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .ai-stat-card article {
    padding: 12px 8px;
  }

  .ai-stat-card strong {
    font-size: clamp(22px, 7vw, 30px);
  }

  .ai-stat-card span {
    font-size: 11px;
  }
}

h1,
h2,
h3,
.brand strong,
.section-heading h2,
.hero h1,
.device-grid h2,
.platform-grid h2,
.ai-showcase h2,
.login-card h2,
.page-hero h1,
.library-hero h1,
.library-intro-card h2,
.library-cta h2,
.install-panel-heading h2,
.buy-plan-card h2,
.buy-support-card h2,
.feature-grid h3,
.price-card h3,
.content-panel h2,
.windows-guide-card h3,
.legal-section h2,
.legal-section h3,
.legal-toc h2,
.footer-grid h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero h1,
.page-hero h1,
.library-hero h1,
.install-hero h1,
.buy-extend-hero h1,
.section-heading h2 {
  line-height: 1.06;
}

body,
p,
li,
input,
textarea,
select {
  font-family: var(--font-body);
}

.button,
.access-app-button,
.install-tab,
.download-button,
button {
  font-family: var(--font-button);
  font-weight: 700;
}
