:root {
  --dark: #070816;
  --dark-2: #101225;
  --text: #111322;
  --muted: #687086;
  --muted-light: rgba(255,255,255,.72);
  --purple: #8b5cf6;
  --pink: #ff5ca8;
  --cyan: #22d3ee;
  --green: #22c55e;
  --radius: 28px;
  --radius-lg: 42px;
  --shadow: 0 26px 80px rgba(15,23,42,.14);
  --shadow-dark: 0 36px 120px rgba(0,0,0,.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(139,92,246,.14), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(34,211,238,.10), transparent 28%),
    #f5f6fb;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,8,22,.84);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 950;
  letter-spacing: -.04em;
  font-size: 20px;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 16px;
  background-image: url("../apple-touch-icon.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 44px rgba(139,92,246,.34);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  white-space: nowrap;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 16px 34px rgba(139,92,246,.32);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
}

/* LANGUAGE */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  flex: 0 0 auto;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  font-weight: 900;
  font-size: 12px;
  padding: 8px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active {
  background: #fff;
  color: var(--dark);
}

/* TYPOGRAPHY */

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(44px, 7vw, 88px);
  line-height: .93;
  letter-spacing: -.075em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.06em;
}

h3 {
  letter-spacing: -.04em;
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(135deg, #fff 0%, #d9ccff 30%, #ffacd0 58%, #8aefff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section {
  padding: 84px 0;
}

.section-head {
  max-width: 870px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-desc {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 10%, rgba(139,92,246,.44), transparent 32%),
    radial-gradient(circle at 86% 20%, rgba(255,92,168,.24), transparent 32%),
    radial-gradient(circle at 56% 100%, rgba(34,211,238,.16), transparent 34%),
    linear-gradient(180deg, #070816 0%, #101225 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.hero-simple {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted-light);
  font-size: clamp(18px, 2vw, 22px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.82);
  font-size: 14px;
  margin-bottom: 20px;
}

.live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(34,197,94,.14);
  animation: pulse 1.7s infinite ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: .72; }
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  text-align: center;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 20px 54px rgba(139,92,246,.36);
}

.btn-secondary {
  color: #fff;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
}

.btn-light {
  color: var(--text);
  background: #fff;
  box-shadow: 0 16px 42px rgba(15,23,42,.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.metric-dark {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.metric-dark strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.04em;
}

.metric-dark span {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 13px;
  margin-top: 3px;
}

/* NEWS */

.news-board {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(124,92,255,.22), transparent 32%),
    radial-gradient(circle at bottom right, rgba(0,224,255,.14), transparent 30%),
    rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.news-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.news-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #d7ccff;
}

.news-controls {
  display: flex;
  gap: 8px;
}

.round-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 19px;
  font-weight: 950;
}

.ticker {
  overflow: hidden;
  padding: 12px 0 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 12px;
  min-width: max-content;
  animation: tickerMove 28s linear infinite;
}

.news-board:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 13px;
}

.ticker-pill b {
  color: #fff;
}

.featured-news-wrap {
  position: relative;
  min-height: 360px;
}

.featured-news {
  display: none;
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .55s ease, transform .55s ease;
}

.featured-news.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  font-weight: 800;
}

.featured-news h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 14px;
}

.featured-news p {
  color: rgba(255,255,255,.74);
  font-size: 17px;
  margin-bottom: 18px;
}

.news-full {
  display: none;
  color: rgba(255,255,255,.68);
  font-size: 15px !important;
  margin-top: -4px;
}

.featured-news.expanded .news-full {
  display: block;
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.news-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.news-mini {
  min-height: 118px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  cursor: pointer;
}

.news-mini.active {
  border-color: rgba(255,255,255,.28);
  background:
    radial-gradient(circle at 90% 0%, rgba(255,92,168,.18), transparent 36%),
    rgba(255,255,255,.12);
}

.news-mini small {
  color: #c9b8ff;
  font-weight: 900;
}

.news-mini h3 {
  margin: 7px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.progress {
  display: flex;
  gap: 7px;
  margin-top: 18px;
}

.progress span {
  height: 6px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
  cursor: pointer;
}

.progress span::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--cyan));
  transition: width .25s ease;
}

.progress span.active::after {
  width: 100%;
}

/* GRIDS / CARDS */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(139,92,246,.08);
  pointer-events: none;
}

.card h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: 23px;
}

.card p,
.card li {
  position: relative;
  color: var(--muted);
}

.feature-link {
  display: block;
}

.card-more {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
  color: var(--purple);
  font-weight: 900;
  font-size: 14px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(139,92,246,.14), rgba(255,92,168,.12));
  border: 1px solid rgba(139,92,246,.14);
  font-size: 22px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 950;
}

/* DARK */

.dark-section {
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(139,92,246,.42), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(255,92,168,.24), transparent 36%),
    linear-gradient(180deg, #080918 0%, #11142a 100%);
}

.dark-box {
  padding: 38px;
  border-radius: 44px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.dark-box .kicker {
  color: #c9b8ff;
}

.dark-box .section-desc,
.dark-box p {
  color: rgba(255,255,255,.72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.step {
  min-height: 245px;
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.step-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-weight: 950;
}

.step h3 {
  color: #fff;
  font-size: 19px;
  margin: 0 0 8px;
}

.step p {
  font-size: 14px;
  margin: 0;
}

/* PRICING */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}

.price-card.featured {
  transform: translateY(-8px);
  border-color: rgba(139,92,246,.26);
  box-shadow: 0 34px 90px rgba(139,92,246,.18);
  background:
    radial-gradient(circle at 80% 0%, rgba(139,92,246,.15), transparent 34%),
    #fff;
}

.plan {
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.price {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.05em;
  margin: 14px 0;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.price-card .check-list {
  margin: 18px 0 22px;
  font-size: 14px;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

/* FAQ / OTHER */

.seo-section {
  background: #fff;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.keyword {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f5fb;
  color: #555b70;
  border: 1px solid rgba(18,20,37,.08);
  font-size: 14px;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 16px 44px rgba(15,23,42,.08);
}

summary {
  cursor: pointer;
  padding: 19px 22px;
  list-style: none;
  font-weight: 950;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.contact-card {
  text-align: center;
  padding: 46px 28px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(139,92,246,.35), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(255,92,168,.20), transparent 34%),
    linear-gradient(135deg, #101225, #171a34);
  box-shadow: var(--shadow-dark);
}

.contact-card p {
  max-width: 780px;
  margin: 18px auto 0;
  color: var(--muted-light);
  font-size: 18px;
}

.article-body {
  max-width: 880px;
  margin: 0 auto;
}

.article-body p {
  color: #4b5265;
  font-size: 18px;
}

.article-body h2 {
  margin-top: 38px;
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
}

.footer {
  padding: 46px 0;
  color: #737b91;
  background: #fff;
  border-top: 1px solid rgba(18,20,37,.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer strong {
  color: var(--text);
}

/* REVEAL */

.reveal-card,
.card,
.step,
.price-card,
details,
.contact-card,
.dark-box,
.news-board,
.hero .container,
.section-head,
.article-body,
.keyword-cloud {
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(8px);
  transition:
    opacity .8s ease,
    transform .8s ease,
    filter .8s ease,
    box-shadow .25s ease,
    border-color .25s ease;
  will-change: opacity, transform, filter;
}

.reveal-card.is-visible,
.card.is-visible,
.step.is-visible,
.price-card.is-visible,
details.is-visible,
.contact-card.is-visible,
.dark-box.is-visible,
.news-board.is-visible,
.hero .container.is-visible,
.section-head.is-visible,
.article-body.is-visible,
.keyword-cloud.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* RESPONSIVE */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(7,8,22,.97);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow-dark);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
  }

  .lang-switch {
    margin-left: auto;
  }
}

@media (max-width: 740px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .hero {
    padding: 56px 0 54px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
    letter-spacing: -.055em;
  }

  h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  section {
    padding: 58px 0;
  }

  .hero-actions,
  .actions,
  .news-actions {
    flex-direction: column;
  }

  .btn,
  .news-actions .btn {
    width: 100%;
  }

  .hero-metrics,
  .grid-2,
  .grid-3,
  .grid-4,
  .pricing-grid,
  .steps,
  .news-mini-grid {
    grid-template-columns: 1fr;
  }

  .news-board {
    padding: 18px;
    border-radius: 30px;
  }

  .featured-news-wrap {
    min-height: 0;
  }

  .featured-news h2 {
    font-size: 30px;
  }

  .dark-box,
  .contact-card {
    padding: 26px;
    border-radius: 32px;
  }

  .price-card.featured {
    transform: none;
  }
}

/* DYNAMIC NEWS PAGE */

.news-hero {
  padding-bottom: 86px;
}

.news-page-section {
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(139,92,246,.13), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(34,211,238,.11), transparent 28%),
    #f5f6fb;
}

.news-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #555b70;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(18,20,37,.08);
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
  font-size: 14px;
  font-weight: 850;
}

.news-status.is-error {
  color: #991b1b;
  background: #fff1f2;
  border-color: rgba(244,63,94,.24);
}

.news-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-page-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(139,92,246,.34), transparent 35%),
    radial-gradient(circle at 100% 12%, rgba(255,92,168,.20), transparent 32%),
    linear-gradient(180deg, #101225 0%, #070816 100%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(8px);
  transition:
    opacity .75s ease,
    transform .75s ease,
    filter .75s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.news-page-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.news-page-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 38px 110px rgba(0,0,0,.34);
}

.news-page-card-glow {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139,92,246,.32), rgba(255,92,168,.22), rgba(34,211,238,.20));
  filter: blur(4px);
  pointer-events: none;
}

.news-page-card h3 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.news-page-card p {
  position: relative;
  color: rgba(255,255,255,.72);
  font-size: 16px;
}

.news-page-card-footer {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.news-page-card-footer .btn {
  width: 100%;
}

.news-page-card-footer span {
  color: rgba(255,255,255,.44);
  font-size: 12px;
  word-break: break-word;
}

.news-reader-section {
  padding-top: 0;
  background: #f5f6fb;
}

.news-reader-card {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,.11), transparent 32%),
    radial-gradient(circle at 100% 8%, rgba(255,92,168,.09), transparent 28%),
    #fff;
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 28px 90px rgba(15,23,42,.14);
  opacity: 0;
  transform: translateY(34px) scale(.985);
  filter: blur(8px);
  transition:
    opacity .75s ease,
    transform .75s ease,
    filter .75s ease;
}

.news-reader-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.news-reader-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 24px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(139,92,246,.24);
}

.news-reader-card .chip {
  color: #555b70;
  background: #f3f5fb;
  border-color: rgba(18,20,37,.08);
}

.news-reader-card h2 {
  margin-bottom: 26px;
  color: var(--text);
}

.news-reader-body {
  max-width: 880px;
  margin: 0;
}

.news-reader-body h2 {
  margin-top: 42px;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
}

.news-reader-body p {
  color: #4b5265;
  font-size: 18px;
}

.news-reader-list-like {
  padding: 12px 16px;
  border-radius: 18px;
  background: #f3f5fb;
  border: 1px solid rgba(18,20,37,.06);
}

@media (max-width: 1080px) {
  .news-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 740px) {
  .news-page-grid {
    grid-template-columns: 1fr;
  }

  .news-page-card {
    min-height: 0;
    border-radius: 28px;
  }

  .news-reader-card {
    border-radius: 30px;
  }
}

/* FIX: dynamic DOCX news article must be visible */

.news-visible-card {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.news-opened-section {
  padding-top: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(139,92,246,.10), transparent 30%),
    radial-gradient(circle at 90% 4%, rgba(255,92,168,.08), transparent 26%),
    #f5f6fb;
}

.news-opened-card {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,.10), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(255,92,168,.08), transparent 28%),
    #fff;
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: 0 28px 90px rgba(15,23,42,.14);

  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  color: var(--text);
}

.news-opened-card .chip {
  color: #555b70;
  background: #f3f5fb;
  border-color: rgba(18,20,37,.08);
}

.news-opened-card h2 {
  margin-top: 18px;
  margin-bottom: 26px;
  color: var(--text);
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.06em;
}

.news-opened-body {
  color: #4b5265;
}

.news-opened-body p {
  color: #4b5265;
  font-size: 18px;
  line-height: 1.7;
}

.news-opened-body h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
}

.news-opened-body h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 24px;
}

.news-reader-close {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 24px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(139,92,246,.24);
}

.news-reader-list-like {
  padding: 12px 16px;
  border-radius: 18px;
  background: #f3f5fb;
  border: 1px solid rgba(18,20,37,.06);
}

.article-highlight {
  padding: 20px;
  border-radius: 24px;
  color: #fff !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,.28), transparent 32%),
    linear-gradient(135deg, #101225, #070816);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 70px rgba(15,23,42,.16);
  font-weight: 850;
}

.article-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.article-bottom-actions .btn-secondary {
  color: var(--text);
  background: #f3f5fb;
  border-color: rgba(18,20,37,.08);
}

@media (max-width: 740px) {
  .news-opened-card {
    border-radius: 30px;
  }

  .article-bottom-actions {
    flex-direction: column;
  }

  .article-bottom-actions .btn {
    width: 100%;
  }
}

/* SEO text block */

.seo-text-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(139,92,246,.10), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(34,211,238,.08), transparent 26%),
    #f5f6fb;
}

.seo-text-card {
  max-width: 980px;
  padding: clamp(26px, 5vw, 54px);
  border-radius: 38px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(18,20,37,.08);
  box-shadow: 0 24px 80px rgba(15,23,42,.10);
}

.seo-text-card h2 {
  max-width: 820px;
}

.seo-text-card p {
  max-width: 860px;
  color: #4b5265;
  font-size: 18px;
  line-height: 1.7;
}

/* Improved DOCX news rendering */

.news-opened-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(139,92,246,.14), transparent 30%),
    radial-gradient(circle at 100% 4%, rgba(255,92,168,.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f9fafc 100%);
}

.news-opened-body {
  max-width: 860px;
}

.news-opened-body > p:first-of-type {
  font-size: 21px;
  line-height: 1.65;
  color: #303648;
}

.news-opened-body h2 {
  position: relative;
  margin-top: 52px;
  padding-top: 10px;
}

.news-opened-body h2::before {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.news-opened-body h3 {
  margin-top: 34px;
  color: #161827;
}

.news-opened-body .article-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.news-opened-body .article-list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  border-radius: 18px;
  color: #41485c;
  background: #f1f4fb;
  border: 1px solid rgba(18,20,37,.06);
}

.news-opened-body .article-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 14px;
  color: var(--green);
  font-weight: 950;
}

.news-article-quote {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--purple);
  border-radius: 22px;
  color: #303648;
  background: #f3f5fb;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 750;
}

.news-page-card {
  isolation: isolate;
}

.news-page-card h3 {
  text-wrap: balance;
}

.news-page-card p {
  line-height: 1.65;
}