* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #4a4a4a;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #a8c8ec 0%, #b8d4f0 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255,255,255,0.3);
}

main {
    background: #ffffff;
    margin: 30px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 {
    color: #5a7fa8;
    font-size: 2.5em;
    margin-bottom: 20px;
    border-bottom: 3px solid #b8d4f0;
    padding-bottom: 15px;
}

h2 {
    color: #6b8db8;
    font-size: 1.8em;
    margin-top: 35px;
    margin-bottom: 15px;
}

h3 {
    color: #7a9bc2;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 12px;
}

p {
    margin-bottom: 18px;
    text-align: justify;
}

img, .icon-svg {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.icon-svg {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 200px;
    margin: 20px auto;
    background: linear-gradient(135deg, #e8f4f8 0%, #d4e8f0 100%);
    padding: 20px;
    border-radius: 8px;
}

ul, ol {
    margin: 20px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 10px;
}

.quick-answer {
    background: #e8f4f8;
    padding: 25px;
    border-left: 5px solid #5a7fa8;
    margin: 25px 0;
    border-radius: 5px;
}

.key-takeaways {
    background: #f0f8e8;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.key-takeaways h2 {
    margin-top: 0;
    color: #6b8db8;
}

.faq {
    background: #fff8e8;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.faq h2 {
    margin-top: 0;
    color: #6b8db8;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item strong {
    color: #5a7fa8;
    display: block;
    margin-bottom: 8px;
}

.glossary {
    background: #f5f0f8;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.glossary h2 {
    margin-top: 0;
    color: #6b8db8;
}

.glossary dt {
    font-weight: bold;
    color: #5a7fa8;
    margin-top: 15px;
}

.glossary dd {
    margin-left: 20px;
    margin-bottom: 10px;
}

.share-block {
    background: #e8f4f8;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin: 30px 0;
}

.share-block a {
    color: #5a7fa8;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
}

footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 30px 0;
    margin-top: 50px;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

footer nav ul {
    gap: 20px;
}

footer nav a {
    color: #ecf0f1;
}

footer .social {
    display: flex;
    gap: 15px;
}

footer .social a {
    color: #ecf0f1;
    text-decoration: none;
}

.internal-link {
    color: #5a7fa8;
    font-weight: 600;
    text-decoration: underline;
}

.contact-info {
    background: #f0f8e8;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.contact-info h3 {
    margin-top: 0;
    color: #5a7fa8;
}

/* Modal Styles */
.modal-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(44, 62, 80, 0.7) !important;
    z-index: 99999 !important;
    justify-content: center !important;
    align-items: center !important;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: flex !important;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    height: 90%;
    max-height: 90vh;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    animation: slideIn 0.3s ease;
    border: 2px solid #b8d4f0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-content h2 {
    color: #5a7fa8;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 2px solid #b8d4f0;
    padding-bottom: 10px;
}

.modal-content p {
    color: #4a4a4a;
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.modal-content li {
    margin-bottom: 10px;
    color: #4a4a4a;
}

.modal-button {
    background: linear-gradient(135deg, #5a7fa8 0%, #6b8db8 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(90, 127, 168, 0.3);
    width: 100%;
    max-width: 200px;
    align-self: center;
}

.click-counter {
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    color: #5a7fa8;
    font-size: 1.1em;
}

.modal-button:hover {
    background: linear-gradient(135deg, #6b8db8 0%, #7a9bc2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(90, 127, 168, 0.4);
}

.modal-button:active {
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

