:root {
    --foundoraio-primary: #2563eb;
    --foundoraio-secondary: #00d2ff;
    --foundoraio-dark: #0f172a;
    --foundoraio-text: #334155;
    --foundoraio-text-light: #64748b;
    --foundoraio-bg: #f8fafc;
    --foundoraio-glass: rgba(255, 255, 255, 0.8);
    --foundoraio-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.foundoraio-terms-section {
    padding: 50px 20px;
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    color: var(--foundoraio-text);
}

.foundoraio-terms-container {
    max-width: 1300px;
    margin: 0 auto;
}

.foundoraio-terms-header {
    text-align: center;
    margin-bottom: 30px;
}

.foundoraio-terms-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--foundoraio-dark);
    margin-top: 0;
}

.foundoraio-terms-title span {
    background: linear-gradient(135deg, var(--foundoraio-primary), var(--foundoraio-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.foundoraio-terms-updated {
    font-size: 1rem;
    color: var(--foundoraio-text-light);
    font-weight: 500;
    margin-top: 0;
    text-transform: uppercase;
}

.foundoraio-terms-intro {
    font-size: 1.25rem;
    color: var(--foundoraio-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.foundoraio-terms-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foundoraio-dark);
    margin: 30px 0 0px;
    display: flex;
    align-items: center;
}

.foundoraio-terms-content p {
    margin-bottom: 10px;
    color: var(--foundoraio-text);
    margin-top: 5px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 1px;
}

.foundoraio-terms-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.foundoraio-terms-content li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.foundoraio-terms-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--foundoraio-secondary);
    font-weight: 700;
}

.foundoraio-terms-footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    color: var(--foundoraio-text-light);
}

.foundoraio-terms-footer a {
    color: var(--foundoraio-secondary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.foundoraio-terms-footer a:hover {
    border-bottom-color: var(--foundoraio-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .foundoraio-terms-section {
        padding: 60px 15px;
    }

    .foundoraio-terms-title {
        font-size: 2.5rem;
    }

    .foundoraio-terms-intro {
        font-size: 1.1rem;
    }

    .foundoraio-terms-container {
        max-width: 900px;
    }

    body {
        padding-bottom: 0 !important;
    }
}

/* --- Clean up theme default styles for this page --- */
.wp-block-post-title,
h1.wp-block-post-title {
    display: none !important;
}

.wp-block-group.alignfull {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.entry-content.wp-block-post-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 100% !important;
}

@media (max-width: 480px) {
    .foundoraio-terms-title {
        font-size: 2rem;
    }

    .foundoraio-terms-header {
        margin-bottom: 20px;
    }

    .foundoraio-terms-section {
        padding: 30px 15px;
    }
}