@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary: #2c5282;
    --primary-dark: #1a365d;
    --primary-light: #4299e1;
    --accent: #f6ad55;
    --secondary: #48bb78;
    --dark: #1a202c;
    --dark-light: #4a5568;
    --light: #edf2f7;
    --white: #ffffff;
    --text: #2d3748;
    --text-light: #718096;
    --border: #cbd5e0;
    --success: #38a169;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.75;
    background: linear-gradient(to bottom, #ffffff 0%, #f7fafc 100%);
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Header Top Bar */
.header-top {
    background: linear-gradient(to right, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.6rem 0;
    font-size: 0.875rem;
    border-bottom: none;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-top-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.header-top-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.header-top-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Main Header */
.header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.header-main {
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.875rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.nav-main {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 50%, #edf2f7 100%);
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 100%;
    margin: 0 auto;
}

.hero-badge {
    display: none;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--dark);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-image {
    max-width: 100%;
    margin: 2.5rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* Content Section */
.content-section {
    padding: 3rem 0 4rem;
    background: var(--white);
}

.main-content {
    max-width: 850px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text);
    margin: 2.5rem 0 3.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Article Cards */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.article-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.article-card-title a {
    color: var(--dark);
}

.article-card-title a:hover {
    color: var(--primary);
}

.article-card-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.article-card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Article Detail */
.article-detail {
    margin: 4rem 0;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.article-detail:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.article-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.article-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--primary-dark);
}

.article-title strong {
    font-weight: 800;
    color: var(--primary);
}

.article-meta {
    display: none;
}

.article-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 2px solid var(--light);
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content p:first-of-type {
    font-size: 1.125rem;
    color: var(--text);
    font-weight: 500;
}

.article-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--dark);
}

.article-content strong {
    color: var(--dark);
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 4px solid var(--primary);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4299e1 0%, #48bb78 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    font-size: 0.95rem;
}

.footer-nav {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-nav-column {
    min-width: 150px;
}

.footer-nav-column h5 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column li {
    margin-bottom: 0.75rem;
}

.footer-nav-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-nav-column a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    margin: 2.5rem 0 1.5rem;
}

.footer-copyright {
    text-align: center;
    padding-top: 1rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Interactive Elements */
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.related-card a:hover {
    color: var(--primary);
}

.cta-section a:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .article-detail {
        padding: 1.5rem;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-nav {
        gap: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .nav-main {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-detail {
        padding: 1.25rem;
        margin: 2.5rem 0;
    }
    
    .footer-main {
        flex-direction: column;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }
}
