/* =========================================
   TERMS & CONDITIONS PAGE STYLES
   Safer Haven.AI
   ========================================= */

/* Hero Section - Replicating Contact Hero Height/Format */
.terms-hero {
    padding: var(--space-20) 0 var(--space-16);
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(74, 29, 142, 0.4) 0%, transparent 50%);
    z-index: 1;
}

.terms-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    position: relative;
    z-index: 2;
}

.bling-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, #FFFFFF 0%, #FDB71A 50%, #E5A515 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    font-weight: 900;
}

.hero-lead {
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    opacity: 0.95;
    max-width: 600px;
}

.hero-sub {
    font-size: var(--text-lg);
    color: var(--color-gold-light);
    font-weight: 600;
    margin-bottom: 0;
}

/* Document Icon Styles */
.document-icon-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-icon-gold {
    width: 80%;
    height: 80%;
    color: #FDB71A !important;
    filter: drop-shadow(0 0 25px rgba(253, 183, 26, 0.5));
    animation: bounce-thrice 4s ease-in-out infinite;
    display: block;
}

.doc-icon-gold path {
    stroke: #FDB71A !important;
}

@keyframes bounce-thrice {
    0%, 6%, 12%, 18% { transform: translateY(0); }
    3%, 9%, 15% { transform: translateY(-40px); }
    18%, 100% { transform: translateY(0); }
}

/* Terms Content Section */
.terms-content-section {
    background-color: var(--color-white);
    padding: var(--space-20) 0;
    position: relative;
    z-index: 5;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    color: var(--color-primary-dark);
}

.terms-section {
    margin-bottom: var(--space-12);
}

.terms-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-gold-light);
    display: inline-block;
}

.terms-section h3 {
    font-size: var(--text-lg);
    color: var(--color-primary-dark);
    margin: var(--space-6) 0 var(--space-3);
    font-weight: 700;
}

.terms-section p {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    color: var(--color-gray-800);
}

.terms-section ul {
    list-style-type: disc;
    padding-left: var(--space-8);
    margin-bottom: var(--space-6);
}

.terms-section ul li {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-2);
    color: var(--color-gray-800);
}

.terms-section ul ul {
    list-style-type: circle;
    margin-top: var(--space-2);
    margin-bottom: var(--space-2);
}

/* Professional Font for Legal Text */
.legal-body {
    font-family: 'Inter', sans-serif;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .terms-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .document-icon-wrapper {
        width: 180px;
        height: 180px;
        margin-top: var(--space-10);
    }
}

@media (max-width: 768px) {
    .terms-hero {
        padding: var(--space-16) 0 var(--space-12);
    }

    .bling-title {
        font-size: 3rem;
    }

    .terms-content-section {
        padding: var(--space-12) var(--space-6);
    }
}
