/* TERMS & CONDITIONS PAGE - LUXURY DESIGN */

/* BASIC RESET */
* {
    box-sizing: border-box;
}

/* LUXURY HERO SECTION */
.luxury-hero.terms-hero {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
}

.luxury-badge {
    display: inline-block;
    background: #DC143C;
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 2px solid #FFFFFF;
}

.luxury-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: #DC143C;
}

.divider-icon {
    color: #DC143C;
    font-size: 1.2rem;
    margin: 0 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
}

.luxury-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #CCCCCC;
    margin-top: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* TERMS CONTENT SECTION */
.terms-content {
    padding: 6rem 0;
    background: #FFFFFF;
    position: relative;
}

.terms-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 120px, rgba(0,0,0,0.01) 120px, rgba(0,0,0,0.01) 122px),
        repeating-linear-gradient(90deg, transparent, transparent 120px, rgba(220,20,60,0.01) 120px, rgba(220,20,60,0.01) 122px);
    pointer-events: none;
}

.terms-wrapper {
    position: relative;
    z-index: 2;
}

/* TERMS DOCUMENT */
.terms-document {
    background: #FFFFFF;
    border: 3px solid #000000;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.document-header {
    background: #000000;
    color: #FFFFFF;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    border-bottom: 4px solid #DC143C;
}

.document-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(220,20,60,0.1) 50px, rgba(220,20,60,0.1) 52px);
    pointer-events: none;
}

.document-icon {
    width: 80px;
    height: 80px;
    background: #DC143C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 3px solid #FFFFFF;
    position: relative;
    z-index: 2;
}

.document-icon i {
    font-size: 2rem;
    color: #FFFFFF;
}

.document-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.document-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #CCCCCC;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* TERMS CONTENT BODY */
.terms-content-body {
    padding: 4rem 3rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #000000;
}

.terms-content-body h1,
.terms-content-body h2,
.terms-content-body h3,
.terms-content-body h4,
.terms-content-body h5,
.terms-content-body h6 {
    font-family: 'Playfair Display', serif;
    color: #000000;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.terms-content-body h1::before,
.terms-content-body h2::before,
.terms-content-body h3::before,
.terms-content-body h4::before,
.terms-content-body h5::before,
.terms-content-body h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #DC143C;
}

.terms-content-body h1 {
    font-size: 2rem;
    font-weight: 700;
}

.terms-content-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.terms-content-body h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

.terms-content-body h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

.terms-content-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.terms-content-body ul,
.terms-content-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.terms-content-body li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-content-body ul li::marker {
    color: #DC143C;
}

.terms-content-body ol li::marker {
    color: #DC143C;
    font-weight: bold;
}

.terms-content-body strong,
.terms-content-body b {
    color: #DC143C;
    font-weight: 600;
}

.terms-content-body a {
    color: #DC143C;
    text-decoration: none;
    border-bottom: 1px solid #DC143C;
    transition: all 0.3s ease;
}

.terms-content-body a:hover {
    color: #000000;
    border-bottom-color: #000000;
}

.terms-content-body blockquote {
    border-left: 4px solid #DC143C;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: rgba(220, 20, 60, 0.05);
    padding: 1.5rem;
    position: relative;
}

.terms-content-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 3rem;
    color: #DC143C;
    font-family: 'Playfair Display', serif;
}

/* DOCUMENT FOOTER */
.document-footer {
    background: #F8F8F8;
    padding: 2rem 3rem;
    border-top: 2px solid #DC143C;
}

.effective-date {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #666666;
}

.effective-date i {
    font-size: 1.2rem;
    color: #DC143C;
    margin-right: 0.5rem;
}

.terms-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #DC143C;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .luxury-title {
        font-size: 2.5rem;
    }

    .terms-content-body {
        padding: 3rem 2rem;
    }

    .document-header {
        padding: 2rem 1.5rem;
    }

    .document-header h2 {
        font-size: 1.8rem;
    }

    .document-icon {
        width: 70px;
        height: 70px;
    }

    .document-icon i {
        font-size: 1.8rem;
    }

    .terms-content-body h1 {
        font-size: 1.8rem;
    }

    .terms-content-body h2 {
        font-size: 1.6rem;
    }

    .terms-content-body h3 {
        font-size: 1.4rem;
    }

    .document-footer {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 576px) {
    .luxury-hero.terms-hero {
        min-height: 50vh;
    }

    .luxury-title {
        font-size: 2rem;
    }

    .terms-content {
        padding: 4rem 0;
    }

    .terms-content-body {
        padding: 2rem 1.5rem;
    }

    .document-header {
        padding: 2rem 1rem;
    }

    .document-header h2 {
        font-size: 1.6rem;
    }

    .document-icon {
        width: 60px;
        height: 60px;
    }

    .document-icon i {
        font-size: 1.5rem;
    }

    .terms-content-body h1 {
        font-size: 1.6rem;
    }

    .terms-content-body h2 {
        font-size: 1.4rem;
    }

    .terms-content-body h3 {
        font-size: 1.2rem;
    }

    .document-footer {
        padding: 1rem 1.5rem;
    }

    .effective-date {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ADDITIONAL LUXURY TOUCHES */
.terms-document::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #DC143C 50%, transparent 100%);
}

/* Print Styles */
@media print {
    .luxury-hero {
        display: none;
    }

    .terms-content {
        padding: 0;
    }

    .terms-document {
        border: none;
        box-shadow: none;
    }

    .document-header {
        background: none;
        color: #000000;
        border-bottom: 2px solid #000000;
    }

    .document-icon {
        border: 2px solid #000000;
    }
}