
:root {
    --ll-navy: #112c45;
    --ll-navy-2: #1d4067;
    --ll-ink: #0f1c2e;
    --ll-muted: #6b7a90;
    --ll-line: #e6ecf3;
    --ll-line-2: #d6dfeb;
    --ll-bg-soft: #f6f8fc;
    --ll-accent: #2563eb;
    --ll-accent-soft: #eaf1ff;
    --ll-success: #0f9d6b;
    --ll-success-soft: #e6f7ef;
    --ll-shadow-sm: 0 1px 2px rgba(17, 44, 69, .06);
    --ll-shadow-md: 0 6px 18px rgba(17, 44, 69, .08);
    --ll-shadow-lg: 0 18px 40px rgba(17, 44, 69, .12);
}

body {
    background: radial-gradient(1100px 500px at -10% -20%, #eaf1ff 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 0%, #eef4ff 0%, transparent 55%),
    #fbfcfe;
}

.register-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.register-card {
    border: 1px solid var(--ll-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ll-shadow-md);
    overflow: hidden;
}

.register-card .register-head {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--ll-line);
    background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

.register-card .register-head h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ll-navy);
    margin: 0;
    letter-spacing: -0.01em;
}

.register-card .register-head p {
    margin: 6px 0 0;
    color: var(--ll-muted);
    font-size: .92rem;
}

.register-card .register-body {
    padding: 28px 32px 32px;
}

.ll-section-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ll-muted);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ll-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ll-line);
}

.ll-input, .form-control, .form-select {
    border-radius: 10px;
    border: 1px solid var(--ll-line-2);
    padding: .65rem .85rem;
    transition: border-color .15s, box-shadow .15s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--ll-navy);
    box-shadow: 0 0 0 4px rgba(17, 44, 69, .08);
}

.form-label {
    font-weight: 600;
    color: var(--ll-ink);
    font-size: .9rem;
    margin-bottom: 6px;
}

/* ───── Plan cards ───── */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 767.98px) {
    .plan-grid {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    position: relative;
    display: block;
    cursor: pointer;
    padding: 18px 18px 16px;
    border: 1.5px solid var(--ll-line);
    border-radius: 14px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
    margin: 0;
}

.plan-card:hover {
    border-color: var(--ll-line-2);
    box-shadow: var(--ll-shadow-sm);
    transform: translateY(-1px);
}

.plan-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-card .plan-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--ll-line-2);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
}

.plan-card .plan-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ll-navy);
    transform: scale(0);
    transition: transform .15s ease;
}

.plan-card .plan-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ll-bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ll-navy);
    font-size: 1.05rem;
    margin-right: 8px;
    transition: background .15s, color .15s;
}

.plan-card .plan-title {
    font-weight: 700;
    color: var(--ll-ink);
    font-size: 1.02rem;
}

.plan-card .plan-sub {
    color: var(--ll-muted);
    font-size: .87rem;
    margin-top: 2px;
}

.plan-card .plan-price {
    margin-top: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ll-navy);
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-card .plan-price .plan-price-sub {
    font-size: .82rem;
    font-weight: 500;
    color: var(--ll-muted);
}

.plan-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 6px;
}

.plan-card .plan-features li {
    font-size: .83rem;
    color: #455a72;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-card .plan-features li i {
    color: var(--ll-success);
    font-size: .9rem;
}

.plan-card .plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--ll-navy);
    color: #fff;
    padding: 4px 8px;
    border-radius: 999px;
}

.plan-card .plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.plan-card .plan-main {
    display: flex;
    align-items: flex-start;
    gap: 14px; /* spacing between icon and text */
    min-width: 0;
    flex: 1;
}

.plan-card .plan-text {
    min-width: 0;
}

.plan-card .plan-radio {
    margin-left: 12px;
    flex-shrink: 0;
}

.plan-card.is-checked {
    border-color: var(--ll-navy);
    background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
    box-shadow: 0 0 0 4px rgba(17, 44, 69, .08), var(--ll-shadow-sm);
}

.plan-card.is-checked .plan-radio {
    border-color: var(--ll-navy);
}

.plan-card.is-checked .plan-radio::after {
    transform: scale(1);
}

.plan-card.is-checked .plan-icon {
    background: var(--ll-navy);
    color: #fff;
}

/* ───── Paid section ───── */
.ll-paid {
    margin-top: 4px;
    padding: 20px;
    border: 1px solid var(--ll-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f6f9ff 100%);
    animation: paidIn .25s ease;
}

@keyframes paidIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Segmented billing toggle */
.ll-segmented {
    display: inline-flex;
    padding: 4px;
    background: #eef2f8;
    border-radius: 12px;
    position: relative;
    width: 100%;
}

.ll-segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ll-segmented label {
    flex: 1;
    text-align: center;
    padding: 9px 14px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ll-muted);
    border-radius: 9px;
    cursor: pointer;
    transition: color .15s, background .15s, box-shadow .15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.ll-segmented input:checked + label {
    background: #fff;
    color: var(--ll-navy);
    box-shadow: var(--ll-shadow-sm);
}

.ll-segmented .save-badge {
    font-size: .68rem;
    font-weight: 700;
    background: var(--ll-success-soft);
    color: var(--ll-success);
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: .04em;
}

/* Seats slider */
.ll-seats-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 2px;
}

.ll-seats-value {
    min-width: 84px;
    background: #fff;
    border: 1px solid var(--ll-line-2);
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
    font-weight: 700;
    color: var(--ll-navy);
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

.ll-seats-value small {
    display: block;
    font-size: .68rem;
    color: var(--ll-muted);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ll-step-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--ll-line-2);
    background: #fff;
    color: var(--ll-navy);
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
}

.ll-step-btn:hover:not(:disabled) {
    background: var(--ll-navy);
    border-color: var(--ll-navy);
    color: #fff;
    box-shadow: var(--ll-shadow-sm);
}

.ll-step-btn:active:not(:disabled) {
    transform: scale(0.94);
}

.ll-step-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(17, 44, 69, .15);
    border-color: var(--ll-navy);
}

.ll-step-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.ll-step-btn i {
    pointer-events: none;
}

.ll-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--ll-navy) 0%, var(--ll-navy) var(--val, 0%), #dde5f0 var(--val, 0%), #dde5f0 100%);
    outline: none;
    cursor: pointer;
}

.ll-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ll-navy);
    box-shadow: var(--ll-shadow-sm);
    cursor: grab;
    transition: transform .12s;
}

.ll-slider::-webkit-slider-thumb:active {
    transform: scale(1.08);
    cursor: grabbing;
}

.ll-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ll-navy);
    cursor: grab;
}

/* Live price summary */
.ll-summary {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--ll-line);
    border-radius: 14px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.ll-summary::before {
    content: "";
    position: absolute;
    inset: auto -1px -1px -1px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #112c45, #2563eb);
    background-size: 200% 100%;
    animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 200% 0;
    }
}

@media (max-width: 575.98px) {
    .ll-summary {
        grid-template-columns: 1fr;
    }
}

.ll-stat {
    padding: 4px 10px;
    border-right: 1px solid var(--ll-line);
}

.ll-stat:last-child {
    border-right: none;
}

@media (max-width: 575.98px) {
    .ll-stat {
        border-right: none;
        border-bottom: 1px solid var(--ll-line);
        padding: 10px 0;
    }

    .ll-stat:last-child {
        border-bottom: none;
    }
}

.ll-stat-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ll-muted);
    margin-bottom: 4px;
}

.ll-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ll-ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    transition: color .2s;
}

.ll-stat-sub {
    font-size: .78rem;
    color: var(--ll-muted);
    margin-top: 2px;
}

.ll-stat.is-total .ll-stat-value {
    color: var(--ll-navy);
    font-size: 1.5rem;
}

.ll-stat.is-discount .ll-stat-value {
    color: var(--ll-success);
}

.value-pulse {
    animation: valuePulse .35s ease;
}

@keyframes valuePulse {
    0% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-2px);
        opacity: .7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Submit button */
.btn-submit {
    background: linear-gradient(180deg, #1d4067 0%, #112c45 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: .8rem 1.6rem;
    border-radius: 12px;
    box-shadow: var(--ll-shadow-md);
    transition: transform .15s, box-shadow .15s, filter .15s;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--ll-shadow-lg);
    filter: brightness(1.05);
    color: #fff;
}

.btn-submit:active {
    transform: translateY(0);
}

/* Tier hint */
.ll-tier-hint {
    margin-top: 10px;
    font-size: .8rem;
    color: var(--ll-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ll-tier-hint .pill {
    background: var(--ll-success-soft);
    color: var(--ll-success);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .72rem;
}