/* ============================
   TERMS AND CONDITIONS STYLES
   Uses Marinova color tokens
   Fonts: Inter / Lato / Montserrat
   ============================ */

/* Header Styling */
.site-header {
    text-align: center;
    padding: 2.5rem 1rem;
    background-color: var(--light-bg, #f8f9fa);
    border-bottom: 1px solid var(--light-gray-border, #eaeaea);
    margin-bottom: 2rem;
}

.site-header h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--base-navyblue, #1a365d);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.site-header p {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    color: var(--clr-charcoal, #4a5568);
    font-weight: 400;
}

/* Main Terms Container */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
    font-family: "Inter", "Lato", sans-serif;
    color: var(--text-blue, #2d3748);
    line-height: 1.7;
}

.terms-container section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray-border, #eaeaea);
}

.terms-container section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-container h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--base-navyblue, #1a365d);
    position: relative;
    padding-left: 0.5rem;
}

.terms-container h2::before {
    content: "";
    position: absolute;
    left: -0.5rem;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--accent-red, #e53e3e);
    border-radius: 2px;
}

.terms-container p {
    font-size: 1rem;
    color: var(--text-blue, #2d3748);
    margin-bottom: 1rem;
}

.terms-container p:last-child {
    margin-bottom: 0;
}

/* Highlight important text */
.terms-container strong {
    color: var(--accent-red, #e53e3e);
    font-weight: 600;
}

/* Responsive Design */
@media (min-width: 768px) {
    .site-header {
        padding: 4rem 2rem;
        margin-bottom: 3rem;
    }
    
    .site-header h1 {
        font-size: 2.8rem;
    }
    
    .site-header p {
        font-size: 1.3rem;
    }
    
    .terms-container {
        padding: 0 2rem 5rem;
    }
    
    .terms-container h2 {
        font-size: 1.6rem;
        padding-left: 1rem;
    }
    
    .terms-container h2::before {
        left: -1rem;
        width: 5px;
    }
    
    .terms-container p {
        font-size: 1.05rem;
    }
    
    .terms-container section {
        margin-bottom: 3rem;
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .site-header h1 {
        font-size: 3rem;
    }
    
    .terms-container {
        padding: 0 3rem 6rem;
    }
}

/* Animation for section hover */
@media (hover: hover) {
    .terms-container section:hover h2 {
        color: var(--accent-red, #e53e3e);
        transition: color 0.3s ease;
    }
}