/* ==========================================================================
   TERMS & POLICY PAGE STYLES (TechVanguard Dark & Gold Theme)
   ========================================================================== */

/* Hero Banner Section - Black background, Gold Text */
.terms-hero {
    position: relative;
    background: #16151c;
    padding: 4.5vw 2vw;
    text-align: center;
    border-radius: 1vw;
    margin: 5vw auto 2.5vw;
    width: 90%;
    max-width: 1100px;
    box-shadow: 0 0.8vw 2.5vw rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid var(--color-border, rgba(175, 156, 99, 0.5));
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(250, 222, 131, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* Gold Title - Nasalization font for TechVanguard brand consistency */
.terms-hero-title {
    font-family: 'Nasalization', sans-serif;
    font-size: 2.2vw;
    font-weight: 500;
    letter-spacing: 0.08vw;
    color: var(--color-yellow, #FADE83);
    background: linear-gradient(135deg, #FFE89C 0%, #FADE83 50%, #D0B872 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

/* Main Container */
.terms-container {
    width: 90%;
    max-width: 1050px;
    margin: 0 auto 4vw;
    padding: 0 1vw;
}

/* Header Description Section */
.terms-header-info {
    text-align: center;
    margin-bottom: 2.5vw;
}

.terms-sub-tag {
    font-size: 0.85vw;
    font-weight: 600;
    color: var(--color-yellow, #FADE83);
    text-transform: uppercase;
    letter-spacing: 0.12vw;
    margin-bottom: 0.4vw;
}

.terms-main-title {
    font-family: 'Nasalization', sans-serif;
    font-size: 1.8vw;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.8vw;
}

.terms-intro-desc {
    font-size: 0.9vw;
    color: #a0a5b5;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
}

.terms-intro-desc strong {
    color: #ffffff;
}

/* Company Information Box */
.terms-company-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(250, 222, 131, 0.2);
    border-radius: 0.8vw;
    padding: 1.6vw 2vw;
    margin-bottom: 2.5vw;
    backdrop-filter: blur(10px);
    box-shadow: 0 0.4vw 1.5vw rgba(0, 0, 0, 0.25);
}

.terms-company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1vw 2vw;
}

.terms-info-item {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    font-size: 0.88rem;
    color: #cbd5e1;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.terms-info-item .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--color-yellow, #FADE83);
    flex-shrink: 0;
}

.terms-info-item label {
    font-weight: 600;
    color: #ffffff;
    margin-right: 0.2vw;
}

.terms-info-item span.placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* Accordion Policies Section */
.terms-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0.8vw;
    margin-bottom: 2.5vw;
}

.policy-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.6vw;
    overflow: hidden;
    transition: all 0.3s ease;
}

.policy-item:hover {
    border-color: rgba(250, 222, 131, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.policy-item.active {
    border-color: rgba(250, 222, 131, 0.6);
    box-shadow: 0 0.4vw 1.2vw rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1vw 1.6vw;
    cursor: pointer;
    user-select: none;
}

.policy-title {
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6vw;
    line-height: 1.4;
}

.policy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-yellow, #FADE83);
    transition: transform 0.3s ease;
}

.policy-icon .material-symbols-outlined {
    font-size: 1.3rem;
}

.policy-item.active .policy-icon {
    transform: rotate(180deg);
}

.policy-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.6vw;
    color: #cbd5e1;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 0.88rem;
    line-height: 1.65;
}

.policy-item.active .policy-content {
    max-height: 2500px;
    padding: 0 1.6vw 1.4vw;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-updated-badge {
    display: inline-block;
    background: rgba(250, 222, 131, 0.08);
    border: 1px solid rgba(250, 222, 131, 0.2);
    border-radius: 0.3vw;
    padding: 0.2vw 0.6vw;
    font-size: 0.78rem;
    color: var(--color-yellow, #FADE83);
    margin-top: 1vw;
    margin-bottom: 0.8vw;
}

.policy-content h4 {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--color-yellow, #FADE83);
    font-size: 0.96rem;
    font-weight: 700;
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    letter-spacing: 0.01rem;
}

.policy-content p {
    margin-top: 0.4rem;
    margin-bottom: 0.7rem;
    word-break: break-word;
}

.policy-content p strong {
    color: #ffffff;
    font-weight: 600;
}

.policy-content ul {
    padding-left: 1.4vw;
    margin-bottom: 0.8vw;
    list-style-type: disc;
}

.policy-content li {
    margin-bottom: 0.3vw;
}

/* Contact Notice Box */
.terms-contact-notice {
    background: rgba(250, 222, 131, 0.03);
    border: 1px dashed rgba(250, 222, 131, 0.25);
    border-radius: 0.6vw;
    padding: 1.2vw 1.6vw;
    text-align: center;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.terms-contact-notice strong {
    color: var(--color-yellow, #FADE83);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .terms-hero {
        padding: 18vw 4vw 7vw;
        margin: 16vw auto 5vw;
        width: 92%;
    }

    .terms-hero-title {
        font-size: 5.5vw;
    }

    .terms-main-title {
        font-size: 4.8vw;
    }

    .terms-sub-tag {
        font-size: 2.8vw;
    }

    .terms-intro-desc {
        font-size: 3.2vw;
    }

    .terms-company-grid {
        grid-template-columns: 1fr;
        gap: 2.5vw;
    }

    .terms-info-item {
        font-size: 3.2vw;
    }

    .policy-title {
        font-size: 3.5vw;
    }

    .policy-content {
        font-size: 3.2vw;
    }

    .policy-content h4 {
        font-size: 3.4vw;
    }

    .terms-contact-notice {
        font-size: 3.2vw;
        padding: 3.5vw;
    }
}
