@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input, button {
    font-family: inherit;
    font-size: inherit;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.logo-bold {
    font-weight: 800;
    color: #1a1a1a;
}

.logo-accent {
    font-weight: 800;
    color: #6c5ce7;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.nav-link:hover {
    color: #1a1a1a;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 14px;
    gap: 8px;
}

.search-input {
    border: none;
    outline: none;
    font-size: 13px;
    width: 140px;
    background: transparent;
    color: #333;
}

.search-input::placeholder {
    color: #bbb;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #999;
    transition: color 0.2s;
}

.search-btn:hover {
    color: #333;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 1px;
}

.hero {
    position: relative;
    padding: 100px 24px 140px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 10% 60%, rgba(255, 154, 158, 0.45) 0%, transparent 55%),
        radial-gradient(ellipse at 35% 20%, rgba(255, 200, 150, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 55% 85%, rgba(200, 155, 240, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(140, 200, 255, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 95% 70%, rgba(130, 220, 240, 0.3) 0%, transparent 45%),
        linear-gradient(135deg, #ffc3d0 0%, #ffcba4 18%, #f0c0f0 42%, #c8b8f0 62%, #a8d8ff 82%, #90e0f0 100%);
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 50px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 13px 36px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: #fff;
    color: #6c5ce7;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.2s;
}

.dot.active {
    background: #fff;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.content-section {
    padding: 64px 24px;
}

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

.article-card {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.article-card:first-child {
    padding-top: 0;
}

.article-info {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.45;
    transition: color 0.2s;
    cursor: pointer;
}

.article-title:hover {
    color: #6c5ce7;
}

.article-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #999;
}

.article-body {
    flex: 1;
    min-width: 0;
}

.article-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #6c5ce7;
    margin-bottom: 6px;
}

.article-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-date {
    font-size: 13px;
    color: #999;
}

.article-card a {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.article-thumb {
    width: 180px;
    height: 120px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.widget {
    background: #fafafa;
    border-radius: 12px;
    padding: 24px;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a1a1a;
}

.top-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.top-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.post-rank {
    font-size: 16px;
    font-weight: 800;
    color: #6c5ce7;
    min-width: 24px;
    line-height: 1.4;
}

.post-link {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.45;
}

.post-link:hover {
    color: #6c5ce7;
}

.subscribe-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.55;
}

.subscribe-form {
    display: flex;
    gap: 8px;
}

.subscribe-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
}

.subscribe-input:focus {
    border-color: #6c5ce7;
}

.subscribe-btn {
    padding: 10px 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #6c5ce7;
}

.categories-section {
    padding: 64px 24px;
    background: #fafafa;
}

.categories-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.category-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.newsletter-section {
    padding: 80px 24px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 154, 158, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(168, 216, 255, 0.25) 0%, transparent 55%),
        linear-gradient(135deg, #f8f0ff 0%, #fff0f5 30%, #fff5ee 60%, #f0f8ff 100%);
    text-align: center;
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.newsletter-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    background: #fff;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    border-color: #6c5ce7;
}

.newsletter-btn {
    padding: 14px 28px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #6c5ce7;
}

.guide-section {
    padding: 64px 24px;
}

.guide-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guide-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 32px 24px;
    transition: box-shadow 0.2s;
}

.guide-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.guide-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0edff;
    color: #6c5ce7;
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 16px;
}

.guide-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.guide-card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
}

.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 48px 24px 32px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-link-group h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-link-group a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-link-group a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

.page-header {
    padding: 56px 24px;
    text-align: center;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(255, 154, 158, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 50%, rgba(140, 200, 255, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, #ffc3d0 0%, #ffcba4 22%, #e8c4f0 48%, #c8b8f0 68%, #a8d8ff 100%);
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.page-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
}

.page-content {
    padding: 64px 24px;
}

.page-content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-card-thumb {
    height: 180px;
    width: 100%;
}

.blog-card-body {
    padding: 22px;
}

.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.45;
}

.blog-card-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
    cursor: pointer;
}

.page-num:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.page-num.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 16px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 12px 0 20px 24px;
}

.legal-content li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    list-style: disc;
    margin-bottom: 6px;
}

@media (max-width: 920px) {
    .header-right {
        gap: 16px;
    }

    .nav {
        display: none;
    }

    .search-box {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 64px 24px 100px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .content-section {
        padding: 48px 24px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-card {
        gap: 16px;
    }

    .article-thumb {
        width: 110px;
        height: 76px;
    }

    .article-title {
        font-size: 16px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .page-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 20px;
    }

    .page-content {
        padding: 40px 20px;
    }
}
