/* -------------------------------------------------------------------------- */
/* 1. VARIABLES & CONFIGURATION (2026 Standards)                             */
/* -------------------------------------------------------------------------- */
:root {
    /* Color Palette (OKLCH for wider gamut & better gradients) */
    --color-primary: oklch(0.98 0.13 109.4);    /* Deep Intelligent Blue */
    --color-primary-dark: oklch(95.763% 0.1864 107.502);
    --color-accent: oklch(75% 0.18 55);     /* Energetic Orange/Amber */
    --color-bg-body: oklch(22.645% 0.00003 271.152);        /* Clean Paper White */
    --color-bg-surface: oklch(95% 0.01 260);/* Slight cool tint */
    --color-text-main: oklch(100% 0.00011 271.152); /* Deep Charcoal */
    --color-text-muted: oklch(0.92 0 0);
    --color-border: oklch(90% 0.02 260);

    /* Typography (Fluid Sizing) */
    --font-main: system-ui, -apple-system, sans-serif;
    --font-heading: "Inter", system-ui, sans-serif;
    
    --fs-h1: clamp(2rem, calc(4vw + 1rem), 3rem);
    --fs-h2: clamp(1.75rem, calc(3vw + 1rem), 3rem);
    --fs-h3: clamp(1.25rem, calc(2vw + 0.5rem), 1.75rem);
    --fs-body: clamp(1rem, calc(0.5vw + 0.9rem), 1.125rem);

    /* Spacing & Layout */
    --spacing-container: clamp(1rem, 5vw, 4rem);
    --spacing-block: clamp(3rem, 8dvmin, 8rem);
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --width-container: 780px;
}

/* -------------------------------------------------------------------------- */
/* 2. RESET & BASE STYLES                                                    */
/* -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}
.pidpiska {
    width: fit-content;
    margin: auto;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* -------------------------------------------------------------------------- */
/* 3. UTILITIES & LAYOUT                                                     */
/* -------------------------------------------------------------------------- */
.container {
    width: 100%;

    max-width: var(--width-container);
    margin-inline: auto;
    padding-inline: var(--spacing-container);
    /* Set container for container queries inside */
    container-type: inline-size;
}

section {
    padding-block: var(--spacing-block);
}

ul.feature-list {
    max-width: 600px;
    font-size: large;
    padding: 0 0 0 20px;
    margin: 0 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    text-wrap: balance; /* 2026 Standard for balanced headlines */
    margin-block-end: 1rem;
}

h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); margin-block-end: 2rem; }
h3 { font-size: var(--fs-h3); }

p {
    font-size: var(--fs-body);
    margin-block-end: 1.5rem;
    max-width: 65ch; /* Optimal readability length */
}

.dlia_kogo {
    background: #b3ffc233;
    width: fit-content;
    border-radius: 8px;
    padding: 0 0 0;
    border: 1px solid #97ff6e;
    margin: 0 auto 25px;
}
.dlia_kogo p {
    padding: 15px 15px 0;
}
.dlia_kogo p b {
    display: block;
}
.pidpiska {
    display: block;
    width: fit-content;
    margin: 0 auto 0;
}
img.mi-card-img {
    height: 50px;
    margin: -5px 10px 0 0px;
    float: left;
    padding: 0;
}
article.card h3 {
    font-size: large;
}

img.protokol_img {
    margin: 0 auto 30px;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1em 2em;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cta-button.primary {
    background-color: var(--color-primary);
    color: rgb(0, 0, 0);
    margin: 0 auto;
    display: block;
    text-align: center;
    width: fit-content;
}

.cta-button.primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px oklch(45% 0.2 260 / 0.3);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    margin: 0 auto;
    display: block;
    text-align: center;
        width: fit-content;
}

.cta-button.secondary:hover {
    background-color: var(--color-primary);
    color: #000000;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--color-border);
    margin-block: 2rem;
    width: 100%;
    max-width: var(--width-container);
    margin-inline: auto;
}

footer.final-cta p {
    margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/* 4. COMPONENT STYLES                                                       */
/* -------------------------------------------------------------------------- */

/* Hero Section */
.hero-section {
    min-height: 80dvh;
    display: flex;
    align-items: center;
    background: #141414;
    padding-block: var(--spacing-block);
        text-align: center;
            padding: 150px 0 100px;
}

.eyebrow {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-block-end: 1rem;
    font-size: 1.5rem;
    text-align: center;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    line-height: normal;
}

.lead {
    font-size: 1.25em;
    color: var(--color-text-muted);
    font-weight: 500;
}

p.header_pid_knopka {
    font-size: 0.9em;
    line-height: normal;
    margin: 20px auto 0;
}

/* Cards Grid (Symptoms) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-block: 3rem;
}

.card {
    
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.highlight-text {
    font-weight: 600;
    border-left: 4px solid var(--color-accent);
    padding-inline-start: 1.5rem;
    font-style: italic;
}

/* Pillars */
.pillars {
    display: grid;
    gap: 2rem;
    margin-block: 3rem;
}

@container (min-width: 700px) {
    .pillars {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pillar-item h3 {
    color: var(--color-primary);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-block: 3rem;
}

@container (min-width: 700px) {
    .process-steps {
        flex-direction: row;
    }
}

.step {
    flex: 1;
    position: relative;
    padding-top: 1rem;
    border-top: 2px solid var(--color-border);
}

.step-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-border);
    line-height: 1;
    margin-block-end: 0.5rem;
}

/* Badge for Levels */
.badge {
    display: inline-block;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    margin-block-end: 1rem;
    border: 1px solid;
}

/* Comparison Table */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background: oklch(0.43 0.05 229.65);
    font-weight: 700;
}

tr:last-child td {
    border-bottom: none;
}

.price-free {
    color: var(--color-primary);
    font-weight: 700;
}

.table-btn {
    text-decoration: underline;
    color: var(--color-text-main);
    font-weight: 600;
}

a {
    color: antiquewhite;
}

/* Author */
.author-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@container (min-width: 800px) {
    .author-layout {
        grid-template-columns: 1.5fr 1fr;
    }
    .author-image {
        order: 2;
    }
}

.author-image img {
    border-radius: var(--radius-md);
    background-color: var(--color-border); /* Placeholder background */
    object-fit: cover;
        margin: 0 auto 20px;
    max-width: 300px;
    width: 100%;
}

/* FAQ Accordion */
.section-faq {
    background-color: oklch(0.32 0 0);
}

.faq-grid {
    max-width: 800px;
    margin-inline: auto;
}

details {
    background: #1c1c1c;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.2s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-muted);
}

/* Final CTA */
.final-cta {
    background: oklch(0.26 0 0);
    color: white;
    padding-block: var(--spacing-block);
    text-align: center;
}

.final-cta h2 {
    color: white;
}

.final-cta .cta-button {
    margin-top: 2rem;
    background: var(--color-accent);
    color: var(--color-text-main);
}

.final-cta .cta-button:hover {
    background: #378c00;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #2481cc; /* Офіційний колір Telegram */
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin: 0 0 10px;
  }

  .telegram-button:hover {
    background-color: #1c66a6; /* Темніший відтінок при наведенні */
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }

  .telegram-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .telegram-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .instagram-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Фірмовий градієнт Instagram */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    transition: transform 0.1s ease, box-shadow 0.2s ease, opacity 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .instagram-button:hover {
    opacity: 0.9; /* Легка прозорість при наведенні */
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  }

  .instagram-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .instagram-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  h1.audit_h2 {
    font-size: 3em;
}
h1.audit_h2.audit_hocu {
    color: #fff5a1;
}

.audit-body{
    background: #000;
}
@media (max-width: 575px) {
    h1.audit_h2 {
        font-size: 2.2em;
    }
.hero-section {
    padding: 100px 0 100px;
}

}

span.vidguku_sertifikati {
    display: block;
    margin: 10px auto 0;
    width: fit-content;
}