/* Terms of Service Page Styles */

:root {
    --navy: #1a1a2e;
    --orange: #e44d26;
    --soft-gray: #f8fafc;
    --text-dark: #334155;
}

.terms-hero {
    background: white;
    padding: 50px 0 50px;
    text-align: center;
    color: #334155;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(228, 77, 38, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
}

.terms-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    /* color: white; */
}

.terms-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.hero-content-box {
    border-bottom: 2px solid #ff5e14; /* Orange line under content */
    padding: 0 20px 15px 20px;
    display: inline-block;
    max-width: 850px;
    margin: 0 auto;
}
.terms-content-section {
    padding: 26px 0;
    background-color: var(--soft-gray);
}

.terms-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.terms-block {
    margin-bottom: 40px;
}

.terms-block:last-child {
    margin-bottom: 0;
}

.terms-block h2 {
    color: var(--navy);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-block h2::before {
    content: "";
    width: 4px;
    height: 24px;
    background: var(--orange);
    border-radius: 2px;
}

.terms-block p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-block ul {
    margin-top: 15px;
    padding-left: 20px;
}

.terms-block ul li {
    margin-bottom: 10px;
    color: var(--text-dark);
    position: relative;
    list-style: none;
    padding-left: 20px;
}

.terms-block ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.last-updated {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 40px;
    text-align: right;
    font-style: italic;
}

@media (max-width: 768px) {
    .terms-hero h1 {
        font-size: 2.5rem;
    }

    .terms-wrapper {
        padding: 30px;
        margin: 0 15px;
    }
}
