/* Auxiliary Pages Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="headerGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(59,130,246,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23headerGrid)"/></svg>');
    opacity: 0.5;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.logo {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(59, 130, 246, 0.3));
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main-content {
    padding: 80px 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.page-title {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.page-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title p {
    font-size: 1.2rem;
    color: #64748b;
    font-style: italic;
    font-weight: 500;
}

.content-section {
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.content-section:hover::before {
    transform: scaleY(1);
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #3b82f6;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.content-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e293b;
    margin: 40px 0 20px 0;
    padding: 16px 0;
    border-bottom: 2px solid #f1f5f9;
}

.content-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #334155;
    margin: 28px 0 16px 0;
    color: #3b82f6;
}

.content-section p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.content-section ul {
    margin: 20px 0 28px 0;
    padding-left: 0;
    list-style: none;
}

.content-section li {
    position: relative;
    padding: 12px 0 12px 32px;
    color: #475569;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.content-section li:hover {
    color: #1e293b;
    transform: translateX(8px);
}

.content-section li:before {
    content: "→";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.content-section li:hover:before {
    color: #1e40af;
    transform: scale(1.2);
}

.content-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.content-section a:hover {
    color: #1e40af;
    border-bottom-color: #3b82f6;
}

/* Feature Grid for About Page */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

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

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.feature-item p {
    color: #64748b;
    line-height: 1.7;
    text-align: center;
}

/* Hero Images for Pages */
.page-hero-image {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.page-hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.page-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content Images */
.content-image {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Info */
.contact-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.contact-info p {
    margin-bottom: 16px;
    font-size: 1.2rem;
    text-align: left;
}

.contact-info strong {
    color: #0f172a;
    font-weight: 700;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-logo .logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-logo .logo {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.footer-logo .brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
}

.footer-logo p {
    color: #94a3b8;
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin-bottom: 12px;
    padding-left: 0;
}

.footer-section li:before {
    display: none;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: #3b82f6;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 10000;
    border-top: 2px solid #3b82f6;
    display: none;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.cookie-text p {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.cookie-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.cookie-btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
    transform: translateY(-2px);
}

.cookie-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid #64748b;
}

.cookie-btn-outline:hover {
    background: #64748b;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px 20px 0 0;
}

.cookie-modal-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.cookie-modal-body {
    padding: 40px;
}

.cookie-category {
    margin-bottom: 30px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .cookie-slider {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

input:checked + .cookie-slider:before {
    transform: translateX(30px);
}

input:disabled + .cookie-slider {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
}

.cookie-category-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.cookie-category-info p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.cookie-modal-footer {
    padding: 30px 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0 0 20px 20px;
}

.cookie-policy-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-policy-link:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-title h1 {
        font-size: 3rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .brand-name {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .page-title {
        padding: 40px 20px;
        margin-bottom: 60px;
    }
    
    .page-title h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 60px 0;
    }
    
    .page-title {
        margin-bottom: 40px;
        padding: 30px 15px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .content-section {
        margin-bottom: 30px;
        padding: 20px 15px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-switch {
        align-self: flex-start;
    }
}

/* Print Styles */
@media print {
    .cookie-banner,
    .cookie-modal {
        display: none !important;
    }
    
    .header {
        background: none;
        border-bottom: 2px solid #000;
    }
    
    .page-title h1 {
        color: #000;
    }
    
    .content-section h2 {
        color: #000;
        border-bottom-color: #000;
    }
    
    .footer {
        background: none;
        color: #000;
        border-top: 2px solid #000;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .cookie-banner {
        background: #000;
        border-top-color: #fff;
    }
    
    .cookie-text p {
        color: #fff;
    }
    
    .cookie-btn-outline {
        border-color: #fff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}