:root {
    --bg-dark: #0D0B1F;
    --text-light: #FFFFFF;
    --text-muted: #9493A2;
    --accent-cyan-start: #00C2FF;
    --accent-cyan-end: #00E8D7;
    --glass-bg: rgba(23, 21, 46, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

/* --- Загальні стилі --- */
*, *::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-dark);
    color: var(--text-light);
    position: relative;
    overflow-x: hidden;
}
body::before { /* Ефект зернистості (noise) */
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY2bm5s8PDxubm5tbW1jY2NpaWinp6eLi4uWlpaZmZnk5OTj4+Pe3t7f39/f39/b29v5+fnS0tKzAAAAAXRSTlMAQObYZgAAAPxJREFUeNpiYGBk4mAgYCBuAGIlGgACdBGJg10E4iHiZAUAGEE0kQc2EisAImQfWJslE1kAACHybMy0AQ2EaA0AAcegFlc5BAlpM4AChKIxM5BAlpM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKIxM5AChKLGfA4AAQYAtJ41d+wR3tAAAAABJRU5ErkJggg==');
    opacity: 0.05;
    z-index: 0;
}
.container { width: 90%; max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }

/* --- "Живий" фон Аврора --- */
.aurora-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}
.aurora-background::before, .aurora-background::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}
.aurora-background::before {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan-start);
    top: -200px; left: -200px;
    animation: move-aurora1 20s infinite alternate;
}
.aurora-background::after {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan-end);
    bottom: -150px; right: -150px;
    animation: move-aurora2 25s infinite alternate-reverse;
}
@keyframes move-aurora1 { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(200px, 100px) rotate(180deg); } }
@keyframes move-aurora2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-100px, -50px) scale(1.2); } }

/* --- Хедер --- */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--text-light); text-decoration: none; }
.navigation { display: flex; gap: 2.5rem; }
.navigation a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: var(--transition); }
.navigation a:hover { color: var(--text-light); }
.burger { display: none; }

/* --- Головна секція --- */
.main-content { padding: 4rem 0; }
.hero { text-align: center; margin-bottom: 5rem; }
.main-title { font-size: clamp(2.8rem, 6vw, 4.5rem); margin-bottom: 1rem; font-weight: 700; line-height: 1.1; }
.main-title .highlight { background: linear-gradient(90deg, var(--accent-cyan-start), var(--accent-cyan-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { font-size: clamp(1rem, 3vw, 1.2rem); color: var(--text-muted); margin: 0 auto; max-width: 500px; }

/* --- Список пропозицій --- */
.offers-list { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.offer-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.offer-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }

.card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--glass-border); }
.company-info { display: flex; align-items: center; gap: 1rem; }
.offer-logo { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background-color: #fff; border-radius: 50%; padding: 4px; }
.offer-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.company-name { font-size: 1.2rem; font-weight: 600; }
.verified-badge { font-size: 0.8rem; font-weight: 500; color: var(--accent-cyan-end); }

.card-body { padding: 1.5rem; }
.offer-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1.5rem; text-align: center; }
.metric-item .label { font-size: 0.85rem; color: var(--text-muted); }
.metric-item .value { font-size: 1.8rem; font-weight: 600; line-height: 1.2; color: var(--text-light); }
.metric-item .value span { font-size: 1rem; color: var(--text-muted); }

.card-footer { padding: 1.5rem; border-top: 1px solid var(--glass-border); margin-top: 1.5rem; }
.approval-rating { margin-bottom: 1.5rem; }
.rating-info { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 0.5rem; }
.rating-label { color: var(--text-muted); }
.rating-value { font-weight: 600; }
.rating-bar { height: 6px; background-color: rgba(0,0,0,0.2); border-radius: 3px; overflow: hidden; }
.rating-fill { height: 100%; background: linear-gradient(90deg, var(--accent-cyan-start), var(--accent-cyan-end)); border-radius: 3px; }

.cta-button {
    width: 100%;
    padding: 18px; /* Збільшена кнопка */
    font-size: 1.1rem;
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--bg-dark);
    background: linear-gradient(90deg, var(--accent-cyan-start), var(--accent-cyan-end));
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.cta-button:hover { transform: scale(1.03); box-shadow: 0 0 20px rgba(0, 232, 215, 0.5); }

/* --- FAQ --- */
.faq { margin-top: 5rem; }
.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 { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius); }
.accordion-header { cursor: pointer; padding: 1.25rem; font-size: 1.1rem; font-weight: 500; }
.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 { text-align: center; padding: 3rem 0; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid var(--glass-border); }

/* --- Лоадер та помилки --- */
.loader { width: 40px; height: 40px; border: 4px solid var(--glass-border); border-top-color: var(--accent-cyan-end); 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: var(--glass-bg); border-radius: var(--radius); color: var(--text-muted); font-weight: 500; }

/* --- Адаптивність --- */
@media (max-width: 768px) {
    .navigation { display: none; }
    .burger { display: block; }
}