/* Legal Pages Styles - About, Privacy, Terms */

.legal-page {
    min-height: 100vh;
    background: var(--gray-50);
    padding-bottom: 4rem;
}

.legal-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0 2rem;
}

.page-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
}

.page-icon {
    font-size: 4rem;
    color: var(--chefmike-orange);
    margin-bottom: 1rem;
    display: block;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--chefmike-charcoal);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
}

/* Content Section */
.content-section {
    background: var(--bg-secondary);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.intro-block {
    padding: 2rem;
    background: rgba(168, 213, 213, 0.1);
    border-bottom: 1px solid var(--gray-200);
}

.intro-block p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
}

/* Content Blocks */
.content-block {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.content-block:last-child {
    border-bottom: none;
}

.content-block h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--chefmike-charcoal);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-block h2 i {
    color: var(--chefmike-orange);
    font-size: 1.5rem;
}

.content-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--chefmike-charcoal);
    margin: 1.5rem 0 0.75rem;
}

.content-block h3:first-child {
    margin-top: 0;
}

.content-block p {
    margin: 0 0 1rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ul {
    margin: 0.75rem 0 1rem;
    padding-left: 1.5rem;
}

.content-block ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.content-block ul li:last-child {
    margin-bottom: 0;
}

.content-block strong {
    color: var(--chefmike-charcoal);
    font-weight: 600;
}

.content-block a {
    color: var(--chefmike-orange);
    text-decoration: none;
    font-weight: 600;
}

.content-block a:hover {
    text-decoration: underline;
    color: var(--chefmike-orange-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--chefmike-orange);
    color: white;
}

.btn-primary:hover {
    background: var(--chefmike-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 93, 51, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--chefmike-orange);
    border: 2px solid var(--chefmike-orange);
}

.btn-outline:hover {
    background: var(--chefmike-orange);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-page .container {
        padding: 1rem;
    }

    .page-header {
        padding: 2rem 0 1.5rem;
    }

    .page-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .page-icon {
        font-size: 3rem;
    }

    .page-title {
        font-size: 1.875rem;
    }

    .content-block {
        padding: 1.5rem 1rem;
    }

    .content-block h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .content-block h3 {
        font-size: 1.125rem;
    }

    .intro-block {
        padding: 1.5rem 1rem;
    }
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

[data-theme="dark"] .legal-page {
    background: var(--bg-primary);
}

[data-theme="dark"] .page-title {
    color: var(--text-primary);
}

[data-theme="dark"] .page-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .content-section {
    background: var(--bg-secondary);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .intro-block {
    background: var(--bg-tertiary);
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .intro-block p {
    color: var(--text-secondary);
}

[data-theme="dark"] .content-block {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .content-block h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .content-block h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .content-block p,
[data-theme="dark"] .content-block ul li {
    color: var(--text-secondary);
}

[data-theme="dark"] .content-block strong {
    color: var(--text-primary);
}

[data-theme="dark"] .content-block a {
    color: var(--chefmike-orange-light);
}

[data-theme="dark"] .content-block a:hover {
    color: var(--chefmike-orange);
}

[data-theme="dark"] .btn-outline {
    border-color: var(--chefmike-orange-light);
    color: var(--chefmike-orange-light);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--chefmike-orange-light);
    color: var(--text-primary);
}

/* ============================================
   ABOUT PAGE - Features Section
   ============================================ */

.features-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 93, 51, 0.1);
    border-radius: 50%;
    color: var(--chefmike-orange);
    font-size: 1.375rem;
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--chefmike-charcoal);
    line-height: 1.3;
}

.feature-content p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* About Page - Tech Stack */
.tech-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.tech-list li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.5;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.tech-list li:last-child {
    border-bottom: none;
}

.tech-list strong {
    color: var(--chefmike-charcoal);
    font-weight: 600;
    white-space: nowrap;
}

/* About Page - CTA Block */
.cta-block {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(168, 213, 213, 0.1);
    border-radius: 1rem;
    margin: 0;
    border-bottom: none !important;
}

.cta-block h2 {
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--chefmike-charcoal);
    font-size: 1.5rem;
}

.cta-block h2 i {
    display: none;
}

/* ============================================
   ABOUT PAGE - Dark Mode
   ============================================ */

[data-theme="dark"] .feature-icon {
    background: rgba(232, 93, 51, 0.15);
    color: var(--chefmike-orange-light);
}

[data-theme="dark"] .feature-content h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .feature-content p {
    color: var(--text-secondary);
}

[data-theme="dark"] .tech-list li {
    border-bottom-color: var(--border-color);
    color: var(--text-secondary);
}

[data-theme="dark"] .tech-list strong {
    color: var(--text-primary);
}

[data-theme="dark"] .cta-block {
    background: var(--bg-tertiary);
}

[data-theme="dark"] .cta-block h2 {
    color: var(--text-primary);
}

/* ============================================
   ABOUT PAGE - Mobile Responsive
   ============================================ */

@media (max-width: 768px) {
    .features-list {
        gap: 1.25rem;
    }

    .feature-item {
        gap: 1rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .feature-content h3 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.875rem;
    }

    .tech-list li {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem 0;
    }

    .cta-block {
        padding: 2rem 1.5rem;
    }

    .cta-block h2 {
        font-size: 1.25rem;
    }
}
