/* Auxiliary Pages Specific Styles - Modern Design */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.375rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.last-updated {
    font-size: 0.9rem;
    color: #9ca3af;
    font-style: italic;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

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

.content-section.alt-bg {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

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

.content-block h2 {
    color: #1f2937;
    font-size: 2.25rem;
    margin-bottom: 32px;
    border-bottom: 3px solid #e5e7eb;
    padding-bottom: 16px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 2px;
}

.content-block h3 {
    color: #374151;
    font-size: 1.625rem;
    margin-bottom: 20px;
    margin-top: 40px;
    font-weight: 600;
}

.content-block h4 {
    color: #4b5563;
    font-size: 1.375rem;
    margin-bottom: 16px;
    margin-top: 32px;
    font-weight: 600;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 24px;
}

.content-block ul {
    margin-bottom: 32px;
    padding-left: 0;
}

.content-block ul li {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.content-block ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.25rem;
}

.content-block a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-block a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* About Page Specific Styles */
.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.mission-point {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-point:hover::before {
    opacity: 1;
}

.mission-point:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border-color: #2563eb;
}

.mission-point h3 {
    color: #2563eb;
    font-size: 1.375rem;
    margin-bottom: 16px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.mission-point p {
    font-size: 1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

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

.tech-feature {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 32px;
    border-radius: 16px;
    border-left: 5px solid #2563eb;
    transition: all 0.3s ease;
    position: relative;
}

.tech-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
    border-left-width: 6px;
}

.tech-feature h4 {
    color: #1f2937;
    margin-bottom: 12px;
    margin-top: 0;
    font-size: 1.25rem;
}

.tech-feature p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

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

.value-item {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-item:hover::before {
    opacity: 1;
}

.value-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
}

.value-item h3 {
    color: #2563eb;
    margin-bottom: 20px;
    margin-top: 0;
    font-size: 1.375rem;
    position: relative;
    z-index: 1;
}

.value-item p {
    font-size: 1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.contact-info-simple {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    margin-top: 40px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.contact-item-simple {
    margin-bottom: 20px;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item-simple:last-child {
    margin-bottom: 0;
}

.contact-item-simple strong {
    color: #1f2937;
    display: inline-block;
    min-width: 100px;
    font-weight: 600;
}

.contact-item-simple a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.contact-item-simple a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* About Page Images */
.about-hero-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    margin: 40px auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-hero-image:hover {
    transform: scale(1.02);
}

.team-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    margin: 32px auto;
    display: block;
    transition: transform 0.3s ease;
}

.team-image:hover {
    transform: scale(1.02);
}

.technology-image {
    width: 100%;
    max-width: 700px;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    margin: 32px auto;
    display: block;
    transition: transform 0.3s ease;
}

.technology-image:hover {
    transform: scale(1.02);
}

/* Legal Pages Specific Styles */
.legal-content {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.legal-section:hover {
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
}

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

.legal-section h2 {
    color: #1f2937;
    font-size: 2rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid #2563eb;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 36px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.legal-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 2px;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

.legal-section ul {
    margin-bottom: 24px;
    padding-left: 0;
}

.legal-section ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.25rem;
}

.legal-section ul li strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-info-legal {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    margin-top: 32px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.contact-info-legal p {
    margin-bottom: 16px;
    font-size: 1rem;
}

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

.contact-info-legal strong {
    color: #1f2937;
    font-weight: 600;
}

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

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

/* Legal Page Images */
.legal-hero-image {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    margin: 32px auto;
    display: block;
    transition: transform 0.3s ease;
}

.legal-hero-image:hover {
    transform: scale(1.02);
}

.privacy-image {
    width: 100%;
    max-width: 600px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
    margin: 24px auto;
    display: block;
    transition: transform 0.3s ease;
}

.privacy-image:hover {
    transform: scale(1.02);
}

.security-image {
    width: 100%;
    max-width: 700px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
    margin: 24px auto;
    display: block;
    transition: transform 0.3s ease;
}

.security-image:hover {
    transform: scale(1.02);
}

/* Responsive Design for Auxiliary Pages */
@media (max-width: 1024px) {
    .mission-points,
    .tech-features,
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 24px;
    }
    
    .legal-section {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.75rem;
    }
    
    .page-header p {
        font-size: 1.25rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-block h2 {
        font-size: 2rem;
    }
    
    .content-block h3 {
        font-size: 1.5rem;
    }
    
    .content-block p,
    .content-block ul li {
        font-size: 1rem;
    }
    
    .mission-points,
    .tech-features,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-section {
        margin-bottom: 40px;
        padding: 24px;
    }
    
    .legal-section h2 {
        font-size: 1.75rem;
    }
    
    .legal-section h3 {
        font-size: 1.375rem;
    }
    
    .about-hero-image,
    .team-image,
    .technology-image,
    .legal-hero-image {
        height: 250px;
    }
    
    .privacy-image,
    .security-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .page-header p {
        font-size: 1.125rem;
    }
    
    .content-block {
        padding: 0 16px;
    }
    
    .mission-point,
    .tech-feature,
    .value-item {
        padding: 24px;
    }
    
    .contact-info-simple,
    .contact-info-legal {
        padding: 24px;
    }
    
    .legal-content {
        padding: 0 16px;
    }
    
    .legal-section {
        padding: 20px;
    }
    
    .about-hero-image,
    .team-image,
    .technology-image,
    .legal-hero-image {
        height: 200px;
        border-radius: 12px;
    }
    
    .privacy-image,
    .security-image {
        height: 180px;
        border-radius: 8px;
    }
}

/* Image Loading Animation */
.about-hero-image,
.team-image,
.technology-image,
.legal-hero-image,
.privacy-image,
.security-image {
    opacity: 0;
    animation: fadeInImage 0.8s ease-in-out forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
    }
}

/* Smooth scrolling for auxiliary pages */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.mission-point:focus,
.tech-feature:focus,
.value-item:focus,
.legal-section:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles for legal pages */
@media print {
    .page-header {
        background: none;
        padding: 40px 0 20px;
    }
    
    .legal-section {
        box-shadow: none;
        border: 1px solid #e5e7eb;
        break-inside: avoid;
    }
    
    .about-hero-image,
    .team-image,
    .technology-image,
    .legal-hero-image,
    .privacy-image,
    .security-image {
        max-height: 200px;
    }
}