/* ==========================================================================
   Variables & Base Settings
   ========================================================================== */
:root {
  --sw-bg: #090d18;
  --sw-panel: #111a2b;
  --sw-panel2: #17243a;
  --sw-text: #f7f9ff;
  --sw-muted: #aebbd0;
  --sw-cyan: #43e7ff;
  --sw-pink: #ff3e8d;
  --sw-yellow: #ffd166;
  --sw-purple: #8665ff;
  --sw-border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--sw-bg);
  color: var(--sw-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  background: rgba(9, 13, 24, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sw-border);
}

.navbar-brand {
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 1.55rem;
  color: #fff;
}

.brand-dot {
  color: var(--sw-cyan);
}

.nav-link {
  color: #c7d2e5 !important;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--sw-cyan) !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-sw {
  background: linear-gradient(100deg, var(--sw-cyan), #9af6ff);
  color: #07111b;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(67, 231, 255, 0.16);
  transition: 0.2s;
}

.btn-sw:hover {
  transform: translateY(-2px);
  color: #07111b;
  box-shadow: 0 0 34px rgba(67, 231, 255, 0.3);
}

.btn-outline-sw {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 999px;
  padding: 0.82rem 1.3rem;
  font-weight: 700;
}

.btn-outline-sw:hover {
  background: #fff;
  color: #101827;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 8.2rem 0 5.8rem;
  background: radial-gradient(ellipse at 78% 38%, rgba(92, 68, 255, 0.22), transparent 36%),
              radial-gradient(ellipse at 18% 30%, rgba(67, 231, 255, 0.12), transparent 32%),
              linear-gradient(180deg, #0a1020, #090d18 85%);
  isolation: isolate;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(67, 231, 255, 0.35);
  border-radius: 999px;
  background: rgba(67, 231, 255, 0.07);
  color: var(--sw-cyan);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #6effb3;
  border-radius: 50%;
  box-shadow: 0 0 12px #6effb3;
}

h1 {
  font-size: clamp(3.1rem, 6.4vw, 5.9rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 1.4rem 0 1.3rem;
}

.gradient-text {
  background: linear-gradient(100deg, #fff 8%, var(--sw-cyan) 48%, #b9aaff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: 1.16rem;
  color: var(--sw-muted);
  line-height: 1.75;
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.micro-proof {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  color: #d5deed;
  font-size: 0.88rem;
}

.micro-proof span {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.check {
  color: var(--sw-cyan);
  font-weight: 900;
}

/* ==========================================================================
   Spin Wheel Demo Showcase
   ========================================================================== */
.demo-wrap {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}

.screen-frame {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55),
              0 0 60px rgba(105, 85, 255, 0.13);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0.35rem 0.9rem;
  color: #c8d5e9;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.screen-dots {
  display: flex;
  gap: 5px;
}

.screen-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #71809b;
}

.screen-content {
  border-radius: 15px;
  background: radial-gradient(circle at 50% 40%, #1e2e4b, #0a1020 72%);
  padding: 1.3rem;
  min-height: 355px;
  overflow: hidden;
  position: relative;
}

.screen-content:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.06), transparent 65%);
  pointer-events: none;
}

.demo-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sw-cyan);
  font-weight: 800;
  text-align: center;
}

.wheel-stage {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 1.1rem auto 0.8rem;
}

.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.wheel {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 7px solid #e9f6ff;
  box-shadow: 0 0 0 5px rgba(67, 231, 255, 0.18),
              0 0 40px rgba(67, 231, 255, 0.25);
  background: conic-gradient(
    #ff3e8d 0deg 45deg,
    #ffbd59 45deg 90deg,
    #43e7ff 90deg 135deg,
    #8665ff 135deg 180deg,
    #45d6a4 180deg 225deg,
    #ff6d56 225deg 270deg,
    #5c8dff 270deg 315deg,
    #ffd166 315deg 360deg
  );
  transition: transform 3.4s cubic-bezier(0.12, 0.72, 0.08, 1);
}

.wheel:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, transparent 0deg 43.7deg, rgba(7, 13, 26, 0.85) 43.7deg 45deg);
}

.wheel:after {
  content: "SPIN";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #09111f;
  border: 3px solid #fff;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

.screen-caption {
  text-align: center;
  color: #d5deed;
  font-size: 0.84rem;
}

.screen-caption strong {
  color: #fff;
}

.demo-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.demo-controls button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.demo-controls button:hover {
  background: rgba(67, 231, 255, 0.15);
  border-color: var(--sw-cyan);
}

/* ==========================================================================
   Floating Chips / Badges
   ========================================================================== */
.float-chip {
  position: absolute;
  z-index: 5;
  padding: 0.7rem 0.95rem;
  background: rgba(17, 26, 43, 0.92);
  border: 1px solid var(--sw-border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  color: #dce7f8;
}

.float-chip strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.chip-a {
  left: -34px;
  top: 19%;
}

.chip-b {
  right: -24px;
  bottom: 17%;
}

.chip-icon {
  color: var(--sw-cyan);
  font-size: 1.1rem;
  margin-right: 0.35rem;
}

/* ==========================================================================
   General Sections & Feature Strip
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--sw-cyan);
  font-weight: 900;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0.8rem 0 1rem;
}

.section-intro {
  color: var(--sw-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 680px;
}

.feature-strip {
  border-top: 1px solid var(--sw-border);
  border-bottom: 1px solid var(--sw-border);
  background: rgba(255, 255, 255, 0.025);
}

.feature-item {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #dce5f4;
  font-size: 0.94rem;
  font-weight: 700;
}

.feature-item b {
  display: block;
  color: var(--sw-cyan);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

/* ==========================================================================
   Cards (Features & Use Cases)
   ========================================================================== */
.feature-card,
.use-card {
  height: 100%;
  border: 1px solid var(--sw-border);
  border-radius: 20px;
  padding: 1.6rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
  transition: 0.25s;
}

.feature-card:hover,
.use-card:hover {
  transform: translateY(-5px);
  border-color: rgba(67, 231, 255, 0.45);
  background: linear-gradient(145deg, rgba(67, 231, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(67, 231, 255, 0.1);
  border: 1px solid rgba(67, 231, 255, 0.22);
  color: var(--sw-cyan);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.feature-card h3,
.use-card h3 {
  font-size: 1.2rem;
  font-weight: 850;
  margin-bottom: 0.7rem;
}

.feature-card p,
.use-card p {
  color: var(--sw-muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.use-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.use-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  right: -48px;
  bottom: -55px;
  background: radial-gradient(circle, rgba(67, 231, 255, 0.18), transparent 70%);
}

.use-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sw-cyan);
  font-weight: 900;
  margin-bottom: 1rem;
  display: block;
}

/* ==========================================================================
   Call to Action (CTA) & Footer
   ========================================================================== */
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(67, 231, 255, 0.25);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  background: radial-gradient(ellipse at 90% 10%, rgba(134, 101, 255, 0.25), transparent 35%),
              linear-gradient(135deg, #13233b, #0c1425);
}

.cta-panel:after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(67, 231, 255, 0.13);
  border-radius: 50%;
  right: -70px;
  top: -120px;
  box-shadow: 0 0 0 30px rgba(67, 231, 255, 0.025),
              0 0 0 65px rgba(67, 231, 255, 0.02);
}

.contact-note {
  font-size: 0.83rem;
  color: #9eacc2;
}

.footer {
  border-top: 1px solid var(--sw-border);
  padding: 2rem 0;
  color: #8998b0;
  font-size: 0.85rem;
}

.footer a {
  color: #bfcde0;
  text-decoration: none;
}

.footer a:hover {
  color: var(--sw-cyan);
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 991px) {
  .hero {
    padding-top: 7rem;
  }

  .demo-wrap {
    margin-top: 3.5rem;
    max-width: 490px;
  }

  .chip-a {
    left: -12px;
  }

  .chip-b {
    right: -10px;
  }

  .screen-frame {
    transform: none;
  }
}

@media (max-width: 575px) {
  .hero {
    padding: 6.3rem 0 4rem;
  }

  .screen-content {
    padding: 0.9rem;
    min-height: 320px;
  }

  .wheel-stage {
    width: 245px;
  }

  .float-chip {
    font-size: 0.7rem;
    padding: 0.55rem 0.7rem;
  }

  .chip-a {
    left: -6px;
    top: 12%;
  }

  .chip-b {
    right: -5px;
    bottom: 11%;
  }

  .section {
    padding: 4rem 0;
  }

  .micro-proof {
    gap: 0.8rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Statische SpinWheel-afbeelding op de homepage */
.hero-wheel-wrap {
  width: 100%;
  max-width: 590px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-wheel-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 590px;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.35));
}

@media (max-width: 991px) {
  .hero-wheel-wrap {
    max-width: 490px;
  }
}

@media (max-width: 575px) {
  .hero-wheel-wrap {
    max-width: 390px;
  }
}
