html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0b1220;
    background: #ffffff;
}

.font-display {
    font-family: 'Sora', sans-serif;
}

.gradient-text {
    background: linear-gradient(90deg, #001d41 0%, #870a30 60%, #800000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, #001d41 0%, #3a0a26 55%, #870a30 100%);
}

.gradient-soft {
    background: radial-gradient(
            1200px 600px at 10% -10%,
            rgba(0, 29, 65, 0.08),
            transparent 60%
        ),
        radial-gradient(
            900px 500px at 100% 0%,
            rgba(135, 10, 48, 0.1),
            transparent 60%
        );
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #870a30, #800000);
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(135, 10, 48, 0.6);
}

.btn-dark {
    background: linear-gradient(135deg, #001d41, #800000);
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(135, 10, 48, 0.6);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(135, 10, 48, 0.75);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.card {
    background: #ffffff;
    border: 1px solid rgba(0, 29, 65, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px -12px rgba(0, 29, 65, 0.18),
        0 4px 12px -4px rgba(135, 10, 48, 0.08);
    transition: all 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -20px rgba(0, 29, 65, 0.35),
        0 12px 24px -8px rgba(135, 10, 48, 0.18);
    border-color: rgba(135, 10, 48, 0.2);
}

.icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(0, 29, 65, 0.08),
        rgba(135, 10, 48, 0.12)
    );
    color: #870a30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #001d41, #870a30);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.phone {
    width: 280px;
    height: 560px;
    border-radius: 42px;
    background: linear-gradient(180deg, #0a0f1c, #1b0a16);
    padding: 14px;
    box-shadow: 0 40px 80px -20px rgba(0, 29, 65, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
}

.phone::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    background: #000;
    border-radius: 14px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(160deg, #fff 0%, #fdf3f6 100%);
    position: relative;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.8s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #870a30, #001d41);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.floating {
    animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.5;
    border-radius: 50%;
    pointer-events: none;
}

.phone-img {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, #0a0f1c, #1b0a16);
    padding: 8px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    aspect-ratio: 9/19;
}

.phone-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.phone-label {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.phone-cta {
    background: linear-gradient(160deg, #001d41, #870a30);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Carousel */
  .snap-x-scroll { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .snap-x-scroll::-webkit-scrollbar { display: none; }
  .snap-item { scroll-snap-align: center; flex-shrink: 0; }
  .preview-tab { padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #64748b; background: #f1f5f9; transition: all .25s; white-space: nowrap; cursor: pointer; border: 1px solid transparent; }
  .preview-tab:hover { color: #870a30; }
  .preview-tab.active { background: linear-gradient(135deg,#001d41,#870a30); color: #fff; box-shadow: 0 8px 20px -8px rgba(135,10,48,.5); }
  .preview-tab-dark { color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
  .preview-tab-dark:hover { color: #fff; background: rgba(255,255,255,.15); }
  .preview-tab-dark.active { background: #fff; color: #870a30; }
  .desktop-frame { background: linear-gradient(180deg,#1a1a2e,#0f172a); border-radius: 16px; padding: 10px 10px 14px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06) inset; position: relative; }
  .desktop-frame::before { content:''; display:block; height:14px; background:transparent; position:relative; }
  .desktop-frame .dots { position: absolute; top: 14px; left: 18px; display: flex; gap: 6px; z-index: 2; }
  .desktop-frame .dots span { width: 10px; height: 10px; border-radius: 50%; }
  .desktop-frame img { border-radius: 10px; display:block; width: 100%; height:auto; }
  .carousel-btn { width: 44px; height: 44px; border-radius: 999px; display:inline-flex; align-items:center; justify-content:center; background: rgba(255,255,255,.9); color:#001d41; box-shadow: 0 10px 25px -8px rgba(0,29,65,.4); border: 1px solid rgba(0,29,65,.08); transition:.2s; }
  .carousel-btn:hover { transform: translateY(-2px); color:#870a30; }
/* Modal */
.modal-back {
    position: fixed;
    inset: 0;
    background: rgba(0, 29, 65, 0.6);
    backdrop-filter: blur(6px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 8px;
}
.modal-back.show {
    display: flex;
}
.modal-panel {
    background: #fff;
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 95vh;
    overflow: auto;
    box-shadow: 0 40px 80px -20px rgba(0, 29, 65, 0.4);
}
@media (min-width: 640px) {
    .modal-back {
        padding: 16px;
    }
    .modal-panel {
        border-radius: 24px;
    }
}
.fld {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 29, 65, 0.12);
    font-size: 14px;
    outline: none;
    transition: 0.2s;
    background: #fff;
}
.fld:focus {
    border-color: #870a30;
    box-shadow: 0 0 0 3px rgba(135, 10, 48, 0.12);
}
.fld-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #001d41;
    margin-bottom: 6px;
    display: block;
}
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
.otp-box {
    width: 38px;
    height: 46px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #001d41;
    border-radius: 10px;
    border: 1px solid rgba(0, 29, 65, 0.15);
    outline: none;
}
@media (min-width: 640px) {
    .otp-box {
        width: 44px;
        height: 52px;
        font-size: 20px;
        border-radius: 12px;
    }
}
.otp-box:focus {
    border-color: #870a30;
    box-shadow: 0 0 0 3px rgba(135, 10, 48, 0.12);
}
.chip-choice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 29, 65, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: #001d41;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
}
.chip-choice:hover {
    border-color: #870a30;
}
.chip-choice.on {
    background: linear-gradient(
        135deg,
        rgba(0, 29, 65, 0.06),
        rgba(135, 10, 48, 0.1)
    );
    border-color: #870a30;
    color: #870a30;
}
.plan-card {
    border: 1px solid rgba(0, 29, 65, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    transition: 0.2s;
}
.plan-card.on {
    border-color: #870a30;
    background: linear-gradient(
        135deg,
        rgba(0, 29, 65, 0.04),
        rgba(135, 10, 48, 0.06)
    );
    box-shadow: 0 4px 14px -6px rgba(135, 10, 48, 0.25);
}
.upi-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border: 1px solid rgba(0, 29, 65, 0.12);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    color: #001d41;
    font-weight: 700;
    transition: 0.15s;
}
.upi-opt:has(input:checked) {
    border-color: #870a30;
    background: linear-gradient(
        135deg,
        rgba(0, 29, 65, 0.05),
        rgba(135, 10, 48, 0.1)
    );
    color: #870a30;
    box-shadow: 0 4px 12px -6px rgba(135, 10, 48, 0.35);
}
.success-tick {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.55);
    margin: 0 auto;
}
