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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #4B0082;
    background-color: #F8F0FC;
}

/* Navigation */
.navbar {
    background-color: #FFE4E1;
    box-shadow: 0 2px 4px rgba(255, 182, 193, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #FF69B4;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #4B0082;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FF69B4;
}

.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 1px solid #FFB6C1;
    background-color: #FFE4E1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4B0082;
}

.lang-btn:hover {
    border-color: #FF69B4;
    background-color: #FFB6C1;
}

.lang-btn.active {
    background-color: #FF69B4;
    color: #fff;
    border-color: #FF69B4;
}

/* Hero Section */
.hero {
    background-color: #FFF0F5;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #FFB6C1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #FF69B4;
}

.hero p {
    font-size: 18px;
    color: #9370DB;
    max-width: 800px;
    margin: 0 auto;
}

/* Product Filters */
.product-filters {
    background-color: #FFFACD;
    padding: 20px;
    border-bottom: 1px solid #FFD700;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #FFD700;
    background-color: #FFFACD;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #4B0082;
}

.filter-btn:hover {
    border-color: #FFA500;
    color: #FFA500;
    background-color: #FFEBCD;
}

.filter-btn.active {
    background-color: #FFA500;
    color: #fff;
    border-color: #FFA500;
}

/* Products Section */
.products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #F0F8FF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(173, 216, 230, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(173, 216, 230, 0.5);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 2px solid #87CEEB;
}

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

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #4B0082;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.buy-btn {
    width: 100%;
    padding: 12px;
    background-color: #87CEEB;
    color: #4B0082;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.buy-btn:hover {
    background-color: #4682B4;
    color: #fff;
    transform: translateY(-2px);
}

/* iPad Check Section */
.ipad-check {
    background-color: #E0FFFF;
    padding: 60px 20px;
    border-top: 1px solid #00CED1;
    border-bottom: 1px solid #00CED1;
}

.ipad-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ipad-container h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #00CED1;
}

.ipad-container p {
    font-size: 16px;
    color: #4B0082;
    margin-bottom: 15px;
}

.ipad-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.ipad-form label {
    font-weight: 500;
    font-size: 18px;
    color: #4B0082;
}

.ipad-form input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #00CED1;
    border-radius: 8px;
    font-size: 16px;
    background-color: #F0FFFF;
    color: #4B0082;
}

.ipad-form input:focus {
    outline: none;
    border-color: #4682B4;
    box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.1);
}

.ipad-form button {
    padding: 12px 30px;
    background-color: #00CED1;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.ipad-form button:hover {
    background-color: #4682B4;
    transform: translateY(-2px);
}

/* Company Introduction */
.company-intro {
    background-color: #FFFACD;
    padding: 60px 20px;
    border-bottom: 1px solid #FFD700;
}

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

.intro-container h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #FFA500;
    text-align: center;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    font-size: 16px;
    color: #4B0082;
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Market Layout */
.market-layout {
    background-color: #F0FFF0;
    padding: 60px 20px;
    border-bottom: 1px solid #90EE90;
}

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

.market-container h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #32CD32;
    text-align: center;
}

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

.market-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(144, 238, 144, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(144, 238, 144, 0.5);
}

.market-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #32CD32;
}

.market-item p {
    font-size: 14px;
    color: #4B0082;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background-color: #FFF0F5;
    padding: 60px 20px;
    border-bottom: 1px solid #FFB6C1;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-container h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #FF69B4;
    text-align: center;
}

#message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 16px;
    color: #4B0082;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #FFB6C1;
    border-radius: 8px;
    font-size: 16px;
    background-color: #FFF0F5;
    color: #4B0082;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF69B4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 14px 30px;
    background-color: #FF69B4;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #C71585;
    transform: translateY(-2px);
}

.form-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    background-color: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Footer */
footer {
    background-color: #4B0082;
    color: #fff;
    padding: 40px 20px;
}

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

.company-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #FF69B4;
}

.company-info p {
    margin-bottom: 10px;
    color: #E6E6FA;
}

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

.footer-links a {
    color: #E6E6FA;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FF69B4;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

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

    .filter-container {
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .ipad-container h2 {
        font-size: 24px;
    }

    .company-info h3 {
        font-size: 20px;
    }
}