/* ==========================================================================
   Приклад власного оформлення (Custom CSS)
   Ви можете відредагувати ці стилі або повністю замінити на свої.
   ========================================================================== */

/* 1. Загальний фон та шрифт сторінки */
body {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f1f5f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

/* 2. Шапка сайту */
.site-header {
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.65);
  border-bottom: 1px solid rgba(25, 25, 25, 0.08);
  padding: 0.75rem 1.25rem;
}

/* 3. Головна картка-контейнер */
.container {
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  padding: 2rem 1.75rem;
  margin: 2rem auto;
  max-width: 680px;
}

/* 4. Заголовок та опис */
.site-title {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-description {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* 5. Текстовий контент */
.content {
  color: #e2e8f0;
  line-height: 1.45;
  font-size: 1rem;
}

.content p {
  margin: 0.35em 0;
  line-height: 1.45;
}

.content a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content a:hover {
  color: #7dd3fc;
}

/* 6. Кнопки зв'язку та дії */
.contact-btn {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Ярко-зелёный цвет при наведении */
.contact-btn:hover {
    background: linear-gradient(135deg, #39ff14 0%, #00ff88 100%);
    color: #ffffff;
    border-color: #39ff14;
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 0 10px #39ff14,
        0 0 25px rgba(57, 255, 20, 0.8),
        0 0 40px rgba(0, 255, 136, 0.5);
}

/* Эффект при нажатии */
.contact-btn:active {
    transform: scale(0.97);
    box-shadow: 0 0 15px #39ff14;
}

/* 7. Калькулятор (якщо увімкнений) */
.calculator-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
}

.calc-card-title, .calc-result-sum {
  color: #38bdf8;
}



/* ==========================================
   MATRIX24 — COMPLETE NEON GREEN THEME
   ========================================== */

/* 1. ОБЩИЙ ФОН И ШРИФТ */
body {
    color: #00ff41;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
}

/* 2. ШАПКА САЙТА */
header.site-header {
    background: rgba(15, 23, 42, 0.1) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-bottom: 1px solid rgba(0, 255, 65, 0.15) !important;
}

/* 3. ОСНОВНОЙ КОНТЕЙНЕР */
main.container {
    background: rgba(15, 23, 42, 0.1) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border: 1px solid rgba(0, 255, 65, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.05) !important;
    color: #00ff41 !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 4. ЦЕНТРИРОВАНИЕ БРЕНДА И ЗАГОЛОВКА */
main.container .brand {
    width: 100% !important;
    text-align: center !important;
}

main.container .site-title {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    color: #00ff41 !important;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow:
        0 0 5px #00ff41,
        0 0 10px #00ff41,
        0 0 25px rgba(0, 255, 65, 0.8) !important;
}

/* 5. ОПИСАНИЕ И ТЕКСТ */
main.container .site-description,
main.container .content,
main.container .content p,
main.container h2,
main.container h3 {
    color: #8affad !important;
    text-align: center !important;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
    line-height: 1.5;
}

/* 6. ССЫЛКИ */
main.container a {
    color: #00ff41 !important;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

main.container a:hover {
    color: #ffffff !important;
    text-shadow:
        0 0 5px #00ff41,
        0 0 15px #00ff41 !important;
}

/* 7. КНОПКИ — ОБЫЧНОЕ СОСТОЯНИЕ */
a.contact-btn {
    position: relative !important;
    display: inline-block !important;
    background: rgba(15, 23, 42, 0.1) !important;
    color: #00ff41 !important;
    border: 2px solid rgba(0, 255, 65, 0.5) !important;
    border-radius: 999px !important;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 0 8px rgba(0, 255, 65, 0.1) !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
}

/* 8. КНОПКИ — ЯРКОЕ НЕОНОВОЕ СВЕЧЕНИЕ */
a.contact-btn:hover,
a.contact-btn:focus-visible {
    background: #39ff14 !important;
    color: #000000 !important;
    border-color: #39ff14 !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6) !important;
    box-shadow:
        0 0 5px #39ff14,
        0 0 15px #39ff14,
        0 0 30px #39ff14,
        0 0 50px rgba(57, 255, 20, 0.8) !important;
    transform: translateY(-2px) scale(1.05) !important;
}

/* 9. КНОПКИ — ЭФФЕКТ НАЖАТИЯ */
a.contact-btn:active {
    background: #00ff41 !important;
    color: #000000 !important;
    box-shadow:
        0 0 10px #39ff14,
        0 0 25px #39ff14 !important;
    transform: scale(0.97) !important;
}

/* 10. КАРТОЧКА КАЛЬКУЛЯТОРА */
.calculator-card {
    background: rgba(15, 23, 42, 0.1) !important;
    border: 1px solid rgba(0, 255, 65, 0.2) !important;
    border-radius: 12px !important;
    color: #8affad !important;
    text-align: center !important;
}

.calc-card-title,
.calc-result-sum {
    color: #00ff41 !important;
    text-align: center !important;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.4);
}

/* 11. ПОЛЯ ВВОДА */
input,
textarea,
select {
    background: rgba(15, 23, 42, 0.1) !important;
    color: #8affad !important;
    border: 1px solid rgba(0, 255, 65, 0.35) !important;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: #39ff14 !important;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.4) !important;
}

/* 12. ВЫДЕЛЕНИЕ ТЕКСТА */
::selection {
    background: rgba(0, 255, 65, 0.35);
    color: #ffffff;
}

/* 13. АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ */
@media (max-width: 768px) {
    main.container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }

    main.container .site-title {
        font-size: clamp(26px, 7vw, 42px) !important;
        letter-spacing: 3px;
    }

    a.contact-btn {
        margin: 5px !important;
        max-width: 100%;
    }
}