/* Terms and Privacy Policy Styles - Light Theme */

/* Use the same CSS variables as index.css */
:root {
    --bg-card: #ffffff;
    --accent-primary: #005eb8;
    --accent-secondary: #00a3e0;
    --text-primary: #2c3e50;
    --text-secondary: black;
    --gray-light: #e9ecef;
    --gray-medium: #adb5bd;
    --gray-dark: #495057;
    --error: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --border: rgba(44, 62, 80, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

    /* Clean background - no gradient */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-dark);
        pointer-events: none;
        z-index: 0;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upload-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .upload-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--accent-primary);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .upload-card:hover::before {
        opacity: 1;
    }

/* Terms Content */
.terms-content {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    background: #ffffff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-primary);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: justify;
}

    .last-updated strong {
        color: var(--accent-primary);
        font-weight: 600;
    }

.terms-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-primary);
}

    .terms-content h2:first-of-type {
        margin-top: 0;
    }

.terms-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-secondary);
}

.terms-content p {
    margin-bottom: 1.5rem;
    line-height: 2;
    color: var(--text-secondary);
    text-align: justify;
    padding: 0 0.5rem;
    font-size: 1.1rem;
}

.terms-content ul {
    margin-left: 3rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
    padding-left: 1rem;
}

.terms-content li {
    margin-bottom: 1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    padding-left: 0.5rem;
    text-align: justify;
}

    .terms-content li::marker {
        color: var(--accent-primary);
        font-size: 1.1em;
    }

.terms-content strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Contact Info */
.contact-info {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: justify;
}

/* Terms Highlight Box */
.terms-highlight {
    background: rgba(0, 94, 184, 0.05);
    border: 2px solid var(--accent-primary);
    color: var(--text-primary);
    padding: 2.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

    .terms-highlight::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--accent-primary);
    }

    .terms-highlight p {
        margin: 0;
        font-size: 1.1rem;
        line-height: 2;
        color: var(--text-primary);
        padding: 0.5rem;
        text-align: justify;
    }

    .terms-highlight strong {
        color: var(--accent-primary);
        font-weight: 700;
    }

/* Back Button */
.back-button-container {
    margin-top: 3rem;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    background: var(--accent-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

    .btn-back::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-back:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-back:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(0, 94, 184, 0.25);
    }

    .btn-back:active {
        transform: translateY(0);
    }

    .btn-back span {
        position: relative;
        z-index: 1;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .upload-card {
        padding: 2.5rem 2rem;
    }

    .terms-content h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }

    .terms-content h3 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    .terms-content ul {
        margin-left: 2rem;
        padding-left: 0.5rem;
    }

    .terms-content p {
        padding: 0;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .upload-card {
        padding: 2rem 1.5rem;
    }

    .terms-content ul {
        margin-left: 1.5rem;
        padding-left: 0.25rem;
    }

    .terms-content li {
        padding-left: 0.25rem;
    }

    .terms-highlight {
        padding: 2rem;
    }
}

.section-content {
    padding: 0 10rem;
}