@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Oswald:wght@500;700&display=swap');

:root {
    --primary: #2563EB; /* Яскравий синій акцент */
    --bg: #F3F4F6; /* Світло-сірий */
    --text: #111827; /* Майже чорний */
    --card-bg: #FFFFFF;
    --border-color: #E5E7EB;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; background-color: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .logo { font-family: 'Oswald', sans-serif; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; }
h2 { color: var(--primary); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1000px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

#progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--primary); width: 0%; z-index: 1000; }
.header { position: fixed; top: 0; width: 100%; background: #FFF; border-bottom: 2px solid #000; z-index: 999; padding: 15px 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.6rem; color: #000; }
.nav a { margin-left: 20px; font-weight: 700; font-family: 'Oswald'; transition: 0.2s; }
.nav a:hover { color: var(--primary); }

section { padding: 80px 0 40px; }
section > h2 { margin-bottom: 40px; }

.glass-card { background: var(--card-bg); border: 1px solid var(--border-color); padding: 40px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); transition: 0.2s; }
.hover-up:hover { border-color: var(--primary); transform: translateY(-2px); }

.hero { min-height: 70vh; display: flex; align-items: center; text-align: left; padding-top: 100px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; color: #000; }
.hero-content p { font-size: 1.2rem; max-width: 600px; color: #4B5563; border-left: 4px solid var(--primary); padding-left: 15px; }

.flex-card { display: flex; align-items: center; gap: 40px; }
.flex-reverse { flex-direction: row-reverse; }
.intro-text { flex: 1; }
.intro-photo { flex: 1; }
.intro-photo img { width: 100%; filter: contrast(1.1) grayscale(20%); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.recommendation-block { margin-bottom: 50px; }
.recommendation-info h2 { font-size: 1.8rem; margin-bottom: 10px; }
.symptoms { font-size: 1.1rem; color: #4B5563; margin-bottom: 20px; }
.product-card { padding: 30px; background: #EFF6FF; border: 1px solid #BFDBFE; width: 280px; text-align: center; }
.product-card img { width: 140px; height: 140px; border-radius: 50%; margin-bottom: 15px; border: 4px solid #FFF; }

.compare-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.compare-table th, .compare-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); }
.compare-table th { background: #111827; color: #FFF; font-family: 'Oswald'; }
.check-list-items li { list-style: none; padding: 15px 20px; margin-bottom: 8px; background: #FFF; border: 1px solid var(--border-color); display: flex; align-items: center; }
.check-list-items li::before { content: '→'; color: var(--primary); font-weight: bold; margin-right: 15px; }

.error-card { border-left: 4px solid #EF4444; }
.huge-disclaimer { font-size: 0.85rem; font-weight: 700; color: #991B1B; text-align: justify; padding: 25px; border: 2px solid #FCA5A5; background: #FEF2F2; text-transform: uppercase; }

.subscribe-form { margin-top: 30px; display: flex; justify-content: center; gap: 0; }
.subscribe-form input { padding: 15px 20px; border: 1px solid #D1D5DB; border-right: none; width: 300px; font-family: 'Roboto'; outline: none; }
.subscribe-form button { padding: 15px 30px; background: var(--text); color: #FFF; border: 1px solid var(--text); font-family: 'Oswald'; cursor: pointer; transition: 0.2s; }
.subscribe-form button:hover { background: var(--primary); border-color: var(--primary); }

.footer { padding: 30px 0; margin-top: 60px; background: #FFF; border-top: 2px solid #000; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { font-family: 'Oswald', sans-serif; font-size: 1.5rem; color: #000; }
.footer-links a { margin: 0 15px; font-size: 0.9rem; color: #4B5563; font-weight: 500; }
.footer-copy { font-size: 0.8rem; color: #9CA3AF; }

.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; background: #111827; color: #FFF; padding: 20px; display: flex; justify-content: space-between; align-items: center; z-index: 10000; transform: translateY(150%); transition: 0.4s; }
.cookie-banner.show { transform: translateY(0); }
.cookie-buttons button { padding: 10px 20px; margin-left: 10px; border: none; font-family: 'Oswald'; cursor: pointer; }
#acceptCookie { background: var(--primary); color: #FFF; }
#settingsCookie { background: #374151; color: #FFF; }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.5s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.doc-page { padding-top: 120px; min-height: 80vh; }
.doc-page h1, .doc-page h2 { margin-bottom: 20px; }
.doc-page p, .doc-page ul { margin-bottom: 15px; }
.doc-page ul { padding-left: 20px; }

@media (max-width: 992px) { .flex-card, .flex-reverse { flex-direction: column; text-align: left; } .product-card { width: 100%; max-width: 400px; margin: 0 auto; } }
@media (max-width: 768px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .subscribe-form { flex-direction: column; gap: 10px; } .subscribe-form input { border-right: 1px solid #D1D5DB; width: 100%; } .cookie-banner { flex-direction: column; gap: 15px; text-align: center; } }