/* Hide sidebar for visitors */
.sidebar {
    display: none !important;
}

/* Reset main content to full width */
.main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Override vitrine.css header height for visitor header */
header {
    height: auto !important;
}

/* Page Styles */
.certifications-page {
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    padding: 0;
}

.certifications-container {
    margin: 0 auto;
    padding: 100px 20px 0 20px;
}

/* Section 1: Opening Manifesto */
.manifesto-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(20, 20, 20, 0.8) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
}

.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%,
        rgba(254, 175, 80, 0.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.manifesto-inner {
    z-index: 2;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.manifesto-icon {
    color: #AAAAAA;
    font-size: 48px;
    margin-bottom: 24px;
}

.manifesto-section h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.tese-subtitulo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #c0c0c0;
    text-align: center;
    line-height: 1.4;
}

/* Section 2: Welcome Cards */
.welcome-section {
    padding: 120px 20px 0 20px;
    background: #0a0a0a;
}

.welcome-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.welcome-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.welcome-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.welcome-card-icon {
    width: 72px;
    height: 72px;
    background: rgba(254, 175, 80, 0.1);
    border: 2px solid rgba(254, 175, 80, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.welcome-card-icon i {
    color: #feaf50;
    font-size: 32px;
}

.welcome-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.3;
}

.welcome-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin: 0;
}

/* Section 3: Reframing Philosophy */
.philosophy-section {
    padding-bottom: 80px;
}

.system-language-section {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.system-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    margin-bottom: 40px;
}

.system-graphic svg {
    max-width: 100%;
    height: auto;
}

.system-language-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #e0e0e0;
    margin-bottom: 24px;
    text-align: center;
}

.system-language-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin: 0;
    text-align: center;
}

.philosophy-section h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.philosophy-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 24px;
}

.philosophy-divider {
    border: none;
    height: 1px;
    background: #333;
    margin: 80px 0;
}

.philosophy-section h2.sanctuary-language-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    margin-bottom: 64px;
    line-height: 1.3;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.conceptual-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.conceptual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: left;
    transition: all 0.3s ease;
}

.conceptual-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.conceptual-card-header {
    margin-bottom: 24px;
}

.conceptual-card .from {
    font-size: 1.2rem;
    color: #888888;
    margin-bottom: 8px;
    line-height: 1.4;
}

.conceptual-card .to {
    font-size: 1.7rem;
    font-weight: 700;
    color: #feaf50;
    margin: 0;
    line-height: 1.3;
}

.conceptual-card .explanation {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin: 0;
}

/* Section 3: Journeys Table */
.journeys-section {
    padding-top: 40px;
    padding-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.journeys-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 48px;
    text-align: center;
}

.journeys-table {
    width: 100%;
    border-collapse: collapse;
}

.journeys-table thead th {
    text-align: left;
    padding: 16px 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #333;
}

.journeys-table tbody tr {
    border-bottom: 1px solid #2a2a2a;
    transition: background-color 0.2s ease;
}

.journeys-table tbody tr.journey-row:hover {
    background-color: #1a1a1a;
}

.journeys-table tbody td {
    padding: 20px 12px;
    font-size: 1rem;
    color: #c0c0c0;
}

.journeys-table tbody td:first-child {
    color: #e0e0e0;
    font-weight: 400;
}

/* Hours Column */
.journeys-table thead th.table-hours-column {
    text-align: center;
}

.table-hours-cell {
    text-align: center;
}

/* Action Column */
.table-action-column {
    width: 60px;
    text-align: center;
}

.table-action-cell {
    text-align: center;
}

.product-link {
    color: #888;
    font-size: 1.1rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.product-link:hover {
    color: #e0e0e0;
    text-decoration: none;
}

/* Hide rows beyond the first 10 */
.journey-row-hidden {
    display: none;
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 48px;
}

.show-more-btn {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #555;
    padding: 12px 32px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #1a1a1a;
    border-color: #888;
    color: #f0f0f0;
}

/* Certificate Example within Journeys Section */
.certificate-example-inner {
    max-width: 1000px;
    margin: 48px auto 64px;
    text-align: center;
}

.certificate-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certificate-caption {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

.journeys-divider {
    border: none;
    height: 1px;
    background: #333;
    margin: 64px 0 40px 0;
}

.journeys-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: #e0e0e0;
    margin-bottom: 40px;
    text-align: center;
}

/* Section 4: Closing Quote */
.closing-quote-section {
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(20, 20, 20, 0.8) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
    position: relative;
    overflow: hidden;
    padding: 120px 80px;
    width: 100%;
}

.closing-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%,
        rgba(254, 175, 80, 0.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.closing-quote {
    font-size: 1.8rem;
    font-style: italic;
    text-align: center;
    color: #AAAAAA;
    border: none;
    margin: 0 auto;
    line-height: 1.7;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.quote-author {
    display: block;
    margin-top: 32px;
    font-size: 1.2rem;
    font-style: normal;
    color: #feaf50;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .certifications-page {
        padding: 0;
    }

    .certifications-container {
        padding: 0 16px;
    }

    .manifesto-section {
        height: auto;
        min-height: 80vh;
        margin-bottom: 0;
        padding: 60px 0;
    }

    .manifesto-inner {
        padding: 0 16px;
    }

    .manifesto-section h1 {
        font-size: 2.2rem;
    }

    .tese-subtitulo {
        font-size: 1.1rem;
    }

    .welcome-section {
        padding: 80px 16px;
    }

    .welcome-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .welcome-card {
        padding: 40px 32px;
    }

    .welcome-card-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }

    .welcome-card-icon i {
        font-size: 28px;
    }

    .welcome-card h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .welcome-card p {
        font-size: 1rem;
    }

    .philosophy-section {
        margin-bottom: 100px;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .system-language-section {
        margin-bottom: 60px;
    }

    .system-graphic {
        margin-bottom: 32px;
    }

    .system-graphic svg {
        width: 150px;
        height: 150px;
    }

    .philosophy-divider {
        margin: 60px 0;
    }

    .sanctuary-language-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .conceptual-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .conceptual-card {
        padding: 40px 32px;
    }

    .conceptual-card .from {
        font-size: 1.1rem;
    }

    .conceptual-card .to {
        font-size: 1.5rem;
    }

    .journeys-section {
        margin-bottom: 100px;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .journeys-section h2 {
        margin-bottom: 40px;
    }

    .journeys-table {
        font-size: 0.9rem;
    }

    .journeys-table thead th,
    .journeys-table tbody td {
        padding: 12px 8px;
    }

    .closing-quote {
        font-size: 1.4rem;
        padding: 64px 16px;
    }
}
