@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: #673ab7;
    --primary-dark: #512da8;
    --primary-light: #9575cd;
    --accent: #ff6f00;
    --accent-light: #ffb74d;
    --dark: #212121;
    --dark-light: #424242;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #333333;
    --text-light: #757575;
    --border: #e0e0e0;
    --success: #4caf50;
}

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

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

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

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

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #f8f9fa;
    color: var(--text);
    padding: 0.75rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

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

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

.header-top-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.header-top-links a:hover {
    color: var(--primary);
}

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

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

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--primary);
}

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

.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(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-banner {
    background: #ffffff;
    color: var(--text);
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: #f0f0f0;
    color: var(--text);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 800px;
    margin: 3rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

/* Content Section */
.content-section {
    padding: 3rem 0;
}

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

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

/* Table of Contents */
.table-of-contents {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.toc-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.toc-item {
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.toc-item:hover {
    border-left-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.toc-item a {
    color: var(--text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-number {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Article Section */
.article-section {
    margin: 4rem 0;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.article-number {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.article-title {
    font-size: 2.2rem;
    display: inline-block;
    vertical-align: middle;
}

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

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

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

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

/* CTA Box */
.cta-box {
    background: #f8f9fa;
    color: var(--text);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 4rem 0;
    border: 2px solid var(--border);
}

.cta-box h3 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials-section {
    margin: 4rem 0;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.about-section {
    padding: 3rem 0;
}

/* Footer */
.footer {
    background: #f8f9fa;
    color: var(--text);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-section h4 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.footer-bottom-left {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-bottom-left a {
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-bottom-left a:hover {
    color: var(--primary);
}

.footer-bottom-right {
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-location {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.footer-location::before {
    content: "en ";
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-main {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-left {
        justify-content: center;
    }
}
