/* ── Web Developer — Green theme ─────────────────────────── */
:root {
  --green: #2ecc71;
  --green-deep: #27ae60;
  --green-glow: rgba(46, 204, 113, 0.30);
}

.vt-glow-green {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  filter: blur(80px); pointer-events: none;
}

.wd-gradient-text {
  background: linear-gradient(135deg, #2ecc71, #27ae60, #2ecc71);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.wd-eyebrow {
  color: var(--green) !important;
}

/* ── Hero ─────────────────────────────────────────────────── */
.wd-hero {
  position: relative;
  padding: 160px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.wd-hero-inner { position: relative; z-index: 1; }

/* ── Pricing Cards ────────────────────────────────────────── */
.wd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.wd-card {
  position: relative;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.wd-card:hover {
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 20px 60px rgba(46, 204, 113, 0.1);
}

.wd-card--popular {
  border-color: rgba(46, 204, 113, 0.4);
  box-shadow: 0 0 40px rgba(46, 204, 113, 0.08);
}

.wd-popular-tag {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wd-card-header { text-align: center; margin-bottom: 24px; }

.wd-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(46, 204, 113, 0.1);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.wd-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.wd-card-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.wd-card-price span { font-size: 1.2rem; font-weight: 600; }
.wd-card-price--devis {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
}
.wd-card-price-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Delivery delay badge */
.wd-card-delai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
}

/* Features list */
.wd-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.wd-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 7px 0;
  line-height: 1.45;
}
.wd-features li svg { flex-shrink: 0; margin-top: 2px; }

/* CTA Button */
.wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--green);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  width: auto;
}
.wd-btn:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--green-glow);
}
.wd-btn-full { width: 100%; }

/* ── Modal ────────────────────────────────────────────────── */
.wd-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wd-modal-overlay.is-open {
  display: flex;
}

.wd-modal {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.wd-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.wd-modal-close:hover { color: #fff; }

.wd-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  text-align: center;
}

/* Step indicator */
.wd-step-indicator {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.wd-step-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
}
.wd-step-dot.active { background: var(--green); box-shadow: 0 0 12px var(--green-glow); }
.wd-step-dot.done { background: var(--green); opacity: 0.5; }

/* Recap card */
.wd-recap-card {
  background: rgba(46, 204, 113, 0.05);
  border: 1px solid rgba(46, 204, 113, 0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}
.wd-recap-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.wd-recap-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 16px;
}
.wd-recap-features {
  list-style: none; padding: 0; margin: 0;
  text-align: left;
}
.wd-recap-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
}
.wd-recap-features li::before {
  content: '\2713';
  color: var(--green);
  margin-right: 8px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════ */
/* OPTIONS — CSS-only, no SVG                 */
/* ═══════════════════════════════════════════ */

.opts-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 24px 0 14px;
}

/* Hidden native checkbox */
.opts-cb-hidden { display: none; }

/* CSS-only custom checkbox box */
.opts-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.opts-check::after {
  content: "";
  display: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
/* Active state for checkbox */
.is-active > .opts-card-head > .opts-check,
.opts-cb-hidden:checked + .opts-card .opts-card-head .opts-check {
  background: #2ecc71;
  border-color: #2ecc71;
}
.is-active > .opts-card-head > .opts-check::after,
.opts-cb-hidden:checked + .opts-card .opts-card-head .opts-check::after {
  content: "\2713";
  display: block;
}

/* ── Option card ─────────────────────────── */
.opts-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.opts-card:hover {
  border-color: rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.04);
}
.opts-card.is-active,
.opts-cb-hidden:checked + .opts-card {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.07);
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.08);
}

/* Card header */
.opts-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.opts-card-name {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  min-width: 0;
}
.opts-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2ecc71;
  white-space: nowrap;
  flex-shrink: 0;
}
.opts-price-unit {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(46, 204, 113, 0.6);
}

/* SaaS compact card description */
.opts-card-desc {
  margin: 8px 0 0 34px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Maintenance card body */
.opts-card-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.opts-card-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 10px;
}
.opts-feat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.opts-feat-list li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.opts-feat-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #2ecc71;
  font-weight: 700;
}

/* Footer badge */
.opts-card-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.opts-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
}
.opts-card-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Maintenance card green tint */
.opts-card--maint {
  border-color: rgba(46, 204, 113, 0.15);
  background: rgba(46, 204, 113, 0.03);
  margin-top: 14px;
}

/* ═══════════════════════════════════════════ */
/* TOTAL                                      */
/* ═══════════════════════════════════════════ */

.opts-total {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.opts-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.opts-line--green {
  color: #2ecc71;
}
.opts-total-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}
.opts-total-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.opts-total-label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.opts-total-right {
  text-align: right;
}
.opts-total-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.opts-total-monthly {
  display: none;
  font-size: 0.82rem;
  color: #2ecc71;
  margin-top: 2px;
}

/* Form fields */
.wd-field {
  margin-bottom: 16px;
}
.wd-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.wd-field input,
.wd-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
  outline: none;
}
.wd-field input:focus,
.wd-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}
.wd-field textarea { resize: vertical; min-height: 120px; }
.wd-field input::placeholder,
.wd-field textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.wd-field-help {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 6px;
  line-height: 1.4;
}

/* Notice */
.wd-notice {
  background: rgba(46, 204, 113, 0.06);
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 20px 0;
}
.wd-notice strong { color: #fff; }

/* ── Confirmation ─────────────────────────────────────────── */
.wd-confirmation {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.wd-conf-card {
  max-width: 520px;
  width: 100%;
  padding: 48px 36px;
  text-align: center;
}
.wd-conf-card h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
}

.wd-conf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.wd-conf-recap {
  background: rgba(46, 204, 113, 0.06);
  border: 1px solid rgba(46, 204, 113, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.wd-conf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.wd-conf-row span { color: var(--text-muted); font-size: 0.9rem; }
.wd-conf-row strong { color: #fff; font-size: 0.95rem; }

.wd-conf-msg {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.wd-conf-msg strong { color: var(--green); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .wd-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}
@media (max-width: 600px) {
  .opts-feat-list { grid-template-columns: 1fr; }
  .opts-card-head { flex-wrap: wrap; gap: 8px; }
  .opts-card-price { width: 100%; padding-left: 34px; }
}
@media (max-width: 520px) {
  .wd-modal { padding: 28px 20px; }
  .wd-card { padding: 28px 20px; }
  .wd-conf-card { padding: 36px 24px; }
  .opts-card { padding: 14px 16px; }
}
