:root {
  --nav-sage: #899d75;          /* Exact olive-sage top bar from screenshot */
  --btn-sage: #869b6f;          /* Exact 'JEG DELTAR GRATIS' button color */
  --btn-sage-hover: #75895f;
  --purple-text: #7f45e2;       /* Exact purple for 'Vinn en Splitter ny' */
  --black-solid: #000000;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --bg-sage-wave: #d9e7d3;
  --border-card-black: #000000; /* Exact 2px black border around the form */
  --radius-card: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background Wavy Shapes matching Offer Screenshot */
.bg-wave-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.bg-wave {
  width: 100%;
  height: 220px;
  display: block;
}

/* Header: EXACT MATCH DELTA OG VINN */
.top-nav {
  background-color: var(--nav-sage);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.top-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.nav-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Page Layout */
.page-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 16px 50px;
  position: relative;
  z-index: 1;
}

/* Status Banner */
.status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f4f8f2;
  border: 1px solid #dce8d9;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  color: #2e4726;
  max-width: 480px;
  margin: 0 auto 20px;
  text-align: center;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 6px #16a34a;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Funnel 3-Column Hero (Desktop) / Stacked (Mobile) */
.funnel-hero {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

/* Left Column: Exact Headline Typography */
.headline-block {
  text-align: left;
}

.sub-headline {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--purple-text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.main-headline {
  font-size: 2.9rem;
  font-weight: 900;
  color: var(--black-solid);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.model-line {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.02em;
}

/* Center Column: Framed Card (Exact 2px Black Border from Offer Form) */
.form-framed-card {
  background: #ffffff;
  border: 2px solid var(--border-card-black);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card-header-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black-solid);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.35;
}

/* Step Meta & Progress */
.step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--btn-sage);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-track {
  width: 110px;
  height: 6px;
  background: #eef2ec;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--btn-sage);
  border-radius: 9999px;
  transition: width 0.35s ease;
}

.q-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.btn-opt {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text-dark);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-opt:hover {
  border-color: var(--black-solid);
  background: #f9fafb;
  transform: translateX(3px);
}

.btn-opt:active {
  transform: scale(0.99);
}

.arrow {
  color: var(--btn-sage);
  font-size: 1.1rem;
  font-weight: 800;
}

/* Quiz Steps Visibility */
.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Validation Sequence */
.val-box {
  text-align: center;
  padding: 16px 6px;
}

.loader-circle {
  width: 44px;
  height: 44px;
  border: 4px solid #e7eee5;
  border-top-color: var(--btn-sage);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.val-heading {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.val-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  text-align: left;
}

.val-row {
  padding: 7px 10px;
  background: #f8faf7;
  border-radius: 6px;
  border: 1px solid #e7eee5;
}

.val-row.done {
  background: #ecf5eb;
  border-color: #cbe3ca;
  color: #166534;
  font-weight: 700;
}

/* Gamified Box Section */
.game-instruction {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}

.attempts-pill {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 12px;
  border-radius: 9999px;
  max-width: 180px;
  margin: 0 auto 16px;
}

.boxes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  perspective: 700px;
}

.box-slot {
  height: 115px;
  cursor: pointer;
  user-select: none;
}

.box-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

.box-slot.flipped .box-card {
  transform: rotateY(180deg);
}

.box-side {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.box-side.front {
  background: #fdfefd;
  border: 2px solid #cedecb;
  transition: all 0.2s ease;
}

.box-slot:hover .box-side.front {
  border-color: var(--btn-sage);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(137, 157, 117, 0.3);
}

.gift-symbol {
  font-size: 1.9rem;
  margin-bottom: 2px;
}

.box-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--btn-sage);
}

.box-side.back {
  transform: rotateY(180deg);
  background: #ffffff;
  border: 2px solid var(--btn-sage);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.box-side.back.empty {
  background: #fcfcfc;
  border-color: #cbd5e1;
}

/* Right Column: Sage Green iPhone Showcase */
.phone-showcase {
  text-align: center;
}

.phone-render {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 16px 36px -12px rgba(40, 70, 45, 0.25);
  border: 2px solid #ffffff;
  transition: transform 0.3s ease;
}

.phone-render:hover {
  transform: scale(1.02);
}

.trust-tags {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
}

.trust-tags .tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #375333;
  background: #f3f8f1;
  border: 1px solid #dce8d8;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-block;
  margin: 0 auto;
}

/* Winner Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 16px;
}

.modal-card {
  background: #ffffff;
  border: 2px solid var(--black-solid);
  border-radius: var(--radius-card);
  max-width: 440px;
  width: 100%;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.confetti-holder {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.animate-zoom {
  animation: zoomIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.congrats-pill {
  display: inline-block;
  background: var(--btn-sage);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--black-solid);
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.modal-product-summary {
  background: #f7faf6;
  border: 1px solid #dce8d8;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.modal-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.modal-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.86rem;
}

.res-status {
  font-size: 0.76rem;
  color: #166534;
  font-weight: 700;
}

.res-timer {
  font-size: 0.75rem;
  color: #b45309;
}

.next-step-notice {
  background: #f4f8f2;
  border-left: 3px solid var(--btn-sage);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #284422;
  text-align: left;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
}

/* Master CTA: Exact match to 'JEG DELTAR GRATIS' button */
.btn-submit-action {
  display: block;
  width: 100%;
  background-color: var(--btn-sage);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 20px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(134, 155, 111, 0.4);
}

.btn-submit-action:hover {
  background-color: var(--btn-sage-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(134, 155, 111, 0.55);
}

.pulse-green {
  animation: pulse-cta 1.8s infinite;
}

@keyframes pulse-cta {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.security-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--text-light);
}

/* Social Proof Reviews */
.reviews-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-card);
  padding: 20px 18px;
  margin-bottom: 24px;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.reviews-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--black-solid);
}

.verified-tag {
  font-size: 0.74rem;
  color: #166534;
  font-weight: 700;
}

.review-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-item {
  display: flex;
  gap: 10px;
}

.r-avatar {
  width: 36px;
  height: 36px;
  background: #eaf1e7;
  border: 1px solid #d4e2d1;
  color: #294723;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.r-content {
  flex: 1;
}

.r-top {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 3px;
}

.r-top strong {
  color: var(--black-solid);
}

.r-city {
  color: var(--btn-sage);
  font-weight: 700;
}

.r-time {
  color: var(--text-light);
}

.r-content p {
  font-size: 0.83rem;
  color: var(--text-dark);
  line-height: 1.35;
}

/* Offer-Matched Footer */
.offer-matched-footer {
  text-align: center;
  padding-top: 10px;
}

.legal-paragraph {
  font-size: 0.69rem;
  color: #6b7280;
  line-height: 1.5;
  max-width: 780px;
  margin: 0 auto 12px;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.footer-bottom-links a {
  color: #374151;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
  color: var(--black-solid);
}

.copy-line {
  font-size: 0.7rem;
  color: #9ca3af;
}

/* Utilities */
.hidden {
  display: none !important;
}

/* Responsive (Mobile View) */
@media (max-width: 860px) {
  .funnel-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .headline-block {
    text-align: center;
  }
  .sub-headline {
    font-size: 1.35rem;
  }
  .main-headline {
    font-size: 2.3rem;
  }
  .model-line {
    font-size: 1.05rem;
  }
  .phone-render {
    max-width: 240px;
  }
  .boxes-row {
    gap: 6px;
  }
  .box-slot {
    height: 105px;
  }
}
