:root {
  --page-bg: #f7f9ff;
  --page-text: #11224d;
  --page-muted: #506387;
  --line-soft: rgba(76, 112, 199, 0.14);
  --blue-main: #2476ff;
  --blue-strong: #0e58d8;
  --blue-soft: #edf4ff;
  --shadow-soft: 0 24px 60px rgba(53, 102, 203, 0.16);
  --shadow-strong: 0 26px 70px rgba(28, 56, 120, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--page-text);
  font-family: "Segoe UI Variable Text", "Segoe UI", "Inter", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(121, 171, 255, 0.22), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(104, 229, 255, 0.18), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 52%, #eef5ff 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-header {
  position: relative;
  z-index: 20;
  padding: 22px 24px 0;
}

.hero-nav {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.brand-mark span {
  border-radius: 3px;
  background: linear-gradient(180deg, #65b9ff, #2a72ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.brand-text {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--page-muted);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 25px rgba(53, 102, 203, 0.08);
  color: var(--page-text);
}

.nav-cta {
  color: white !important;
  background: linear-gradient(180deg, var(--blue-main), var(--blue-strong));
  box-shadow: 0 16px 28px rgba(36, 118, 255, 0.28);
}

.hero-page {
  padding: 24px 24px 40px;
}

.hero-stage {
  position: relative;
  width: min(1240px, 100%);
  margin: 0 auto;
  min-height: 760px;
  padding: 54px 0 20px;
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(540px, 1fr);
  align-items: center;
  gap: 36px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.backdrop-wave {
  position: absolute;
  border-radius: 999px;
  transform: rotate(-15deg);
  filter: blur(0.2px);
}

.wave-a {
  width: 1120px;
  height: 250px;
  left: 180px;
  bottom: 120px;
  background: linear-gradient(90deg, rgba(52, 117, 255, 0.03), rgba(50, 124, 255, 0.4), rgba(115, 227, 255, 0.08));
}

.wave-b {
  width: 980px;
  height: 170px;
  left: 100px;
  bottom: 90px;
  background: linear-gradient(90deg, rgba(88, 147, 255, 0.02), rgba(38, 120, 255, 0.78), rgba(255, 255, 255, 0));
}

.wave-c {
  width: 780px;
  height: 105px;
  left: 40px;
  bottom: 60px;
  background: linear-gradient(90deg, rgba(125, 191, 255, 0.04), rgba(69, 131, 255, 0.52), rgba(255, 255, 255, 0));
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #4473be;
  box-shadow: 0 12px 25px rgba(80, 130, 220, 0.12);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}

.hero-lead {
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1.5;
  color: var(--page-text);
  margin: 0 0 34px;
  font-weight: 500;
}

.hero-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.shortcut-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(112, 151, 235, 0.18);
  border-radius: 20px;
  padding: 16px 10px 14px;
  text-align: center;
  box-shadow: 0 18px 32px rgba(88, 136, 226, 0.12);
  color: #34527f;
  font-size: 0.9rem;
}

.shortcut-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff, #e8f1ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 18px rgba(66, 120, 224, 0.18);
  color: #2671ff;
  font-weight: 700;
  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 700;
}

.hero-button:hover {
  transform: translateY(-1px);
}

.hero-button-primary {
  color: white;
  background: linear-gradient(180deg, #2d83ff, #0d61e3);
  box-shadow: 0 18px 30px rgba(48, 114, 245, 0.3);
}

.hero-button-secondary {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(82, 126, 219, 0.18);
  color: #214273;
  box-shadow: 0 14px 28px rgba(88, 136, 226, 0.12);
}

.hero-visual {
  min-height: 560px;
}

.app-window {
  position: relative;
  width: min(100%, 760px);
  margin: 48px 0 0 40px;
  border-radius: 26px;
  background: linear-gradient(180deg, #2a2f39, #11151b 12%, #0f1115 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.app-window::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(86, 150, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.app-titlebar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 18px;
  color: #eff5ff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-title {
  font-size: 0.92rem;
}

.window-controls {
  display: flex;
  gap: 10px;
}

.window-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.app-showcase {
  position: relative;
  min-height: 470px;
  padding: 28px 32px 34px;
  perspective: 1600px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.app-showcase-stack {
  position: absolute;
  inset: 38px 44px 48px 72px;
  pointer-events: none;
}

.stack-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
  transform-origin: center center;
}

.stack-card-back {
  transform: translate3d(54px, -12px, -140px) rotateX(10deg) rotateY(-29deg) rotateZ(10deg) scale(0.95);
  opacity: 0.35;
}

.stack-card-mid {
  transform: translate3d(24px, 8px, -80px) rotateX(9deg) rotateY(-20deg) rotateZ(7deg) scale(0.98);
  opacity: 0.55;
}

.app-slideshow {
  position: relative;
  height: 400px;
  transform-style: preserve-3d;
}

.app-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.3);
  background: #101318;
  opacity: 0;
  transform: translate3d(8px, 18px, 0) rotateX(9deg) rotateY(-17deg) rotateZ(5deg) scale(0.94);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.app-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotateX(8deg) rotateY(-14deg) rotateZ(4deg) scale(1);
}

.slide-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.slide-dot.is-active {
  background: white;
  transform: scale(1.18);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(89, 134, 229, 0.14);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.floating-top-left {
  top: 22px;
  left: 18px;
  width: 82px;
  height: 82px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  transform: rotate(-9deg);
}

.mini-panel-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff, #ebf3ff);
  color: #2476ff;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.floating-right-top {
  top: 36px;
  right: 10px;
  width: 150px;
  border-radius: 18px;
  padding: 16px 16px 14px;
}

.floating-right-top p,
.floating-right-mid p,
.floating-right-bottom p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: #3b5585;
  font-weight: 700;
}

.floating-slider {
  height: 8px;
  border-radius: 999px;
  background: #d9e7ff;
  overflow: hidden;
}

.floating-slider span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8c6dff, #38a5ff);
}

.floating-right-mid {
  top: 188px;
  right: 0;
  width: 138px;
  border-radius: 20px;
  padding: 18px 14px;
  background: linear-gradient(180deg, #3b8fff, #2870f3);
}

.floating-right-mid p {
  margin: 0;
  color: white;
}

.floating-right-bottom {
  right: 26px;
  bottom: 38px;
  width: 170px;
  border-radius: 20px;
  padding: 16px;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.template-grid span {
  display: block;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f4f8ff, #dce9ff);
}

.template-grid span:nth-child(2),
.template-grid span:nth-child(3) {
  background: linear-gradient(135deg, #212736, #485a86);
}

.feature-strip {
  width: min(1240px, 100%);
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-panel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 16px 32px rgba(87, 132, 220, 0.08);
}

.feature-panel h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.feature-panel p {
  margin: 0;
  color: var(--page-muted);
  line-height: 1.7;
}

.site-footer {
  color: #6880ac;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--blue-strong);
}

.product-page {
  padding-bottom: 56px;
}

.product-stage {
  min-height: 680px;
}

.product-copy {
  max-width: 520px;
}

.product-visual {
  display: grid;
  align-items: center;
}

.product-showcase {
  position: relative;
  width: min(100%, 700px);
  margin: 58px 0 0 34px;
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(31, 39, 58, 0.96), rgba(14, 20, 34, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.product-showcase::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(65, 142, 255, 0.38), transparent 68%);
}

.showcase-header {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.showcase-header span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.discord-message {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  color: #eef5ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.discord-message strong {
  display: block;
  color: #ffffff;
  margin-bottom: 10px;
}

.discord-message p {
  margin: 0;
  line-height: 1.7;
  color: rgba(238, 245, 255, 0.82);
}

.discord-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.discord-list span {
  display: block;
  border-radius: 16px;
  padding: 14px 16px;
  color: #dce8ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-sections {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.product-feature-strip {
  width: 100%;
  margin-top: 0;
}

.info-panel {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 16px 32px rgba(87, 132, 220, 0.08);
}

.info-panel h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.info-panel p {
  margin: 0 0 14px;
  color: var(--page-muted);
  line-height: 1.8;
}

.info-panel p:last-child {
  margin-bottom: 0;
}

.strong {
  color: var(--page-text);
  font-weight: 700;
}

.muted-note {
  font-size: 0.92rem;
}

.table-wrap {
  overflow-x: auto;
}

.command-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  color: var(--page-muted);
  background: rgba(255, 255, 255, 0.64);
}

.command-table th,
.command-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

.command-table th {
  color: var(--page-text);
  background: rgba(237, 244, 255, 0.8);
}

.command-table tr:last-child td {
  border-bottom: 0;
}

.command-table td:first-child {
  color: var(--blue-strong);
  font-family: "Cascadia Code", "Consolas", monospace;
  font-weight: 700;
}

.code-panel {
  margin-top: 16px;
  border-radius: 18px;
  padding: 18px;
  color: #dce8ff;
  line-height: 1.8;
  background: linear-gradient(180deg, #26314a, #172036);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.legal-page {
  padding-top: 44px;
}

.legal-hero {
  width: min(920px, 100%);
  margin: 0 auto 22px;
}

.legal-card {
  width: min(920px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 18px 36px rgba(87, 132, 220, 0.1);
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--page-muted);
  line-height: 1.85;
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul {
  margin: 0 0 14px 1.25rem;
  list-style: disc;
}

.legal-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .product-showcase {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .hero-shortcuts,
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-window {
    margin-left: 0;
    width: 100%;
  }

  .app-showcase {
    min-height: 420px;
    padding: 22px 20px 30px;
  }

  .app-slideshow {
    height: 340px;
  }

  .floating-right-top,
  .floating-right-mid,
  .floating-right-bottom {
    right: 8px;
  }

  .product-stage {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero-header,
  .hero-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-stage {
    padding-top: 26px;
  }

  .hero-shortcuts,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .app-showcase {
    min-height: 310px;
    padding: 16px 14px 26px;
  }

  .app-showcase-stack {
    inset: 28px 18px 34px 34px;
  }

  .app-slideshow {
    height: 250px;
  }

  .floating-top-left,
  .floating-right-top,
  .floating-right-mid,
  .floating-right-bottom {
    transform: none;
    scale: 0.86;
    transform-origin: top right;
  }

  .product-showcase {
    margin-top: 44px;
    padding: 16px;
    border-radius: 22px;
  }

  .info-panel {
    padding: 22px;
    border-radius: 22px;
  }
}
