/* ─────────────────────────────────────────────────────────────────────────
   OfferEaze · Signup landing (Signup/Index)
   Plan selection (left) + account form & payment (right). Everything is
   scoped under .oe-signup so it never leaks into the rest of the app.
   ───────────────────────────────────────────────────────────────────────── */
.oe-signup {
    --oe-navy: #0E1A2E;
    --oe-navy-deep: #060D1A;
    --oe-navy-soft: #1F2D47;
    --oe-slate: #4A5C7A;
    --oe-pearl: #F8FAFB;
    --oe-pearl-2: #F0F3F6;
    --oe-pearl-3: #E2E8EE;
    --oe-white: #FFFFFF;
    --oe-line: #E2E8EE;
    --oe-line-soft: #EDF1F5;
    --oe-ink: #0E1A2E;
    --oe-ink-soft: #4A5568;
    --oe-ink-muted: #94A3B8;
    --oe-success: #0F8A5F;
    --oe-success-bg: #E8F5EE;
    --oe-success-line: #BFE3CC;
    --oe-danger: #B91C1C;
    --oe-danger-bg: #FCE9E9;
    --oe-warn: #B45309;
    --oe-warn-bg: #FEF6E7;
    --shadow-sm: 0 1px 2px rgba(14, 26, 46, 0.04);
    --shadow-md: 0 1px 3px rgba(14, 26, 46, 0.04), 0 8px 24px rgba(14, 26, 46, 0.05);
    --shadow-lg: 0 12px 32px rgba(14, 26, 46, 0.06), 0 32px 80px rgba(14, 26, 46, 0.08);
    --oe-radius-sm: 8px;
    --oe-radius: 10px;
    --oe-radius-lg: 14px;
    --oe-radius-xl: 18px;
    background: var(--oe-pearl);
    color: var(--oe-ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.oe-signup .app-content { background: var(--oe-pearl); }

.oe-signup .signup-page {
    padding: 48px 24px 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.oe-signup .signup-grid {
    width: 100%;
    max-width: 1080px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: start;
}

/* ─── Left column: plan selection ─── */
.oe-signup .lead { padding: 8px 0 0; position: sticky; top: 80px; }

.oe-signup .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--oe-white); border: 1px solid var(--oe-line);
    padding: 6px 12px; border-radius: 100px;
    font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--oe-slate);
    margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.oe-signup .eyebrow .dot { width: 5px; height: 5px; background: var(--oe-success); border-radius: 50%; }

.oe-signup .lead-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: clamp(30px, 3.6vw, 40px); font-weight: 600;
    letter-spacing: -0.04em; color: var(--oe-navy);
    line-height: 1.06; margin-bottom: 14px;
}
.oe-signup .lead-title em { font-style: italic; font-weight: 500; color: var(--oe-slate); }
.oe-signup .lead-sub {
    font-size: 15px; color: var(--oe-ink-soft); line-height: 1.6;
    max-width: 460px; margin-bottom: 26px;
}

/* Referrer banner */
.oe-signup .referrer-note {
    display: flex; align-items: center; gap: 10px;
    background: var(--oe-white); border: 1px solid var(--oe-line);
    border-radius: var(--oe-radius); padding: 12px 14px;
    margin-bottom: 22px; box-shadow: var(--shadow-sm);
    font-size: 12.5px; color: var(--oe-ink-soft);
}
.oe-signup .referrer-note i { color: var(--oe-success); font-size: 15px; }
.oe-signup .referrer-note strong { color: var(--oe-navy); font-weight: 600; }

/* Billing toggle */
.oe-signup .plan-toggle {
    display: flex; background: var(--oe-pearl-2);
    border: 1px solid var(--oe-line); border-radius: var(--oe-radius);
    padding: 4px; gap: 4px; margin-bottom: 16px; width: fit-content;
}
.oe-signup .plan-toggle-btn {
    padding: 8px 18px; font-size: 12.5px; font-weight: 600;
    border-radius: 7px; border: none; background: transparent;
    color: var(--oe-ink-soft); cursor: pointer; transition: all 0.2s;
    letter-spacing: -0.01em; font-family: inherit;
}
.oe-signup .plan-toggle-btn.active {
    background: var(--oe-white); color: var(--oe-navy);
    box-shadow: 0 1px 4px rgba(14, 26, 46, 0.08);
}

/* Plan cards */
.oe-signup .plan-cards { display: flex; flex-direction: column; gap: 10px; }
.oe-signup .plan-card {
    background: var(--oe-white); border: 1.5px solid var(--oe-line);
    border-radius: var(--oe-radius-lg); padding: 18px 20px; cursor: pointer;
    transition: all 0.22s; display: flex; align-items: center; gap: 16px;
    position: relative; user-select: none;
}
.oe-signup .plan-card:hover { border-color: var(--oe-slate); }
.oe-signup .plan-card.selected {
    border-color: var(--oe-navy); box-shadow: 0 0 0 3px rgba(14, 26, 46, 0.06);
}
.oe-signup .plan-radio {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid var(--oe-pearl-3); background: var(--oe-pearl-2);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.oe-signup .plan-card.selected .plan-radio { border-color: var(--oe-navy); background: var(--oe-navy); }
.oe-signup .plan-radio::after {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #fff; opacity: 0; transition: opacity 0.2s;
}
.oe-signup .plan-card.selected .plan-radio::after { opacity: 1; }

.oe-signup .plan-info { flex: 1; min-width: 0; }
.oe-signup .plan-name {
    font-family: 'Inter Tight', sans-serif; font-size: 15.5px; font-weight: 600;
    color: var(--oe-navy); letter-spacing: -0.02em; margin-bottom: 2px;
}
.oe-signup .plan-desc { font-size: 12.5px; color: var(--oe-ink-muted); }
.oe-signup .plan-price-col { text-align: right; flex-shrink: 0; }
.oe-signup .plan-price {
    font-family: 'Inter Tight', sans-serif; font-size: 20px; font-weight: 700;
    color: var(--oe-navy); letter-spacing: -0.03em; line-height: 1;
}
.oe-signup .plan-price sub {
    font-size: 11px; font-weight: 500; color: var(--oe-ink-muted);
    vertical-align: baseline; font-family: 'Inter', sans-serif;
}
.oe-signup .plan-price.muted { font-size: 14px; font-weight: 600; color: var(--oe-ink-soft); }
.oe-signup .plan-badge {
    display: inline-block; background: var(--oe-navy); color: var(--oe-pearl);
    font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 100px;
    letter-spacing: 0.05em; text-transform: uppercase; margin-top: 5px;
}
.oe-signup .plan-card-link {
    text-decoration: none; color: var(--oe-navy); font-weight: 600; font-size: 12.5px;
    white-space: nowrap;
}
.oe-signup .plan-card-link:hover { text-decoration: underline; }

/* Trial callout */
.oe-signup .trial-callout {
    background: var(--oe-success-bg); border: 1px solid var(--oe-success-line);
    border-radius: var(--oe-radius-lg); padding: 14px 16px; margin-top: 18px;
    display: flex; align-items: flex-start; gap: 10px;
}
.oe-signup .trial-callout i { color: var(--oe-success); font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.oe-signup .trial-callout .tc-title {
    font-family: 'Inter Tight', sans-serif; font-size: 13.5px; font-weight: 600;
    color: var(--oe-success); margin-bottom: 2px; letter-spacing: -0.015em;
}
.oe-signup .trial-callout .tc-body { font-size: 12.5px; color: #1B7A57; line-height: 1.5; }

/* Includes */
.oe-signup .includes-section { margin-top: 26px; }
.oe-signup .includes-label {
    font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--oe-ink-muted); font-weight: 600; margin-bottom: 12px;
}
.oe-signup .includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.oe-signup .include-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--oe-ink-soft);
}
.oe-signup .include-item i { color: var(--oe-navy); font-size: 13px; flex-shrink: 0; }

/* ─── Right column: form card ─── */
.oe-signup .signup-card {
    background: var(--oe-white); border: 1px solid var(--oe-line);
    border-radius: var(--oe-radius-xl); box-shadow: var(--shadow-md); overflow: hidden;
}
.oe-signup .signup-card .card-header {
    padding: 26px 30px 20px; border-bottom: 1px solid var(--oe-line-soft);
}
.oe-signup .signup-card .card-title {
    font-family: 'Inter Tight', sans-serif; font-size: 21px; font-weight: 600;
    letter-spacing: -0.028em; color: var(--oe-navy); line-height: 1.2; margin-bottom: 5px;
}
.oe-signup .signup-card .card-sub { font-size: 13px; color: var(--oe-ink-soft); line-height: 1.5; margin: 0; }
.oe-signup .signup-card .card-body { padding: 22px 30px 26px; }

.oe-signup .form-section { padding: 16px 0; }
.oe-signup .form-section + .form-section { border-top: 1px solid var(--oe-line-soft); }
.oe-signup .form-section:first-child { padding-top: 2px; }

.oe-signup .section-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--oe-slate); margin-bottom: 14px;
}
.oe-signup .section-label .step {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--oe-pearl-2); border: 1px solid var(--oe-line);
    display: grid; place-items: center; font-family: 'Inter Tight', sans-serif;
    font-size: 11px; font-weight: 700; color: var(--oe-navy); letter-spacing: 0;
}
.oe-signup .section-label .badge-free {
    margin-left: auto; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
    color: var(--oe-success); background: var(--oe-success-bg);
    border: 1px solid var(--oe-success-line); padding: 3px 9px; border-radius: 100px;
    text-transform: uppercase;
}

.oe-signup .field { margin-bottom: 14px; }
.oe-signup .field:last-child { margin-bottom: 0; }
.oe-signup .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.oe-signup .field-label {
    display: block; font-size: 12.5px; font-weight: 600; color: var(--oe-navy);
    letter-spacing: -0.005em; margin-bottom: 6px;
}
.oe-signup .field-label .opt { font-weight: 400; color: var(--oe-ink-muted); margin-left: 6px; font-size: 11.5px; }

.oe-signup .input-wrap { position: relative; }
.oe-signup .input-icon {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--oe-ink-muted); font-size: 15px; pointer-events: none; transition: color 0.18s;
}
.oe-signup .form-control {
    width: 100%; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--oe-ink);
    background: var(--oe-white); border: 1px solid var(--oe-line);
    border-radius: var(--oe-radius); padding: 11px 14px 11px 40px;
    transition: all 0.18s; letter-spacing: -0.005em; line-height: 1.4; height: auto;
}
.oe-signup .form-control::placeholder { color: var(--oe-ink-muted); }
.oe-signup .form-control:hover { border-color: var(--oe-pearl-3); }
.oe-signup .form-control:focus {
    outline: none; border-color: var(--oe-navy); box-shadow: 0 0 0 4px rgba(14, 26, 46, 0.08);
}
.oe-signup .input-wrap:focus-within .input-icon { color: var(--oe-navy); }

.oe-signup .input-combo {
    display: flex; align-items: stretch; border: 1px solid var(--oe-line);
    border-radius: var(--oe-radius); overflow: hidden; background: var(--oe-white); transition: all 0.18s;
}
.oe-signup .input-combo:hover { border-color: var(--oe-pearl-3); }
.oe-signup .input-combo:focus-within { border-color: var(--oe-navy); box-shadow: 0 0 0 4px rgba(14, 26, 46, 0.08); }
.oe-signup .input-combo .input-wrap { flex: 1; }
.oe-signup .input-combo .form-control { border: none !important; border-radius: 0 !important; box-shadow: none !important; }
.oe-signup .input-suffix {
    display: inline-flex; align-items: center; padding: 0 16px;
    background: var(--oe-pearl-2); border-left: 1px solid var(--oe-line);
    font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--oe-slate); font-weight: 500;
}

.oe-signup .hint {
    display: flex; align-items: center; gap: 6px; margin-top: 6px;
    font-size: 11.5px; color: var(--oe-ink-muted); line-height: 1.4;
}
.oe-signup .hint i { font-size: 12px; }

.oe-signup .field-error,
.oe-signup .field-validation-error,
.oe-signup .text-danger {
    display: block; font-size: 11.5px !important; color: var(--oe-danger) !important;
    margin-top: 6px; line-height: 1.4;
}
.oe-signup .field-error:empty { display: none; }
.oe-signup .validation-summary-errors {
    background: var(--oe-danger-bg); border: 1px solid #ECC7C7; color: var(--oe-danger);
    border-radius: var(--oe-radius); padding: 12px 14px; margin-bottom: 18px; font-size: 13px; line-height: 1.5;
}
.oe-signup .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.oe-signup .input-validation-error {
    border-color: var(--oe-danger) !important; box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08) !important;
}

/* Stripe payment */
.oe-signup .payment-wrap {
    border: 1px solid var(--oe-line); border-radius: var(--oe-radius);
    background: var(--oe-pearl); padding: 18px; transition: all 0.18s;
}
.oe-signup .payment-wrap:hover { border-color: var(--oe-pearl-3); }
.oe-signup #payment-element { min-height: 60px; }
.oe-signup .stripe-note {
    font-size: 11.5px; color: var(--oe-ink-muted); line-height: 1.5;
    margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--oe-line);
}
.oe-signup .stripe-note strong { color: var(--oe-navy); font-weight: 600; }

/* Order summary */
.oe-signup .order-summary {
    background: var(--oe-pearl); border: 1px solid var(--oe-line);
    border-radius: var(--oe-radius); padding: 14px 16px; margin-top: 16px;
}
.oe-signup .order-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; padding: 4px 0;
}
.oe-signup .order-row .key { color: var(--oe-ink-soft); }
.oe-signup .order-row .val { font-weight: 600; color: var(--oe-navy); font-family: 'Inter Tight', sans-serif; letter-spacing: -0.02em; }
.oe-signup .order-row .val.green { color: var(--oe-success); }
.oe-signup .order-row .val.muted { color: var(--oe-ink-muted); font-weight: 500; }
.oe-signup .order-divider { height: 1px; background: var(--oe-line); margin: 6px 0; }
.oe-signup .order-total-row { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; }
.oe-signup .order-total-row .key { font-size: 13px; font-weight: 600; color: var(--oe-navy); }
.oe-signup .order-total-row .val {
    font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 700;
    color: var(--oe-navy); letter-spacing: -0.03em;
}
.oe-signup .order-today-note { font-size: 11.5px; color: var(--oe-success); margin-top: 4px; text-align: right; font-weight: 500; }

/* Submit */
.oe-signup .actions { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--oe-line-soft); }
.oe-signup .btn-create {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 18px; font-family: 'Inter Tight', sans-serif; font-size: 14.5px; font-weight: 600;
    letter-spacing: -0.015em; color: var(--oe-pearl); background: var(--oe-navy);
    border: 1px solid var(--oe-navy); border-radius: var(--oe-radius); cursor: pointer;
    transition: all 0.18s; box-shadow: 0 1px 2px rgba(14, 26, 46, 0.12);
}
.oe-signup .btn-create:hover { background: var(--oe-navy-soft); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(14, 26, 46, 0.22); color: var(--oe-pearl); }
.oe-signup .btn-create:disabled { opacity: 0.7; cursor: progress; transform: none; }
.oe-signup .btn-create i { font-size: 16px; }

.oe-signup .signin { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--oe-ink-muted); }
.oe-signup .signin a { color: var(--oe-navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--oe-pearl-3); }
.oe-signup .signin a:hover { border-color: var(--oe-navy); }
.oe-signup .legal { text-align: center; font-size: 11.5px; color: var(--oe-ink-muted); line-height: 1.5; padding: 0 30px 22px; }
.oe-signup .legal a { color: var(--oe-ink-soft); text-decoration: none; border-bottom: 1px dotted var(--oe-pearl-3); }
.oe-signup .legal a:hover { color: var(--oe-navy); border-color: var(--oe-navy); }

/* Responsive */
@media (max-width: 960px) {
    .oe-signup .signup-grid { grid-template-columns: 1fr; gap: 32px; max-width: 560px; }
    .oe-signup .lead { position: static; }
    .oe-signup .includes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .oe-signup .signup-page { padding: 24px 16px 60px; }
    .oe-signup .signup-card .card-header,
    .oe-signup .signup-card .card-body { padding-left: 22px; padding-right: 22px; }
    .oe-signup .field-row { grid-template-columns: 1fr; }
}
