/* AI Unveiled - Terms of Service Stylesheet */

/* Terms Header Section */
.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(26, 42, 94, 0.6) 0%,
        rgba(59, 94, 219, 0.4) 100%
    );
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.terms-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.terms-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.effective-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0;
}

/* Terms Content Layout */
.terms-container {
    margin-top: 110px;
    position: relative;
    padding-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.terms-content-wrapper {
    background: linear-gradient(135deg, 
        rgba(26, 42, 94, 0.3) 0%,
        rgba(59, 94, 219, 0.2) 100%
    );
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.terms-content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
}

/* Individual Terms Sections */
.terms-section {
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 2rem;
}

.terms-section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
}

.terms-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: var(--radius-full);
}

.terms-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.terms-section ul {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.terms-section li {
    margin-bottom: 0.7rem;
}

/* Table of Contents */
.terms-toc {
    background: linear-gradient(135deg, 
        rgba(26, 42, 94, 0.4) 0%,
        rgba(59, 94, 219, 0.2) 100%
    );
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-toc h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.terms-toc-list {
    columns: 2;
    column-gap: 2rem;
    list-style: none;
    padding: 0;
}

.terms-toc-list li {
    margin-bottom: 0.75rem;
    break-inside: avoid;
}

.terms-toc-list a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.terms-toc-list a:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

.terms-toc-list a i {
    font-size: 0.8rem;
    margin-right: 0.5rem;
    color: var(--accent-blue);
}

/* Last Updated Info */
.last-updated {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 3rem;
    font-style: italic;
}

/* Highlight Important Sections */
.terms-highlight {
    background: linear-gradient(135deg, 
        rgba(26, 42, 94, 0.5) 0%,
        rgba(59, 94, 219, 0.3) 100%
    );
    border-left: 3px solid var(--accent-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.terms-highlight p:last-child {
    margin-bottom: 0;
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, 
        rgba(26, 42, 94, 0.5) 0%,
        rgba(59, 94, 219, 0.3) 100%
    );
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid rgba(59, 94, 219, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-box h3 {
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.contact-box p {
    margin-bottom: 0;
}

.contact-email {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--accent-purple);
}

/* Responsive styles */
@media (max-width: 992px) {
    .terms-container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    
    .terms-content-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .terms-title {
        font-size: 2rem;
    }
    
    .terms-content-wrapper {
        padding: 1.5rem;
    }
    
    .terms-toc-list {
        columns: 1;
    }
}