* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #071a2b,
            #0b3d5c
        );

    color: white;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

.logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo h1 {
    font-size: 48px;
    margin: 0;

    letter-spacing: -2px;
}

.logo h2 {
    font-size: 22px;

    margin-top: 8px;
    margin-bottom: 8px;

    color: #00d4ff;
}

.logo p {
    margin: 0;

    font-size: 16px;

    color: #c8d6df;

    letter-spacing: 1px;
}

.card {
    background: white;

    color: #17212b;

    border-radius: 20px;

    padding: 30px;

    box-shadow:
        0 15px 50px
        rgba(0, 0, 0, 0.35);
}

.card h2 {
    margin-top: 0;

    text-align: center;

    color: #0b3d5c;
}

.subtitle {
    text-align: center;

    color: #667;

    margin-bottom: 25px;
}

input {
    width: 100%;

    padding: 16px;

    font-size: 18px;

    border: 2px solid #d7e1e8;

    border-radius: 12px;

    margin-bottom: 15px;

    outline: none;
}

input:focus {
    border-color: #00a8cc;
}

button {
    width: 100%;

    border: none;

    border-radius: 12px;

    padding: 16px;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

    background: #0099c7;

    color: white;

    transition: 0.2s;
}

button:hover {
    transform: translateY(-1px);

    opacity: 0.95;
}

.ecocash {
    background: #00a651;
}

.hidden {
    display: none;
}

.package {
    border: 2px solid #e2e8ed;

    border-radius: 14px;

    padding: 18px;

    margin-bottom: 12px;

    cursor: pointer;

    transition: 0.2s;
}

.package:hover {
    border-color: #0099c7;

    transform: translateY(-2px);
}

.package-name {
    font-size: 18px;

    font-weight: bold;
}

.package-price {
    color: #0099c7;

    font-size: 22px;

    font-weight: bold;

    margin-top: 6px;
}

.spinner {
    width: 55px;
    height: 55px;

    border: 6px solid #dfe8ec;

    border-top-color: #0099c7;

    border-radius: 50%;

    margin: 25px auto;

    animation: spin 1s linear infinite;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}

.voucher {
    background: #f0f7fa;

    border: 2px dashed #0099c7;

    border-radius: 12px;

    padding: 20px;

    font-size: 32px;

    font-weight: bold;

    text-align: center;

    color: #0b3d5c;

    letter-spacing: 3px;

    margin: 20px 0;
}

#payment-status {
    text-align: center;

    font-weight: bold;

    color: #0099c7;
}

@media (max-width: 500px) {

    .logo h1 {
        font-size: 40px;
    }

    .logo h2 {
        font-size: 19px;
    }

    .card {
        padding: 22px;
    }

}

/* KuWiFi Customer Care WhatsApp button */

.customer-care-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
    padding: 13px 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    background: #25D366;
    color: #ffffff;
    cursor: pointer;
}

.customer-care-button:hover {
    background: #1ebe5d;
}


/* KuWiFi WhatsApp contact outside customer card */

.whatsapp-contact {
    text-align: center;
    margin-top: 14px;
    padding: 4px 0 10px;
}

.whatsapp-label {
    font-size: 14px;
    font-weight: 600;
    color: #c8d6df;
    margin-bottom: 5px;
}

.whatsapp-number {
    display: inline-block;
    width: auto;
    min-width: 190px;
    padding: 9px 18px;
    margin: 0;
    border: 2px solid #25D366;
    border-radius: 10px;
    background: transparent;
    color: #25D366;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.whatsapp-number:hover {
    background: #25D366;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 500px) {
    .whatsapp-number {
        min-width: 180px;
        font-size: 15px;
    }
}


/* KuWiFi package display enhancements */

.package-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    font-size: 14px;
    color: #475569;
}

.package-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.package-badge.best-value {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.package-badge.tofadaya {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fdba74;
}

/* ===== KuWiFi Shona tutorial (mobile-first landing-page advertisement) ===== */

:root {
    --tutor-bg: #071a2b;
    --tutor-bg-2: #0b3d5c;
    --tutor-accent: #0099c7;
    --tutor-accent-2: #00d4ff;
    --tutor-on-color: #17212b;
}

#tutor-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(7, 26, 43, 0.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#tutor-overlay.tutor-open {
    opacity: 1;
    visibility: visible;
}

.tutor-backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    cursor: pointer;
}

.tutor-card {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow: hidden;
    background: #ffffff;
    color: #17212b;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    animation: tutorFade 0.3s ease;
}

@keyframes tutorFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tutor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8ed;
}

.tutor-brand {
    font-weight: 800;
    font-size: 15px;
    color: var(--tutor-accent);
    letter-spacing: 0.5px;
}

.tutor-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    line-height: 1;
}

.tutor-close:hover {
    background: #e2e8ed;
    color: #17212b;
}

.tutor-progress {
    height: 4px;
    background: #e2e8ed;
    border-radius: 2px;
    overflow: hidden;
}

.tutor-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--tutor-accent), var(--tutor-accent-2));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.tutor-slides {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.tutor-slide {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 24px 22px 28px;
}

.tutor-slide .tutor-illustration {
    margin-bottom: 14px;
}

.tutor-slide .tutor-step {
    margin: 0 0 6px;
    color: var(--tutor-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tutor-slide h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 7vw, 28px);
    line-height: 1.15;
    color: #0b3d5c;
}

.tutor-slide p {
    margin: 8px 0;
    color: #475569;
    font-size: clamp(15px, 4.5vw, 17px);
    line-height: 1.45;
}

.tutor-slide .tutor-lead {
    margin: 10px 0;
    font-size: clamp(15px, 4.5vw, 17px);
    line-height: 1.5;
    color: #17212b;
    font-weight: 600;
}

.tutor-slide.tutor-section {
    background: #f0f7fa;
    border-radius: 16px;
    padding: 22px 20px;
}

.tutor-slide.tutor-close {
    background: #0b3d5c;
    color: #00d4ff;
}

.tutor-slide.tutor-close h2 {
    color: #00d4ff;
}

.tutor-slide.tutor-close p {
    color: #c8d6df;
}

.tutor-arrows {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 0 16px;
}

.tutor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #0b3d5c;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease, background 0.15s ease;
}

.tutor-btn:hover:not(:disabled) {
    background: var(--tutor-accent);
    transform: translateY(-2px);
}

.tutor-btn:active:not(:disabled) {
    transform: translateY(0);
}

.tutor-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.tutor-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    padding: 14px 0 6px;
}

.tutor-dot {
    width: 9px;
    height: 9px;
    border: none;
    border-radius: 50%;
    background: #94a3b8;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s ease, background 0.15s ease;
}

.tutor-dot:hover {
    background: #64748b;
    transform: scale(1.2);
}

.tutor-dot.active {
    background: var(--tutor-accent);
    transform: scale(1.15);
}

.tutor-skip {
    margin: 12px auto 0;
    background: transparent;
    color: #667;
    border: 1px solid #d7e1e8;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
}

.tutor-skip:hover {
    color: #17212b;
    border-color: #94a3b8;
}

/* Reduced motion is respected even where transitions are expected. */
@media (prefers-reduced-motion: reduce) {
    #tutor-overlay {
        transition: none;
    }

    .tutor-card {
        animation: none;
    }

    .tutor-slides,
    .tutor-slide,
    .tutor-btn,
    .tutor-dot,
    .tutor-progress-fill,
    .tutor-progress,
    .tutor-arrows,
    .tutor-stemp {
        transition: none !important;
    }

    .tutor-slide h2,
    .tutor-slide p {
        animation: none;
    }
}

