/* CSS Reset and Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a1a1a;
    min-height: 100vh;
    scroll-behavior: smooth;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Вирівнювання - ВАЖЛИВО ДЛЯ GEO ТА UX */
.u-align-center {
    text-align: center;
}

/* Перевизначення u-текстів */
.u-text-title { font-size: 1.8rem; font-weight: 700; color: #f1c40f; }
.u-text-hero { font-size: 3rem; font-weight: 700; margin-bottom: 20px; }
.u-text-subtitle { font-size: 1.2rem; margin-bottom: 40px; color: #cccccc; }
.u-text-heading { font-size: 2.2rem; font-weight: 600; margin-bottom: 40px; text-align: center; color: #f1c40f; }
.u-text-body { font-size: 1rem; margin-bottom: 15px; color: #dddddd; max-width: 800px; margin-left: auto; margin-right: auto; }
.u-text-feature { font-size: 1.5rem; font-weight: 700; color: #f1c40f; margin-bottom: 10px; }

/* Кнопки */
.u-btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.u-btn-primary {
    background-color: #3498db;
    color: #ffffff;
}

.u-btn-primary:hover {
    background-color: #2980b9;
}

.u-btn-submit {
    background-color: #f1c40f;
    color: #1a1a1a;
    font-weight: 600;
}

.u-btn-submit:hover {
    background-color: #e6b300;
}

/* Контейнери та Секції */
.u-sheet {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.u-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.u-section {
    padding: 60px 0;
    border-bottom: 1px solid #333333;
}

/* Header */
.u-header {
    background-color: #2c3e50;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.u-header .u-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.u-logo-image {
    margin-right: 10px;
}

.u-nav a {
    color: #ecf0f1;
    text-decoration: none;
    margin-left: 20px;
}

.u-nav a:hover {
    color: #f1c40f;
}

/* Services Grid */
.u-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.u-service-item {
    flex-basis: calc(33% - 20px);
    background-color: #333333;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    min-width: 250px;
}

/* FAQ STYLES */
.u-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.u-faq-item {
    background-color: #262626;
    border: 1px solid #333333;
    border-left: 4px solid #f1c40f;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.u-faq-item:hover {
    background-color: #2d2d2d;
    transform: translateX(5px);
}

.u-faq-item h3::before {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #f1c40f;
    color: #1a1a1a;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Form Section */
.u-section-form {
    background-color: #1a1a1a;
}

.u-form {
    max-width: 500px;
    margin: 30px auto 0;
    padding: 30px;
    background-color: #333333;
    border-radius: 8px;
}

.u-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.u-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #555555;
    border-radius: 5px;
    background-color: #444444;
    color: #ffffff;
    font-size: 1rem;
}

.u-form-message {
    margin-top: 10px;
    font-weight: 600;
}

.u-text-success { color: #2ecc71; }
.u-text-error { color: #e74c3c; }
.u-hidden { display: none; }

/* Footer */
.u-footer {
    background-color: #2c3e50;
    padding: 20px 0;
    font-size: 0.9rem;
    color: #cccccc;
}

@media (max-width: 768px) {
    .u-sheet { flex-direction: column; }
    .u-nav { margin-top: 15px; }
    .u-nav a { margin: 0 5px; display: block; padding: 5px 0; }
    .u-text-hero { font-size: 2.5rem; }
    .u-grid { flex-direction: column; align-items: center; }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.feature-card-main {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}
.feature-card-main:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.u-btn-link {
    display: inline-block;
    margin-top: 15px;
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 600;
}