@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    box-sizing:border-box;
}

:root{
    --tyt-purple:#5b17d6;
    --tyt-purple-dark:#2f0f73;
    --tyt-purple-soft:#efe7ff;
    --tyt-gold:#f4c21f;
    --tyt-gold-dark:#d9a90a;
    --tyt-text:#1f1f2e;
    --tyt-subtext:#625f74;
    --tyt-white:#ffffff;
    --tyt-border:#ece7f7;
    --tyt-bg:#f7f5fc;
    --tyt-card-shadow:0 14px 34px rgba(63, 24, 132, 0.08);
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    margin:0;
    background:linear-gradient(180deg,#faf8ff 0%, #f6f3fc 100%);
    color:var(--tyt-text);
}

/* NAVBAR */
.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 8%;
    position:sticky;
    top:0;
    z-index:3000;
    background:rgba(255,255,255,0.82);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 6px 24px rgba(53,23,108,0.06);
    border-bottom:1px solid rgba(91,23,214,0.06);
}

.left-section{
    display:flex;
    align-items:center;
    gap:10px;
}

.right-section{
    display:flex;
    align-items:center;
    gap:15px;
    position:relative;
}

.logo img{
    height:45px;
    display:block;
}

/* DESKTOP NAV */
.desktop-nav{
    display:flex;
    align-items:center;
    gap:30px;
}

.desktop-nav a{
    text-decoration:none;
    color:#342d4f;
    font-weight:600;
    position:relative;
    padding-bottom:5px;
    transition:0.25s ease;
}

.desktop-nav a::after{
    content:"";
    position:absolute;
    bottom:-6px;
    left:0;
    width:0%;
    height:3px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--tyt-purple),var(--tyt-gold));
    transition:0.3s;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after{
    width:100%;
}

.desktop-nav a.active{
    color:var(--tyt-purple-dark);
}

/* MOBILE MENU */
.nav-center{
    display:none;
}

.nav-center nav{
    display:flex;
    flex-direction:column;
    width:100%;
}

.nav-center nav a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#777;
    font-weight:500;
    width:100%;
}

.nav-center nav a i{
    width:20px;
    height:20px;
    color:#5f4f7f;
    flex-shrink:0;
}

/* SEARCH */
.search-bar{
    padding:10px 15px;
    border-radius:999px;
    border:1px solid #e6def7;
    width:210px;
    transition:0.3s;
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:var(--tyt-text);
}

.search-bar::placeholder{
    color:#8f88a4;
}

.search-bar:focus{
    outline:none;
    border-color:rgba(91,23,214,0.35);
    box-shadow:0 0 0 4px rgba(91,23,214,0.08);
}

.desktop-search{
    display:block;
}

#mobileSearch{
    display:none;
}

.search-icon{
    display:none;
    cursor:pointer;
    align-items:center;
    justify-content:center;
}

.search-icon i{
    width:22px;
    height:22px;
    color:#433d55;
}

/* LOGIN BUTTON */
.login-btn a{
    text-decoration:none;
    background:linear-gradient(135deg,var(--tyt-gold),#ffd95a);
    color:#221b07;
    padding:11px 20px;
    border-radius:999px;
    font-weight:700;
    transition:0.25s ease;
    box-shadow:0 10px 20px rgba(244,194,31,0.22);
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.login-btn a:hover{
    transform:translateY(-1px);
    background:linear-gradient(135deg,var(--tyt-purple),#7b39f2);
    color:white;
    box-shadow:0 12px 22px rgba(91,23,214,0.22);
}

/* HAMBURGER */
.hamburger{
    display:none;
    cursor:pointer;
    align-items:center;
    justify-content:center;
}

.hamburger i{
    width:24px;
    height:24px;
    color:#433d55;
}

/* COMMON SECTION */
.section{
    padding:72px 8%;
}

.section-head{
    text-align:center;
    margin-bottom:38px;
}

.section-head h2{
    font-size:38px;
    color:var(--tyt-purple-dark);
    margin:0 0 10px;
    font-weight:800;
}

.section-head p{
    color:#6f6a82;
    font-size:15px;
    margin:0;
    line-height:1.8;
}

/* EXAM DROPDOWN */
.pass-select-box{
    position:relative;
    display:flex;
    align-items:stretch;
    width:100%;
    max-width:420px;
    margin:0 auto 30px;
    background:#fff;
    border:1px solid var(--tyt-border);
    border-radius:12px;
    box-shadow:0 6px 16px rgba(0,0,0,0.04);
    overflow:hidden;
}

.pass-select-box:focus-within{
    border-color:var(--tyt-purple);
}

.pass-select-prefix{
    display:flex;
    align-items:center;
    padding:0 14px;
    background:var(--tyt-purple-soft);
    color:var(--tyt-purple);
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
    border-right:1px solid var(--tyt-border);
}

.pass-select-box select{
    flex:1;
    min-width:0;
    height:46px;
    padding:0 40px 0 14px;
    border:none;
    outline:none;
    background:transparent;
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:600;
    color:var(--tyt-purple-dark);
    appearance:none;
    -webkit-appearance:none;
    cursor:pointer;
}

.pass-select-arrow{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    width:18px;
    height:18px;
    color:var(--tyt-purple);
    pointer-events:none;
}

.pass-empty{
    width:100%;
    text-align:center;
    color:#6f6a82;
    font-size:15px;
    margin:0;
}

/* PRICING */
.pricing-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px 14px;
    align-items:stretch;
}

.pricing-card{
    --accent:var(--tyt-purple);
    --accent-soft:var(--tyt-purple-soft);
    position:relative;
    flex:1 1 215px;
    max-width:265px;
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid var(--tyt-border);
    border-radius:14px;
    padding:14px 15px;
    box-shadow:0 1px 2px rgba(31,31,46,0.04);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(63,24,132,0.08);
}

/* Card styles: each one only changes the accent colour */
.featured-pass,
.recommended-pass,
.premium-pass{
    border-color:var(--accent);
    box-shadow:0 0 0 1px var(--accent);
}

.featured-pass:hover,
.recommended-pass:hover,
.premium-pass:hover{
    box-shadow:0 0 0 1px var(--accent), 0 10px 24px rgba(63,24,132,0.08);
}

.recommended-pass{
    --accent:#0b8a5f;
    --accent-soft:#e3f9ef;
}

.premium-pass{
    --accent:#c99a06;
    --accent-soft:#fff6d6;
}

.day-pass-card{
    --accent:#b97900;
    --accent-soft:#fff3cf;
}

.plan-tag{
    position:absolute;
    top:-9px;
    left:14px;
    white-space:nowrap;
    background:var(--accent);
    color:#fff;
    padding:2px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:600;
}

.plan-tag.pro{
    background:var(--tyt-gold);
    color:#3b2a00;
}

.plan-head{
    display:flex;
    align-items:center;
    gap:8px;
}

.plan-icon{
    width:30px;
    height:30px;
    border-radius:9px;
    background:var(--accent-soft);
    color:var(--accent);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.plan-icon svg{
    width:15px;
    height:15px;
}

.pricing-card h2{
    font-size:14px;
    line-height:1.3;
    color:var(--tyt-text);
    margin:0;
    font-weight:700;
}

.plan-price{
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:2px 6px;
    margin-top:10px;
}

.plan-price h3{
    font-size:22px;
    line-height:1.15;
    color:var(--tyt-text);
    margin:0;
    font-weight:800;
}

.plan-duration{
    font-size:12px;
    color:#6b7280;
}

.plan-save{
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:1px;
}

.strike-price{
    font-size:12px;
    text-decoration:line-through;
    color:#8b8798;
}

.save-pill{
    padding:0 7px;
    border-radius:999px;
    background:#e3f9ef;
    color:#0b7a55;
    font-size:10.5px;
    font-weight:600;
}

.plan-desc{
    color:#6b7280;
    font-size:12px;
    line-height:1.45;
    margin:4px 0 0;
}

/* FEATURES */
.feature-list{
    display:flex;
    flex-direction:column;
    gap:5px;
    margin:10px 0 12px;
    padding-top:10px;
    border-top:1px solid #f0ecf8;
}

.feature-item{
    display:flex;
    align-items:flex-start;
    gap:6px;
}

.feature-item svg{
    width:13px;
    height:13px;
    color:var(--accent);
    flex-shrink:0;
    margin-top:2px;
}

.feature-item span{
    color:#4a4660;
    font-size:12px;
    line-height:1.45;
}

/* BUTTONS */
.buy-btn{
    margin-top:auto;
    height:34px;
    border:none;
    background:var(--accent-soft);
    color:var(--accent);
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
    font-size:13px;
    transition:background 0.2s ease, color 0.2s ease;
    font-family:'Poppins',sans-serif;
}

.buy-btn:hover{
    background:var(--accent);
    color:#fff;
}

.featured-pass .buy-btn,
.recommended-pass .buy-btn{
    background:var(--accent);
    color:#fff;
}

.featured-pass .buy-btn:hover,
.recommended-pass .buy-btn:hover{
    filter:brightness(0.92);
}

.premium-pass .buy-btn,
.premium-pass .buy-btn:hover{
    background:#1f1631;
    color:#fff;
}

.premium-pass .buy-btn:hover{
    filter:brightness(1.25);
}

/* BENEFITS */
.benefit-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.benefit-card{
    background:#fff;
    border:1px solid var(--tyt-border);
    border-radius:26px;
    padding:28px 22px;
    box-shadow:var(--tyt-card-shadow);
    transition:0.25s ease;
}

.benefit-card:hover{
    transform:translateY(-4px);
}

.benefit-card i{
    width:30px;
    height:30px;
    color:var(--tyt-purple);
    margin-bottom:16px;
}

.benefit-card h3{
    font-size:18px;
    margin:0 0 10px;
    color:var(--tyt-purple-dark);
    font-weight:700;
}

.benefit-card p{
    font-size:14px;
    color:#6b7280;
    line-height:1.8;
    margin:0;
}

/* FOOTER */
footer{
    background:#12092a;
    color:#cfc7e7;
    text-align:center;
    padding:22px 20px;
    margin-top:50px;
}

/* BOTTOM NAV */
.bottom-nav{
    display:none;
}

.bottom-item{
    text-decoration:none;
}

/* RESPONSIVE */
@media (max-width:1100px){
    .benefit-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:768px){

    .desktop-nav{
        display:none;
    }

    .hamburger{
        display:flex;
    }

    .search-icon{
        display:flex;
    }

    .desktop-search{
        display:none;
    }

    .nav-center{
        display:flex;
        position:fixed;
        top:82px;
        left:-100%;
        width:50%;
        height:calc(100vh - 82px);
        background:white;
        flex-direction:column;
        justify-content:flex-start;
        align-items:flex-start;
        gap:10px;
        padding:20px 15px;
        border-top-right-radius:25px;
        border-bottom-right-radius:25px;
        box-shadow:2px 0 20px rgba(0,0,0,0.1);
        transition:0.3s ease;
        z-index:5000;
        overflow-y:auto;
        -webkit-overflow-scrolling:touch;
    }

    .nav-center.active{
        left:0;
    }

    .nav-center nav{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        width:100%;
    }

    .nav-center nav a{
        display:flex;
        align-items:center;
        gap:12px;
        margin:0 0 18px 0;
        font-size:14px;
        color:#777;
        width:100%;
        text-align:left;
        padding:8px 5px;
        border-bottom:1px solid #f2f2f2;
        position:static;
    }

    .nav-center nav a::after{
        display:none;
        content:none;
    }

    #mobileSearch{
        display:none;
        position:absolute;
        top:55px;
        right:0;
        width:180px;
        z-index:6000;
        background:white;
    }

    #mobileSearch.active{
        display:block;
    }

    .section{
        padding:56px 6%;
    }

    .section-head h2{
        font-size:32px;
    }

    .benefit-grid{
        grid-template-columns:1fr;
    }

    .pricing-card{
        flex-basis:100%;
        max-width:420px;
    }

    .bottom-nav{
        position:fixed;
        bottom:0;
        width:100%;
        background:white;
        display:flex;
        justify-content:space-around;
        padding:10px 0;
        box-shadow:0 -2px 10px rgba(0,0,0,0.1);
        z-index:1000;
        border-top:1px solid #eee7fb;
    }

    .bottom-item{
        text-align:center;
        font-size:12px;
        color:#777;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
    }

    .bottom-item i{
        width:22px;
        height:22px;
        color:#6b6383;
        margin-bottom:3px;
    }

    .bottom-item p{
        margin:0;
        color:#6b6383;
        font-size:12px;
    }

    .active-bottom i,
    .active-bottom p{
        color:var(--tyt-purple);
    }

    footer{
        margin-bottom:70px;
    }
}

@media (max-width:480px){
    .navbar{
        padding:15px 5%;
    }

    .logo img{
        height:40px;
    }

    .nav-center{
        width:72%;
    }

    .section{
        padding:55px 5%;
    }

    .section-head h2{
        font-size:28px;
    }

}
