/* terms-styles.css - Terms of Service Page Specific Styles */

/* Terms Hero Section */
.terms-hero-section {
    min-height: 60vh;
    background: linear-gradient(135deg, #0a1929 0%, #1a3a5f 100%);
    padding: 140px 0 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.terms-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(156, 39, 176, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><path d="M20,50 Q35,20 50,50 Q65,80 80,50" stroke="white" fill="none"/><rect x="25" y="40" width="50" height="20" rx="3" stroke="white" fill="none"/><line x1="35" y1="45" x2="65" y2="45" stroke="white"/><line x1="35" y1="50" x2="65" y2="50" stroke="white"/><line x1="35" y1="55" x2="65" y2="55" stroke="white"/></svg>');
    pointer-events: none;
}

.terms-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.terms-hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.terms-hero-description {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.terms-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 171, 0, 0.1);
    border: 1px solid rgba(255, 171, 0, 0.3);
    border-radius: 30px;
    padding: 10px 20px;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.85rem;
    color: var(--warning-amber);
    letter-spacing: 1px;
}

.terms-badge i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Terms Content Section */
.terms-content-section {
    padding: 80px 0;
    background-color: var(--primary-dark);
    position: relative;
}

/* Table of Contents */
.terms-toc {
    background: rgba(10, 25, 41, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
}

.toc-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.toc-header i {
    color: var(--accent-teal);
    font-size: 1.5rem;
    margin-right: 15px;
}

.toc-header h5 {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 0;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--medium-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.toc-link i {
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.toc-link span {
    flex: 1;
}

.toc-link:hover {
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent-teal);
    transform: translateX(5px);
}

.toc-link.active {
    background: linear-gradient(90deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.1));
    color: var(--accent-teal);
    border-left: 3px solid var(--accent-teal);
}

.toc-note {
    margin-top: 25px;
    padding: 15px;
    background: rgba(156, 39, 176, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(156, 39, 176, 0.1);
    display: flex;
    align-items: flex-start;
}

.toc-note i {
    color: var(--humor-purple);
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.toc-note span {
    color: var(--medium-gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Terms Article */
.terms-article {
    background: rgba(10, 25, 41, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.terms-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-teal));
    border-radius: 50%;
    font-family: 'Source Code Pro', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-right: 20px;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--light-gray);
    margin-bottom: 0;
    flex: 1;
}

.section-status {
    display: flex;
    align-items: center;
    background: rgba(0, 180, 216, 0.1);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.8rem;
    color: var(--accent-teal);
    letter-spacing: 1px;
}

.section-status i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.section-content {
    padding-left: 70px;
}

.section-content > p {
    color: var(--medium-gray);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Clauses */
.clause {
    margin-bottom: 30px;
}

.clause h5 {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.clause h5::before {
    content: '§';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-family: 'Source Code Pro', monospace;
    font-weight: 600;
}

.clause p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.clause ul, .clause ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.clause li {
    color: var(--medium-gray);
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.clause li::marker {
    color: var(--accent-teal);
}

/* Special Notes */
.important-note,
.funny-note,
.coffee-note,
.animal-fact,
.plant-warning,
.fashion-tip,
.legal-note,
.termination-note {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.important-note {
    background: rgba(255, 171, 0, 0.1);
    border: 1px solid rgba(255, 171, 0, 0.3);
    border-left: 4px solid var(--warning-amber);
}

.funny-note {
    background: rgba(156, 39, 176, 0.1);
    border: 1px solid rgba(156, 39, 176, 0.3);
    border-left: 4px solid var(--humor-purple);
}

.coffee-note {
    background: rgba(111, 78, 55, 0.1);
    border: 1px solid rgba(111, 78, 55, 0.3);
    border-left: 4px solid #8B4513;
}

.animal-fact {
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-left: 4px solid #8B4513;
}

.plant-warning {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-left: 4px solid var(--success-green);
}

.fashion-tip {
    background: rgba(128, 0, 128, 0.1);
    border: 1px solid rgba(128, 0, 128, 0.3);
    border-left: 4px solid #800080;
}

.legal-note {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-left: 4px solid var(--danger-red);
}

.termination-note {
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-left: 4px solid #808080;
}

.important-note i,
.funny-note i,
.coffee-note i,
.animal-fact i,
.plant-warning i,
.fashion-tip i,
.legal-note i,
.termination-note i {
    font-size: 1.3rem;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.important-note i { color: var(--warning-amber); }
.funny-note i { color: var(--humor-purple); }
.coffee-note i { color: #8B4513; }
.animal-fact i { color: #8B4513; }
.plant-warning i { color: var(--success-green); }
.fashion-tip i { color: #800080; }
.legal-note i { color: var(--danger-red); }
.termination-note i { color: #808080; }

.important-note div,
.funny-note div,
.coffee-note div,
.animal-fact div,
.plant-warning div,
.fashion-tip div,
.legal-note div,
.termination-note div {
    flex: 1;
}

.important-note strong,
.funny-note strong,
.coffee-note strong,
.animal-fact strong,
.plant-warning strong,
.fashion-tip strong,
.legal-note strong,
.termination-note strong {
    color: var(--light-gray);
    display: block;
    margin-bottom: 8px;
}

.important-note div,
.funny-note div,
.coffee-note div,
.animal-fact div,
.plant-warning div,
.fashion-tip div,
.legal-note div,
.termination-note div {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Prohibited Items */
.prohibited-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.prohibited-item {
    display: flex;
    align-items: flex-start;
    background: rgba(211, 47, 47, 0.05);
    border: 1px solid rgba(211, 47, 47, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.prohibited-icon {
    width: 50px;
    height: 50px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.prohibited-icon i {
    color: var(--danger-red);
    font-size: 1.5rem;
}

.prohibited-content h5 {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 8px;
}

.prohibited-content p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Warning Box */
.warning-box {
    display: flex;
    align-items: flex-start;
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.warning-box i {
    color: var(--danger-red);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.warning-box div {
    flex: 1;
}

.warning-box strong {
    color: var(--danger-red);
    display: block;
    margin-bottom: 8px;
}

.warning-box div {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(0, 180, 216, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 180, 216, 0.1);
}

.faq-question i {
    color: var(--accent-teal);
    font-size: 1.2rem;
    margin-right: 15px;
}

.faq-question h5 {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 0;
    flex: 1;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px 65px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Acceptance Box */
.acceptance-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    background: rgba(0, 180, 216, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.form-check {
    flex: 1;
    margin-bottom: 0;
}

.form-check-input {
    background-color: rgba(19, 47, 76, 0.6);
    border: 1px solid var(--border-color);
    margin-right: 10px;
}

.form-check-input:checked {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
}

.form-check-label {
    color: var(--light-gray);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.form-check-label i {
    color: var(--accent-teal);
    margin-right: 10px;
    font-size: 1.1rem;
}

.small-text {
    font-size: 0.8rem;
    color: var(--medium-gray);
    display: block;
    margin-top: 5px;
}

.btn-accept-terms {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-accept-terms i {
    margin-right: 8px;
}

.btn-accept-terms:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.3);
}

.btn-accept-terms:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.acceptance-result {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    display: none;
}

.acceptance-result.active {
    display: block;
}

.last-updated {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 171, 0, 0.05);
    border-radius: 8px;
    margin-top: 40px;
}

.last-updated i {
    color: var(--warning-amber);
    margin-right: 10px;
    font-size: 1.2rem;
}

.last-updated span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.last-updated strong {
    color: var(--warning-amber);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .terms-hero-title {
        font-size: 2.5rem;
    }
    
    .section-content {
        padding-left: 0;
    }
    
    .prohibited-list {
        grid-template-columns: 1fr;
    }
    
    .terms-toc {
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .terms-hero-section {
        padding: 120px 0 40px;
        min-height: 50vh;
    }
    
    .terms-hero-title {
        font-size: 2rem;
    }
    
    .terms-hero-description {
        font-size: 1rem;
    }
    
    .terms-content-section {
        padding: 60px 0;
    }
    
    .terms-article {
        padding: 25px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .section-status {
        align-self: flex-start;
        margin-top: 15px;
    }
    
    .acceptance-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

@media (max-width: 576px) {
    .terms-hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}