/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #fafbfc;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1a1a2e; }
.logo-icon { font-size: 28px; }
.logo-text { font-weight: 700; font-size: 18px; }
.nav { display: flex; gap: 32px; }
.nav-link { color: #4b5563; text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: #6366f1; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: 8px; font-weight: 600;
    text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-large { padding: 16px 32px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(99,102,241,0.3); }
.btn-secondary { background: #f3f4f6; color: #1a1a2e; }
.btn-secondary:hover { background: #e5e7eb; }
.btn-outline { background: transparent; border: 2px solid #6366f1; color: #6366f1; }
.btn-outline:hover { background: #6366f1; color: white; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6366f1 100%);
    color: white;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 { font-size: 56px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.hero-subtitle { font-size: 24px; opacity: 0.95; margin-bottom: 16px; font-weight: 500; }
.hero-desc { font-size: 18px; opacity: 0.85; max-width: 700px; margin: 0 auto 32px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 60px; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 36px; font-weight: 800; }
.stat-label { font-size: 14px; opacity: 0.8; }

/* Sections */
.section { padding: 80px 0; }
.section-title { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 12px; color: #1a1a2e; }
.section-subtitle { text-align: center; color: #6b7280; font-size: 18px; margin-bottom: 48px; }

/* Model Intro */
.model-intro { background: white; }
.model-overview { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.model-text h3 { font-size: 28px; margin-bottom: 20px; color: #1a1a2e; }
.model-text p { color: #4b5563; margin-bottom: 16px; font-size: 16px; line-height: 1.8; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tag { background: #f3f4f6; padding: 8px 16px; border-radius: 50px; font-size: 14px; font-weight: 500; }
.model-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white; padding: 40px; border-radius: 20px; text-align: center;
}
.model-icon { font-size: 64px; margin-bottom: 20px; }
.model-card h4 { font-size: 24px; margin-bottom: 8px; }
.model-version { opacity: 0.8; font-size: 14px; margin-bottom: 24px; }
.model-specs { list-style: none; text-align: left; }
.model-specs li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }

/* Capabilities */
.capabilities { background: #f8fafc; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.capability-card {
    background: white; padding: 32px; border-radius: 16px;
    border: 1px solid #e5e7eb; transition: all 0.3s;
}
.capability-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.capability-icon { font-size: 48px; margin-bottom: 20px; }
.capability-card h3 { font-size: 20px; margin-bottom: 12px; color: #1a1a2e; }
.capability-card p { color: #6b7280; font-size: 15px; margin-bottom: 16px; }
.capability-card ul { list-style: none; }
.capability-card li { color: #4b5563; padding: 4px 0; font-size: 14px; }
.capability-card li::before { content: '•'; color: #6366f1; margin-right: 8px; }

/* Comparison */
.comparison { background: white; }
.comparison-table-wrapper { overflow-x: auto; margin-bottom: 48px; }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td {
    padding: 16px 20px; text-align: center; border-bottom: 1px solid #e5e7eb;
}
.comparison-table th { background: #f8fafc; font-weight: 600; color: #1a1a2e; }
.comparison-table th.highlight { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); color: white; }
.comparison-table td.highlight { background: #f5f3ff; font-weight: 600; color: #6366f1; }
.comparison-table tbody tr:hover { background: #fafbfc; }
.comparison-summary { background: #f8fafc; padding: 40px; border-radius: 16px; }
.comparison-summary h3 { font-size: 24px; margin-bottom: 24px; text-align: center; }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.summary-item { display: flex; gap: 16px; align-items: flex-start; }
.summary-icon { width: 32px; height: 32px; background: #10b981; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.summary-item strong { display: block; margin-bottom: 4px; color: #1a1a2e; }
.summary-item p { color: #6b7280; font-size: 14px; margin: 0; }

/* Use Cases */
.use-cases { background: #f8fafc; }
.use-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.use-case-card { background: white; padding: 28px; border-radius: 16px; border: 1px solid #e5e7eb; }
.use-case-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.use-case-icon { font-size: 32px; }
.use-case-card h3 { font-size: 18px; color: #1a1a2e; }
.use-case-card > p { color: #6b7280; font-size: 14px; margin-bottom: 16px; }
.use-case-example { background: #f8fafc; padding: 12px 16px; border-radius: 8px; font-size: 13px; color: #4b5563; }
.use-case-example strong { color: #6366f1; }

/* Access Methods */
.access-methods { background: white; }
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.access-card {
    background: #f8fafc; padding: 32px; border-radius: 16px;
    border: 2px solid #e5e7eb; position: relative; transition: all 0.3s;
}
.access-card.featured { border-color: #6366f1; background: linear-gradient(to bottom, #f5f3ff, #faf5ff); }
.access-badge {
    position: absolute; top: -12px; left: 24px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white; padding: 4px 16px; border-radius: 50px; font-size: 12px; font-weight: 600;
}
.access-card h3 { font-size: 22px; margin-bottom: 8px; color: #1a1a2e; }
.access-url { color: #6366f1; font-weight: 600; margin-bottom: 12px; }
.access-desc { color: #6b7280; font-size: 14px; margin-bottom: 20px; }
.access-features { list-style: none; margin-bottom: 24px; }
.access-features li { padding: 6px 0; color: #4b5563; font-size: 14px; }
.access-card .btn { width: 100%; }

/* Claude Family */
.claude-family { background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%); color: white; }
.claude-family .section-title { color: white; }
.claude-family .section-subtitle { color: rgba(255,255,255,0.7); }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.family-card {
    background: rgba(255,255,255,0.05); padding: 32px; border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1); text-align: center;
}
.family-card.highlighted { background: rgba(99,102,241,0.2); border-color: #6366f1; }
.family-tier { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #a5b4fc; margin-bottom: 12px; }
.family-card h3 { font-size: 24px; margin-bottom: 12px; }
.family-desc { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 20px; }
.family-specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.family-specs span { background: rgba(255,255,255,0.1); padding: 6px 12px; border-radius: 50px; font-size: 12px; }

/* Latest Articles */
.latest-articles { background: #f8fafc; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.article-card { background: white; padding: 24px; border-radius: 12px; border: 1px solid #e5e7eb; }
.article-meta { margin-bottom: 12px; }
.article-date { color: #9ca3af; font-size: 13px; }
.article-card h3 { font-size: 18px; margin-bottom: 12px; line-height: 1.4; }
.article-card h3 a { color: #1a1a2e; text-decoration: none; }
.article-card h3 a:hover { color: #6366f1; }
.article-card > p { color: #6b7280; font-size: 14px; margin-bottom: 16px; }
.article-link { color: #6366f1; font-weight: 500; text-decoration: none; font-size: 14px; }
.view-all { text-align: center; }

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white; text-align: center; padding: 80px 0;
}
.cta h2 { font-size: 36px; margin-bottom: 16px; }
.cta p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }
.cta .btn-primary { background: white; color: #6366f1; }
.cta .btn-outline { border-color: white; color: white; }
.cta .btn-outline:hover { background: white; color: #6366f1; }

/* Footer */
.footer { background: #1a1a2e; color: #9ca3af; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-links h4 { color: white; font-size: 16px; margin-bottom: 20px; }
.footer-links a { display: block; color: #9ca3af; text-decoration: none; padding: 6px 0; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #a5b4fc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* Article Page */
article { padding: 40px 0; }
article h1 { font-size: 36px; color: #1a1a2e; margin-bottom: 16px; line-height: 1.3; }
article h2 { font-size: 24px; color: #1a1a2e; margin: 40px 0 16px; }
article h3 { font-size: 20px; color: #1a1a2e; margin: 32px 0 12px; }
article p { color: #4b5563; margin-bottom: 16px; font-size: 16px; line-height: 1.8; }
article ul, article ol { margin: 16px 0 16px 24px; color: #4b5563; }
article li { margin-bottom: 8px; }
article a { color: #6366f1; }
article code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 14px; }
article pre { background: #1a1a2e; color: #e5e7eb; padding: 20px; border-radius: 12px; overflow-x: auto; margin: 20px 0; }
article pre code { background: none; padding: 0; }
article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
article th, article td { padding: 12px 16px; border: 1px solid #e5e7eb; text-align: left; }
article th { background: #f8fafc; font-weight: 600; }

/* Recommend Box */
.recommend-box {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white; padding: 32px; border-radius: 16px; margin: 40px 0;
}
.recommend-box h3 { margin-bottom: 16px; font-size: 20px; }
.recommend-box p { opacity: 0.95; margin-bottom: 16px; }
.recommend-box ul { margin-left: 20px; }
.recommend-box li { margin-bottom: 8px; }
.recommend-box a { color: #fcd34d; font-weight: 600; }

/* Responsive */
@media (max-width: 968px) {
    .nav { display: none; }
    .hero h1 { font-size: 36px; }
    .hero-stats { flex-wrap: wrap; gap: 30px; }
    .model-overview, .capability-grid, .use-case-grid, .access-grid, .family-grid, .article-grid, .summary-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .comparison-table { font-size: 14px; }
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; padding: 60px 0; margin-bottom: 40px;
}
.article-breadcrumb { font-size: 14px; opacity: 0.8; margin-bottom: 20px; }
.article-breadcrumb a { color: white; text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-header h1 { font-size: 36px; margin-bottom: 16px; line-height: 1.3; }
.article-info { display: flex; gap: 24px; font-size: 14px; opacity: 0.9; }

/* Article Layout */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.article-content { background: white; padding: 40px; border-radius: 16px; border: 1px solid #e5e7eb; }
.article-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: white; padding: 24px; border-radius: 12px; border: 1px solid #e5e7eb; }
.sidebar-card h4 { font-size: 16px; margin-bottom: 12px; color: #1a1a2e; }
.sidebar-card p { font-size: 14px; color: #6b7280; margin-bottom: 16px; }
.sidebar-card .btn { width: 100%; }
.related-list { list-style: none; }
.related-list li { padding: 8px 0; border-bottom: 1px solid #f3f4f6; }
.related-list li:last-child { border-bottom: none; }
.related-list a { color: #4b5563; text-decoration: none; font-size: 14px; }
.related-list a:hover { color: #6366f1; }

/* Article Nav */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0; }
.nav-prev, .nav-next { background: white; padding: 20px; border-radius: 12px; border: 1px solid #e5e7eb; text-decoration: none; }
.nav-prev:hover, .nav-next:hover { border-color: #6366f1; }
.nav-next { text-align: right; }
.nav-label { display: block; font-size: 13px; color: #9ca3af; margin-bottom: 4px; }
.nav-title { color: #1a1a2e; font-weight: 500; }

/* List Page */
.list-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 60px 0; text-align: center; }
.list-header h1 { font-size: 36px; margin-bottom: 12px; }
.list-header p { opacity: 0.9; font-size: 18px; }
.list-content { padding: 40px 0; }
.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.list-card { background: white; padding: 28px; border-radius: 12px; border: 1px solid #e5e7eb; transition: all 0.3s; }
.list-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.list-card h3 { margin-bottom: 12px; }
.list-card h3 a { color: #1a1a2e; text-decoration: none; font-size: 20px; }
.list-card h3 a:hover { color: #6366f1; }
.list-card p { color: #6b7280; font-size: 15px; margin-bottom: 12px; }
.list-card .meta { color: #9ca3af; font-size: 13px; }

@media (max-width: 968px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-nav { grid-template-columns: 1fr; }
    .list-grid { grid-template-columns: 1fr; }
}

/* Enhanced List Page */
.list-intro { margin-bottom: 32px; }
.list-intro p { color: #6b7280; font-size: 16px; }

.list-grid { display: flex; flex-direction: column; gap: 16px; }

.list-card {
    display: flex; align-items: center; gap: 20px;
    background: white; padding: 24px 28px; border-radius: 16px;
    border: 1px solid #e5e7eb; text-decoration: none;
    transition: all 0.3s ease;
}
.list-card:hover {
    transform: translateX(8px);
    border-color: #6366f1;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

.list-card-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; flex-shrink: 0;
}

.list-card-content { flex: 1; }
.list-card-content h3 {
    font-size: 18px; color: #1a1a2e; margin-bottom: 8px;
    transition: color 0.2s;
}
.list-card:hover .list-card-content h3 { color: #6366f1; }
.list-card-content > p {
    color: #6b7280; font-size: 14px; line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card-meta { display: flex; gap: 16px; }
.list-card-meta span { font-size: 13px; color: #9ca3af; }

.list-card-arrow {
    font-size: 20px; color: #d1d5db;
    transition: all 0.3s; flex-shrink: 0;
}
.list-card:hover .list-card-arrow { color: #6366f1; transform: translateX(4px); }

/* Access Highlight Box */
.access-highlight {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: white; padding: 40px; border-radius: 20px; margin-top: 40px;
    text-align: center;
}
.access-highlight h3 { font-size: 24px; margin-bottom: 12px; }
.access-highlight > p { opacity: 0.8; margin-bottom: 28px; }

.access-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.access-btn {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    padding: 20px 28px; border-radius: 12px; text-decoration: none;
    text-align: center; transition: all 0.3s; min-width: 200px;
}
.access-btn:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.access-btn.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
}
.access-btn-title { display: block; color: white; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.access-btn-url { display: block; color: rgba(255,255,255,0.7); font-size: 13px; }
.access-btn.primary .access-btn-url { color: rgba(255,255,255,0.9); }

@media (max-width: 768px) {
    .list-card { flex-direction: column; align-items: flex-start; text-align: left; }
    .list-card-arrow { display: none; }
    .access-buttons { flex-direction: column; }
    .access-btn { min-width: auto; width: 100%; }
}
