/* Terms & Condition CSS */
.terms-header {
    text-align: center;
    margin-bottom: 50px;
}
.toc-link:visited{color: #000;}

.terms-grid {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Sidebar Styling */
.terms-sidebar {
    width: 370px;
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-block {
    background-color: #F5F2F0;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #d3d3d3;
}

.sidebar-title {
    font-size: 20px;
    padding-bottom: 30px;
    letter-spacing: 1px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding-bottom: 35px;
}

.toc-list li:last-child {
    padding-bottom: 0;
}

.toc-link {
    text-decoration: none;
    font-size: 18px;
    line-height: 26px;
    color: #0a0a0a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    font-weight: 400;
}

.toc-link:hover {
    color: #000;
    padding-left: 5px;
}

.toc-link.active {
    font-weight: 600;
}

/* Main Content Styling */
.terms-content {
    flex: 1;
    width: calc(100% - 400px);
}

.intro-text {
    font-size: 16px;
    line-height: 27px;
    padding-bottom: 30px;
    color: #4a4a4a;
}

.terms-section {
    padding-bottom: 60px;
    scroll-margin-top: 140px;
}

.section-heading {
    font-size: 24px;
    line-height: 28px;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.section-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    margin: 0 0 24px 0;
}


.section-content p:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.section-content ul li {
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.section-content ul li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #000;
}

/* Mobile Category Toggle */
.mobile-toc-toggle {
    display: none;
}

/* Responsive */
@media (min-width: 1281px) and (max-width: 1550px) {}

@media (min-width: 992px) and (max-width: 1280px) {
    .terms-header {
        margin-bottom: 20px;
    }

    .terms-grid {
        gap: 25px;
    }

    .terms-content {
        width: calc(100% - 300px);
    }

    .terms-sidebar {
        width: 270px;
    }

    .sidebar-block {
        padding: 15px;
    }

    .sidebar-title {
        font-size: 17px;
        padding-bottom: 20px;
    }

    .toc-list li {
        padding-bottom: 25px;
    }

    .toc-link {
        font-size: 16px;
        line-height: 22px;
    }

    .intro-text {
        font-size: 15px;
        line-height: 23px;
        padding-bottom: 20px;
    }

    .terms-section {
        padding-bottom: 30px;
    }

    .section-heading {
        font-size: 20px;
        line-height: 24px;
    }

    .section-content p {
        font-size: 15px;
        line-height: 27px;
        margin: 0 0 18px 0;
    }
}


@media (max-width: 991px) {
    .terms-header {
        margin-bottom: 15px;
    }

    .terms-sidebar,
    .mobile-toc-toggle {
        display: none !important;
    }

    .section-heading {
        font-size: 16px;
        line-height: 24px;
        padding-bottom: 15px;
        letter-spacing: 0;
    }

    .intro-text,
    .section-content p,
    .section-content ul li {
        font-size: 14px;
        line-height: 20px;
        color: #404040;
        padding-bottom: 15px;
        margin: 0;
    }

    .terms-section {
        padding-bottom: 20px;
    }

    .section-content ul {
        margin: 0;
    }
}



.not-found-section {
        text-align: center;
    position: relative;
}

.not-found-content {
    position: relative;
    width: 100%;
    z-index: 1;text-align: center;
}
.not-found-btn{max-width: 260px;}

.not-found-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.not-found-text {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.not-found-text h2 {
    font-size: 40px;
    padding-bottom: 20px;
}

.not-found-text p {
    font-size: 18px;
    line-height: 30px;
    padding-bottom: 40px;
}

.not-found-btn {
    min-width: 200px;
    width: auto;
}

br.desktop-only {
    display: none;
}

@media (min-width: 992px) {
    br.desktop-only {
        display: block;
    }
}

@media (max-width: 991px) {
    .not-found-bg {
        width: 80%;
    }
    
    .not-found-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .not-found-text {
        padding: 15px;
    }   
    .not-found-bg {
        width: 90%;
    }

    .not-found-text h2 {
        font-size: 24px;
    }

    .not-found-text p {
        font-size: 14px;
        line-height: 22px;
        padding-bottom: 15px;
    }
    
    .not-found-btn {
        padding: 12px 30px !important;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    .not-found-bg {
        width: 100%;
    }
    .not-found-text h2 {
        font-size: 16px;
        padding-bottom: 10px;
    }
}   

.mobile-app-section {
    background-color: #ffffff;
    overflow: hidden;
}

.app-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.app-content {
    width: 50%;
}

.app-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.1;
    padding-bottom: 20px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.app-subtitle {
    font-size: 14px;
    line-height: 20px;
    color: #364153;
    padding-bottom: 60px;
}

.qr-container {
    display: flex;
    gap: 30px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.qr-box {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-image {
    width: 50%;
}

.app-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.15));
}

/* Responsive Styles */
@media (max-width: 1440px) {
    .app-title {
        font-size: 48px;
    }

    .qr-box {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 1200px) {
    .app-title {
        font-size: 40px;
    }

    .qr-container {
        gap: 20px;
    }

    .qr-box {
        width: 110px;
        height: 110px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .app-row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .app-content {
        width: 100%;
        order: 2;
    }

    .app-image {
        order: 1;
        width: 100%;
    }

    .qr-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .app-row {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .app-content {
        width: 100%;
        order: 2;
    }

    .app-image {
        width: 100%;
    }

    .app-title {
        font-size: 24px;
        padding-bottom: 10px;
    }

    .app-subtitle {
        padding-bottom: 30px;
    }

    .qr-container {
        gap: 15px;
        justify-content: center;
    }

    .qr-box {
        width: 90px;
        height: 90px;
        padding: 8px;
    }
}