:root {
    --bg: #0d1117;
    --card-bg: #161b22;
    --accent: #58a6ff;
    --text: #e6edf3;
    --gray: #8b949e;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
    background: #0d1117; /* Твій основний темний */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(88, 166, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(88, 166, 255, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
}
.service-item {
    padding: 30px 20px !important;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}
.container {
    max-width: 1200px; /* Великий відступ від країв на великих моніторах */
    margin: 0 auto;
    padding: 0 40px; /* Бокові відступи */
}

/* HERO SECTION */
@media (max-width: 768px) {
    /* Підтягуємо все вгору */
    .hero {
        padding: 20px 0 40px 0 !important;
        min-height: auto !important;
    }

    .hero-content h1 {
        font-size: 1.6rem !important; /* щоб заголовок не "кричав" */
        margin-top: 10px;
    }

    /* КАРТКИ В ОДИН СТОВПЧИК (найважливіше) */
    .features, 
    .services-grid, 
    .steps-grid, 
    .reviews-grid, 
    .price-grid {
        display: flex !important;
        flex-direction: column !important; /* Картки стають одна під одну */
        align-items: center !important;
        gap: 15px !important;
    }

    /* Розтягуємо картки на всю ширину */
    .feature-card, 
    .service-item, 
    .step, 
    .review-card, 
    .price-card {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
    }

    /* Вирівнюємо текст у кроках (01, 02...) */
    .step {
        text-align: center;
        padding: 20px;
    }

    /* Робимо кнопки зручними для пальців */
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
}
/* КНОПКИ */

/* КАРТКИ (Переваги та Послуги) */
.features {
    display: flex;
    gap: 30px;
    margin-top: -50px; /* Наїзд на Hero для стилю */
}

.feature-card, .service-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #30363d;
    flex: 1;
}

/* СЕКЦІЯ КРОКІВ */
.steps-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}
.step span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}
.step p { color: var(--gray); font-size: 0.9rem; }

/* СЕКЦІЯ ЦІН */
.pricing { padding: 100px 0; text-align: center; }
.pricing h2 { margin-bottom: 50px; font-size: 2.5rem; }

.price-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.price-card {
    padding: 40px;
    width: 350px;
    text-align: left;
    transition: 0.4s;
}

.price-card.featured {
    border-color: var(--accent);
    background: rgba(88, 166, 255, 0.05);
}

.cost { font-size: 2.5rem; font-weight: 700; margin: 20px 0; }
.cost span { font-size: 1rem; color: var(--gray); }

.price-card ul { list-style: none; padding: 0; margin-bottom: 30px; }
.price-card li { margin-bottom: 15px; color: var(--gray); position: relative; padding-left: 20px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 60px 0 20px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer__about p {
  color: #ccc;
  line-height: 1.8;
}

.footer__contacts li,
.footer__socials li {
  margin-bottom: 10px;
  color: #ccc;
}

.footer__socials a {
  color: #fff;
  margin-right: 10px;
  border: 1px solid #444;
  padding: 8px 12px;
  border-radius: 5px;
  display: inline-block;
  transition: var(--transition);
}

.footer__socials a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #777;
}


/* Прибираємо підкреслення для всіх посилань на сайті */
a {
    text-decoration: none;
    color: inherit; /* Посилання будуть того ж кольору, що і текст навколо */
    transition: 0.3s;
}

/* Додаємо легкий ефект при наведенні, щоб було зрозуміло, що це посилання */
a:hover {
    color: var(--accent); /* Колір змінюється на наш блакитний при наведенні */
    opacity: 0.8;
}

/* Спеціально для списків у футері, якщо вони там є */
footer ul {
    list-style: none; /* Прибирає крапки біля списків */
    padding: 0;
}

footer a {
    display: inline-block;
    margin-bottom: 10px; /* Робимо невеликий відступ між посиланнями */
    color: var(--gray); /* Робимо їх трохи тьмянішими, щоб не відволікали */
}

footer a:hover {
    color: white; /* При наведенні стають яскраво-білими */
}

.order-section {
    padding: 100px 0;
}

.order-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.main-form input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #30363d;
    border-radius: 8px;
    color: white;
    outline: none;
}

.main-form input:focus {
    border-color: var(--accent);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}
/* CTA СТИЛІ */
.cta-section {
    padding: 80px 0;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.1), rgba(0, 0, 0, 0));
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 24px;
    gap: 40px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 500px;
}

/* Кнопка зі світінням (Glow Effect) */
.btn-glow {
    padding: 18px 35px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(88, 166, 255, 0.6);
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Адаптив для мобілок (наприклад, твоєї Мотороли) */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
}

html {
    scroll-behavior: smooth;
}

.final-form {
    padding: 100px 0;
}

.form-card {
    padding: 50px;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(88, 166, 255, 0.1);
}

.it-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.input-row {
    display: flex;
    gap: 20px;
}

.it-form input, .it-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #30363d;
    padding: 18px;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.it-form input:focus {
    border-color: var(--accent);
    background: rgba(88, 166, 255, 0.05);
}

.it-form textarea {
    height: 120px;
    resize: none;
}

/* Адаптив для твоєї Мотороли */
@media (max-width: 600px) {
    .input-row { flex-direction: column; }
    .form-card { padding: 30px 20px; }
} 
.reviews {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.review-stars {
    color: #ffcc00;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.author-info .name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.author-info .position {
    font-size: 0.8rem;
    color: var(--gray);
}

.hidden-step {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* --- МОБІЛЬНА АДАПТАЦІЯ --- */
@media (max-width: 768px) {
    /* 1. Виправляємо шапку (меню) */
    nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* 2. Hero секція */
    h1 {
        font-size: 1.8rem !important; /* зменшуємо заголовок, щоб не налазив */
        line-height: 1.2;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        text-align: center;
    }

    /* 3. Картки: робимо їх одну під одною */
    .features, .services-grid, .steps-grid, .reviews-grid, .price-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    /* 4. Відгуки та ціни */
    .review-card, .price-card {
        width: 100%;
        margin: 0 auto;
    }

    /* 5. Форма: вирівнюємо поля */
    .input-row {
        flex-direction: column;
        gap: 15px;
    }

    /* 6. Футер */
    .footer__grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer__socials ul {
        justify-content: center;
    }
}

/* Фікс відступів для всього сайту */
.container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

section {
    padding: 60px 0; /* додаємо повітря між секціями */
}