@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: #4A90D9;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    z-index: 2;
}

.menu-checkbox {
    display: none;
}

.menu-icon {
    display: none;
    position: relative;
    width: 24px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 2;
}

.menu-icon span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #888;
    padding: 26px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.nav a:hover {
    color: #1a1a1a;
}

.nav a.active {
    color: #4A90D9;
    border-bottom-color: #4A90D9;
}

.header-right {
    flex-shrink: 0;
    z-index: 2;
}

.globe-icon {
    width: 22px;
    height: 22px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.globe-icon:hover {
    color: #1a1a1a;
}

.hero {
    padding: 80px 0 48px;
}

.hero-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 900;
    color: #000;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 17px;
    color: #888;
    font-weight: 400;
    max-width: 520px;
    line-height: 1.7;
}

.categories {
    padding-top: 28px;
    padding-bottom: 0;
}

.category-filter {
    display: flex;
    gap: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.category-filter a {
    font-size: 15px;
    font-weight: 500;
    color: #999;
    padding-bottom: 12px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-filter a:hover {
    color: #1a1a1a;
}

.category-filter a.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
    font-weight: 600;
}

.category-filter.category-filter-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.category-filter-list > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.articles {
    padding: 56px 0 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
}

.card {
    display: block;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f2f5;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-thumb-icon {
    width: 48px;
    height: 48px;
    color: #c0c0c0;
    margin: auto;
    display: block;
    padding-top: 35%;
}

.card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0;
    margin-bottom: 20px;
}

.gradient-1 { background: linear-gradient(135deg, #FFB6C1, #C9A0DC); }
.gradient-2 { background: linear-gradient(135deg, #89CFF0, #6DCDB8); }
.gradient-3 { background: linear-gradient(135deg, #FFD699, #FF9966); }
.gradient-4 { background: linear-gradient(135deg, #A8E6CF, #5CBFAB); }
.gradient-5 { background: linear-gradient(135deg, #C4B7FF, #8BB8E8); }
.gradient-6 { background: linear-gradient(135deg, #FFB3BA, #FFCC99); }
.gradient-7 { background: linear-gradient(135deg, #B5EAD7, #C7CEEA); }
.gradient-featured { background: linear-gradient(135deg, #667eea, #764ba2); }

.card-category {
    font-size: 12px;
    font-weight: 600;
    color: #4A90D9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.card:hover .card-title {
    color: #4A90D9;
}

.card-summary {
    font-size: 14px;
    color: #999;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.load-more {
    text-align: center;
    padding: 56px 0 0;
}

.load-more-btn {
    display: inline-block;
    padding: 14px 48px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    background: none;
    transition: border-color 0.2s, color 0.2s;
}

.load-more-btn:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.about {
    padding: 100px 0;
    border-top: 1px solid #eee;
    margin-top: 80px;
}

.about-inner {
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.about-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -1px;
    color: #000;
    flex-shrink: 0;
    min-width: 280px;
}

.about-desc {
    font-size: 17px;
    color: #666;
    line-height: 1.85;
    max-width: 480px;
    padding-top: 6px;
}

.newsletter {
    padding: 80px 0;
    background: #f8f9fa;
}

.newsletter-inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.newsletter-desc {
    font-size: 15px;
    color: #888;
    margin-bottom: 32px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
}

.newsletter-input:focus {
    border-color: #4A90D9;
}

.newsletter-input::placeholder {
    color: #bbb;
}

.newsletter-btn {
    padding: 14px 28px;
    background: #4A90D9;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    border-radius: 0;
}

.newsletter-btn:hover {
    background: #3a7bc4;
}

.footer {
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left .logo {
    font-size: 20px;
    margin-bottom: 10px;
    display: block;
}

.footer-copy {
    font-size: 12px;
    color: #bbb;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 24px;
    padding-top: 4px;
}

.footer-links a {
    font-size: 13px;
    color: #999;
}

.footer-links a:hover {
    color: #1a1a1a;
}

.blog-header {
    padding: 48px 0 32px;
}

.blog-back {
    font-size: 14px;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.blog-back:hover {
    color: #4A90D9;
}

.blog-category {
    font-size: 13px;
    font-weight: 600;
    color: #4A90D9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: block;
}

.blog-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #000;
    line-height: 1.3;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.blog-meta {
    font-size: 14px;
    color: #999;
}

.blog-hero-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    margin: 40px 0 56px;
}

.blog-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.blog-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 48px 0 16px;
    letter-spacing: -0.3px;
}

.blog-body p {
    font-size: 16px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 24px;
}

.related {
    border-top: 1px solid #eee;
    padding: 64px 0 80px;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.legal {
    padding: 60px 0 100px;
}

.legal-badge {
    font-size: 13px;
    font-weight: 600;
    color: #4A90D9;
    margin-bottom: 16px;
    display: block;
}

.legal-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.legal-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 56px;
}

.legal-content {
    max-width: 720px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 48px 0 16px;
    letter-spacing: -0.3px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style: disc;
}

.legal-content li {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 6px;
}

@media (max-width: 920px) {
    .container {
        padding: 0 20px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .menu-icon {
        display: block;
        margin-left: auto;
    }

    .menu-checkbox:checked + .menu-icon span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-checkbox:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-checkbox:checked + .menu-icon span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        transform: none;
        flex-direction: column;
        background: #fff;
        padding: 16px 20px 24px;
        border-bottom: 1px solid #eee;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .nav a {
        padding: 14px 0;
        border-bottom: none;
        font-size: 14px;
    }

    .menu-checkbox:checked ~ .nav {
        display: flex;
    }

    .header-right {
        display: none;
    }

    .hero {
        padding: 48px 0 32px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .category-filter {
        gap: 20px;
        padding-bottom: 16px;
    }

    .category-filter a {
        font-size: 14px;
    }

    .articles {
        padding: 40px 0 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card:hover {
        transform: none;
    }

    .load-more {
        padding: 40px 0 0;
    }

    .about {
        padding: 64px 0;
        margin-top: 56px;
    }

    .about-inner {
        flex-direction: column;
        gap: 24px;
    }

    .about-title {
        min-width: unset;
    }

    .about-desc {
        padding-top: 0;
    }

    .newsletter {
        padding: 56px 0;
    }

    .newsletter-title {
        font-size: 22px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        padding: 32px 20px;
        gap: 24px;
    }

    .footer-links {
        gap: 16px;
        flex-wrap: wrap;
    }

    .blog-header {
        padding: 32px 0 24px;
    }

    .blog-back {
        margin-bottom: 28px;
    }

    .blog-hero-image {
        aspect-ratio: 16 / 9;
        margin: 32px 0 40px;
    }

    .blog-body {
        padding: 0 20px 56px;
    }

    .blog-body h2 {
        margin-top: 36px;
    }

    .related {
        padding: 48px 0 56px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal {
        padding: 40px 0 64px;
    }

    .legal-date {
        margin-bottom: 40px;
    }
}
