/* Homepage-specific styles */

.hero-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 15, 30, 1) 0%, rgba(18, 13, 28, 0.96) 8%, rgba(16, 12, 24, 0.88) 14%),
    linear-gradient(90deg, #0a0a0a 0%, #151018 24%, #3a1c71 56%, #241233 100%);
  padding: 84px 0 100px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 18, 36, 0.58) 0%, rgba(24, 18, 36, 0.18) 10%, rgba(24, 18, 36, 0) 20%),
    radial-gradient(circle at 76% 34%, rgba(255, 78, 205, 0.26) 0%, rgba(255, 78, 205, 0.12) 14%, rgba(255, 78, 205, 0) 34%),
    radial-gradient(circle at 62% 42%, rgba(120, 80, 255, 0.12) 0%, rgba(120, 80, 255, 0) 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.06) 32%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.16) 100%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(18, 13, 28, 0) 0%, rgba(18, 13, 28, 0.56) 60%, rgba(18, 13, 28, 1) 100%);
  pointer-events: none;
}

.hero-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 42px;
  align-items: center;
}

.hero-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-line-soft);
  color: #ddd8f2;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 18px;
}

.hero-section__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e87ff;
  box-shadow: 0 0 0 8px rgba(142, 135, 255, 0.10);
}

.hero-section__title {
  margin: 0;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.066em;
  font-weight: 800;
  max-width: 690px;
  text-wrap: balance;
}

.hero-section__description {
  margin: 24px 0 0;
  color: var(--color-text-soft);
  font-size: 16px;
  line-height: 1.95;
  max-width: 560px;
}

.hero-section__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-section__support {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-section__support span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-line-soft);
  color: #ddd8f2;
  font-size: 12px;
  font-weight: 700;
}

.hero-section__visual {
  position: relative;
  padding: 10px 0 6px;
  min-height: 640px;
}

.hero-section__visual::before {
  content: "";
  position: absolute;
  right: 12%;
  top: 12%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 205, 0.18) 0%, rgba(138, 96, 255, 0.10) 42%, rgba(138, 96, 255, 0) 74%);
  filter: blur(22px);
  pointer-events: none;
}

.hero-section__visual::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 6%;
  width: 58%;
  height: 14%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0) 76%);
  filter: blur(16px);
  pointer-events: none;
}

.hero-visual-image {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 620px;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}

.hero-visual-image::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 7%;
  width: 72%;
  height: 82%;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

.hero-visual-image img {
  position: absolute;
  right: 2%;
  top: 2%;
  width: 88%;
  max-width: 720px;
  height: auto;
  display: block;
  border-radius: 28px;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 34px 56px rgba(26, 16, 44, 0.26)) drop-shadow(0 18px 28px rgba(86, 54, 154, 0.10));
  z-index: 2;
  opacity: 0.985;
}

.section { background: transparent; padding: 38px 0; }

.section__header { margin-bottom: 18px; }

.section__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--color-text);
}

.section__description {
  margin: 10px 0 0;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.9;
  max-width: 760px;
}

.feature-grid,
.info-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.scenario-slider { display: grid; gap: 16px; }

.scenario-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.scenario-slider__track::-webkit-scrollbar { height: 8px; }

.scenario-slider__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.scenario-slide {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.20);
  min-height: 420px;
  display: grid;
  grid-template-rows: 220px 1fr;
}

.scenario-slide__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(122, 118, 255, 0.18), rgba(98, 158, 255, 0.08));
  aspect-ratio: 16 / 10;
}

.scenario-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scenario-slide__body {
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.scenario-slide__eyebrow {
  color: #d9dcf0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scenario-slide__title {
  display: block;
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.03em;
}

.scenario-slide__description {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 14px;
  line-height: 1.85;
}

.feature-card,
.info-card,
.faq-card {
  background: linear-gradient(180deg, rgba(43, 24, 58, 0.92) 0%, rgba(24, 17, 38, 0.96) 100%);
  border: 1px solid rgba(164, 143, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card:hover,
.info-card:hover,
.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-color: rgba(167, 146, 255, 0.30);
  background: linear-gradient(180deg, rgba(50, 27, 66, 0.95) 0%, rgba(28, 18, 42, 0.98) 100%);
}

.feature-card::before,
.info-card::before,
.faq-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.036), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.feature-card::after,
.info-card::after,
.faq-card::after {
  content: "";
  position: absolute;
  left: -10%;
  top: -20%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(121, 88, 255, 0.22) 0%, rgba(89, 174, 255, 0.10) 38%, rgba(121, 88, 255, 0) 72%);
  filter: blur(16px);
  pointer-events: none;
}

.feature-card {
  min-height: 196px;
  padding: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(122, 92, 255, 0.22) 0%, rgba(122, 92, 255, 0) 30%),
    radial-gradient(circle at 82% 78%, rgba(76, 168, 255, 0.14) 0%, rgba(76, 168, 255, 0) 36%),
    linear-gradient(180deg, rgba(51, 29, 72, 0.96) 0%, rgba(29, 19, 44, 0.98) 100%);
  border: 1px solid rgba(153, 129, 255, 0.20);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(163, 141, 255, 0.34);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(153, 129, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-card__content,
.info-card__content,
.faq-card__content {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.feature-card__content {
  grid-template-columns: 92px 1fr;
  gap: 18px;
  min-height: 196px;
  padding: 24px 26px;
}

.feature-card__icon,
.info-card__icon,
.faq-card__icon {
  width: 60px;
  height: 60px;
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 16px rgba(112, 93, 255, 0.22)) drop-shadow(0 0 30px rgba(63, 162, 255, 0.14));
}

.feature-card__icon {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(127, 91, 255, 0.20) 0%, rgba(63, 166, 255, 0.10) 100%), rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(169, 148, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 24px rgba(96, 98, 255, 0.16);
}

.feature-card__icon-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(126, 92, 255, 0.96), rgba(79, 163, 255, 0.92));
  box-shadow: 0 6px 14px rgba(73, 89, 214, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.20);
  z-index: 2;
}

.feature-card__icon-badge::before {
  content: "";
  width: 12px;
  height: 12px;
  display: block;
  background: #fff;
  clip-path: path('M6 0C3.2 1.4 1.3 1.5 0 1.5V6.2C0 9.1 2 11.5 6 12C10 11.5 12 9.1 12 6.2V1.5C10.7 1.5 8.8 1.4 6 0ZM3.1 4.3H6.9C8 4.3 8.9 5.2 8.9 6.3C8.9 7.4 8 8.3 6.9 8.3H6.3L4.7 9.5L5 8.3H3.1C2 8.3 1.1 7.4 1.1 6.3C1.1 5.2 2 4.3 3.1 4.3Z');
}

.feature-card__icon::before,
.info-card__icon::before,
.faq-card__icon::before {
  content: "";
  position: absolute;
  inset: 10% 10%;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(145, 109, 255, 0.22), rgba(80, 170, 255, 0.08) 52%, rgba(80, 170, 255, 0) 78%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

.feature-card__icon::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 25px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.feature-card__icon img,
.info-card__icon img,
.faq-card__icon img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-card { padding: 20px 22px; }

.faq-card { padding: 0; }

.faq-card__details {
  position: relative;
  z-index: 1;
}

.faq-card__summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
}

.faq-card__summary::-webkit-details-marker { display: none; }

.faq-card__summary .faq-card__content { pointer-events: none; }

.faq-card__answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  padding: 0 22px;
}

.faq-card__details[open] .faq-card__answer {
  max-height: 400px;
  opacity: 1;
  padding: 0 22px 20px 98px;
}

.faq-card__details[open] .faq-card__summary .faq-card__description { display: none; }

.feature-card__title,
.info-card__title,
.faq-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  color: #fff;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.feature-card__description,
.info-card__description,
.faq-card__description {
  margin: 10px 0 0;
  color: #c8cada;
  font-size: 14px;
  line-height: 1.8;
}

.about-cta-section { padding: 40px 0 20px; }

.about-cta-section__box {
  background: linear-gradient(135deg, rgba(122, 118, 255, 0.12) 0%, rgba(98, 158, 255, 0.08) 100%);
  border: 1px solid var(--color-line);
  border-radius: 26px;
  padding: 28px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.about-cta-section__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.about-cta-section__description {
  margin: 12px 0 0;
  color: var(--color-text-soft);
  font-size: 15px;
  line-height: 1.9;
  max-width: 720px;
}

@media (max-width: 1080px) {
  .hero-section__inner,
  .about-cta-section__box { grid-template-columns: 1fr; }

  .hero-visual-image { min-height: 420px; }

  .feature-grid,
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .hero-section { padding-top: 52px; padding-bottom: 84px; }

  .hero-section__title { font-size: clamp(38px, 10vw, 52px); }

  .hero-section__visual,
  .hero-visual-image { min-height: 320px; }

  .feature-grid,
  .info-grid,
  .faq-grid { grid-template-columns: 1fr; }

  .faq-card__details[open] .faq-card__answer { padding-left: 22px; }
}
