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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2D3E50;
    background-color: #FFFFFF;
}

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

/* Centered sections for index page */
.centered-section {
    text-align: center;
}

.centered-section .container {
    text-align: center;
}

.centered-section .content-grid {
    text-align: left;
}

.centered-section .categories-grid,
.centered-section .products-grid,
.centered-section .benefits-grid,
.centered-section .portal-features,
.centered-section .testimonials-grid {
    text-align: left;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #5A6C7D;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2D3E50;
    color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

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

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

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

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background-color: #7B8C8D;
    color: white;
}

.cookie-accept:hover {
    background-color: #5A6C7D;
}

.cookie-reject {
    background-color: transparent;
    color: #e9ecef;
    border: 1px solid #5A6C7D;
}

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

.cookie-customize {
    background-color: #95A5A6;
    color: white;
}

.cookie-customize:hover {
    background-color: #7B8C8D;
}

.cookie-link {
    color: #95A5A6;
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #2D3E50;
    font-size: 1.25rem;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7B8C8D;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: #2D3E50;
}

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

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f8f9fa;
}

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-header h4 {
    margin: 0;
    color: #2D3E50;
    font-size: 1rem;
}

.cookie-required {
    background-color: #e9ecef;
    color: #5A6C7D;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #7B8C8D;
}

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

.cookie-category p {
    margin: 0;
    color: #7B8C8D;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-modal-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    text-align: right;
}

.cookie-save {
    background-color: #2D3E50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
}

.cookie-save:hover {
    background-color: #1A252F;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-contact, .btn-email {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    margin: 0 8px 8px 0;
}

.btn-primary {
    background-color: #2D3E50;
    color: white;
}

.btn-primary:hover {
    background-color: #1A252F;
}

.btn-secondary {
    background-color: transparent;
    color: #2D3E50;
    border: 2px solid #2D3E50;
}

.btn-secondary:hover {
    background-color: #2D3E50;
    color: white;
}

.btn-contact {
    background-color: #7B8C8D;
    color: white;
    font-size: 0.85rem;
    padding: 8px 16px;
}

.btn-contact:hover {
    background-color: #5A6C7D;
}

.btn-email {
    background-color: transparent;
    color: #7B8C8D;
    border: 1px solid #7B8C8D;
    font-size: 0.85rem;
    padding: 8px 16px;
}

.btn-email:hover {
    background-color: #7B8C8D;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(123, 140, 141, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 62, 80, 0.1) 0%, transparent 50%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(123, 140, 141, 0.03) 35px,
            rgba(123, 140, 141, 0.03) 70px
        );
    pointer-events: none;
}

.logo-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 16px;
}

.brand-name {
    color: #2D3E50;
    margin-bottom: 0;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #5A6C7D;
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #7B8C8D;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* About Introduction */
.about-intro {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.content-text h2 {
    color: #2D3E50;
    margin-bottom: 24px;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7B8C8D;
    font-style: italic;
    border: 2px dashed #95A5A6;
}

/* Mission */
.mission {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(45, 62, 80, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.mission h2 {
    color: #2D3E50;
    margin-bottom: 32px;
}

.mission p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5A6C7D;
}

/* Categories */
.categories {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.categories h2 {
    text-align: center;
    color: #2D3E50;
    margin-bottom: 60px;
}

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

.category-card {
    text-align: center;
    padding: 40px 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.category-card:hover {
    border-color: #7B8C8D;
}

.category-icon {
    font-size: 3rem;
    color: #2D3E50;
    margin-bottom: 24px;
    font-weight: bold;
}

.category-card h3 {
    color: #2D3E50;
    margin-bottom: 16px;
}

.category-card p {
    color: #7B8C8D;
    line-height: 1.6;
}

/* Products */
.products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.products h2 {
    text-align: center;
    color: #2D3E50;
    margin-bottom: 60px;
}

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

.product-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
}

.product-image .image-placeholder {
    height: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
}

.product-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    color: #2D3E50;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.product-info p {
    color: #7B8C8D;
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-price {
    font-weight: 600;
    color: #2D3E50;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Why Choose */
.why-choose {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.why-choose h2 {
    text-align: center;
    color: #2D3E50;
    margin-bottom: 60px;
}

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

.benefit-item {
    text-align: center;
    padding: 32px 16px;
}

.benefit-item h3 {
    color: #2D3E50;
    margin-bottom: 16px;
}

.benefit-item p {
    color: #7B8C8D;
    line-height: 1.7;
}

/* B2B Portal */
.b2b-portal {
    padding: 80px 0;
    background: linear-gradient(135deg, #2D3E50 0%, #5A6C7D 100%);
    color: white;
    text-align: center;
}

.portal-content h2 {
    color: white;
    margin-bottom: 24px;
}

.portal-content > p {
    color: #e9ecef;
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.feature h3 {
    color: white;
    margin-bottom: 12px;
}

.feature p {
    color: #e9ecef;
}

.b2b-portal .btn-primary {
    background-color: white;
    color: #2D3E50;
}

.b2b-portal .btn-primary:hover {
    background-color: #f8f9fa;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    color: #2D3E50;
    margin-bottom: 60px;
}

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

.testimonial {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    border-left: 4px solid #7B8C8D;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-style: italic;
    color: #5A6C7D;
    margin-bottom: 16px;
    line-height: 1.7;
}

.testimonial cite {
    color: #7B8C8D;
    font-weight: 500;
}

/* Contact */
.contact {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.contact h2 {
    text-align: center;
    color: #2D3E50;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h3 {
    color: #2D3E50;
    margin-bottom: 8px;
}

.contact-item p {
    color: #7B8C8D;
}

.contact-item a {
    color: #2D3E50;
    text-decoration: none;
}

.contact-item a:hover {
    color: #5A6C7D;
}

.contact-cta {
    text-align: center;
    padding: 32px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-cta h3 {
    color: #2D3E50;
    margin-bottom: 16px;
}

.contact-cta p {
    color: #7B8C8D;
    margin-bottom: 24px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #2D3E50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 1.25rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-section a {
    color: #e9ecef;
    text-decoration: none;
    font-size: 0.95rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #5A6C7D;
}

.footer-bottom p {
    color: #95A5A6;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        min-width: 80px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 16px;
    }
    
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0;
    }

    .logo-brand {
        flex-direction: column;
        gap: 12px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .categories-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .portal-features {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section {
        align-items: center;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 8px 0;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn-contact,
    .product-actions .btn-email {
        width: 100%;
        margin: 4px 0;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        margin: 2px 0;
    }
    
    .hero {
        padding: 40px 0;
    }

    .about-intro,
    .mission,
    .categories,
    .products,
    .why-choose,
    .b2b-portal,
    .testimonials,
    .contact {
        padding: 60px 0;
    }

    .category-card,
    .product-card,
    .testimonial,
    .contact-cta {
        padding: 24px;
    }

    .brand-name {
        font-size: 1.75rem;
    }
}