body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.terms-nav {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.terms-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ac2668;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #8e1f55;
}

.terms-content {
    padding: 3rem 0;
}

.terms-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.terms-section {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ac2668;
}

.terms-section p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.terms-section ul {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
}

.terms-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.terms-section ul li:before {
    content: "•";
    color: #ac2668;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .terms-content h1 {
        font-size: 2rem;
    }

    .terms-section {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.5rem;
    }

    .nav-right {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .terms-nav {
        padding: 0.5rem 0;
    }

    .nav-logo img {
        height: 30px;
    }

    .terms-content {
        padding: 2rem 0;
    }

    .terms-section {
        padding: 1rem;
    }

    .terms-section h2 {
        font-size: 1.3rem;
    }

    .nav-right {
        flex-direction: column;
        gap: 0.5rem;
    }
}
