* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 600;
}

.logo p {
    font-size: 14px;
    opacity: 0.8;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav ul li a:hover {
    color: #3498db;
    border-bottom-color: #3498db;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    margin-left: 30px;
}

.login-btn,
.register-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.login-btn:hover {
    background-color: #fff;
    color: #2c3e50;
}

.register-btn {
    background-color: #3498db;
    color: #fff;
    border: 1px solid #3498db;
}

.register-btn:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

/* Main Styles */
.main {
    margin-top: 100px;
}

.section {
    padding: 60px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Products Section */
.products {
    background-color: #f8f9fa;
}

.products-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Apps Section */
.apps {
    background-color: #fff;
}

.apps-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.app-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info {
    flex: 1;
}

.app-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.app-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.app-download {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #2980b9;
}

/* Shop Section */
.shop {
    background-color: #f8f9fa;
}

.shop-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-info p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 20px;
}

.buy-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.buy-btn:hover {
    background-color: #2980b9;
}

/* About Section */
.about {
    background-color: #fff;
}

.section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: 600;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-info {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-info ul {
    list-style: none;
}

.about-info ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.about-info ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-info ul li strong {
    color: #2c3e50;
    margin-right: 10px;
    min-width: 120px;
    display: inline-block;
}

/* ICP Info Section */
.icp-info {
    background-color: #f8f9fa;
}

.icp-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.icp-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.icp-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

.icp-item h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: #3498db;
    margin-right: 10px;
    border-radius: 2px;
}

.icp-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.icp-item ul,
.icp-item ol {
    padding-left: 20px;
}

.icp-item ul li,
.icp-item ol li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.icp-item ul li {
    list-style-type: disc;
}

.icp-item ol li {
    list-style-type: decimal;
}

/* Contact Section */
.contact {
    background-color: #fff;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.contact-info ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info ul li strong {
    color: #2c3e50;
    margin-right: 10px;
    min-width: 80px;
    display: inline-block;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #3498db;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forgot-password {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #2980b9;
    text-decoration: underline;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.modal-footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.modal-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.form-group.terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-group.terms input {
    width: auto;
    margin-top: 3px;
}

.form-group.terms label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 13px;
    line-height: 1.5;
}

.form-group.terms a {
    color: #3498db;
    text-decoration: none;
}

.form-group.terms a:hover {
    text-decoration: underline;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .auth-buttons {
        margin-left: 0;
        justify-content: center;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav ul li {
        margin: 0 15px;
    }

    .main {
        margin-top: 150px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
    }

    .about-info,
    .contact-form {
        order: -1;
    }

    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .icp-status {
        font-size: 16px;
        padding: 12px 24px;
    }

    .about-info,
    .contact-form,
    .icp-item {
        padding: 20px;
    }
}