.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card {
  border-radius: 16px;
  padding: 24px;
  transition: 0.2s;
}

.card:hover {
  box-shadow: 0 0 60px rgba(99, 102, 241, 0.2);
}

.card-3d {
  position: relative;
  border-radius: 22px;
  padding: 24px;
  overflow: hidden;
  transform: perspective(1000px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-3d:hover {
  box-shadow: 0 0 80px rgba(99, 102, 241, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
  transform: perspective(1000px) translateY(-8px) scale(1.02);
}

.glow-pro {
  position: relative;
  isolation: isolate;
}

.glow-pro::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(400px circle at center, var(--glow-color, rgba(99, 102, 241, 0.15)), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.glow-pro::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: inherit;
  background: radial-gradient(300px circle, var(--glow-color-strong, rgba(99, 102, 241, 0.2)), transparent 70%);
  filter: blur(42px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -2;
}

.glow-pro:hover::before {
  opacity: 1;
}

.glow-pro:hover::after {
  opacity: 0.7;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: .6s;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-v2 {
  display: grid;
  gap: 40px;
  align-items: center;
  min-height: 86vh;
}

@media (min-width: 980px) {
  .hero-v2 {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-mega-title,
.section-title {
  margin: 18px 0 0;
  font-weight: 800;
}

.hero-mega-title {
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.hero-lead,
.section-copy {
  margin-top: 20px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.8;
}

.narrow-copy {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.center-head {
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn,
.theme-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.primary-btn,
.theme-button {
  background: #fff;
  color: #000;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.primary-btn:hover,
.ghost-btn:hover,
.theme-button:hover {
  transform: translateY(-2px);
}

.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.stage-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ring-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 68%);
}

.ring-b {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08), transparent 70%);
  filter: blur(18px);
}

.stage-panel {
  position: relative;
  width: min(100%, 470px);
  min-height: 410px;
  padding: 22px;
  border-radius: 28px;
  transform: perspective(1200px) rotateY(-14deg) rotateX(8deg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.stage-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stage-chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.stage-chip.cyan {
  color: #67e8f9;
}

.stage-chip.violet {
  color: #c084fc;
}

.stage-screen {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  margin-top: 22px;
}

.screen-sidebar,
.screen-main {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.screen-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 14px;
}

.screen-sidebar span,
.screen-grid i,
.stack-card,
.panel-footer-line,
.screen-line,
.screen-stat {
  display: block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.screen-sidebar span {
  width: 100%;
  height: 14px;
  border-radius: 999px;
}

.screen-main {
  padding: 18px;
}

.screen-stat.big {
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(168, 85, 247, 0.12));
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.screen-grid i {
  height: 76px;
  border-radius: 16px;
}

.screen-line,
.panel-footer-line {
  height: 12px;
  border-radius: 999px;
  margin-top: 16px;
}

.screen-line.short,
.panel-footer-line.short {
  width: 62%;
}

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

.cards-3d-grid,
.feature-grid,
.about-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .cards-3d-grid,
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.showcase-card {
  min-height: 430px;
  padding: 22px;
}

.showcase-orb {
  position: absolute;
  inset: auto -40px -50px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  opacity: 0.55;
  filter: blur(8px);
}

.showcase-panel {
  position: relative;
  min-height: 230px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateX(10deg);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.panel-mini-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.panel-stack {
  position: relative;
  min-height: 140px;
  margin-top: 20px;
}

.stack-card {
  position: absolute;
  left: 50%;
  width: 72%;
  height: 92px;
  border-radius: 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.stack-card.large {
  top: 6px;
}

.stack-card.mid {
  top: 28px;
  width: 80%;
  opacity: 0.72;
}

.stack-card.small {
  top: 52px;
  width: 88%;
  opacity: 0.48;
}

.showcase-meta {
  position: relative;
  margin-top: 22px;
}

.showcase-meta h3,
.feature-card h3 {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 700;
}

.showcase-meta p,
.feature-card p,
.about-list li {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.tone-cyan .showcase-panel,
.tone-cyan .stack-card.large {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(34, 211, 238, 0.05));
}

.tone-violet .showcase-panel,
.tone-violet .stack-card.large {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.24), rgba(168, 85, 247, 0.05));
}

.tone-amber .showcase-panel,
.tone-amber .stack-card.large {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.05));
}

.tone-cyan .stack-card.mid,
.tone-cyan .stack-card.small {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(255, 255, 255, 0.03));
}

.tone-violet .stack-card.mid,
.tone-violet .stack-card.small {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(255, 255, 255, 0.03));
}

.tone-amber .stack-card.mid,
.tone-amber .stack-card.small {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(255, 255, 255, 0.03));
}

.feature-card,
.about-panel,
.cta-panel {
  border-radius: 20px;
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: rgba(99, 102, 241, 0.14);
  color: #c7d2fe;
  font-weight: 800;
}

.about-list {
  margin: 0;
  padding-left: 18px;
}

.about-list li + li {
  margin-top: 12px;
}

.cta-panel {
  --glow-color: rgba(99, 102, 241, 0.16);
  --glow-color-strong: rgba(99, 102, 241, 0.24);
}
