.tos-main {
    min-height: calc(100vh - 124px);
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
}

.tos-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tos-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    padding: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.tos-content h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.tos-text {
    color: #1a1a1a;
}

.tos-text > p:first-child {
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.7;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tos-text ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
    margin-top: 30px;
}

.tos-text ol > li {
    position: relative;
    padding-left: 35px; /* Reduced from 45px */
    margin-bottom: 30px;
}

.tos-text ol > li:before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.tos-text ol > li > p {
    margin-left: -35px; /* Pull the paragraph text back to align with the top description */
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tos-text ul {
    list-style-type: none;
    padding-left: 20px; /* Reduced padding */
    margin: 15px 0;
}

.tos-text ul > li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.tos-text ul > li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
}

.tos-section {
    margin-bottom: 30px;
    padding-left: 20px;
}

.tos-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.tos-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tos-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tos-signature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1a1a1a;
}

.update-date, .company-name {
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .tos-content {
        padding: 30px 20px;
    }

    .tos-content h1 {
        font-size: 2rem;
    }

    .tos-section h2 {
        font-size: 1.3rem;
    }

    .tos-section p {
        font-size: 1rem;
    }

    .tos-signature {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
