:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --surface-hover: #f1f5ff;
  --text: #13233d;
  --text-muted: #596b86;
  --accent: #2463eb;
  --accent-hover: #174fc8;
  --border: #dce6f5;
  --radius: 14px;
  --radius-lg: 26px;
  --top-bottom-bg: #11284d;
  --top-bottom-text: #ffffff;
  --top-bottom-text-muted: rgba(255, 255, 255, 0.76);
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-bg-50: rgba(255, 255, 255, 0.78);
  --glass-bg-35: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(32, 71, 129, 0.1);
  --glass-blur: 18px;
}

html {
  scroll-padding-top: 6rem;
}

body {
  background:
    radial-gradient(ellipse at 78% 11%, rgba(205, 224, 255, 0.45), transparent 34rem),
    var(--bg);
  color: var(--text);
}

#particle-canvas {
  opacity: 0.12;
  pointer-events: none;
}

.header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(30, 65, 120, 0.1);
  box-shadow: 0 4px 24px rgba(28, 52, 91, 0.045);
}

.header.is-scrolled {
  box-shadow: 0 8px 28px rgba(28, 52, 91, 0.1);
}

.header-inner {
  max-width: 1240px;
  padding: 1rem 2rem;
}

.logo,
.logo:hover {
  color: var(--text);
}

.header .nav a {
  color: #52627b;
  font-weight: 500;
}

.header .nav a:hover {
  color: var(--accent);
}

.header .btn-ghost,
.header .btn-ghost:hover {
  color: #52627b;
  background: #f0f4fb;
}

.header .btn-primary,
.header .nav .btn-primary {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 7px 18px rgba(36, 99, 235, 0.2);
}

.header .btn-primary:hover,
.header .nav .btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.header .btn-primary .btn-icon,
.header .nav .btn-primary .btn-icon,
.header .btn-primary svg,
.header .nav .btn-primary svg,
.header .btn-primary:hover .btn-icon,
.header .btn-primary:hover svg,
.header .nav .btn-primary:hover svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.banner {
  max-width: 1240px;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  min-height: 540px;
  padding: 4rem 2rem 4.5rem;
}

.banner-content {
  gap: 1.15rem;
}

.banner-content h1 {
  max-width: 11ch;
  font-size: clamp(2.7rem, 5vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.banner-content p {
  max-width: 35rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

.banner-content .gp-badge {
  margin-top: 0.35rem;
}

.banner-content .gp-badge img {
  height: 58px;
}

.banner-visual {
  aspect-ratio: 2 / 1;
  background: linear-gradient(145deg, #e9f2ff, #f7fbff 70%);
  border: 1px solid rgba(77, 126, 203, 0.12);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(43, 86, 153, 0.13);
}

.banner-visual img {
  object-fit: cover;
}

.features-bar {
  max-width: 1240px;
  padding: 0 2rem 2.5rem;
}

.features-bar-inner {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-color: rgba(44, 81, 136, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(36, 66, 110, 0.07);
}

.features-bar h2 {
  margin-bottom: 1.75rem;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.feature-cards {
  gap: 1rem;
}

.feature-card {
  min-height: 190px;
  padding: 1.5rem;
  border-color: rgba(44, 81, 136, 0.11);
  border-radius: 20px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 5px 20px rgba(36, 66, 110, 0.035);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover {
  border-color: rgba(36, 99, 235, 0.38);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(36, 66, 110, 0.11);
}

.feature-card .icon-wrap {
  width: 48px;
  height: 48px;
  margin: 0 0 1.1rem;
  border-radius: 15px;
  background: #eaf1ff !important;
  color: var(--accent);
}

.feature-card:nth-child(2) .icon-wrap {
  background: #e7f7f4 !important;
  color: #128b7b;
}

.feature-card:nth-child(3) .icon-wrap {
  background: #f0ebff !important;
  color: #6e55c9;
}

.feature-card .icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  line-height: 1.6;
}

.feature-details {
  max-width: 1240px;
  padding: 4.5rem 2rem 5.5rem;
}

.feature-detail {
  gap: clamp(2.5rem, 6vw, 5.5rem);
  margin-bottom: 6rem;
  scroll-margin-top: 7rem;
}

.feature-detail .detail-visual {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(77, 126, 203, 0.12);
  border-radius: 28px;
  background: #edf4ff;
  box-shadow: 0 22px 55px rgba(43, 75, 127, 0.11);
}

.feature-detail .detail-visual img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-detail .detail-visual:hover img {
  transform: scale(1.025);
}

.detail-content h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.detail-content p,
.detail-content li {
  font-size: 1rem;
  line-height: 1.75;
}

.detail-content li {
  padding: 0.45rem 0 0.45rem 1.35rem;
}

.detail-content li::before {
  top: 1rem;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px rgba(36, 99, 235, 0.1);
}

.footer {
  background: #11284d;
  border-top: 0;
  padding-top: 4.5rem;
}

.footer-inner {
  max-width: 1240px;
}

.footer-legal {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.back-to-top {
  box-shadow: 0 8px 24px rgba(22, 70, 158, 0.3);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(36, 99, 235, 0.48);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .header-inner {
    gap: 0.9rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .header .logo {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1.2rem;
  }

  .header .nav {
    flex-shrink: 0;
    gap: 0.85rem;
  }

  .header .nav a {
    white-space: nowrap;
  }

  .banner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3.5rem;
  }

  .banner-content h1 {
    max-width: 15ch;
  }

  .banner-visual {
    width: 100%;
  }

  .feature-detail {
    gap: 2rem;
    margin-bottom: 4.5rem;
  }
}

@media (max-width: 600px) {
  .header-inner {
    gap: 0.8rem;
    padding: 0.85rem 1.15rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .logo {
    font-size: 1.15rem;
  }

  .header .nav {
    width: 100%;
    min-width: 0;
    flex: 1 0 100%;
    flex-shrink: 1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
  }

  .header .nav a {
    font-size: 0.82rem;
    white-space: normal;
  }

  .header .nav .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
  }

  .banner {
    gap: 1.75rem;
    padding: 3rem 1.15rem 2.5rem;
  }

  .banner-content {
    align-items: flex-start;
    text-align: left;
  }

  .banner-content h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .banner-content p {
    font-size: 1rem;
  }

  .banner-content .btn-primary {
    align-self: flex-start;
  }

  .banner-visual {
    aspect-ratio: 1.24 / 1;
    border-radius: 24px;
  }

  .banner-visual img {
    object-fit: cover;
  }

  .features-bar {
    padding: 0 1.15rem 1.5rem;
  }

  .features-bar-inner {
    padding: 1.35rem;
    border-radius: 24px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 1rem;
    align-items: center;
    padding: 1rem;
  }

  .feature-card .icon-wrap {
    grid-row: span 2;
    margin: 0;
  }

  .feature-card h3 {
    align-self: end;
    margin: 0 0 0.15rem;
  }

  .feature-card p {
    align-self: start;
  }

  .feature-details {
    padding: 2.5rem 1.15rem 3.5rem;
  }

  .feature-detail {
    gap: 1.5rem;
    margin-bottom: 3.75rem;
  }

  .feature-detail .detail-visual {
    border-radius: 22px;
  }

  .detail-content h3 {
    font-size: 1.8rem;
  }

  .footer {
    padding: 3.25rem 1.25rem 1.5rem;
  }

  .footer-top {
    gap: 2rem;
  }

  .footer-links {
    gap: 1.5rem;
  }

  .footer-download {
    text-align: left;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
