/* Pages CSS - Styles for auxiliary pages (About, Privacy, Terms, Cookie Policy) */

/* Page Header */
.page-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.header-logo-link:hover {
    opacity: 0.9;
}

.page-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Page Title Section */
.page-title-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block h2 {
    color: #1f2937;
    margin-bottom: 24px;
    font-size: 2rem;
}

.content-block h3 {
    color: #374151;
    margin-bottom: 16px;
    margin-top: 32px;
}

.content-block p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-block ul {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 24px;
}

.content-block li {
    margin-bottom: 8px;
}

/* Story Section Styles */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image,
.tech-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Technology Section Styles */
.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About Page Specific Styles */
.tech-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.tech-feature {
    background: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.tech-feature h3 {
    color: #1f2937;
    margin-bottom: 12px;
    margin-top: 0;
}

.tech-feature p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.value-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-item h3 {
    color: #1f2937;
    margin-bottom: 16px;
    margin-top: 0;
}

.value-item p {
    color: #64748b;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1f2937;
    font-size: 1.75rem;
    margin-bottom: 20px;
    padding-top: 16px;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.25rem;
    margin-bottom: 16px;
    margin-top: 28px;
}

.legal-section h4 {
    color: #4b5563;
    font-size: 1.1rem;
    margin-bottom: 12px;
    margin-top: 20px;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-section li {
    margin-bottom: 8px;
}

.contact-info {
    background: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: #1f2937;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
}

.contact-info a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Cookie Policy Specific Styles */
.cookie-duration-table {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.cookie-duration-table h4 {
    color: #1f2937;
    margin-bottom: 16px;
    margin-top: 0;
}

.cookie-duration-table ul {
    margin-bottom: 0;
}

.cookie-duration-table li {
    margin-bottom: 8px;
}

.cookie-duration-table strong {
    color: #374151;
}

/* Footer Updates for Pages */
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #60a5fa;
}

.footer-column p {
    color: #9ca3af;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Responsive Design for Pages */
@media (max-width: 768px) {
    .page-header {
        padding: 16px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .page-nav {
        gap: 16px;
    }
    
    .page-title-section {
        padding: 60px 0 40px;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-block h2 {
        font-size: 1.75rem;
    }
    
    .story-content,
    .tech-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .tech-features,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-img {
        max-width: 400px;
        height: 280px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
    }
    
    .legal-section {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-block {
        padding: 0 16px;
    }
    
    .about-img {
        max-width: 300px;
        height: 200px;
    }
    
    .tech-feature,
    .value-item {
        padding: 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .cookie-duration-table {
        padding: 16px;
    }
}