/**
 * Terms of Use Page Styles
 * Author: OS 03-Sep-2025
 * Beautiful, monochromatic design matching Privacy Policy
 */

/* Page Container */
.wtd-terms-page {
    background: linear-gradient(135deg, #F4ECEA 0%, #f0ece8 30%, #ffffff 70%, #F4ECEA 100%);
    background-size: 400% 400%;
    animation: gentleGradientShift 20s ease infinite;
    min-height: 100vh;
    position: relative;
}

@keyframes gentleGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Header Section */
.wtd-terms-header {
    background: linear-gradient(135deg, #3A3532 0%, #000000 100%);
    color: #ffffff;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.wtd-terms-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
}

.wtd-terms-header .container {
    position: relative;
    z-index: 1;
}

.wtd-terms-title {
    font-family: 'biennale', serif;
    font-size: 4rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.wtd-terms-subtitle {
    font-family: 'manrope', sans-serif;
    font-size: 1.3rem;
    text-align: center;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
}

/* Main Container */
.wtd-terms-container {
    max-width: 1000px;
    margin: -40px auto 0;
    padding: 0 20px 100px;
    position: relative;
    z-index: 10;
}

/* Table of Contents */
.wtd-terms-toc {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.wtd-terms-toc h3 {
    font-family: 'biennale', serif;
    font-size: 2rem;
    color: #3A3532;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 400;
}

.wtd-terms-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.wtd-terms-toc ul li {
    padding: 0;
    border-bottom: none;
}

.wtd-terms-toc ul li::before {
    display: none;
}

.wtd-terms-toc a {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(244, 236, 234, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    text-decoration: none;
    color: #3A3532;
    font-family: 'manrope', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.wtd-terms-toc a:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(58, 53, 50, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: #000000;
    padding-left: 25px;
}

/* Content Sections */
.wtd-terms-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.wtd-terms-section:hover {
    box-shadow: 0 6px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.wtd-terms-section h2 {
    font-family: 'biennale', serif;
    font-size: 2.5rem;
    color: #3A3532;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F4ECEA;
    font-weight: 400;
}

.wtd-terms-section h3 {
    font-family: 'manrope', sans-serif;
    font-size: 1.5rem;
    color: #3A3532;
    margin: 35px 0 20px;
    font-weight: 600;
}

.wtd-terms-section p {
    font-family: 'manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #8E8C8A;
    margin-bottom: 20px;
}

/* Lists */
.wtd-terms-section ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.wtd-terms-section ul li {
    font-family: 'manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #8E8C8A;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.wtd-terms-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #3A3532;
    border-radius: 50%;
}

/* Highlight Box */
.wtd-highlight-box {
    background: #3A3532;
    color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
}

.wtd-highlight-box p {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

.wtd-highlight-box strong {
    color: #ffffff;
}

/* Section anchors offset for fixed header */
.wtd-terms-section[id] {
    scroll-margin-top: 100px;
}

/* Footer Date */
.wtd-effective-date {
    text-align: center;
    color: #8E8C8A;
    font-size: 1rem;
    margin-top: 60px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links */
.wtd-terms-section a {
    color: #3A3532;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wtd-terms-section a:hover {
    color: #000000;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wtd-terms-header {
        padding: 80px 0 60px;
    }
    
    .wtd-terms-title {
        font-size: 2.5rem;
    }
    
    .wtd-terms-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .wtd-terms-container {
        padding-bottom: 60px;
    }
    
    .wtd-terms-section,
    .wtd-terms-toc {
        padding: 40px 25px;
    }
    
    .wtd-terms-section h2 {
        font-size: 2rem;
    }
    
    .wtd-terms-section h3 {
        font-size: 1.25rem;
    }
    
    .wtd-terms-toc h3 {
        font-size: 1.5rem;
    }
    
    .wtd-terms-toc ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .wtd-terms-header {
        padding: 60px 0 40px;
    }
    
    .wtd-terms-title {
        font-size: 2rem;
    }
    
    .wtd-terms-section,
    .wtd-terms-toc {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .wtd-terms-section ul li {
        font-size: 0.9rem;
        padding-left: 25px;
    }
    
    .wtd-highlight-box {
        padding: 20px;
    }
} 