:root {
  --bg-deep: #040b1f;
  --bg-panel: rgba(9, 18, 46, 0.9);
  --bg-panel-light: rgba(14, 27, 71, 0.85);
  --brand-primary: #7b5bff;
  --brand-secondary: #22d3ee;
  --brand-tertiary: #f472b6;
  --text-muted: #9caecf;
  --text-bright: #f8fbff;
  --border-soft: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.4);
}

body {
  background: radial-gradient(circle at top, #0f172a, var(--bg-deep));
  color: var(--text-bright);
}

.layout-navbar,
.footer,
.card,
.accordion-button,
.accordion-body,
.table,
.cta-banner,
.timeline-step,
.hero,
.info-panel,
.video-frame {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.layout-navbar,
.footer,
.cta-banner {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  margin: 16px;
  padding: 12px 24px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 3rem clamp(1rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(123, 91, 255, 0.35), rgba(34, 211, 238, 0.2));
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(244, 114, 182, 0.3), transparent 55%);
  pointer-events: none;
}

.hero__eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-secondary);
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-bright);
}

.hero__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(4, 11, 31, 0.7);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  font-size: 1.8rem;
  color: var(--brand-secondary);
  display: block;
}

.hero__media {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__orb,
.hero__orb::after {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero__orb {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.5), transparent 70%);
  filter: blur(2px);
}

.hero__orb::after {
  content: "";
  inset: 25px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.6), transparent 60%);
}

.hero__device {
  width: min(320px, 80%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  background: rgba(3, 7, 18, 0.85);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.hero__device h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-secondary);
}

.hero__device p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
}

.hero__device img {
  width: 100%;
  border-radius: inherit;
  display: block;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.hero-chip {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.card.glow-card {
  background: var(--bg-panel-light);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.card.glow-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(123, 91, 255, 0.4);
}

.card.glow-card img {
  height: 200px;
  object-fit: cover;
  filter: saturate(1.1);
}

.card.glow-card .btn {
  border-radius: 999px;
  padding-inline: 1.5rem;
}

.ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 11, 31, 0.7);
  color: var(--brand-secondary);
  position: relative;
  overflow: hidden;
}

.ticker__dot {
  width: 8px;
  height: 8px;
  background: var(--brand-tertiary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--brand-tertiary);
}

.ticker span {
  display: inline-flex;
  gap: 0.25rem;
  animation: slide-horizontal 12s linear infinite;
  white-space: nowrap;
}

.stats-grid,
.info-panels,
.timeline,
.showcase-grid {
  margin-top: 3rem;
}

.info-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-panel {
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(11, 19, 45, 0.9), rgba(4, 7, 18, 0.9));
  box-shadow: var(--shadow-soft);
  transition: border 0.3s ease;
}

.info-panel:hover {
  border-color: rgba(34, 211, 238, 0.5);
}

.info-panel strong {
  font-size: 1.1rem;
  color: var(--text-bright);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.8rem;
}

.timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto;
  left: 18px;
  width: 2px;
  background: linear-gradient(var(--brand-secondary), var(--brand-tertiary));
}

.timeline-step {
  margin-left: 2.5rem;
  padding: 1.2rem 1.5rem 1.2rem 2rem;
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: rgba(3, 7, 18, 0.85);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.timeline-step::before {
  content: attr(data-step);
  position: absolute;
  left: -46px;
  top: 18px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-primary));
  color: #041026;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.timeline-step h4 {
  margin: 0 0 0.5rem;
  color: var(--text-bright);
}

.timeline-step p {
  margin: 0;
  color: var(--text-muted);
}

.cta-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(123, 91, 255, 0.4), rgba(34, 211, 238, 0.3));
}

.cta-banner h4 {
  margin: 0;
  color: var(--text-bright);
}

.cta-banner .btn {
  border-radius: 999px;
  padding-inline: 2rem;
}

.video-frame {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.video-frame video,
.video-frame img {
  border-radius: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.table-modern {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
}

.table-modern td {
  padding: 0.75rem 1rem;
  background: rgba(4, 11, 31, 0.75);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes slide-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .layout-navbar,
  .footer {
    margin: 12px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-step {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
  }

  .timeline-step::before {
    left: -38px;
  }
}

.lang-selector-wrapper {
  margin-left: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 4px;
  backdrop-filter: blur(16px);
  display: inline-block;
}

.lang-selector-floating {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  margin-left: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s ease;
  display: inline-block;
  width: fit-content;
  max-width: fit-content;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-selector-floating:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.lang-selector {
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text-bright);
  padding: 4px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.lang-selector option {
  background: #1e293b;
  color: var(--text-bright);
}

.lang-selector:hover {
  border-color: var(--brand-primary);
}
