/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFBEB;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header */
.header {
    background-color: rgba(255, 251, 235, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.logo svg {
    display: block;
}

.brand-name h1 {
    font-size: 28px;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.brand-name h1 a {
    color: inherit;
    text-decoration: none;
}

.brand-name .tagline {
    font-size: 14px;
    color: #6B7280;
    font-weight: 400;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    border-radius: 16px;
    margin-top: 20px;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Blocks */
.content-block {
    margin-bottom: 48px;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.content-block h2 {
    font-size: 28px;
    font-weight: 700;
    color: #4F46E5;
    margin-bottom: 24px;
    border-bottom: 3px solid #D97706;
    padding-bottom: 12px;
}

.content-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* Empty content blocks for policies */
.content-block.empty {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #F9FAFB;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.placeholder-text {
    color: #9CA3AF !important;
    font-style: italic;
    font-size: 18px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-description {
    font-size: 14px;
    color: #D1D5DB;
    line-height: 1.5;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FFFBEB;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-content .footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    margin-top: 20px;
}

.footer-copyright p {
    font-size: 14px;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .logo-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .brand-name h1 {
        font-size: 24px;
    }
    
    .page-header {
        margin-top: 10px;
        padding: 40px 0 30px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .content-block {
        padding: 24px;
        margin-bottom: 32px;
    }
    
    .content-block h2 {
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .main-content {
        padding: 20px 0;
    }
}

/* About Us Specific Styles */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.content-with-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.content-with-svg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.svg-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #F9FAFB;
    border-radius: 12px;
    min-height: 200px;
    width: 100%;
    box-sizing: border-box;
}

.svg-illustration svg {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .content-with-image,
    .content-with-svg {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .content-with-image img {
        height: 200px;
    }
    
    .svg-illustration {
        min-height: 150px;
        padding: 15px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid rgba(79, 70, 229, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FFFBEB;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.5;
    color: #D1D5DB;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-accept {
    background-color: #4F46E5;
    color: white;
}

.cookie-accept:hover {
    background-color: #3730A3;
}

.cookie-reject {
    background-color: transparent;
    color: #EF4444;
    border: 2px solid #EF4444;
}

.cookie-reject:hover {
    background-color: #EF4444;
    color: white;
}

.cookie-customize {
    background-color: transparent;
    color: #D97706;
    border: 2px solid #D97706;
}

.cookie-customize:hover {
    background-color: #D97706;
    color: white;
}

.cookie-link {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 14px;
    margin-left: 8px;
}

.cookie-link:hover {
    color: white;
    text-decoration: underline;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    display: none;
    background-color: #1F2937;
    border-top: 1px solid #374151;
    padding: 24px;
}

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

.preferences-content {
    max-width: 1200px;
    margin: 0 auto;
}

.preferences-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFFBEB;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.cookie-category {
    background-color: rgba(55, 65, 81, 0.5);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #374151;
}

.category-header {
    margin-bottom: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #6B7280;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background-color: #4F46E5;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background-color: #4F46E5;
    opacity: 0.6;
}

.category-name {
    font-size: 16px;
    color: #FFFBEB;
}

.category-description {
    font-size: 13px;
    color: #D1D5DB;
    line-height: 1.4;
    margin: 0;
}

.preferences-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: none;
        min-width: 80px;
    }
    
    .cookie-categories {
        grid-template-columns: 1fr;
    }
    
    .preferences-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}