*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0c0c1d;
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 16px;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.app-site-header {
    background: rgba(12, 12, 29, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.app-brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.app-brand-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
}

.app-brand-title {
    font-size: 19px;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.app-main-nav {
    display: flex;
    gap: 4px;
    flex: 1;
}

.app-main-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.2s;
}

.app-main-nav a:hover {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
}

.app-action-group {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ==========================================
   BUTTONS
   ========================================== */
.app-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0c0c1d;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 26px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

.app-btn-outline {
    background: transparent;
    border: 2px solid #f59e0b;
    color: #f59e0b;
    box-shadow: none;
}

.app-btn-outline:hover {
    background: #f59e0b;
    color: #0c0c1d;
}

.app-btn-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    box-shadow: 0 2px 16px rgba(251, 191, 36, 0.3);
}

.app-btn-gold:hover {
    box-shadow: 0 6px 28px rgba(251, 191, 36, 0.5);
}

.app-btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* ==========================================
   HERO BANNER
   ========================================== */
.app-hero-banner {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 0%, #1a1a3e 0%, #0c0c1d 70%);
}

.app-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.app-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.app-status-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #0c0c1d;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.app-hero-content h1 {
    font-size: clamp(36px, 7vw, 56px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 2px 40px rgba(245, 158, 11, 0.15);
}

.app-hero-content p {
    font-size: 20px;
    color: #94a3b8;
    margin-bottom: 32px;
    font-weight: 500;
}

.app-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   LAYOUT & CONTENT
   ========================================== */
.app-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.app-article-body {
    max-width: 900px;
    margin: 0 auto;
}

.app-content-section {
    margin: 56px 0;
}

.app-content-section:first-child {
    margin-top: 0;
}

/* Typography & Lists */
h2 {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.3;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: #f59e0b;
    margin-top: 28px;
    margin-bottom: 14px;
}

p {
    color: #94a3b8;
    margin-bottom: 18px;
    line-height: 1.75;
}

strong {
    color: #e2e8f0;
    font-weight: 600;
}

.app-custom-list {
    margin: 20px 0;
    padding-left: 28px;
}

.app-custom-list li {
    color: #94a3b8;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* ==========================================
   TABLES
   ========================================== */
.app-table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.app-custom-table {
    width: 100%;
    border-collapse: collapse;
    color: #94a3b8;
}

.app-custom-table th,
.app-custom-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-custom-table th {
    color: #f59e0b;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.05);
}

/* ==========================================
   CTA & DISCLAIMER
   ========================================== */
.app-disclaimer {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 6px;
    color: #fbbf24;
    font-size: 14px;
    margin-top: 28px;
}

.app-disclaimer em {
    font-style: normal;
}

.app-final-cta {
    text-align: center;
    margin: 48px 0;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(217, 119, 6, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================
   FOOTER
   ========================================== */
.app-site-footer {
    background: #060612;
    color: #fff;
    padding: 48px 0 24px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-site-footer .app-wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

.app-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.app-footer-col h4 {
    color: #f59e0b;
    font-size: 15px;
    margin-bottom: 12px;
}

.app-footer-col p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 6px;
}

.app-footer-col a {
    display: block;
    color: #64748b;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 6px;
    transition: 0.2s;
}

.app-footer-col a:hover {
    color: #f59e0b;
}

.app-footer-copy {
    color: #475569;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    margin-top: 24px;
}

/* ==========================================
   RESPONSIVE (MOBILE)
   ========================================== */
@media (max-width: 768px) {
    .app-header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 20px;
    }

    .app-main-nav {
        display: none;
    }

    .app-brand-box {
        flex: 1;
    }

    .app-action-group {
        flex-shrink: 0;
    }

    .app-btn {
        padding: 9px 18px;
        font-size: 13px;
    }

    .app-content-section {
        margin: 36px 0;
    }

    h2 {
        font-size: 24px;
    }

    .app-hero-content h1 {
        font-size: 32px;
    }

    .app-hero-content p {
        font-size: 16px;
    }

    .app-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .app-hero-actions .app-btn,
    .app-final-cta .app-btn {
        margin: 4px 0;
        width: 100%;
        text-align: center;
    }

    .app-final-cta {
        flex-direction: column;
        padding: 24px 16px;
    }

    .app-footer-grid {
        grid-template-columns: 1fr;
    }
}
/* Контейнер для картинки в тексті */
.app-img-wrapper {
    margin: 28px 0;
    width: 100%;
    text-align: center;
}

/* Адаптивна картинка */
.app-fluid-img {
    max-width: 100%;    /* Не дозволяє картинці виходити за межі екрана */
    height: auto;        /* Зберігає пропорції при зменшенні */
    display: block;
    margin: 0 auto;
    border-radius: 8px;  /* Закруглення кутів (за бажанням) */
}

/* Підпис під картинкою */
.app-img-wrapper figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #64748b;
    text-align: center;
    font-style: italic;
}
@media (max-width: 768px) {
    /* Знімаємо жорстке обмеження за висотою для мобільної секції */
    .app-hero-banner {
        min-height: auto;
        height: auto;
        aspect-ratio: 16 / 9; /* Задає оптимальне співвідношення сторін */
        background: #0c0c1d;
    }

    /* Показуємо банер повністю без кропу */
    .app-hero-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: contain; /* Картинка вміщується повністю */
        object-position: center;
        opacity: 0.9; /* Можна збільшити видимість на мобільному */
    }
}