/* Terms of Service Page Styles */

/* Terms Hero Section */
.terms-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg), var(--deep-navy));
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.terms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(46, 60, 255, 0.15), transparent 60%);
    z-index: 1;
}

.terms-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.terms-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--electric-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.effective-date {
    font-size: 1.1rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-weight: 500;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* Terms Content Section */
.terms-content {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
}

.terms-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    background: rgba(7, 7, 29, 0.6);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
}

.terms-section:hover {
    border-color: rgba(46, 60, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.section-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(46, 60, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--electric-blue);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.terms-section:hover .section-icon {
    background: var(--electric-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(46, 60, 255, 0.5);
    transform: scale(1.1);
}

.intro-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.terms-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    background: linear-gradient(90deg, #fff, var(--neon-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.terms-section h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.terms-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--electric-blue);
    border-radius: 2px;
}

.terms-section h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem;
    color: var(--neon-green);
    font-weight: 600;
}

.terms-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.terms-section li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dim);
    font-size: 1rem;
}

.terms-section li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--electric-blue);
    font-size: 0.8rem;
}

.terms-section li strong {
    color: var(--text-light);
    font-weight: 600;
}

.subsection {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border-left: 3px solid var(--electric-blue);
}

.subsection h4 {
    margin-top: 0;
}

/* Agreement Section */
.agreement-section {
    background: linear-gradient(135deg, rgba(46, 60, 255, 0.1), rgba(138, 43, 226, 0.1));
    border: 2px solid var(--electric-blue);
}

.agreement-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(0, 255, 148, 0.05), rgba(46, 60, 255, 0.05));
    border: 1px solid rgba(0, 255, 148, 0.2);
}

.contact-section h2 {
    background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-section p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-details p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.contact-details strong {
    color: var(--text-light);
    font-weight: 600;
}

.contact-details a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-details a:hover {
    color: var(--neon-green);
    text-decoration: underline;
}

.contact-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, var(--electric-blue), var(--vibrant-purple));
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--vibrant-purple), var(--neon-green));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.contact-cta:hover::before {
    opacity: 1;
}

.contact-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 60, 255, 0.4);
}

/* Last Updated */
.last-updated {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.last-updated p {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .terms-wrapper {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .terms-section {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .terms-hero {
        min-height: 35vh;
        padding-top: 80px;
        padding-bottom: 3rem;
    }

    .terms-hero h1 {
        font-size: 2.5rem;
    }

    .effective-date {
        font-size: 1rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .terms-content {
        padding: 4rem 0;
    }

    .terms-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .terms-section h2 {
        font-size: 1.6rem;
    }

    .terms-section h3 {
        font-size: 1.2rem;
    }

    .terms-section h4 {
        font-size: 1rem;
    }

    .contact-details {
        padding: 1.5rem;
    }

    .contact-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .terms-hero h1 {
        font-size: 2rem;
    }

    .terms-section {
        padding: 1.5rem;
    }

    .section-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .terms-section h3 {
        font-size: 1.1rem;
        padding-left: 15px;
    }

    .terms-section li {
        padding-left: 25px;
        font-size: 0.95rem;
    }

    .subsection {
        padding: 1rem;
    }

    .contact-details {
        padding: 1rem;
    }

    .intro-paragraph,
    .agreement-text {
        font-size: 1rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .navbar,
    .loader,
    .menu-overlay,
    #particles-js,
    footer,
    .contact-cta,
    .section-icon {
        display: none !important;
    }

    .terms-hero {
        padding-top: 2rem;
        min-height: auto;
        page-break-after: avoid;
    }

    .terms-section {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    body {
        background: white;
        color: black;
    }

    .terms-section h2,
    .terms-section h3,
    .terms-section li,
    .intro-paragraph,
    .agreement-text {
        color: black;
    }
}