/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b9d;
    --primary-dark: #e55a8a;
    --secondary-color: #ffd93d;
    --accent-color: #6bcf7f;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.9;
}

.nav-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: #ffd020;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.5);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-header {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

.btn-footer {
    width: 100%;
    max-width: 200px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-content {
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    margin-bottom: 2rem;
    display: inline-block;
    min-width: 250px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4), 0 0 0 0 rgba(255, 217, 61, 0.7);
    }
    50% {
        box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4), 0 0 0 10px rgba(255, 217, 61, 0);
    }
}

.hero-image-placeholder {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 300px;
    object-fit: cover;
}

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

.toc {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.toc-list li {
    padding-left: 1.5rem;
    position: relative;
}

.toc-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.toc-list a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.toc-list a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.article {
    max-width: 800px;
    margin: 0 auto;
}

.article h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    padding-top: 1rem;
    border-top: 3px solid var(--primary-color);
}

.article h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.article h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
}

.article h5 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.article p {
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.article a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.article a:hover {
    border-bottom-color: var(--primary-color);
}

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

/* E-E-A-T Blocks */
.e-e-a-t-block {
    background: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.expertise-block {
    border-left-color: #4a90e2;
}

.authority-block {
    border-left-color: #f39c12;
}

.trust-block {
    border-left-color: #27ae60;
}

.e-e-a-t-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.e-e-a-t-content {
    flex: 1;
}

.e-e-a-t-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.e-e-a-t-content p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Images */
.image-placeholder {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.content-image {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    min-height: 250px;
    object-fit: cover;
}

/* FAQ */
.faq-item {
    background: var(--bg-light);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Testimonial */
.testimonial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary-color);
}

.testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: white;
}

.testimonial cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    opacity: 0.9;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }

    .article h2 {
        font-size: 1.5rem;
    }

    .article h3 {
        font-size: 1.25rem;
    }

    .e-e-a-t-block {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .toc {
        padding: 1.5rem;
    }

    .article {
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .toc-section {
        display: none;
    }

    .article {
        max-width: 100%;
    }
}

