/* Additional page-specific styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.3em;
    opacity: 0.95;
}

/* Iframe Containers */
.iframe-container {
    width: 100%;
    height: 1200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin: 40px 0;
    background: white;
}

.iframe-container-tall {
    width: 100%;
    height: 900px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin: 40px 0;
    background: white;
}

.full-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-caption {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: -20px;
}

/* Layers Grid */
.layers-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.layer-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 25px;
    transition: all 0.3s;
}

.layer-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.layer-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
}

.layer-content h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.layer-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.layer-features {
    list-style: none;
    margin-top: 15px;
}

.layer-features li {
    padding: 8px 0;
    color: #666;
    padding-left: 25px;
    position: relative;
}

.layer-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

/* Workflow Timeline */
.workflow-timeline {
    max-width: 900px;
    margin: 50px auto;
}

.workflow-step {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: relative;
}

.workflow-step::after {
    content: '';
    position: absolute;
    left: 35px;
    bottom: -30px;
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
}

.workflow-step:last-child::after {
    display: none;
}

.workflow-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
}

.workflow-content h4 {
    font-size: 1.3em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.workflow-content p {
    color: #666;
    line-height: 1.7;
}

/* Demo Header */
.demo-header {
    text-align: center;
    margin-bottom: 30px;
}

.demo-header h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-dark .demo-header h2 {
    color: white;
}

.demo-description {
    font-size: 1.2em;
    color: #666;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.section-dark .demo-description {
    color: rgba(255,255,255,0.9);
}

/* Demo Features */
.demo-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.feature-badge {
    background: rgba(102,126,234,0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
}

.section-dark .feature-badge {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* Demo Insights */
.demo-insights {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 5px solid var(--primary-color);
}

.section-dark .demo-insights {
    background: rgba(255,255,255,0.08);
    color: white;
}

.demo-insights h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-dark .demo-insights h4 {
    color: #2ecc71;
}

.demo-insights ul {
    margin-left: 25px;
}

.demo-insights li {
    margin: 10px 0;
    line-height: 1.7;
}

/* Partner Demos Grid */
.partner-demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.partner-demo-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.partner-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.demo-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.demo-badge.success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.demo-badge.failure {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.partner-demo-card h3 {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.partner-demo-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.demo-results {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item strong {
    color: #2c3e50;
}

.text-success {
    color: #2ecc71 !important;
}

.demo-tech-note {
    background: #2c3e50;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9em;
    margin-top: 20px;
}

.demo-tech-note code {
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Technology Page */
.tech-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tech-card h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.tech-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.tech-stat {
    text-align: center;
}

.tech-stat-value {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.tech-stat-label {
    font-size: 0.85em;
    color: #999;
}

.master-jurist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.mj-feature {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.mj-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.mj-feature h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.mj-feature p {
    color: #666;
    line-height: 1.7;
}

/* Constitutional Context Coding */
.ccc-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.comparison-column {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-divider {
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-color);
}

.comparison-list {
    list-style: none;
    margin-top: 20px;
}

.comparison-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ccc-benefits {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.ccc-benefits h3 {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 25px;
}

.benefits-grid {
    display: grid;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.benefit-icon {
    font-size: 2.5em;
    flex-shrink: 0;
}

.benefit-text {
    line-height: 1.6;
}

.blockchain-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.blockchain-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
}

.blockchain-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.blockchain-card p {
    color: #666;
    line-height: 1.7;
}

/* About Page */
.mission-statement {
    font-size: 1.5em;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #2c3e50;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.principles-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.principle-card-about {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #2ecc71;
    line-height: 1.6;
}

/* Partners Page */
.value-propositions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vp-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 5px solid #2ecc71;
}

.vp-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.vp-card h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.vp-list {
    margin-top: 15px;
    margin-left: 20px;
}

.vp-list li {
    margin: 10px 0;
    line-height: 1.7;
}

.tech-partner-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.tech-partner-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tech-partner-card h3 {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.tech-partner-card p strong {
    color: var(--primary-color);
    font-size: 1.1em;
}

.partner-stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    justify-content: space-around;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.partner-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
}

.tech-list {
    margin-top: 20px;
    margin-left: 20px;
}

.tech-list li {
    margin: 10px 0;
    line-height: 1.7;
}

.partnership-models {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.model-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.model-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.model-card h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.model-benefits {
    margin-top: 20px;
}

.model-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.model-benefits ul {
    margin-left: 20px;
}

.model-benefits li {
    margin: 8px 0;
    line-height: 1.6;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.resource-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.resource-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.resource-card h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.resource-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Contact Page */
.contact-intro {
    margin-bottom: 50px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-link {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.social-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.social-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.social-card h3 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 15px;
}

.social-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
}

.company-info-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 50px auto;
}

.company-info-card h3 {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.company-info-card p {
    margin: 12px 0;
    line-height: 1.8;
}

.company-info-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.company-info-card a:hover {
    text-decoration: underline;
}

.debt-clock-footer {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2em;
    }

    .iframe-container,
    .iframe-container-tall {
        height: 600px;
    }

    .demo-features {
        flex-direction: column;
        align-items: center;
    }

    .partner-demos-grid {
        grid-template-columns: 1fr;
    }

    .ccc-comparison {
        grid-template-columns: 1fr;
    }

    .comparison-divider {
        transform: rotate(90deg);
    }

    .partner-stats {
        flex-direction: column;
        gap: 20px;
    }
}
