* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    padding: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

main {
    flex: 1;
    padding: 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

h1 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 2rem;
}

h2 {
    color: #1a1a1a;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

/* Forms */
form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
}

input[type="email"],
input[type="text"],
textarea {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

button {
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header */
header {
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #1a1a1a;
}

.cart-login {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-btn,
.login-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: #333;
    color: white;
    border-color: #333;
}

.cart-btn:hover {
    border-color: #333;
    color: #333;
}

.login-btn:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

/* Home Page Sections */
.cta-bottom {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    margin: 2rem 0 0 0;
    border-top: 1px solid #eee;
}

.cta-bottom h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.cta-link:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


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

.products h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

.products h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.content {
    max-width: 100%;
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.product-image {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.product-image i {
    font-size: 5rem;
    color: #ddd;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card:hover .product-image i {
    color: #999;
    transform: scale(1.1);
}

.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
    font-size: 1.15rem;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.4;
}

.product-spec {
    padding: 0 1.5rem;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-desc {
    padding: 0 1.5rem;
    color: #666;
    font-size: 0.9rem;
    flex-grow: 1;
    line-height: 1.5;
}

.product-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

.stock-status {
    font-size: 0.75rem;
    color: #c41e3a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    background-color: #ffe6e6;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

/* Footer */
footer {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    margin-top: auto;
    padding: 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #1a1a1a;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-section ul li {
    margin-bottom: 0.4rem;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1a1a1a;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: #999;
    font-size: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1a1a1a;
}

/* Contact info box */
.contact-info {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* FAQ items */
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #666;
}

/* Lists */
ul {
    color: #666;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Warning boxes */
.warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 1rem;
    margin: 1.5rem 0;
    color: #856404;
}

/* Error container */
.error-container {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
}

.error-code {
    font-size: 5rem;
    font-weight: bold;
    color: #333;
    margin: 1rem 0;
}

.error-container a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.error-container a:hover {
    background-color: #1a1a1a;
}

/* Hiring Notice Banner */
.hiring-notice {
    background: linear-gradient(135deg, #c41e3a 0%, #a01828 100%);
    color: white;
    padding: 0.9rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.2);
    margin: -2rem -2rem 2rem -2rem;
}

.hiring-notice .content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hiring-notice i {
    font-size: 1.2rem;
}

.hiring-notice strong {
    font-weight: 600;
}

.hiring-notice .hiring-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.hiring-notice .hiring-link:hover {
    opacity: 0.8;
}

/* Newsletter Popup */
.newsletter-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: slideIn 0.4s ease-out;
}

.newsletter-popup.visible {
    display: flex;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    width: 420px;
    position: relative;
    border: none;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #bbb;
    transition: color 0.3s ease;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #333;
}

.popup-content h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    color: #1a1a1a;
    font-weight: 700;
}

.popup-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popup-form input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.popup-form input:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.popup-form button {
    padding: 0.75rem;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-form button:hover {
    background-color: #1a1a1a;
    transform: translateY(-1px);
}

/* Popup consent checkbox */
.popup-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.popup-consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.popup-consent label {
    flex: 1;
    color: #666;
    cursor: pointer;
    margin: 0;
}

.popup-link {
    color: #333;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.popup-link:hover {
    color: #1a1a1a;
}

/* Careers Page */
.careers-intro {
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.benefit-card i {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.job-listings {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.job-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.job-header h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin: 0;
}

.job-badge {
    background: #c41e3a;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.job-badge.badge-intern {
    background: #4a90e2;
}

.job-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.job-location i {
    margin-right: 0.5rem;
}

.job-description {
    color: #333;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.job-requirements li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

.job-requirements li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c41e3a;
    font-weight: bold;
}

.job-apply-btn {
    display: inline-block;
    background: #c41e3a;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.job-apply-btn:hover {
    background: #a01828;
}

.careers-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #c41e3a;
}

.careers-footer h2 {
    margin-top: 0;
}

.careers-footer a {
    color: #c41e3a;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 1.5rem;
    }

    .hiring-notice {
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
        padding: 0.75rem 0;
    }

    .hiring-notice .content {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    header {
        padding: 1rem;
    }

    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    nav {
        gap: 1rem;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    form {
        flex-direction: column;
    }

    input[type="email"],
    button {
        width: 100%;
    }

    footer {
        padding: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .newsletter-popup {
        bottom: 1rem;
        right: 1rem;
        left: auto;
    }

    .popup-content {
        width: 100%;
        max-width: 400px;
    }
}
.text-center {
    text-align: center;
}
.mb-2 {
    margin-bottom: 2rem;
}
.hidden {
    display: none !important;
}