:root {
    --bg-main: #FFFFFF;
    --bg-secondary: #F3F4F6;
    --text-dark: #111827;
    --text-muted: #6B7280;
    --accent-purple: #7B2DFF;
    --border-color: #E5E7EB;
    --radius: 12px;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.2s ease-in-out;
}

/* --- Загальні стилі --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    background-color: var(--bg-main);
    color: var(--text-dark);
}
.container { width: 90%; max-width: 800px; /* Вужчий контейнер для стрічки */ margin: 0 auto; }
img { display: block; max-width: 100%; height: auto; }

/* --- Хедер --- */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); text-decoration: none; }
.navigation { display: flex; gap: 2rem; }
.navigation a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: var(--transition); }
.navigation a:hover { color: var(--accent-purple); }
.burger { display: none; cursor: pointer; background: none; border: none; padding: 0; }
.burger span { display: block; width: 24px; height: 3px; background-color: var(--text-dark); margin: 5px 0; transition: var(--transition); border-radius: 3px; }

/* --- Головна секція --- */
.main-content { padding: 3rem 0; }
.hero { text-align: center; margin-bottom: 4rem; }
.main-title { font-size: clamp(2rem, 6vw, 4rem); margin-top: 0; margin-bottom: 1rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.main-title .highlight { color: var(--accent-purple); }
.subtitle { font-size: clamp(1rem, 3vw, 1.1rem); color: var(--text-muted); margin: 0 auto; max-width: 600px; }
.anchor { display: block; position: relative; top: -100px; visibility: hidden; }

/* --- Стрічка пропозицій --- */
.offers-list {
    display: grid;
    grid-template-columns: 1fr; /* Завжди одна колонка */
    gap: 2.5rem;
}
.offer-card {
    background: var(--bg-main);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.offer-card:hover { box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07); transform: scale(1.02); }

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.offer-avatar {
    width: 100px;
    height: 70px;
    padding: 3px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}
.offer-avatar img { width: 100%; height: 100%; object-fit: contain; }
.company-name { font-size: 1.1rem; font-weight: 700; }
.company-name span { display: block; font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

.card-banner {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body { padding: 1.5rem; padding-top: 0;}
.offer-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}
.metric-item .value { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); }
.metric-item .value span { font-size: 1rem; font-weight: 500; }
.metric-item .label { font-size: 0.8rem; color: var(--text-muted); }

.cta-button {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-main);
    background-color: var(--accent-purple);
    border-radius: var(--radius);
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
}
.cta-button:hover { background-color: #6218de; transform: translateY(-2px); }

/* --- FAQ --- */
.faq { margin-top: 4rem; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 2.5rem; }
.accordion { max-width: 100%; display: flex; flex-direction: column; gap: 1rem; }
.accordion-item { border: 1px solid var(--border-color); border-radius: var(--radius); }
.accordion-header { cursor: pointer; padding: 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.accordion-title { font-size: 1.1rem; font-weight: 700; margin: 0; }
.arrow-accord { width: 10px; height: 10px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: var(--transition); }
.accordion-item.active .arrow-accord { transform: rotate(225deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; padding: 0 1.25rem; color: var(--text-muted); }
.accordion-item.active .accordion-content { padding-bottom: 1.25rem; }

/* --- Footer --- */
.footer { background-color: var(--bg-secondary); padding: 3rem 0; margin-top: 4rem; text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer-disclaimer { max-width: 600px; margin: 0 auto 2rem; color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); text-decoration: none; }

/* --- Лоадер та помилки --- */
.loader { width: 40px; height: 40px; border: 4px solid #E5E7EB; border-top-color: var(--accent-purple); border-radius: 50%; animation: spin 1s linear infinite; margin: 5rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.error-placeholder { width: 100%; text-align: center; padding: 3rem; background-color: var(--bg-secondary); border-radius: var(--radius); color: var(--text-muted); font-weight: 500; }

/* --- Адаптивність --- */
@media (max-width: 768px) {
    .navigation { display: none; }
    .navigation.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-main); padding: 1rem; box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
    .burger { display: block; }
    .burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .footer-bottom { flex-direction: column; gap: 0.5rem; align-items: center; }
    .offer-metrics { gap: .6rem; grid-template-columns: repeat(2, 1fr); }
    .offer-metrics .metric-item:first-child {
        display: none;
    }
}