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

:root {
    --charcoal-gray: #2D3748;
    --indigo-accent: #4C51BF;
    --warm-cedar: #D69E2E;
    --off-white: #F7FAFC;
    --light-gray: #E2E8F0;
    --medium-gray: #4A5568;
    --dark-text: #1A202C;
    --white: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-gray);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 500px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal-gray);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.125rem;
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.875rem 2rem;
    border: 2px solid;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.btn-primary {
    background-color: var(--indigo-accent);
    border-color: var(--indigo-accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #3C4099;
    border-color: #3C4099;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--charcoal-gray);
    color: var(--charcoal-gray);
}

.btn-secondary:hover {
    background-color: var(--charcoal-gray);
    color: var(--white);
}

/* Services Section */
.services {
    padding: 4rem 0;
}

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

.services h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal-gray);
    margin-bottom: 3rem;
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.service-icon {
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--medium-gray);
}

/* Process Section */
.process {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--indigo-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--medium-gray);
}

/* Products Section */
.products {
    padding: 4rem 0;
}

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

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card.featured {
    border: 3px solid var(--indigo-accent);
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    margin: 1.5rem 1.5rem 0.75rem;
}

.product-card p {
    color: var(--medium-gray);
    margin: 0 1.5rem 1rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--indigo-accent);
    margin: 0 1.5rem 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 1.5rem 1.5rem;
}

.product-features span {
    background-color: var(--light-gray);
    color: var(--medium-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.875rem;
}

.product-btn {
    display: block;
    background-color: var(--indigo-accent);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.product-btn:hover {
    background-color: #3C4099;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background-color: var(--off-white);
}

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

.benefit {
    text-align: center;
}

.benefit h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    margin-bottom: 0.75rem;
}

.benefit p {
    color: var(--medium-gray);
}

/* Materials Section */
.materials {
    padding: 4rem 0;
}

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

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

.material-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.material-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    margin-bottom: 0.5rem;
}

.material-card p {
    color: var(--medium-gray);
}

/* Workflow Section */
.workflow {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.workflow-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.workflow-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    margin-bottom: 1rem;
}

.workflow-text p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.workflow-text ul {
    list-style: none;
    padding: 0;
}

.workflow-text li {
    color: var(--medium-gray);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.workflow-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--indigo-accent);
    font-weight: bold;
}

.workflow-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
}

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

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial p {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.testimonial cite {
    color: var(--charcoal-gray);
    font-weight: 600;
    font-style: normal;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: var(--charcoal-gray);
    color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--warm-cedar);
}

.contact-item p {
    color: var(--off-white);
}

.contact-item a {
    color: var(--off-white);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--warm-cedar);
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: var(--off-white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--warm-cedar);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--light-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--warm-cedar);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--warm-cedar);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
}

/* Centered Section Headings */
.centered-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal-gray);
    margin-bottom: 3rem;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--charcoal-gray);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    color: var(--warm-cedar);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--indigo-accent);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background-color: #3C4099;
}

.cookie-btn.reject {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-btn.reject:hover {
    background-color: var(--white);
    color: var(--charcoal-gray);
}

.cookie-btn.customize {
    background-color: var(--warm-cedar);
    color: var(--white);
}

.cookie-btn.customize:hover {
    background-color: #B7791F;
}

.cookie-btn.save {
    background-color: var(--indigo-accent);
    color: var(--white);
}

.cookie-btn.save:hover {
    background-color: #3C4099;
}

.cookie-btn.close {
    background-color: var(--medium-gray);
    color: var(--white);
}

.cookie-btn.close:hover {
    background-color: var(--charcoal-gray);
}

.cookie-link {
    color: var(--warm-cedar);
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* Cookie Preferences Panel */
.cookie-preferences {
    display: none;
    background-color: var(--white);
    color: var(--charcoal-gray);
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    max-width: 1200px;
    margin: 0 auto;
}

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

.cookie-category {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

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

.toggle-slider {
    width: 50px;
    height: 24px;
    background-color: var(--light-gray);
    border-radius: 12px;
    position: relative;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--white);
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background-color: var(--indigo-accent);
}

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

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background-color: var(--indigo-accent);
    opacity: 0.6;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookie-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .workflow-content {
        grid-template-columns: 1fr;
    }
    
    .workflow-img {
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .services-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .cookie-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .toggle-slider {
        align-self: flex-start;
    }
}