:root {
    --brand: #2563eb;
    --brand2: #1d4ed8;
    --ink: #0f172a;
    --muted: #475569;
    --bg: #f8fafc;
    --card: #fff;
    --border: #e2e8f0;
}

* {
    box-sizing: border-box
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--ink)
}

.navbar-brand {
    width: 100%;
}

.site-header {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 6px 18px rgba(2, 6, 23, .18)
}

.slider-section {
    padding-top: 20px
}

.slider-carousel {
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(2, 6, 23, .06);
    border: 1px solid var(--border);
    background: var(--card)
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #e5e7eb
}

.carousel-indicators .active {
    background: #fff
}

.carousel-control-next,
.carousel-control-prev {
    width: 42px;
    height: 42px;
    top: calc(50% - 21px);
    background-color: rgba(2, 6, 23, .35);
    border-radius: 50%;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center
}

.slide-placeholder {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: .3px
}

.slide-1 {
    background: linear-gradient(135deg, #60a5fa, #2563eb)
}

.slide-2 {
    background: linear-gradient(135deg, #34d399, #059669)
}

.slide-3 {
    background: linear-gradient(135deg, #fbbf24, #f97316)
}

.form-container {
    max-width: 820px;
    margin: 28px auto 40px;
    background: var(--card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(2, 6, 23, .10)
}

.form-container h2 {
    text-align: center;
    margin: 0 0 18px;
    color: var(--brand2);
    font-size: 22px;
    font-weight: 900
}

.form-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px
}

#submitBtn {
    width: 100%
}

form {
    width: 100%
}

.otp-title {
    margin: 6px 0 4px;
    font-size: 16px;
    font-weight: 900;
    color: var(--ink);
    text-align: center
}

.otp-desc {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center
}

.otp-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center
}

.otp-input {
    width: 54px;
    max-width: 54px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    padding: 12px
}

.twofa-row {
    display: flex;
    justify-content: center
}

.twofa-field {
    width: 100%;
    max-width: 100%
}

.twofa-label {
    display: block;
    text-align: center
}

.btn-custom {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    font-weight: 800;
    border: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.btn-custom:hover {
    filter: saturate(1.05) brightness(1.02);
    transform: translateY(-1px);
    color: #fff
}

.btn-custom.loading {
    pointer-events: none;
    opacity: .9
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, .6);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite
}

.loading-text {
    display: none;
    color: #fff;
    font-size: 14px
}

button.loading .spinner,
button.loading .loading-text {
    display: inline-block
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.testimonial {
    padding: 40px 0;
    background: #eef2ff
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
    padding: 20px;
    text-align: center;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s, box-shadow .3s;
    transform: translateY(18px) scale(.985);
    opacity: 0
}

.testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 30px rgba(2, 6, 23, .10)
}

.testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .12);
    border: 3px solid var(--brand);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand2);
    font-weight: 900;
    object-fit: cover;
}

.testimonial-card.in-view {
    transform: translateY(0) scale(1);
    opacity: 1
}

.testimonial-card.pressed {
    animation: pop .25s ease
}

@keyframes pop {
    0% {
        transform: scale(.98)
    }

    50% {
        transform: scale(1.01)
    }

    100% {
        transform: scale(1)
    }
}

.success-card {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(2, 6, 23, .08);
    padding: 22px;
    margin-top: 8px
}

.success-icon {
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, #60a5fa, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 14px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, .30)
}

.success-icon svg {
    width: 56px;
    height: 56px;
    fill: #fff
}

.success-title {
    color: #16a34a;
    text-align: center;
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 900
}

.success-desc {
    color: var(--muted);
    text-align: center;
    margin: 0 10px 16px;
    line-height: 1.55
}

.summary {
    margin: 14px 0 0;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    margin-bottom: 1rem;
}

.summary dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 14px;
    margin: 0
}

.summary dt {
    font-weight: 800;
    color: #1f2937
}

.summary dd {
    margin: 0;
    color: #0f172a
}

.next-box {
  background: #ecfeff;
  border: 1.5px solid #7dd3fc;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(125, 211, 252, .22) inset
}

.next-box h4 {
  margin: 0 0 8px;
  color: #0369a1;
  font-size: 18px
}

.next-box ul {
  margin: 0 0 0 18px
}

.next-box li {
  margin: 8px 0
}

footer {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px
}

@media (max-width:768px) {
    .form-container {
        margin: 18px 14px 34px;
        padding: 20px
    }

    .slider-carousel {
        max-width: calc(100% - 28px)
    }

    .slide-placeholder {
        height: 240px
    }

    .summary dl {
        grid-template-columns: 120px 1fr
    }
}