/* ── Reset: isolate this section from Bootstrap 3 ── */
.wl-section, .wl-section * { box-sizing: border-box; margin: 0; padding: 0; }
.wl-section ul { list-style: none; padding: 0; margin: 0; }
.wl-section button { border: none; outline: none; cursor: pointer; font-family: inherit; }
.wl-section button:focus { outline: none; box-shadow: none; }
.wl-section input, .wl-section textarea { font-family: inherit; }
.wl-section strong { font-weight: 700; }

/* ── Section ── */
/* All sizes in px to avoid Bootstrap 3's html { font-size: 10px } breaking rem units */
.wl-section {
    background: #0f172a; color: #e2e8f0; padding: 24px 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px; line-height: 24px;
}
.wl-inner { max-width: 1280px; margin: 0 auto; }

/* ── Header ── */
.wl-header { text-align: center; margin-bottom: 32px; }
.wl-header h1 {
    font-size: 36px; font-weight: 800; color: #fff;
    margin-bottom: 24px; letter-spacing: -0.05em; line-height: 1;
}
.wl-header p { color: #cbd5e1; font-size: 18px; }
.wl-header .bold { font-weight: 700; }

/* ── Grid ── */
.wl-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px; align-items: stretch;
}
@media (min-width: 1024px) {
    .wl-grid { grid-template-columns: 1fr 1fr 1fr; }
    .wl-header h1 { font-size: 48px; }
}

/* ── Cards (shared) ── */
.wl-card {
    background: #1e293b; border-radius: 16px; padding: 20px 32px 32px;
    display: flex; flex-direction: column; border: 1px solid transparent;
}
.wl-card h3 { font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.wl-card .subtitle { font-size: 12px; line-height: 1.5; color: #94a3b8; margin-bottom: 8px; }

/* ── OSS card ── */
.wl-card-oss {
    background: rgba(30, 41, 59, 0.7); border-color: #1e293b; opacity: 0.6;
    padding: 16px 32px;
}
.wl-card-oss h3 { font-size: 14px; color: #fff; margin-bottom: 4px; }
.wl-card-oss .price { font-size: 36px; font-weight: 700; color: #fff; margin-bottom: 16px; }

/* ── Pricing tier cards ── */
.javers-card { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
.selected-tier { border-style: solid; border-color: #2563eb; border-width: 2px; transform: scale(1.05); z-index: 20; opacity: 1; }
.unselected-tier { border-style: solid; border-color: #334155; border-width: 1px; transform: scale(1); z-index: 10; }
@media (max-width: 1023px) {
    .selected-tier { transform: none; }
    .unselected-tier { transform: none; }
}

/* ── Selected card text styling ── */
.selected-tier > h3 { color: #60a5fa; }
.selected-tier .feature-list { color: #f8fafc; }
.selected-tier .no-cc { color: #94a3b8; }
.selected-tier .promo-price { text-shadow: 0 0 10px rgba(74, 222, 128, 0.35); }

/* ── Unselected card dimming ── */
.unselected-tier > h3 { color: rgba(96, 165, 250, 0.5); }
.unselected-tier .accent { opacity: 0.5; }

/* ── CTA buttons on cards ── */
.cta-button {
    width: 100%; padding: 16px 0; font-weight: 900; border-radius: 8px;
    transition: all 0.2s; text-transform: uppercase; font-size: 11px;
    letter-spacing: 0.1em; line-height: 1.5;
}
.selected-tier .cta-button { background: #2563eb; color: #fff; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4); }
.unselected-tier .cta-button { background: #334155; color: #94a3b8; box-shadow: none; }
.form-open .selected-tier .cta-button { background: #334155; color: #94a3b8; box-shadow: none; }

/* ── Price box ── */
.price-box {
    margin-bottom: 8px; background: rgba(15, 23, 42, 0.5); padding: 16px;
    border-radius: 8px; border: 1px solid rgba(51, 65, 85, 0.5); text-align: center;
}
.price-row { display: flex; align-items: center; justify-content: center; gap: 12px; line-height: 1; }
.price-strike {
    position: relative; display: inline-block; font-size: 30px; color: #94a3b8;
}
.price-strike::after {
    content: ''; position: absolute; left: -3px; right: -3px; top: 50%;
    height: 3px; background: rgba(239, 68, 68, 0.75); transform: rotate(-10deg);
}
.promo-price { font-size: 36px; font-weight: 700; color: #4ade80; letter-spacing: -0.05em; }
.promo-price .per-mo { font-size: 24px; font-weight: 400; color: #fff; }
.discount-badge {
    display: inline-block; margin-top: 8px; color: #4ade80;
    font-size: 10px; line-height: 1.5; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; text-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

/* ── Tier badge (Enterprise) ── */
.tier-badge {
    margin-bottom: 16px; padding: 8px 12px; background: rgba(30, 41, 59, 0.5);
    border-radius: 8px; border: 1px solid rgba(51, 65, 85, 0.5);
}
.tier-badge p {
    font-size: 10px; color: #60a5fa; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; display: flex; align-items: center; margin: 0;
}
.tier-badge svg { width: 12px; height: 12px; margin-right: 8px; }

/* ── Feature / Support rows ── */
.row-label {
    font-size: 10.4px; line-height: 1.5; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.05em; margin-bottom: 12px; padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.label-white { color: #fff; }
.label-blue { color: #60a5fa; }
.feature-list { line-height: 1.43; }
.feature-list li { display: flex; align-items: flex-start; margin-bottom: 8px; }
.feature-icon { margin-right: 8px; flex-shrink: 0; font-weight: bold; }
.icon-blue { color: #3b82f6; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 13px; }
.text-white { color: #fff; }
.text-slate { color: #e2e8f0; }
.font-medium { font-weight: 500; }
.section-features { min-height: 100px; margin-bottom: 16px; }
.section-support { min-height: 60px; margin-bottom: 16px; }
.badge-spacer { }
.mt-auto { margin-top: auto; }
.mb-4 { margin-bottom: 16px; }
.no-cc {
    text-align: center; font-size: 10px; line-height: 1.5; color: #94a3b8;
    margin-top: 12px; text-transform: uppercase; letter-spacing: 0.1em;
}

/* Pro card title */
.wl-card .title-lg { font-size: 24px; }
.wl-card .title-md { font-size: 20px; }

/* ── Plans disclaimer ── */
.plans-disclaimer {
    text-align: center; font-size: 11px; color: #64748b;
    margin-top: 16px; margin-bottom: 0;
}

/* ── Form panel ── */
.form-panel-wrap {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.form-card {
    margin-top: 32px; max-width: 576px; margin-left: auto; margin-right: auto;
    background: rgba(30, 41, 59, 0.5); padding: 24px; border-radius: 24px;
    border: 1px solid #334155; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-card h4 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.form-card .form-desc { color: #cbd5e1; font-size: 14px; margin-bottom: 32px; }
.form-card .green { color: #4ade80; font-weight: 700; }
.form-card form > * + * { margin-top: 16px; }
.form-card input[type="email"],
.form-card textarea {
    width: 100%; padding: 16px; border-radius: 8px; background: #020617;
    border: 1px solid #334155; color: #fff; font-size: 14px;
    outline: none; transition: border-color 0.2s;
}
.form-card textarea { padding: 12px 16px; resize: none; }
.form-card input[type="email"]:focus,
.form-card textarea:focus { border-color: #3b82f6; }
.form-card .submit-btn {
    width: 100%; padding: 16px 0; background: #2563eb; color: #fff;
    font-weight: 900; border-radius: 8px; text-transform: uppercase;
    font-size: 12px; letter-spacing: 0.1em; transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.form-card .submit-btn:hover { background: #3b82f6; }
.form-card .submit-btn:active { transform: scale(0.95); }
.row-error {
    display: none; background: #1e293b; border: 1px solid #ef4444;
    border-radius: 8px; padding: 16px; color: #fca5a5;
}
.row-error p { margin: 4px 0 0; font-size: 14px; }
.privacy_policy_div { margin-top: 24px; font-size: 12px; color: #64748b; line-height: 1.5; }
.privacy_policy_div a { color: #60a5fa; }
.privacy_policy_div p { margin-bottom: 8px; }

/* ── Success panel ── */
.row-success { display: none; margin-top: 32px; }
.success-card {
    max-width: 576px; margin: 0 auto; background: rgba(30, 41, 59, 0.5);
    padding: 24px; border-radius: 24px; border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); text-align: center;
}
@media (min-width: 768px) { .success-card { padding: 40px; } }
.success-card .checkmark { font-size: 48px; margin-bottom: 16px; }
.success-card h4 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.success-card p { color: #cbd5e1; margin-bottom: 8px; }
.success-card .email-addr { color: #fff; font-weight: 700; }
.success-card .green { color: #4ade80; font-weight: 700; }

/* ── Countdown timer ── */
.wl-countdown {
    color: #94a3b8;
}
.wl-countdown span.cd-green {
    color: #4ade80; font-weight: 700; font-variant-numeric: tabular-nums;
}
.wl-countdown #cd-mins,
.wl-countdown #cd-secs {
    font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ── Prose content (privacy policy, etc.) ── */
.wl-prose { max-width: 720px; padding: 48px 16px; }
.wl-prose h1 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.wl-prose h2 { font-size: 22px; font-weight: 700; color: #fff; margin-top: 32px; margin-bottom: 12px; }
.wl-prose p { color: #cbd5e1; margin-bottom: 12px; }
.wl-prose ul { list-style: disc; padding-left: 24px; margin-bottom: 12px; }
.wl-prose li { color: #cbd5e1; margin-bottom: 6px; }
.wl-prose a { color: #60a5fa; text-decoration: underline; }
.wl-prose a:hover { color: #93bbfd; }
.wl-prose .wl-prose-subtitle { font-size: 18px; color: #94a3b8; margin-bottom: 4px; }
.wl-prose .wl-prose-updated { font-size: 13px; color: #64748b; margin-bottom: 32px; }

/* ── Discount code box (confirmation page) ── */
.discount-code-box {
    display: inline-block; padding: 16px 48px; margin-bottom: 32px;
    background: rgba(15, 23, 42, 0.5); border: 2px dashed #4ade80; border-radius: 12px;
    font-size: 32px; font-weight: 800; color: #4ade80; letter-spacing: 0.15em;
    text-shadow: 0 0 12px rgba(74, 222, 128, 0.4);
}
