/* Atomic Wallet — feature showcase */

.page-features {
  background: var(--white);
}

.page-features main {
  overflow: clip;
}

.page-features #wallet,
.page-features #exchange,
.page-features #buy,
.page-features #staking,
.page-features #nft,
.page-features #security,
.page-features #security-practices,
.page-features #custody,
.page-features #about {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.features-eyebrow,
.features-hero__eyebrow,
.feature-row__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.features-eyebrow {
  margin-bottom: 14px;
  color: var(--accent-hover);
}

/* Hero */
.features-hero {
  padding: 48px 0 0;
}

.features-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  gap: 56px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(54, 146, 254, 0.18), transparent 32%),
    radial-gradient(circle at 8% 100%, rgba(82, 179, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #eef7ff 0%, #f9fcff 58%, #edf5fc 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.features-hero__inner::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(22, 115, 209, 0.10);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(22, 115, 209, 0.025), 0 0 0 112px rgba(22, 115, 209, 0.02);
  pointer-events: none;
}

.features-hero__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.features-hero .breadcrumb {
  margin-bottom: 32px;
}

.features-hero .breadcrumb ol {
  justify-content: flex-start;
}

.features-hero .breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-hover);
}

.features-hero__eyebrow {
  margin-bottom: 16px;
  color: var(--accent-hover);
}

.features-hero .title-1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.page-features .features-hero .subtitle {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--gray);
  text-wrap: pretty;
}

.features-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.features-hero__actions .btn,
.features-hero__secondary {
  min-height: 54px;
  padding: 12px 24px;
}

.features-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.features-hero__secondary:hover {
  background: #ffffff;
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.features-hero__secondary span {
  color: var(--accent-hover);
  font-size: 1.125rem;
}

.features-hero__assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 30px;
  list-style: none;
}

.features-hero__assurances li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 500;
}

.features-hero__assurances svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent-hover);
}

.features-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 470px;
  padding: 12px 0 44px;
}

.hero-console {
  width: min(100%, 420px);
  padding: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 95% 0%, rgba(54, 146, 254, 0.22), transparent 38%),
    linear-gradient(145deg, #102a43 0%, #091525 68%);
  border: 1px solid rgba(183, 200, 218, 0.20);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(9, 21, 37, 0.28);
}

.hero-console__top,
.hero-console__brand,
.hero-console__status,
.hero-console__footer,
.hero-console__footer span {
  display: flex;
  align-items: center;
}

.hero-console__top {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.hero-console__brand {
  gap: 9px;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-console__mark {
  width: 24px;
  height: 24px;
  background: linear-gradient(145deg, #52b3ff, #1673d1);
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.hero-console__status {
  gap: 7px;
  color: #c8d7e7;
  font-size: 0.75rem;
}

.hero-console__status i,
.secure-panel__head i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(65, 196, 122, 0.10);
}

.hero-console__balance {
  padding-top: 24px;
}

.hero-console__balance > span,
.hero-console__balance small {
  display: block;
  color: #b7c8da;
  font-size: 0.75rem;
}

.hero-console__balance strong {
  display: block;
  margin: 3px 0 2px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-console__chart {
  width: 100%;
  height: 84px;
  margin: 12px 0 16px;
  overflow: visible;
}

.hero-console__chart-fill {
  fill: url(#feature-chart-fill);
  stroke: none;
}

.hero-console__chart-line {
  fill: none;
  stroke: #52b3ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.hero-console__assets {
  display: grid;
  gap: 8px;
}

.hero-console__assets > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 52px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 12px;
}

.hero-console__coin {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 50%;
}

.hero-console__coin--btc { background: #8a5500; }
.hero-console__coin--eth { background: #4b56b8; }
.hero-console__coin--sol { background: #167a72; }

.hero-console__assets > div > span:nth-child(2) {
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero-console__assets small {
  display: block;
  color: #b7c8da;
  font-size: 0.6875rem;
  font-weight: 400;
}

.hero-console__assets b {
  color: #82e2b0;
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-console__assets b.is-down {
  color: #ffabb4;
}

.hero-console__footer {
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #b7c8da;
  font-size: 0.6875rem;
}

.hero-console__footer span {
  gap: 6px;
}

.hero-console__footer svg {
  width: 15px;
  height: 15px;
  color: #82c5ff;
}

.features-hero__floating-card {
  position: absolute;
  right: -18px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 270px;
  padding: 16px 18px;
  color: var(--ink-heading);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.features-hero__floating-card > svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: var(--accent-hover);
}

.features-hero__floating-card strong,
.features-hero__floating-card small {
  display: block;
}

.features-hero__floating-card strong {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.features-hero__floating-card small {
  margin-top: 2px;
  color: var(--gray);
  font-size: 0.75rem;
}

/* Section navigation */
.feature-jump {
  margin-top: 24px;
}

.feature-jump__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.feature-jump__label {
  flex: 0 0 auto;
  padding-left: 16px;
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.feature-jump__links {
  display: flex;
  flex: 1;
  min-width: 0;
}

.feature-jump__links a {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 12px;
  color: var(--slate);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  border-left: 1px solid var(--border-light);
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.feature-jump__links a span {
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.feature-jump__links a:hover {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

/* Feature collection */
.features-showcase {
  padding: 80px 0 96px;
}

.features-showcase__heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.features-showcase__heading > p:last-child {
  color: var(--gray);
  font-size: 1.125rem;
  line-height: 1.75;
}

.page-features .feature-row {
  position: relative;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  margin-bottom: 32px;
  padding: 48px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  direction: ltr;
}

.page-features .feature-row:last-child {
  margin-bottom: 0;
}

.page-features .feature-row--flip {
  direction: ltr;
}

.page-features .feature-row--flip .feature-row__text {
  order: 2;
}

.page-features .feature-row--flip .feature-row__visual {
  order: 1;
}

.page-features .feature-row__text,
.page-features .feature-row__visual {
  min-width: 0;
}

.page-features .feature-row__text h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 2.7vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.page-features .feature-row__text > p:not(.feature-row__eyebrow) {
  margin-bottom: 20px;
  color: var(--gray);
  line-height: 1.75;
}

.page-features .feature-row__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-hover);
}

.feature-row__eyebrow span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--accent-hover);
  font-size: 0.75rem;
  letter-spacing: 0;
  background: var(--accent-soft);
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.page-features .feature-row__text > .link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 20px 0 0;
  font-weight: 600;
  line-height: 1.5;
}

.page-features .feature-row__visual {
  width: 100%;
}

.page-features .visual-card {
  width: 100%;
  max-width: 480px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(54, 146, 254, 0.18), transparent 38%),
    var(--gradient-dark);
  border: 1px solid rgba(183, 200, 218, 0.16);
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(9, 21, 37, 0.20);
}

.page-features .visual-card .coin__name {
  color: #ffffff;
}

.page-features .visual-card .chg-down {
  color: #ffabb4;
}

.page-features .wallet-panel {
  width: 100%;
}

.page-features .wallet-panel__head {
  padding: 2px 2px 18px;
  margin-bottom: 12px;
}

.page-features .wallet-panel__head b {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.page-features .wallet-panel__row {
  min-height: 52px;
  margin-top: 7px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 11px;
}

.page-features .wallet-panel__row .coin__logo {
  width: 30px;
  height: 30px;
}

.page-features .swap-panel__field {
  min-height: 84px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.page-features .swap-panel__field > span:first-child {
  min-width: 0;
}

.page-features .swap-panel__field b {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.page-features .swap-panel__rate {
  flex-wrap: wrap;
  gap: 6px 16px;
  line-height: 1.6;
}

.page-features .swap-panel__terms {
  color: #82c5ff;
  font-weight: 600;
}

.page-features .swap-panel .btn,
.page-features .stake-panel .btn {
  min-height: 48px;
  padding: 10px 18px;
  white-space: normal;
}

.page-features #exchange {
  background:
    radial-gradient(circle at 4% 100%, rgba(54, 146, 254, 0.18), transparent 34%),
    linear-gradient(135deg, #0b1d30, #113355);
  border-color: #294963;
  box-shadow: 0 18px 44px rgba(9, 21, 37, 0.18);
}

.page-features #exchange .feature-row__text h2 {
  color: #ffffff;
}

.page-features #exchange .feature-row__text > p:not(.feature-row__eyebrow) {
  color: #c8d7e7;
}

.page-features #exchange .feature-row__eyebrow,
.page-features #exchange .feature-row__text > .link-more {
  color: #8fd0ff;
}

.page-features #exchange .feature-row__eyebrow span {
  color: #8fd0ff;
  background: rgba(82, 179, 255, 0.10);
  border-color: rgba(143, 208, 255, 0.24);
}

.page-features #exchange .feature-row__text > .link-more:hover {
  color: #ffffff;
}

.page-features #exchange .visual-card {
  background: rgba(5, 18, 31, 0.66);
  box-shadow: none;
}

.page-features #buy {
  background:
    radial-gradient(circle at 92% 10%, rgba(54, 146, 254, 0.13), transparent 30%),
    var(--accent-soft);
  border-color: #cfe3f3;
  box-shadow: none;
}

.page-features #staking {
  background: var(--cloud);
  box-shadow: none;
}

.page-features #staking .visual-card {
  background: linear-gradient(150deg, #123b50, #091525 72%);
}

.page-features .stake-panel__asset {
  padding: 4px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.page-features .stake-panel__asset .coin__logo {
  width: 44px;
  height: 44px;
}

.page-features .stake-bar {
  height: 10px;
  margin-top: 24px;
}

.page-features .stake-panel__apr {
  min-height: 44px;
}

.page-features #nft {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  background: var(--white);
}

.page-features #nft .visual-card {
  max-width: 560px;
  padding: 28px;
  background: var(--surface-subtle);
  border-color: var(--border-light);
  box-shadow: none;
}

.page-features .nft-tiles {
  gap: 14px;
}

.page-features .nft-tile {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(9, 21, 37, 0.12);
}

.page-features .nft-tile--1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.page-features .nft-tile--2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.page-features .nft-tile--3 { background: linear-gradient(135deg, #4facfe, #00c5d8); }
.page-features .nft-tile--4 { background: linear-gradient(135deg, #43e97b, #25bdb4); }
.page-features .nft-tile--5 { background: linear-gradient(135deg, #fa709a, #d7a900); }
.page-features .nft-tile--6 { background: linear-gradient(135deg, #30cfd0, #330867); }

/* Security */
.page-features .features-security {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(54, 146, 254, 0.17), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(22, 115, 209, 0.13), transparent 32%),
    var(--gradient-dark);
}

.features-security::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -280px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(143, 208, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(143, 208, 255, 0.018), 0 0 0 140px rgba(143, 208, 255, 0.012);
  pointer-events: none;
}

.page-features .features-security__layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 72px;
}

.page-features .features-security .split__text {
  max-width: 540px;
  text-align: left;
}

.features-security .features-eyebrow,
.features-cta .features-eyebrow {
  color: #8fd0ff;
}

.page-features .features-security .split__text > h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.page-features .features-security .p-18 {
  color: #c8d7e7;
}

.page-features .features-security .check-list {
  gap: 0;
  margin: 30px 0 0;
}

.page-features .features-security .check-list li {
  gap: 14px;
  padding: 16px 0;
  color: #dbe6f1;
  line-height: 1.65;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.page-features .features-security .check-list li:last-child {
  border-bottom: 0;
}

.page-features .features-security .check-list svg {
  margin-top: 3px;
}

.page-features .secure-panel {
  padding: 8px 24px 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(183, 200, 218, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.secure-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.secure-panel__head > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8d7e7;
  font-size: 0.75rem;
  font-weight: 500;
}

.page-features .secure-panel__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.page-features .secure-panel__icon {
  width: 44px;
  height: 44px;
  background: rgba(82, 179, 255, 0.09);
  border: 1px solid rgba(82, 179, 255, 0.12);
  border-radius: 12px;
}

.page-features .secure-panel__icon svg {
  width: 22px;
  height: 22px;
}

.page-features .secure-panel__row b {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.page-features .secure-panel__row i {
  margin-top: 4px;
  color: #c8d7e7;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.page-features .secure-panel__row .tag {
  align-self: start;
  margin-top: 2px;
  padding: 5px 10px;
  color: #82e2b0;
  background: rgba(65, 196, 122, 0.10);
  border: 1px solid rgba(65, 196, 122, 0.16);
}

/* Security practices */
.page-features .features-practices {
  background: var(--white);
}

.page-features .features-practices .section-heading,
.page-features .features-custody .section-heading {
  max-width: 780px;
}

.page-features .features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-features .features-practices .feature-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.page-features .features-practices .feature-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-card);
  transform: none;
}

.feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.page-features .feature-card__number {
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
}

.page-features .features-practices .feature-card__icon {
  width: 52px;
  height: 52px;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}

.page-features .features-practices .feature-card__icon svg {
  width: 26px;
  height: 26px;
  color: currentColor;
  stroke: currentColor;
}

.page-features .features-practices .feature-card__title {
  margin-bottom: 14px;
  font-size: 1.375rem;
  line-height: 1.25;
}

.page-features .features-practices .feature-card__text {
  flex: 1;
  margin-bottom: 18px;
}

.page-features .features-practices .feature-card .link-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  font-weight: 600;
}

/* Custody comparison */
.page-features .features-custody {
  background: var(--cloud);
}

.page-features .features-custody .staking-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.page-features .features-custody .staking-table {
  min-width: 720px;
  border-spacing: 0;
  border-collapse: separate;
  font-size: 0.9375rem;
}

.page-features .features-custody .staking-table th {
  padding: 20px 24px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  background: #102a43;
  border-bottom: 1px solid #102a43;
}

.page-features .features-custody .staking-table th:nth-child(2) {
  background: #135b9d;
}

.page-features .features-custody .staking-table th:first-child {
  border-radius: 21px 0 0;
}

.page-features .features-custody .staking-table th:last-child {
  border-radius: 0 21px 0 0;
}

.page-features .features-custody .staking-table td {
  width: 37%;
  padding: 22px 24px;
  color: var(--slate);
  line-height: 1.65;
  vertical-align: top;
  background: var(--white);
  border-bottom-color: var(--border-light);
}

.page-features .features-custody .staking-table td:first-child {
  width: 26%;
  color: var(--ink-heading);
  font-weight: 600;
}

.page-features .features-custody .staking-table td:nth-child(2) {
  color: var(--ink);
  background: var(--accent-soft);
}

.page-features .features-custody .staking-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-features .features-custody .staking-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 21px;
}

.page-features .features-custody .staking-table tbody tr:last-child td:last-child {
  border-radius: 0 0 21px;
}

.page-features .features-custody .staking-table tr:hover td {
  background: var(--white);
}

.page-features .features-custody .staking-table tr:hover td:nth-child(2) {
  background: var(--accent-soft);
}

.page-features .features-custody .table-note {
  margin-top: 22px;
}

.page-features .features-custody .table-note .link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* Conditions */
.page-features .features-conditions {
  background: var(--white);
}

.page-features .features-conditions__inner {
  max-width: 1000px;
  padding: 48px;
  background: var(--cloud);
  border: 1px solid var(--border-light);
  border-radius: 24px;
}

.page-features .features-conditions .section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.page-features .features-conditions .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.page-features .features-conditions .check-list li {
  gap: 12px;
  padding: 20px;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}

.page-features .features-conditions .check-list li svg {
  color: var(--accent-hover);
  stroke: var(--accent-hover);
}

.page-features .features-conditions__action {
  margin-top: 28px;
  text-align: center;
}

.page-features .features-conditions__action .link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* Closing CTA */
.page-features .features-cta {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(54, 146, 254, 0.22), transparent 42%),
    var(--gradient-dark);
}

.features-cta::before,
.features-cta::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(143, 208, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.features-cta::before {
  top: -180px;
  left: -140px;
}

.features-cta::after {
  right: -140px;
  bottom: -200px;
  box-shadow: 0 0 0 64px rgba(143, 208, 255, 0.02);
}

.page-features .features-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-features .features-cta .section-heading {
  max-width: 720px;
  margin-bottom: 30px;
  padding-bottom: 0;
}

.page-features .features-cta .section-heading .subtitle {
  color: #c8d7e7;
}

.page-features .features-cta__download {
  min-height: 58px;
  padding: 12px 34px;
  font-size: 1rem;
}

.features-cta__store-label {
  margin: 30px 0 14px;
  color: #b7c8da;
  font-size: 0.8125rem;
}

.page-features .features-cta .store-btns {
  flex-wrap: wrap;
}

.page-features .features-cta .store-btn {
  min-height: 64px;
  padding: 12px 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(183, 200, 218, 0.22);
  border-radius: 14px;
  box-shadow: none;
}

.page-features .features-cta .store-btn:hover {
  color: #ffffff;
  background: #1b3b59;
  border-color: rgba(143, 208, 255, 0.46);
  box-shadow: var(--shadow-md);
}

.page-features .features-cta .store-btn__small {
  font-size: 0.75rem;
}

.features-cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  margin-top: 24px;
}

.page-features .features-cta__links .link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
}

.page-features .features-cta__links .features-cta__desktop {
  color: #c8d7e7;
}

.page-features .features-cta__links .features-cta__demo {
  color: #8fd0ff;
}

.page-features .features-cta__links .link-more:hover {
  color: #ffffff;
}

/* Explicit dark-surface refinements */
html[data-theme="dark"] .page-features {
  background: #080f1a;
}

html[data-theme="dark"] .features-hero__inner {
  background:
    radial-gradient(circle at 88% 12%, rgba(54, 146, 254, 0.18), transparent 32%),
    linear-gradient(135deg, #101f31, #0b1726);
  border-color: #2a4058;
}

html[data-theme="dark"] .features-hero__secondary {
  color: #edf4fb;
  background: rgba(17, 30, 46, 0.76);
  border-color: #3a536d;
}

html[data-theme="dark"] .features-hero__secondary:hover {
  background: #172b41;
  border-color: #4a6582;
}

html[data-theme="dark"] .features-hero__floating-card {
  background: #142336;
  border-color: #334a63;
}

html[data-theme="dark"] .feature-jump__inner {
  background: #111e2e;
  border-color: #2a4058;
}

html[data-theme="dark"] #buy {
  background:
    radial-gradient(circle at 92% 10%, rgba(54, 146, 254, 0.12), transparent 30%),
    #102a43;
  border-color: #2b4a66;
}

html[data-theme="dark"] #nft .visual-card {
  background: #0b1726;
}

html[data-theme="dark"] .features-practices,
html[data-theme="dark"] .features-conditions {
  background: #080f1a;
}

html[data-theme="dark"] .features-custody {
  background: #0d1826;
}

html[data-theme="dark"] .features-custody .staking-table th {
  background: #132b42;
  border-bottom-color: #132b42;
}

html[data-theme="dark"] .features-custody .staking-table th:nth-child(2) {
  background: #135b9d;
}

/* Responsive */
@media (max-width: 1100px) {
  .features-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 36px;
    padding: 48px;
  }

  .features-hero__floating-card {
    display: none;
  }

  .features-hero__visual {
    min-height: 440px;
    padding-bottom: 12px;
  }

  .feature-jump__inner {
    gap: 8px;
  }

  .feature-jump__label {
    display: none;
  }

  .feature-jump__links {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .feature-jump__links a:first-child {
    border-left: 0;
  }

  .page-features .feature-row {
    gap: 36px;
    padding: 36px;
  }

  .page-features .features-security__layout {
    gap: 44px;
  }
}

@media (max-width: 900px) {
  .features-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .features-hero__content {
    max-width: 720px;
  }

  .features-hero__visual {
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .hero-console {
    width: min(100%, 520px);
  }

  .page-features .feature-row,
  .page-features #nft {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .page-features .feature-row--flip .feature-row__text,
  .page-features .feature-row--flip .feature-row__visual {
    order: initial;
  }

  .page-features .feature-row__text {
    max-width: 680px;
  }

  .page-features .visual-card,
  .page-features #nft .visual-card {
    max-width: 580px;
  }

  .page-features .features-security__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .page-features .features-security .split__text {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .page-features #wallet,
  .page-features #exchange,
  .page-features #buy,
  .page-features #staking,
  .page-features #nft,
  .page-features #security,
  .page-features #security-practices,
  .page-features #custody,
  .page-features #about {
    scroll-margin-top: 88px;
  }

  .features-hero {
    padding-top: 24px;
  }

  .features-hero__inner {
    gap: 28px;
    padding: 32px;
    border-radius: 24px;
  }

  .features-hero .breadcrumb {
    margin-bottom: 22px;
  }

  .features-hero .title-1 {
    font-size: clamp(2.35rem, 8vw, 3rem);
  }

  .feature-jump {
    margin-top: 16px;
  }

  .feature-jump__inner {
    padding: 7px;
    border-radius: 14px;
  }

  .feature-jump__links a {
    min-height: 46px;
    padding: 0 14px;
  }

  .features-showcase {
    padding: 64px 0;
  }

  .features-showcase__heading {
    margin-bottom: 32px;
  }

  .features-showcase__heading > p:last-child {
    font-size: 1rem;
  }

  .page-features .feature-row {
    gap: 28px;
    margin-bottom: 24px;
    padding: 28px;
    border-radius: 22px;
  }

  .page-features .visual-card,
  .page-features #nft .visual-card {
    padding: 22px;
  }

  .page-features .features-security {
    padding: 64px 0;
  }

  .page-features .secure-panel {
    padding: 6px 18px 14px;
  }

  .page-features .features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .page-features .features-practices .feature-card {
    padding: 28px;
  }

  .page-features .features-conditions__inner {
    padding: 32px;
    border-radius: 20px;
  }

  .page-features .features-conditions .check-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-features .features-cta {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .features-hero__inner {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .features-hero .title-1 {
    font-size: 2.35rem;
  }

  .page-features .features-hero .subtitle {
    margin-top: 20px;
    font-size: 1.0625rem;
  }

  .features-hero__actions {
    flex-direction: column;
    margin-top: 26px;
  }

  .features-hero__actions .btn,
  .features-hero__secondary {
    width: 100%;
    min-height: 56px;
    height: auto;
    white-space: normal;
  }

  .features-hero__assurances {
    display: grid;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-console {
    padding: 18px;
    border-radius: 18px;
  }

  .hero-console__top {
    gap: 8px;
  }

  .hero-console__status {
    font-size: 0.6875rem;
  }

  .hero-console__balance strong {
    font-size: 2.125rem;
  }

  .hero-console__chart {
    height: 70px;
  }

  .hero-console__assets > div {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 8px 10px;
  }

  .hero-console__footer {
    align-items: flex-start;
    font-size: 0.6875rem;
  }

  .features-showcase {
    padding: 56px 0;
  }

  .page-features .feature-row {
    padding: 22px 18px;
  }

  .page-features .feature-row__text h2 {
    font-size: 1.75rem;
  }

  .page-features .feature-row__text > .link-more {
    margin-right: 12px;
  }

  .page-features .visual-card,
  .page-features #nft .visual-card {
    padding: 18px;
    border-radius: 16px;
  }

  .page-features .wallet-panel__row {
    padding: 8px;
  }

  .page-features .wallet-panel__row .coin {
    gap: 8px;
  }

  .page-features .wallet-panel__row .coin__name {
    font-size: 0.8125rem;
  }

  .page-features .swap-panel__field {
    min-height: 76px;
    padding: 14px;
  }

  .page-features .swap-panel__field b {
    font-size: 1.0625rem;
  }

  .page-features .swap-panel__rate {
    flex-direction: column;
    gap: 2px;
  }

  .page-features .nft-tiles {
    gap: 9px;
  }

  .page-features .nft-tile {
    border-radius: 11px;
  }

  .page-features .features-security .split__text > h2 {
    font-size: 2.25rem;
  }

  .page-features .secure-panel {
    padding: 4px 14px 12px;
    border-radius: 18px;
  }

  .secure-panel__head {
    min-height: 56px;
  }

  .page-features .secure-panel__row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .page-features .secure-panel__icon {
    width: 40px;
    height: 40px;
  }

  .page-features .secure-panel__row .tag {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }

  .page-features .features-practices .feature-card {
    padding: 24px;
  }

  .page-features .features-custody .staking-table {
    min-width: 660px;
  }

  .page-features .features-conditions__inner {
    padding: 26px 18px;
  }

  .page-features .features-conditions .check-list li {
    padding: 16px;
  }

  .page-features .features-conditions__action {
    font-size: 1rem;
  }

  .page-features .features-cta__download {
    width: 100%;
    height: auto;
    min-height: 56px;
    white-space: normal;
  }

  .page-features .features-cta .store-btns {
    flex-direction: column;
    align-items: center;
  }

  .page-features .features-cta .store-btn {
    width: min(100%, 280px);
    justify-content: center;
  }

  .features-cta__links {
    flex-direction: column;
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-hero__secondary,
  .feature-jump__links a {
    transition: none;
  }
}
