:root {
  --bg: #020c1b;
  --bg-soft: #0d1b33;
  --text: #eaf2ff;
  --muted: #b8c8e2;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #4a8dff;
  --accent-2: #78afff;
  --card: rgba(16, 31, 58, 0.7);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #193257 0%, transparent 42%),
    radial-gradient(circle at 100% 0%, #102544 0%, transparent 35%),
    var(--bg);
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
}

p {
  margin: 0;
  color: var(--muted);
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin-top: 0.75rem;
  max-width: 62ch;
}

.bg-glow {
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

.bg-glow-1 {
  top: -7rem;
  left: -7rem;
  background: rgba(74, 141, 255, 0.24);
}

.bg-glow-2 {
  bottom: -8rem;
  right: -7rem;
  background: rgba(120, 175, 255, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(6, 11, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 22%, rgba(199, 224, 255, 0.35), rgba(34, 87, 170, 0.3) 55%, rgba(8, 19, 40, 0.85));
  border: 1px solid rgba(164, 201, 255, 0.36);
  box-shadow: 0 10px 24px rgba(18, 55, 121, 0.4), inset 0 1px 4px rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 4px 12px rgba(16, 56, 130, 0.28);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-links a {
  color: #d6deef;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero-grid {
  display: grid;
  gap: 2.4rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  max-width: 13ch;
  margin-top: 0.8rem;
}

.hero-copy p {
  max-width: 58ch;
  margin-top: 1rem;
}

.duell-hook {
  color: #d6e6ff;
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(120, 175, 255, 0.55);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  color: #d8e8ff;
  background: rgba(74, 141, 255, 0.16);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  color: #0f0f12;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 8px 30px rgba(74, 141, 255, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(74, 141, 255, 0.42);
}

.btn:focus-visible,
.nav-links a:focus-visible,
summary:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid #8ab9ff;
  outline-offset: 3px;
}

.btn-lg {
  min-height: 48px;
  padding-inline: 1.4rem;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.trust-badges {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-badges span {
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  color: #dce5f7;
}

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

.phone-mockup {
  width: min(340px, 80vw);
  border-radius: 34px;
  padding: 0.9rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  position: relative;
}

.notch {
  width: 40%;
  height: 1rem;
  background: #03050b;
  border-radius: 999px;
  margin: 0 auto 0.75rem;
}

.screen-content {
  border-radius: 26px;
  background: linear-gradient(180deg, #111b2f, #0d1422 65%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
}

.screen-head,
.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score-row {
  margin: 1rem 0;
  text-align: center;
}

.score-row p {
  margin-top: 0.2rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
}

.timer {
  color: #cfe4ff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mini-card {
  padding: 0.8rem;
  border-radius: 14px;
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: #d7e4ff;
}

.floating-card {
  position: absolute;
  font-size: 0.86rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
}

.card-a {
  top: 10%;
  left: 0;
}

.card-b {
  bottom: 8%;
  right: 0;
}

.feature-grid,
.pricing-grid,
.screens-grid,
.testimonial-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.glass-card,
.price-card,
.screen-card,
.duell-ui {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.glass-card,
.price-card {
  padding: 1.2rem;
}

.featured-duell {
  background: linear-gradient(145deg, rgba(74, 141, 255, 0.24), rgba(15, 29, 54, 0.78));
}

.duell-spotlight {
  background: linear-gradient(180deg, rgba(74, 141, 255, 0.12), transparent);
}

.duell-grid {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.steps-list {
  margin: 1.2rem 0 1.4rem;
  padding-left: 1.1rem;
}

.steps-list li {
  margin-bottom: 0.6rem;
  color: #dce4f6;
}

.duell-ui {
  padding: 1.25rem;
}

.duell-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
}

.duell-scoreboard strong {
  display: block;
  font-size: 1.4rem;
}

.countdown {
  border: 1px solid rgba(120, 175, 255, 0.55);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  color: #d4e7ff;
}

.duell-round {
  margin: 1rem 0;
  color: #dae3f7;
}

.timeline .line {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  overflow: hidden;
  margin: 1rem 0 1.8rem;
}

.timeline .line span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: pulseLine 2.8s ease-in-out infinite;
}

@keyframes pulseLine {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(120%);
  }
}

.timeline-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.timeline-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.screens-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.screen-card {
  padding: 0.8rem;
}

.screen-shot {
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 9/18;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #101723;
  cursor: zoom-in;
}

.screen-card figcaption {
  margin-top: 0.65rem;
  color: #d6e1f8;
  font-size: 0.9rem;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.price {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.price-card ul {
  margin: 0.9rem 0 1.15rem;
  padding-left: 1rem;
  color: #dce5f7;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.price-head {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.price-card.best {
  border-color: rgba(120, 175, 255, 0.58);
  background: linear-gradient(160deg, rgba(74, 141, 255, 0.24), rgba(15, 29, 54, 0.75));
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.14);
  color: #d6e7ff;
}

.price-meta {
  font-size: 0.83rem;
  color: #b9ccec;
}

.price-copy {
  min-height: 3.2em;
}

.price-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.price-features li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #dce8ff;
  font-size: 0.92rem;
}

.price-features strong {
  white-space: nowrap;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9ec2ff;
}

.price-features strong.off {
  color: #94a7c8;
}

.price-features strong.on {
  color: #4fe08a;
}

.price-card .btn {
  margin-top: auto;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.faq-list {
  margin-top: 1.2rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  margin-bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.03);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  color: #edf4ff;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: #8fbaff;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin-top: 0.7rem;
}

.cta-section {
  text-align: center;
}

.cta-section .container {
  border-radius: 22px;
  border: 1px solid rgba(120, 175, 255, 0.45);
  background: linear-gradient(140deg, rgba(74, 141, 255, 0.3), rgba(13, 28, 52, 0.86));
  padding: 2.8rem 1.4rem;
}

.cta-section h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.cta-section p {
  margin: 0.9rem auto 1.4rem;
  max-width: 56ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.7rem 0 2rem;
  background: rgba(4, 7, 12, 0.95);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.brandline {
  color: #dde7fa;
}

.footer-links,
.socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #e4ecfc;
  stroke-width: 2;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8, 14, 23, 0.95);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 9, 18, 0.86);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  width: min(92vw, 520px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  background: #0b1730;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 16, 30, 0.9);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

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

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

@media (min-width: 860px) {
  .hero-grid,
  .duell-grid {
    grid-template-columns: 1.07fr 0.93fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr auto auto;
  }
}

@media (max-width: 859px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: rgba(6, 11, 18, 0.97);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 420px;
  }

  .nav-links a {
    padding: 0.95rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
