/* --- START: GLOBAL AND LAYOUT STYLES --- */
:root {
    --dark-charcoal: #111827;
    --page-bg: #f3f4f6;
    --card-bg-1: #eef2ff; /* Light Indigo */
    --card-bg-2: #f0fdf4; /* Light Green */
    --card-bg-3: #fefce8; /* Light Yellow */
    --card-bg-4: #fdf2f8; /* Light Pink */
}
body {
    background-color: var(--page-bg);
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    margin: 0;
    font-size: 16px; /* Set a base font size for readability */
    position: relative;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.header-block {
    background-color: #fff;
    border-bottom: 2px solid #000;
    padding: 2rem 1rem;
    text-align: center;
}
.header-block h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #000;
    margin: 0;
    letter-spacing: 1.5px;
}
.language-nav {
    margin-top: 1.5rem;
    word-spacing: 0.5rem;
}
.language-nav a {
    color: #444;
    font-weight: 600;
    text-decoration: none;
    padding: 0 0.5rem;
    font-size: 1rem;
}
.content-section {
    padding: 2rem 0;
}
.section-title {
    text-align: center;
    font-weight: 700;
    color: var(--dark-charcoal);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}
.footer {
    background: #000;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}
.footer .social-media a { color: #fff; margin: 0 10px; font-size: 1.5rem; }
.footer h6 { font-size: 1.2rem; font-weight: bold; }
.copyright a {
    color: #F1E48A; /* Light yellow link color */
    text-decoration: underline;
}
/* --- END: GLOBAL AND LAYOUT STYLES --- */


/* --- START: INTRO SECTION REFORMAT STYLES --- */
.homepage-intro p, .homepage-intro li {
    line-height: 1.6;
}
.intro-section-block {
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
}
.intro-section-block h3 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--dark-charcoal);
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.75rem;
}
.intro-section-block ul {
    list-style: none;
    padding-left: 0;
}
.intro-section-block ul li {
    padding-left: 2rem;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%23e53e3e"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z" clip-rule="evenodd" /></svg>');
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.intro-section-block.advantage-block ul li {
     background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%2338a169"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" /></svg>');
}
.author-block {
    background-color: #fff;
}
.comparison-table {
    border-collapse: collapse;
    width: 100%;
    margin: 2rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 1rem;
    border: 1px solid #e2e8f0;
}
.comparison-table thead {
    background-color: var(--dark-charcoal);
    color: #fff;
}
.comparison-table th {
    text-align: left;
    font-size: 1.1rem;
}
/* --- END: INTRO SECTION REFORMAT STYLES --- */


/* --- START: KNOWLEDGE BASE LINKS --- */
.knowledge-links {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 1rem; 
    padding: 1rem 0;
}
.knowledge-link {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 2px solid;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-color: var(--link-color);
    color: var(--link-color);
}
.knowledge-link:hover {
    background-color: var(--link-color);
    color: #fff;
}
.knowledge-link.color-red { --link-color: #d9534f; }
.knowledge-link.color-blue { --link-color: #0275d8; }
.knowledge-link.color-green { --link-color: #5cb85c; }
/* --- END: KNOWLEDGE BASE LINKS --- */


/* --- START: FAQ ACCORDION STYLES --- */
.accordion-button {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1rem; /* Increased font size */
    font-weight: 600;
    transition: 0.4s;
    margin-bottom: 5px;
    border-radius: 5px;
}
.accordion-button.active, .accordion-button:hover {
    opacity: 0.8;
}
.accordion-panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
}
.accordion-panel p {
    margin: 15px 0;
    font-size: 1rem; /* Increased font size */
    line-height: 1.6;
}
.color-1 { background-color: #fadbd8; }
.color-2 { background-color: #d6eaf8; }
.color-3 { background-color: #d1f2eb; }
.color-4 { background-color: #fdebd0; }
.color-5 { background-color: #e8daef; }
/* --- END: FAQ ACCORDION STYLES --- */


/* --- START: PRICING TABLE STYLES --- */
.pricing-tier-wrapper {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding: 3rem 1rem;
    width: 100%;
}
.pricing-tier-container {
    max-width: 1140px !important;
    margin: 0 auto !important;
}
.pricing-tier-header {
    text-align: center;
    margin-bottom: 3rem;
}
.pricing-tier-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem;
}
.pricing-tier-header p {
    font-size: 1.1rem;
    color: #4b5563;
    margin: 0;
}
.pricing-tier-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 2rem !important;
}
.pricing-tier-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 1 300px !important;
    max-width: 350px !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}
.pricing-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.pricing-tier-content {
    flex-grow: 1 !important;
}
.is-gold {
    border: 2px solid #fbbd23;
    box-shadow: 0 0 20px 7px rgba(251, 189, 35, 0.4);
}
.is-platinum {
    border: 2px solid #ef4444;
    box-shadow: 0 0 25px 10px rgba(239, 68, 68, 0.5);
}
.pricing-tier-content h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.pricing-tier-description {
    text-align: center;
    color: #4b5563;
    margin: 0 auto 1.5rem;
    min-height: 40px; 
}
.pricing-tier-price-block {
    text-align: center;
    margin-bottom: 2rem;
}
.pricing-tier-amount {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
}
.pricing-tier-tagline {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-top: 0.25rem;
}
.pricing-tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.pricing-tier-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.pricing-tier-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.75rem;
    flex-shrink: 0;
}
.pricing-tier-button {
    display: inline-block !important;
    width: auto !important;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d1d5db;
    background-color: #f3f4f6;
    color: #1f2937;
    margin: 1rem auto 0 auto !important;
    transition: background-color 0.2s;
}
.pricing-tier-button:hover {
    background-color: #e5e7eb;
}
.is-gold-button {
    background-color: #fbbd23;
    border-color: #fbbd23;
    color: #111827;
}
.is-gold-button:hover {
    background-color: #fca510;
}
.is-platinum-button {
    background-color: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}
.is-platinum-button:hover {
    background-color: #dc2626;
}
/* --- END: PRICING TABLE STYLES --- */


/* --- START: MICROCHIP (PuntoTitovOS) STYLES --- */
.microchip-section {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 2rem 1rem;
    margin: 3rem auto;
    max-width: 900px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
}
.microchip-section .section-title,
.microchip-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.microchip-section p {
    font-size: 1.1rem;
    color: #5a6877;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.microchip-body {
    display: inline-block;
    background-color: #1c2533;
    padding: 20px;
    border-radius: 12px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6), 0 5px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid #34495e;
}
.grid {
    display: grid;
    grid-template-columns: repeat(10, 30px);
    gap: 5px;
}
.px {
    width: 30px;
    height: 30px;
    background: linear-gradient(145deg, #3498db, #2980b9);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #2c3e50;
}
.px:hover {
    transform: scale(1.1) translateY(-3px);
    background: linear-gradient(145deg, #5dade2, #3498db);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.4);
    z-index: 10;
    position: relative;
}
#info-popup {
    position: absolute;
    display: none;
    background-color: white;
    color: #2c3e50;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    max-width: 280px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
    border-top: 4px solid #3498db;
    pointer-events: none;
}
/* --- END: MICROCHIP (PuntoTitovOS) STYLES --- */


/* --- START: MEDIA QUERIES FOR RESPONSIVENESS --- */
@media (max-width: 900px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 769px) {
    .pricing-tier-grid {
      flex-wrap: nowrap !important;
    }
    .pricing-tier-card {
      flex: 1 1 0 !important;
      max-width: 350px !important;
    }
}
@media (max-width: 768px) {
    .pricing-tier-card {
      flex: 0 1 100% !important;
      max-width: 100% !important;
    }
    .microchip-section {
        padding: 1.5rem 1rem;
        margin: 2rem auto;
    }
    .microchip-section h2 { font-size: 1.6rem; }
    .microchip-section p { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .microchip-body { padding: 12px; }
    .grid { gap: 4px; }
    .px {
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 4px;
    }
    .px:hover {
        transform: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }
    #info-popup {
        max-width: 85vw;
        font-size: 0.9rem;
        padding: 12px 15px;
    }
}
@media (max-width: 600px) {
    .header-block h1 { font-size: 2rem; }
    .language-nav { word-spacing: 0; }
    .language-nav a { display: inline-block; padding: 0.2rem 0.4rem; }
    .section-title { font-size: 1.8rem; }
    .pricing-tier-card { padding: 1.5rem; }
    .intro-section-block { padding: 1.5rem 1rem; }
}
/* --- END: MEDIA QUERIES FOR RESPONSIVENESS --- */