/* ==========================================================================
   INCREDIBLE INDIA EXPLORER - LEGAL, SUPPORT & NEWSLETTER STYLES
   ========================================================================== */

/* Typography & Layout for Legal Pages (Privacy, Terms) */
.legal-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.legal-title {
    color: var(--primary-gold);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.legal-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content h2 {
    color: var(--primary-saffron);
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.legal-content h3 {
    color: var(--primary-gold-alt);
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.legal-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content ul {
    list-style-type: disc;
    margin: 0 0 20px 25px;
    color: var(--text-light);
}

.legal-content li {
    margin-bottom: 10px;
}

/* Support Center Styles */
.support-section {
    padding: 120px 0 80px;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 176, 31, 0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

/* Newsletter Styles */
.newsletter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, var(--bg-dark-deep) 100%);
}

.newsletter-card {
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 50px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 176, 31, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--gradient-saffron-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-card h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-snappy);
}

.newsletter-form input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(255, 176, 31, 0.2);
}

/* Changelog Styles */
.changelog-timeline {
    max-width: 800px;
    margin: 50px auto;
    position: relative;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.changelog-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.changelog-item::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
}

.changelog-date {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 176, 31, 0.1);
    color: var(--primary-gold);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.changelog-content {
    background: var(--bg-dark-card);
    padding: 25px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.changelog-content h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.badge-new { background: rgba(18, 136, 7, 0.2); color: var(--primary-green); padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; margin-right: 8px; font-weight: bold; }
.badge-fix { background: rgba(255, 153, 51, 0.2); color: var(--primary-saffron); padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; margin-right: 8px; font-weight: bold; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .legal-container {
        padding: 40px 20px;
        margin: 0 20px;
    }
    .legal-title {
        font-size: 2.2rem;
    }
    .newsletter-card {
        padding: 40px 20px;
    }
}
