:root {
  --bg-900: #070b16;
  --bg-850: #0b1224;
  --bg-800: #0e1730;
  --bg-700: #142041;
  --primary: #7c5cff;
  --primary-soft: #b4a7ff;
  --mint: #2dd4bf;
  --accent: #ff6b8a;
  --text-main: #e8ecff;
  --text-muted: #a9b2d1;
  --light-bg: #f3f6ff;
  --card: #101a35;
  --line: rgba(158, 178, 255, 0.22);
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-900);
  color: var(--text-main);
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 80px 0;
}

.site-header .navbar {
  padding: 14px 0;
  background: rgba(6, 10, 24, 0.72);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

.site-header.scrolled .navbar {
  background: rgba(5, 9, 21, 0.95);
  border-bottom-color: rgba(124, 92, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 28%, #fff 0 12%, var(--mint) 13% 38%, var(--primary) 39% 72%, #21114a 73% 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 25px rgba(124, 92, 255, 0.45);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.navbar .nav-link {
  color: rgba(230, 238, 255, 0.83);
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
  background: rgba(124, 92, 255, 0.18);
}

.btn-glow {
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.4);
  background: linear-gradient(120deg, var(--primary), #4e7bff);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
}

.btn-glow:hover {
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.4);
}

.mobile-panel {
  background: linear-gradient(160deg, #0a1023, #0b1533);
}

.mobile-panel .nav-link {
  color: rgba(232, 239, 255, 0.86);
  border: 1px solid rgba(124, 92, 255, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
}

.mobile-panel .nav-link:hover {
  background: rgba(124, 92, 255, 0.24);
}

.hero-section {
  margin-top: 72px;
}

.hero-section .carousel-item {
  height: min(82vh, 780px);
  min-height: 560px;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(1.1);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(4, 9, 22, 0.86) 10%, rgba(10, 19, 40, 0.62) 42%, rgba(14, 22, 43, 0.28) 100%);
}

.hero-section .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  left: 0;
  right: 0;
  text-align: left;
  z-index: 5;
}

.hero-copy {
  max-width: 690px;
}

.hero-tag {
  display: inline-block;
  background: rgba(45, 212, 191, 0.16);
  color: var(--mint);
  border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy h1,
.hero-copy h2 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero-copy p {
  color: rgba(235, 240, 255, 0.88);
  max-width: 620px;
  margin-bottom: 20px;
}

.hero-date {
  margin-top: 16px;
  color: rgba(214, 223, 255, 0.78);
  font-size: 0.9rem;
}

.btn-solid {
  border: 0;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  padding: 11px 22px;
  background: linear-gradient(120deg, var(--primary), #4d7dff);
}

.btn-solid:hover {
  color: #fff;
  box-shadow: 0 10px 28px rgba(124, 92, 255, 0.42);
}

.btn-outline-lighted {
  border: 1px solid rgba(230, 239, 255, 0.6);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  padding: 11px 22px;
  background: rgba(12, 16, 31, 0.26);
}

.btn-outline-lighted:hover {
  color: #fff;
  border-color: var(--mint);
  background: rgba(45, 212, 191, 0.14);
}

.btn-outline-deep {
  border: 1px solid rgba(20, 32, 65, 0.25);
  color: #1a2a52;
  border-radius: 999px;
  font-weight: 600;
  padding: 11px 22px;
  background: #fff;
}

.btn-outline-deep:hover {
  color: #10234b;
  border-color: #4f72ff;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 56px;
  opacity: 0.95;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(7, 12, 26, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-section .carousel-indicators {
  margin-bottom: 1.5rem;
}

.hero-section .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
}

.hero-section .carousel-indicators .active {
  background: var(--mint);
}

.headline-strip {
  background: #090f20;
  border-top: 1px solid rgba(124, 92, 255, 0.25);
  border-bottom: 1px solid rgba(124, 92, 255, 0.2);
}

.headline-strip .container-xxl {
  padding-top: 11px;
  padding-bottom: 11px;
}

.headline-label {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #ff9d7f);
  border-radius: 999px;
  padding: 4px 10px;
  margin-right: 14px;
}

.headline-marquee {
  overflow: hidden;
  width: 100%;
}

.headline-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.headline-track a {
  color: rgba(223, 231, 255, 0.86);
  font-size: 0.9rem;
}

.headline-track a:hover {
  color: var(--mint);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.featured-section {
  background: linear-gradient(180deg, #080d1b 0%, #0d1630 100%);
}

.section-head {
  margin-bottom: 28px;
}

.section-eyebrow {
  margin-bottom: 10px;
  color: var(--primary-soft);
  font-size: 0.78rem;
  letter-spacing: 1.3px;
  font-weight: 700;
}

.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.24;
  font-weight: 800;
}

.section-title.dark {
  color: #0f1c3d;
}

.section-link {
  color: rgba(228, 235, 255, 0.84);
  font-size: 0.93rem;
}

.section-link.dark {
  color: #425786;
}

.section-link:hover {
  color: var(--mint);
}

.poster-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(124, 92, 255, 0.2);
  position: relative;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.poster-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.poster-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(6, 10, 22, 0.92), rgba(6, 10, 22, 0.08));
}

.poster-info h3 {
  margin: 8px 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.poster-info p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(220, 229, 255, 0.85);
}

.chip {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(45, 212, 191, 0.22);
  border: 1px solid rgba(45, 212, 191, 0.5);
}

.poster-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.about-section {
  background: var(--light-bg);
  color: #1a2a52;
}

.about-text {
  color: #445984;
  margin-top: 16px;
  margin-bottom: 12px;
}

.stat-pill {
  background: #fff;
  border: 1px solid rgba(73, 100, 163, 0.18);
  border-radius: 14px;
  padding: 12px;
  height: 100%;
}

.stat-pill h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #213a72;
  font-weight: 800;
}

.stat-pill p {
  margin: 5px 0 0;
  font-size: 0.82rem;
  color: #5d7098;
}

.about-image-wrap {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(38, 53, 96, 0.22);
}

.about-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.workflow-section {
  background: radial-gradient(circle at 20% 0, rgba(124, 92, 255, 0.24), transparent 38%), #0b1226;
}

.step-card {
  border-radius: 16px;
  border: 1px solid rgba(124, 92, 255, 0.24);
  background: rgba(16, 27, 56, 0.86);
  padding: 22px 18px;
}

.step-num {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(130deg, #6f5bff, #2bcbb6);
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.step-card p {
  color: rgba(217, 228, 255, 0.82);
  margin: 0;
  font-size: 0.92rem;
}

.news-section {
  background: #edf2ff;
}

.news-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(63, 95, 167, 0.13);
  box-shadow: 0 10px 24px rgba(21, 37, 78, 0.08);
  transition: transform 0.24s ease;
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-body {
  padding: 16px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: #7486ac;
}

.news-tag {
  background: #e8efff;
  color: #3058b6;
  border-radius: 999px;
  padding: 3px 9px;
  font-weight: 700;
}

.news-body h3 {
  color: #162d63;
  font-size: 1.03rem;
  line-height: 1.45;
  margin: 0 0 10px;
}

.news-body p {
  color: #5f729c;
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.read-more {
  color: #3d62d2;
  font-size: 0.88rem;
  font-weight: 600;
}

.read-more:hover {
  color: #2948a6;
}

.friends-section {
  background: #0c1328;
}

.friends-box {
  background: linear-gradient(140deg, rgba(18, 29, 58, 0.92), rgba(17, 25, 50, 0.92));
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 18px;
  padding: 24px;
}

.friends-title {
  font-size: 1.35rem;
  color: #f0f4ff;
  font-weight: 700;
}

.friends-sub {
  color: rgba(205, 216, 246, 0.82);
  font-size: 0.9rem;
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.friend-link {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #dce6ff;
  background: rgba(14, 24, 48, 0.7);
  transition: all 0.2s ease;
}

.friend-link:hover {
  color: #fff;
  border-color: var(--mint);
  transform: translateY(-2px);
}

.cta-section {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.05);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 12, 28, 0.78), rgba(10, 15, 34, 0.52));
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 10px;
  font-weight: 800;
  color: #fff;
}

.cta-content p {
  color: rgba(232, 240, 255, 0.9);
  margin-bottom: 22px;
}

.site-footer {
  background: #080f20;
  color: rgba(218, 228, 255, 0.86);
}

.footer-brand {
  display: inline-block;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-text {
  color: rgba(201, 212, 244, 0.8);
  margin-bottom: 16px;
  font-size: 0.93rem;
}

.socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(118, 140, 204, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
}

.social-link:hover {
  color: #fff;
  border-color: var(--mint);
}

.footer-title {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.site-footer .small a {
  color: rgba(203, 214, 244, 0.84);
  font-size: 0.92rem;
}

.footer-links a:hover,
.site-footer .small a:hover {
  color: #fff;
}

.subscribe-group .form-control {
  border-radius: 999px 0 0 999px;
  border: 1px solid rgba(128, 149, 208, 0.35);
  background: rgba(10, 18, 38, 0.88);
  color: #e7eeff;
  padding: 10px 14px;
}

.subscribe-group .form-control:focus {
  box-shadow: none;
  border-color: rgba(45, 212, 191, 0.6);
}

.subscribe-group .btn {
  border-radius: 0 999px 999px 0;
}

.footer-divider {
  border-color: rgba(108, 129, 185, 0.24);
  margin: 26px 0 14px;
}

.copyright-brand {
  color: #fff;
}

@media (max-width: 1199.98px) {
  .poster-card img {
    height: 280px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    margin-top: 66px;
  }

  .hero-section .carousel-item {
    min-height: 520px;
    height: 74vh;
  }

  .hero-copy {
    max-width: 100%;
  }

  .about-image-wrap img {
    height: 380px;
  }

  .friend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 72px 0;
  }

  .section-pad-sm {
    padding: 66px 0;
  }

  .hero-section .carousel-item {
    min-height: 500px;
    height: 72vh;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 1.9rem;
  }

  .hero-copy p {
    font-size: 0.95rem;
  }

  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    display: none;
  }

  .poster-card img {
    height: 250px;
  }

  .news-card img {
    height: 200px;
  }

  .friend-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .brand-text {
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .headline-label {
    margin-right: 10px;
  }

  .friends-box {
    padding: 18px;
  }
}