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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

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

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Ad Notice */
.ad-notice {
    background-color: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid #e9ecef;
}

/* Navigation */
.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
}

/* Editorial Content Layout */
.editorial-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px;
}

.article-hero {
    margin-bottom: 56px;
}

.article-hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.intro-text {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-image {
    width: 100%;
    margin-top: 32px;
    border-radius: 8px;
}

.article-body {
    margin-top: 48px;
}

.content-block {
    margin-bottom: 48px;
}

.content-block h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.content-block h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.content-block p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #444;
}

.inline-image {
    margin: 40px 0;
    border-radius: 8px;
}

.inline-cta {
    margin: 32px 0;
    text-align: center;
}

.cta-link {
    display: inline-block;
    color: #3498db;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #3498db;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    background-color: #3498db;
    color: #ffffff;
}

/* Course Preview */
.course-preview {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.course-item {
    padding: 32px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.course-item h3 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 16px;
    color: #2c3e50;
}

.course-item p {
    font-size: 16px;
    margin-bottom: 16px;
    color: #555;
}

.price {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #27ae60;
    margin-top: 16px;
}

.inline-cta-button {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 6px;
    margin-top: 24px;
    transition: background-color 0.3s ease;
}

.inline-cta-button:hover {
    background-color: #2980b9;
    color: #ffffff;
}

/* Testimonials */
.testimonial {
    margin: 32px 0;
    padding: 28px;
    background-color: #ecf0f1;
    border-left: 4px solid #95a5a6;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
}

.testimonial cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 15px;
    color: #7f8c8d;
}

/* Form Styles */
.course-form {
    margin: 40px 0;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.submit-button {
    background-color: #27ae60;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #229954;
}

/* References Section */
.references-section {
    margin-top: 56px;
    padding: 32px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.references-section h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.reference-list {
    margin-left: 20px;
    font-size: 15px;
    line-height: 1.8;
}

.reference-list li {
    margin-bottom: 12px;
}

.reference-list a {
    color: #3498db;
    word-break: break-all;
}

/* Disclaimer Box */
.disclaimer-box {
    margin: 48px 0;
    padding: 24px;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
}

.disclaimer-box strong {
    color: #856404;
}

/* Page Header */
.page-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e9ecef;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

/* Services Page */
.service-detail {
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.service-price {
    font-size: 32px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 20px;
}

.service-detail ul {
    margin: 24px 0;
    padding-left: 24px;
    font-size: 17px;
    line-height: 1.8;
}

.service-detail li {
    margin-bottom: 12px;
}

.service-image {
    margin: 32px 0;
    border-radius: 8px;
}

/* CTA Section */
.cta-section {
    margin: 56px 0;
    padding: 48px 40px;
    background-color: #3498db;
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 24px;
    color: #ffffff;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #3498db;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #ecf0f1;
    color: #2980b9;
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: #3498db;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #3498db;
    border-radius: 6px;
    margin-left: 16px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #3498db;
    color: #ffffff;
}

/* About Page */
.styled-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.styled-list li {
    margin-bottom: 20px;
    padding-left: 32px;
    position: relative;
    font-size: 17px;
    line-height: 1.7;
}

.styled-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Contact Page */
.contact-info-section {
    margin: 48px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-block {
    padding: 32px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-block h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.contact-block p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.note {
    font-size: 15px;
    color: #7f8c8d;
    margin-top: 12px;
}

/* Thanks Page */
.thanks-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.thanks-content h1 {
    font-size: 42px;
    margin-bottom: 24px;
    color: #27ae60;
}

.thanks-message {
    font-size: 20px;
    margin-bottom: 32px;
    color: #555;
}

.thanks-info {
    margin: 32px 0;
}

.selected-service {
    font-size: 18px;
    color: #2c3e50;
    padding: 16px;
    background-color: #e8f5e9;
    border-radius: 6px;
}

.next-steps {
    margin: 40px 0;
    padding: 32px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: left;
}

.next-steps h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.next-steps ol {
    margin-left: 24px;
    font-size: 17px;
    line-height: 1.8;
}

.next-steps li {
    margin-bottom: 12px;
}

.thanks-actions {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Pages */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px;
}

.legal-content h1 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #2c3e50;
}

.legal-section h3 {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #2c3e50;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #444;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.7;
}

.legal-section li {
    margin-bottom: 8px;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    font-size: 15px;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e9ecef;
}

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    margin-top: 80px;
    padding: 48px 24px 24px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul a {
    color: #bdc3c7;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid #34495e;
    text-align: center;
    font-size: 14px;
    color: #95a5a6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 24px;
    z-index: 1000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-content a {
    color: #3498db;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: #27ae60;
    color: #ffffff;
}

.cookie-btn.accept:hover {
    background-color: #229954;
}

.cookie-btn.reject {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cookie-btn.reject:hover {
    background-color: #34495e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .intro-text {
        font-size: 18px;
    }

    .content-block h2 {
        font-size: 26px;
    }

    .content-block p {
        font-size: 16px;
    }

    .course-item {
        padding: 24px;
    }

    .course-form {
        padding: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .thanks-actions {
        flex-direction: column;
    }

    .secondary-button {
        margin-left: 0;
    }

    .cta-section {
        padding: 32px 24px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .service-detail h2 {
        font-size: 26px;
    }

    .legal-content h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 24px;
    }
}