/* Terms of Service Page Specific Styles */

/* Hero Section */
.tos-hero {
    padding: 120px 40px 60px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tos-hero-title {
    font-family: 'Segoe UI Black', sans-serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tos-hero-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.tos-last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    margin-bottom: 30px;
}

/* Messages */
.tos-message {
    max-width: 500px;
    margin: 0 auto 24px;
    padding: 14px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.tos-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.tos-message.warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #fde047;
}

.tos-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* Acceptance Status */
.acceptance-status {
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    text-align: center;
}

.acceptance-status i {
    font-size: 32px;
    color: #22c55e;
    margin-bottom: 12px;
}

.acceptance-status h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.acceptance-status p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.proceed-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.proceed-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}

/* Content Layout */
.tos-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Navigation Sidebar */
.tos-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.tos-nav-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.tos-nav-list {
    list-style: none;
}

.tos-nav-item {
    margin-bottom: 4px;
}

.tos-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.tos-nav-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.tos-nav-link.active {
    background: rgba(74, 158, 255, 0.1);
    color: var(--primary);
}

.nav-icon {
    width: 24px;
    font-size: 12px;
    color: var(--primary);
}

/* Main Content */
.tos-main {
    min-width: 0;
}

.tos-intro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.tos-intro p {
    margin-bottom: 12px;
}

.tos-intro p:last-child {
    margin-bottom: 0;
}

/* Section Cards */
.tos-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 0 20px rgba(255, 255, 255, 0.01);
}

.tos-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.tos-section-title {
    font-size: 18px;
    font-weight: 700;
}

.tos-section-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.tos-section-content p {
    margin-bottom: 12px;
}

.tos-section-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.tos-section-content li {
    margin-bottom: 8px;
}

.tos-section-content strong {
    color: var(--text-primary);
}

.tos-subsection {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 10px;
}

/* Warning Box */
.warning-box {
    background: rgba(234, 179, 8, 0.08);
    border-left: 3px solid #f59e0b;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.warning-box i {
    color: #f59e0b;
    font-size: 16px;
    margin-top: 2px;
}

.warning-box.full-width {
    display: block;
    background: rgba(239, 68, 68, 0.05);
    border-color: #ef4444;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.05), rgba(123, 97, 255, 0.05));
    border: 1px solid rgba(74, 158, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 0 30px rgba(74, 158, 255, 0.02);
}

.contact-card .icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 50%;
}

.contact-card .contact-icon {
    font-size: 24px;
    color: var(--primary);
}

.contact-card .contact-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card .contact-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(74, 158, 255, 0.2);
    transform: translateY(-2px);
}

/* FAQ Section */
.tos-faq-section {
    margin-top: 40px;
}

.tos-faq-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    font-size: 12px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    padding: 0 20px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Acceptance Section */
.tos-acceptance {
    background: rgba(74, 158, 255, 0.05);
    border: 1px solid rgba(74, 158, 255, 0.15);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 40px;
}

.tos-acceptance p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tos-acceptance button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tos-acceptance button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 158, 255, 0.4);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(74, 158, 255, 0.2);
    border: 1px solid rgba(74, 158, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .tos-content {
        grid-template-columns: 1fr;
    }

    .tos-nav {
        position: static;
    }
}

@media (max-width: 600px) {
    .tos-hero {
        padding: 100px 20px 40px;
    }

    .tos-hero-title {
        font-size: 28px;
    }

    .tos-content {
        padding: 0 20px 40px;
    }
}
