/* --- ZMIENNE GLOBALNE (te same co na stronie głównej) --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-warm: #FDFBF7;
    --bg-cream: #F7F3EC;
    --bg-pink: #F9EBE9;
    --bg-mint: #E2EFE6;
    --primary: #2C4A3B;
    --primary-light: #5A7D6A;
    --primary-dark: #1E3328;
    --accent: #C4A265;
    --accent-light: #D9BF8E;
    --text-dark: #2A2A2A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(44, 62, 51, 0.06);
    --shadow-md: 0 8px 30px rgba(44, 62, 51, 0.08);
    --shadow-lg: 0 15px 50px rgba(44, 62, 51, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* --- NAWIGACJA --- */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(61, 90, 76, 0.08);
    transition: var(--transition);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600;
    color: var(--primary); display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1rem; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    text-decoration: none; color: var(--text-medium); font-size: 0.92rem;
    font-weight: 500; transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--accent); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
    background: var(--primary); color: var(--white) !important;
    padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 0.88rem;
}
.nav-cta:hover { background: var(--primary-dark); }
.nav-cta::after { display: none; }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 8px;
}
.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }

/* --- NAGŁÓWEK PODSTRONY --- */
.page-header {
    padding: 160px 24px 60px;
    background: radial-gradient(ellipse at 50% 0%, rgba(196, 162, 101, 0.1) 0%, transparent 70%);
    text-align: center;
}
.page-header .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(196, 162, 101, 0.12); color: var(--primary-dark);
    padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 24px;
    border: 1px solid rgba(196, 162, 101, 0.2);
}
.page-header .hero-badge .dot {
    width: 6px; height: 6px; background: var(--accent);
    border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600; line-height: 1.15; color: var(--primary-dark);
    margin-bottom: 20px; letter-spacing: -0.02em;
}
.page-header h1 .highlight {
    color: var(--accent); position: relative; display: inline-block;
}
.page-header h1 .highlight::after {
    content: ''; position: absolute; bottom: 4px; left: 0; right: 0;
    height: 8px; background: rgba(196, 162, 101, 0.18);
    border-radius: 4px; z-index: -1;
}
.page-header p {
    font-size: 1.1rem; color: var(--text-medium);
    max-width: 650px; margin: 0 auto; line-height: 1.8;
}

/* --- SEKCJE I SIATKA NARZĘDZI --- */
section.tools-section { padding: 80px 24px; }
section.tools-section.bg-cream { background-color: var(--bg-cream); }

.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--accent); margin-bottom: 16px;
}
.section-label::before {
    content: ''; width: 24px; height: 2px;
    background: var(--accent); border-radius: 2px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 600; color: var(--primary-dark);
    line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--text-medium);
    max-width: 600px; line-height: 1.8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* --- KARTY Z NARZĘDZIAMI --- */
.tool-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    border: 1px solid rgba(61, 90, 76, 0.06);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.tool-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: linear-gradient(to bottom, var(--accent), var(--primary-light));
    transition: var(--transition);
}
.tool-card:hover::before { height: 100%; }
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(61, 90, 76, 0.1);
}

.tool-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 24px;
    transition: var(--transition);
}
.tool-card:hover .tool-icon { transform: scale(1.08) rotate(-3deg); }
.tool-icon.green { background: rgba(61, 90, 76, 0.08); }
.tool-icon.gold { background: rgba(196, 162, 101, 0.12); }
.tool-icon.sage { background: rgba(90, 125, 106, 0.1); }
.tool-icon.earth { background: rgba(139, 115, 85, 0.1); }

.tool-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 600;
    color: var(--primary-dark); margin-bottom: 12px;
}
.tool-card p {
    font-size: 0.95rem; color: var(--text-medium);
    line-height: 1.7; margin-bottom: 24px; flex-grow: 1;
}
.tool-link {
    font-size: 0.88rem; font-weight: 600;
    color: var(--primary); transition: var(--transition);
    display: inline-flex; align-items: center;
}
.tool-card:hover .tool-link {
    color: var(--accent);
    transform: translateX(4px);
}

/* --- SEKCJA CTA --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white); position: relative; overflow: hidden;
    padding: 100px 24px;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px; border-radius: 50%;
    background: rgba(196, 162, 101, 0.08);
}
.cta-inner {
    max-width: 700px; margin: 0 auto; text-align: center;
    position: relative; z-index: 1;
}
.cta-inner .section-label { color: var(--accent-light); justify-content: center; }
.cta-inner .section-label::before { background: var(--accent-light); }
.cta-inner .section-title { color: var(--white); }
.cta-inner .section-subtitle { color: rgba(255, 255, 255, 0.75); margin: 0 auto 40px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--primary-dark);
    padding: 16px 32px; border-radius: 50px; font-size: 1rem; font-weight: 700;
    text-decoration: none; transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover {
    background: var(--accent-light); transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 162, 101, 0.4);
}

/* --- STOPKA --- */
footer {
    background: var(--primary-dark); color: rgba(255, 255, 255, 0.6);
    padding: 48px 24px 32px;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; font-weight: 600; color: var(--white);
}
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a {
    color: rgba(255, 255, 255, 0.6); text-decoration: none;
    font-size: 0.88rem; transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }
.footer-copy {
    font-size: 0.82rem; color: rgba(255, 255, 255, 0.4);
    width: 100%; text-align: center; padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 16px;
}
.cookie-settings-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.88rem;
    padding: 0;
    transition: var(--transition);
}
.cookie-settings-link:hover { color: var(--accent-light); }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: var(--bg-warm); flex-direction: column;
        padding: 24px; gap: 20px;
        border-bottom: 1px solid rgba(61, 90, 76, 0.08);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .page-header { padding: 120px 20px 40px; }
    section.tools-section { padding: 60px 20px; }
    .cta-section { padding: 80px 20px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}