.page-home {
  --home-panel-gap: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

.page-home .home-alert {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 56, 96, 0.04));
  border-bottom: 1px solid rgba(255, 107, 0, 0.3);
  padding: 14px 0;
}

.page-home .home-alert__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-alert__icon {
  order: 2;
}

.page-home .home-alert__content {
  order: 1;
}

.page-home .home-alert__icon img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-home .home-alert__content h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.35;
  margin: 8px 0 6px;
  color: var(--color-text);
}

.page-home .home-alert__content p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-dim);
}

.page-home .home-alert__content a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 0, 0.4);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -10%;
  width: 80%;
  height: 60%;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.16), rgba(0, 212, 255, 0.05));
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__layout {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__text {
  position: relative;
}

.page-home .home-hero__eyebrow {
  color: var(--color-accent-blue);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.page-home .home-hero__text h1 {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--color-text);
  overflow-wrap: break-word;
}

.page-home .home-hero__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-dim);
  margin: 0 0 20px;
  max-width: 56ch;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .home-hero__media {
  position: relative;
  margin-bottom: 28px;
}

.page-home .home-hero__media::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-blue));
  opacity: 0.14;
  clip-path: polygon(0 0, 100% 5%, 95% 100%, 5% 95%);
  border-radius: 12px;
  z-index: 0;
}

.page-home .home-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.page-home .home-hero__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent);
  color: #0a0a0f;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
  transform: rotate(-3deg);
}

.page-home .home-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .home-stats__item {
  background: var(--color-bg-card);
  border-left: 3px solid var(--color-accent);
  padding: 18px 20px;
}

.page-home .home-stats__item:nth-child(2) {
  border-left-color: var(--color-accent-blue);
}

.page-home .home-stats__item:nth-child(3) {
  border-left-color: var(--color-positive);
}

.page-home .home-stats__num {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.page-home .home-stats__item:nth-child(1) .home-stats__num {
  color: var(--color-accent);
}

.page-home .home-stats__item:nth-child(2) .home-stats__num {
  color: var(--color-accent-blue);
}

.page-home .home-stats__item:nth-child(3) .home-stats__num {
  color: var(--color-positive);
}

.page-home .home-stats__label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-text-dim);
}

.page-home .home-features {
  position: relative;
  padding: 48px 0;
  background: linear-gradient(180deg, rgba(26, 26, 46, 0.6), rgba(10, 10, 15, 0) 90%);
}

.page-home .section-eyebrow {
  color: var(--color-accent-blue);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.page-home .home-features > .container > h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--color-text);
}

.page-home .section-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-dim);
  margin: 0 0 24px;
  max-width: 60ch;
}

.page-home .home-features__compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.page-home .home-features__old,
.page-home .home-features__new {
  padding: 18px 20px;
  border-radius: 8px;
}

.page-home .home-features__old {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--color-text-dim);
}

.page-home .home-features__new {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.14), rgba(0, 212, 255, 0.06));
  border-left: 3px solid var(--color-accent);
}

.page-home .home-features__old p,
.page-home .home-features__new p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-dim);
}

.page-home .home-features__new p {
  color: var(--color-text);
}

.page-home .home-features__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .home-features__list li {
  background: var(--color-bg-card);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.page-home .home-features__num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  flex-shrink: 0;
}

.page-home .home-features__list h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--color-text);
}

.page-home .home-features__list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-dim);
}

.page-home .home-features__note {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-dim);
}

.page-home .home-android {
  padding: 48px 0;
}

.page-home .home-android__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-home .home-android__visual {
  display: flex;
  justify-content: center;
}

.page-home .home-android__visual img {
  width: 200px;
  max-width: 70%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.page-home .home-android__content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.3;
  margin: 10px 0 10px;
  color: var(--color-text);
}

.page-home .home-android__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-home .home-android__content > p:not(.home-android__meta) {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-dim);
  margin: 0 0 16px;
}

.page-home .home-android__content ol {
  margin: 0 0 20px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.page-home .home-android__content ol li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-dim);
}

.page-home .home-android__content ol li::marker {
  color: var(--color-accent);
  font-weight: 700;
}

.page-home .home-archive {
  padding: 48px 0;
  background: var(--color-bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.page-home .home-archive__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .home-archive__info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.page-home .home-archive__info img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}

.page-home .home-archive__info h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--color-text);
}

.page-home .home-archive__info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-dim);
}

.page-home .home-archive__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-home .home-archive__links a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 999px;
  color: var(--color-accent-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.page-home .home-archive__links a:hover {
  background: rgba(0, 212, 255, 0.1);
}

.page-home .home-trust {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.page-home .home-trust__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-dim);
  max-width: 720px;
  margin: 0 auto 16px;
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.page-home .home-trust__links a {
  color: var(--color-text-dim);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 160, 176, 0.4);
  transition: color 0.2s;
}

.page-home .home-trust__links a:hover {
  color: var(--color-text);
}

.page-home .tag--warn {
  background: rgba(255, 56, 96, 0.15);
  color: var(--color-warn);
  border: 1px solid rgba(255, 56, 96, 0.35);
}

.page-home .tag--accent {
  background: rgba(255, 107, 0, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(255, 107, 0, 0.35);
}

@media (min-width: 768px) {
  .page-home .home-alert__inner {
    flex-direction: row;
    align-items: center;
  }

  .page-home .home-alert__icon {
    order: 1;
    flex: 0 0 38%;
  }

  .page-home .home-alert__content {
    order: 2;
    flex: 1;
    padding-left: 28px;
  }

  .page-home .home-alert__content h2 {
    font-size: 24px;
  }

  .page-home .home-hero {
    padding: 64px 0 40px;
  }

  .page-home .home-hero__layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .home-hero__media {
    margin-bottom: 0;
  }

  .page-home .home-hero__text h1 {
    font-size: 40px;
  }

  .page-home .home-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
  }

  .page-home .home-features__compare {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .page-home .home-features__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-home .home-features__list li {
    flex-direction: column;
  }

  .page-home .home-android__layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .page-home .home-android__visual img {
    width: 240px;
    max-width: 80%;
  }

  .page-home .home-archive__layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__text h1 {
    font-size: 48px;
  }

  .page-home .home-features > .container > h2 {
    font-size: 32px;
  }

  .page-home .home-android__content h2,
  .page-home .home-archive__info h2 {
    font-size: 28px;
  }
}
