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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #121212;
    line-height: 1.6;
}

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

.header {
    background-color: #1a1a1a;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}


.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
    transform: translateY(-2px);
}

.subscribe-btn {
    background-color: #17a2b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.subscribe-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    background-color: #138496;
}

.subscribe-btn i {
    font-size: 16px;
}

.main {
    margin-top: 80px;
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 3rem 0 2rem 0;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #121212;
}

.hero-subscribe {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 350px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #f8f9fa;
}

.email-input:focus {
    border-color: #007bff;
}

.email-input::placeholder {
    color: #666;
}

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

.article-card {
    background-color: #ffffff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.article-category {
    color: #007bff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-time {
    background-color: #28a745;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #121212;
    line-height: 1.3;
}

.article-tags {
    margin-bottom: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 8px;
}

.quantum-tag {
    background-color: #e3f2fd;
    color: #1976d2;
}

.ai-tag {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.ml-tag {
    background-color: #e8f5e8;
    color: #388e3c;
}

.auto-tag {
    background-color: #fff3e0;
    color: #f57c00;
}

.article-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 1rem;
}

.article-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-top: 0.5rem;
}

.keyword {
    background-color: #FFD700;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.footer {
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: flex-end;
}

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

.social-link {
    color: #666;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #007bff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav {
        order: 1;
        gap: 1.5rem;
    }

    .subscribe-btn.header-subscribe {
        order: 2;
    }

    .logo {
        order: 0;
    }

    .main {
        margin-top: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subscribe {
        flex-direction: column;
        gap: 1rem;
    }

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

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

    .article-title {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 32px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .nav {
        gap: 1rem;
    }

    .subscribe-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}