/* ============================================
   DESIGN SYSTEM - EagleGym Brandbook
   "Ruch to higiena" - naturalny, mazurski klimat
   ============================================ */

:root {
    /* === KOLORY (Brandbook EagleGym) === */
    /* Główne */
    --color-forest: #2D5A3D;
    --color-forest-dark: #1E3D29;
    --color-forest-light: #3A7350;
    --color-sand: #F5F0E8;
    --color-sand-dark: #E8E0D4;
    --color-charcoal: #1A1A1A;
    --color-charcoal-soft: #4A4A4A;

    /* Akcentowe */
    --color-lake: #4A7C94;
    --color-lake-dark: #3A6275;
    --color-clay: #8B6F4E;

    /* Funkcjonalne */
    --color-error: #C45C4A;
    --color-warning: #D4A84B;
    --green-success: #2D5A3D;
    --red-alert: #C45C4A;

    /* Tła */
    --bg-dark: var(--color-sand);
    --bg-card: #FFFFFF;
    --bg-card-hover: var(--color-sand-dark);

    /* Tekst */
    --text-main: var(--color-charcoal);
    --text-muted: var(--color-charcoal-soft);

    /* Akcent (Forest Green) */
    --accent-color: var(--color-forest);
    --accent-glow: rgba(45, 90, 61, 0.15);
    --accent-light: var(--color-forest-light);

    /* Obramowania */
    --border-subtle: rgba(45, 90, 61, 0.08);
    --border-glow: rgba(45, 90, 61, 0.2);

    /* === TYPOGRAFIA (Brandbook) === */
    --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Rozmiary fontów - skala */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */

    /* Line-height */
    --leading-none: 1;
    --leading-tight: 1.2;
    --leading-normal: 1.6;

    /* Font-weight */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* === SPACING (skala 8px) === */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* === BORDERS === */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* === SHADOWS (Brandbook) === */
    --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.05);
    --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.08);
    --shadow-lg: 0 12px 32px rgba(26, 26, 26, 0.12);
    --shadow-glow: 0 4px 20px rgba(45, 90, 61, 0.1);

    /* === ANIMACJE === */
    --transition-speed: all 0.2s ease;
    --transition-slow: all 0.3s ease;
    --section-spacing: var(--space-4xl);

    /* === LAYOUT === */
    --max-width: 1200px;
    --max-width-text: 680px;
}

/* === DARK MODE === */
[data-theme="dark"] {
    --color-sand: #141414;
    --color-sand-dark: #1E1E1E;
    --color-charcoal: #E8E0D4;
    --color-charcoal-soft: #A0A0A0;
    --bg-dark: #141414;
    --bg-card: #1E1E1E;
    --bg-card-hover: #282828;
    --text-main: #E8E0D4;
    --text-muted: #A0A0A0;
    --border-subtle: rgba(245, 240, 232, 0.08);
    --border-glow: rgba(45, 90, 61, 0.25);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] body { background: #141414; }
[data-theme="dark"] .navbar { background: rgba(20, 20, 20, 0.95); border-bottom-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .nav-links { background: #141414; }
[data-theme="dark"] .nav-logo { color: #E8E0D4; }
[data-theme="dark"] .nav-links a { color: #A0A0A0; }
[data-theme="dark"] .nav-links a:hover { color: var(--color-forest-light); }
[data-theme="dark"] .mobile-menu-toggle span { background-color: #E8E0D4; }
[data-theme="dark"] .btn-small { border-color: var(--color-forest-light); color: var(--color-forest-light); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: #E8E0D4; }
[data-theme="dark"] .hero, [data-theme="dark"] .header { background: #141414; }
[data-theme="dark"] .card, [data-theme="dark"] .bento-card, [data-theme="dark"] .review-card,
[data-theme="dark"] .blog-card, [data-theme="dark"] .pricing-card { background: #1E1E1E; border-color: rgba(245, 240, 232, 0.06); }
[data-theme="dark"] .pricing-card.recommended { background: #1E1E1E; border-color: var(--color-forest); }
[data-theme="dark"] .bento-section { background: #1A1A1A; }
[data-theme="dark"] .faq-section { background: #141414; }
[data-theme="dark"] .testimonials-section { background: #141414; }
[data-theme="dark"] .newsletter-section { background: #1A1A1A; }
[data-theme="dark"] .pricing-section { background: #1A1A1A; border-top-color: rgba(245, 240, 232, 0.06); }
[data-theme="dark"] .faq-question { color: #E8E0D4; }
[data-theme="dark"] .faq-item { border-bottom-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .hero-bullet-item { color: #E8E0D4; }
[data-theme="dark"] .authority-item { color: #A0A0A0; }
[data-theme="dark"] .authority-bar { border-top-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] ::selection { background: var(--color-forest); color: white; }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #1A1A1A; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #4A4A4A; border-color: #1A1A1A; }
[data-theme="dark"] .sticky-cookie-btn { background: #1E1E1E; border-color: rgba(245, 240, 232, 0.1); }
[data-theme="dark"] .comp-card { background: #1E1E1E; }
[data-theme="dark"] .comp-header { border-bottom-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .founder-letter { background: #1E1E1E; border-color: rgba(245, 240, 232, 0.06); }
[data-theme="dark"] .guarantee-box { background: rgba(45, 90, 61, 0.08); }
[data-theme="dark"] .problem-visual { background: #1E1E1E; }
[data-theme="dark"] .value-stack { border-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .value-total { border-top-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .blog-header { background: #141414; }
[data-theme="dark"] .lm-inline-section { background: #1A1A1A; border-color: rgba(245, 240, 232, 0.06); }
[data-theme="dark"] .lm-inline-form-wrap { background: #1E1E1E; border-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .lm-inline-form-wrap h3 { color: #E8E0D4 !important; }
[data-theme="dark"] .lm-inline-form-wrap p { color: #A0A0A0 !important; }
[data-theme="dark"] .lm-inline-benefits li { color: #E8E0D4; }
[data-theme="dark"] .lm-slidein { background: #1E1E1E; }
[data-theme="dark"] footer { background: #0A0A0A; }
[data-theme="dark"] .cart-modal-content { background: #1E1E1E; border-left-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .cart-header { border-bottom-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .cart-header h3 { color: #E8E0D4; }
[data-theme="dark"] .close-cart { color: #A0A0A0; }
[data-theme="dark"] .close-cart:hover { color: var(--color-forest-light); }
[data-theme="dark"] .cart-item { background: #282828; }
[data-theme="dark"] .cart-item-info h4 { color: #E8E0D4; }
[data-theme="dark"] .cart-footer { border-top-color: rgba(245, 240, 232, 0.08); }
[data-theme="dark"] .cart-total { color: #E8E0D4; }
[data-theme="dark"] .cart-overlay { background: rgba(0, 0, 0, 0.6); }
[data-theme="dark"] .cart-trigger-btn svg { color: #E8E0D4; }
[data-theme="dark"] .lm-slidein { background: #242424; border-color: var(--color-forest); }
[data-theme="dark"] .lm-slidein-title { color: var(--color-forest-light); }
[data-theme="dark"] .lm-slidein-desc { color: #C0C0C0; }
[data-theme="dark"] .lm-slidein-close { color: #A0A0A0; }
[data-theme="dark"] .lm-slidein-close:hover { color: #E8E0D4; }

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: transform 0.3s;
}
.theme-toggle:hover { transform: scale(1.15); }
.theme-toggle svg { width: 20px; height: 20px; color: var(--color-charcoal-soft); transition: color 0.3s; }
.theme-toggle:hover svg { color: var(--color-forest); }
[data-theme="dark"] .theme-toggle svg { color: #A0A0A0; }
[data-theme="dark"] .theme-toggle:hover svg { color: var(--color-forest-light); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* --- BAZA --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: var(--color-sand);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* --- SUBTLE BACKGROUND SYSTEM (Mazurski klimat) --- */
.bg-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Base gradient mesh - subtle, natural */
.bg-atmosphere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(45, 90, 61, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 124, 148, 0.05) 0%, transparent 50%),
        var(--color-sand);
    opacity: 1;
}

/* Hide decorative elements - cleaner look per brandbook */
.orb, .ambient-glow, .particles, .particle, .grid-overlay, .depth-vignette, .noise-overlay {
    display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-sand-dark); }
::-webkit-scrollbar-thumb { background: var(--color-charcoal-soft); border-radius: 5px; border: 2px solid var(--color-sand-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--color-forest); }
::selection { background: var(--color-forest); color: white; }
html { scroll-behavior: smooth; }

/* --- TYPOGRAFIA (Brandbook) --- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--color-charcoal);
    letter-spacing: -0.02em;
}

/* Logo font */
.nav-logo, .hero h1 { font-family: var(--font-head); }

h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-main); position: relative; }
h1 span { color: var(--color-forest); display: inline-block; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.3; }
p { color: var(--text-muted); font-size: 1rem; font-weight: 400; max-width: 65ch; line-height: 1.6; }
.text-center { text-align: center; }

/* --- UI COMPONENTS --- */
.container { width: 92%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* Buttons (Brandbook) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-forest);
    color: white;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-speed);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    position: relative;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn:hover {
    background: var(--color-forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
}
.btn:hover svg { transform: translateX(4px); }
.btn-full { width: 100%; }
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-forest);
    color: var(--color-forest);
}
.btn-outline:hover {
    background: var(--color-forest);
    color: white;
}

/* Cards (Brandbook) */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(45, 90, 61, 0.08);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-speed);
    position: relative;
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.card-highlight {
    border: 2px solid var(--color-forest);
}

/* --- NAVBAR (Brandbook: Sticky, Sand tło) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}
.nav-container, .nav-content { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.nav-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--color-charcoal); text-decoration: none; letter-spacing: -0.02em; z-index: 1001; margin-right: auto; }
.nav-logo span { color: var(--color-forest); }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    margin-left: 10px;
}
.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-charcoal);
    transition: all 0.3s ease-in-out;
    transform-origin: left center;
}
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }

/* Hide Navbar CTA on Mobile to save space */
@media (max-width: 767px) {
    .nav-container .btn-small { display: none; }
    .desktop-only { display: none !important; }

    /* Slimmer Navbar for Mobile */
    .nav-logo { font-size: 1.1rem; }
    .navbar { padding: 10px 0; }
    .mobile-menu-toggle { transform: scale(0.85); margin-left: 5px; }
    .cart-trigger-btn { padding: 5px; }
    .cart-trigger-btn svg { width: 20px; height: 20px; }

    iframe[title*="chat"],
    div[class*="tawk-min-container"] {
        bottom: 110px !important;
    }
}

.navbar.nav-open .mobile-menu-toggle span:nth-child(1) { transform: rotate(45deg); top: 0px; left: 0px; }
.navbar.nav-open .mobile-menu-toggle span:nth-child(2) { width: 0%; opacity: 0; }
.navbar.nav-open .mobile-menu-toggle span:nth-child(3) { transform: rotate(-45deg); top: 21px; left: 0px; }

.nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-sand);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 40px;
    gap: 15px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow-y: auto;
}
.navbar.nav-open .nav-links { transform: translateX(0); }

.nav-links a { text-decoration: none; color: var(--color-charcoal-soft); font-size: 1rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--color-forest); }

.btn-small { padding: 10px 20px; font-size: 0.85rem; background: transparent; border: 2px solid var(--color-forest); color: var(--color-forest); text-decoration: none; font-family: var(--font-head); font-weight: 600; border-radius: var(--radius-md); transition: 0.3s; z-index: 1001; }
.btn-small:hover { background: var(--color-forest); color: white; }

@media (min-width: 768px) {
    .nav-links {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        flex-direction: row;
        transform: none;
        display: flex;
        z-index: auto;
        padding: 0;
        overflow: visible;
        gap: 30px;
    }
    .nav-links a { font-size: 0.9rem; }
}

/* --- HERO & HEADER --- */
.hero, .header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: var(--color-sand);
}
.header { min-height: 95vh; padding-bottom: 60px; }

.hero-bg-image {
    display: none; /* Usunięte per brandbook - bez ciemnych zdjęć stock */
}
.hero-bg-grid, .header-bg-grid {
    display: none; /* Czysty design per brandbook */
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(45, 90, 61, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 124, 148, 0.03) 0%, transparent 50%);
    z-index: -1;
}
.hero-content { max-width: 700px; }
.header-content { max-width: 850px; margin: 0 auto; text-align: center; }

/* Hero text */
.hero h1, .header h1 {
    color: var(--color-charcoal);
}
.hero h1 span, .header h1 span {
    color: var(--color-forest);
}

/* Tag/Badge (Brandbook) */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(45, 90, 61, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--color-forest);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- AUTHORITY BAR --- */
.authority-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(45, 90, 61, 0.1);
}
.authority-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-charcoal-soft);
    font-size: 0.85rem;
    font-weight: 500;
}
.authority-item svg { width: 20px; height: 20px; color: var(--color-forest); }

/* --- SCARCITY BAR --- */
.scarcity-bar-container { width: 100%; max-width: 400px; margin: 0 auto 25px auto; text-align: center; }
.scarcity-label { font-size: 0.75rem; color: var(--color-forest); font-weight: 600; margin-bottom: 5px; display: block; text-transform: uppercase; letter-spacing: 1px; }
.progress-track { width: 100%; height: 6px; background: rgba(45, 90, 61, 0.1); border-radius: var(--radius-full); overflow: hidden; }
.progress-fill { width: 78%; height: 100%; background: var(--color-forest); display: block; }

.hero-bullets { display: flex; flex-direction: column; gap: 10px; margin: 30px auto; text-align: left; max-width: 500px; }
@media(min-width: 768px) { .hero-bullets { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 25px; } }
.hero-bullet-item { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--color-charcoal); font-weight: 500; }
.hero-bullet-item svg { color: var(--color-forest); width: 20px; height: 20px; flex-shrink: 0; }

/* --- BENTO GRID --- */
.bento-section { padding: var(--space-4xl) 0; background: white; }
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(280px, auto); gap: 24px; }

/* Bento Cards (Brandbook) */
.bento-card {
    background: var(--color-sand);
    border: 1px solid rgba(45, 90, 61, 0.08);
    border-radius: var(--radius-lg);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-speed);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.bento-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.card-icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--color-forest); }
.card-title { font-size: 1.8rem; margin-bottom: 0.8rem; color: var(--color-charcoal); }
.card-subtitle { font-family: var(--font-head); font-size: 0.85rem; color: var(--color-forest); text-transform: uppercase; margin-bottom: 0.5rem; display: block; letter-spacing: 0.05em; font-weight: 600; }

.card-img { grid-column: span 12; padding: 0; min-height: 350px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-md); transition: 0.3s ease; }
.bento-card:hover .card-img img { transform: scale(1.02); }
.card-profile { grid-column: span 12; }
.card-method { grid-column: span 12; }
.card-local { grid-column: span 12; }
.methods-wrapper { display: flex; flex-direction: column; gap: 25px; margin-top: 25px; }
.method-item { display: flex; flex-direction: column; gap: 10px; }
.method-icon { width: 24px; color: var(--color-charcoal-soft); margin-bottom: 5px; }
.method-item h4 { color: var(--color-forest); font-size: 1.2rem; margin-bottom: 0; }
.method-item p { font-size: 0.95rem; line-height: 1.5; }

@media (min-width: 992px) {
    .card-img { grid-column: span 5; grid-row: span 2; }
    .card-profile { grid-column: span 7; }
    .card-method { grid-column: span 7; }
    .card-local { grid-column: span 12; display: flex; flex-direction: row; gap: 40px; align-items: center; }
    .methods-wrapper { flex-direction: row; }
    .method-item { flex: 1; padding-right: 20px; }
    .method-item:first-child { border-right: 1px solid rgba(45, 90, 61, 0.1); }
    .method-item:last-child { padding-left: 20px; padding-right: 0; }
}

/* --- TESTIMONIALS (Brandbook) --- */
.testimonials-section { overflow: hidden; padding: var(--space-4xl) 0; background: var(--color-sand); }
.marquee-wrapper {
    width: 100%;
    overflow-x: hidden;
    padding: 20px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
}
.marquee-wrapper::-webkit-scrollbar { display: none; }
.marquee-wrapper.active { cursor: grabbing; }

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 20px;
    position: relative;
}

/* Review Cards (Brandbook: testimonial style) */
.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border-left: 4px solid var(--color-forest);
    width: 320px;
    flex-shrink: 0;
    user-select: none;
    transition: var(--transition-speed);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.stars { color: var(--color-forest); margin-bottom: 15px; font-size: 1.2rem; }
.review-text { color: var(--color-charcoal); font-size: 1rem; font-style: italic; margin-bottom: 20px; line-height: 1.7; flex-grow: 1; }
.review-author { color: var(--color-forest); font-weight: 600; font-size: 0.9rem; margin-top: auto; }

/* --- FAQ & CONTACT --- */
.faq-section { padding: var(--space-4xl) 0; background: white; }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(45, 90, 61, 0.1); margin-bottom: 10px; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; color: var(--color-charcoal); font-family: var(--font-head); font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.faq-question:hover { color: var(--color-forest); }
.faq-question span { font-size: 1.5rem; line-height: 1; transition: 0.3s; }
.faq-question.active span { transform: rotate(45deg); color: var(--color-forest); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; color: var(--color-charcoal-soft); font-size: 1rem; padding-right: 20px; }
.faq-answer p { padding-bottom: 20px; }

/* Newsletter/CTA Section (Brandbook) */
.newsletter-section {
    padding: var(--space-4xl) 0;
    text-align: center;
    background: var(--color-sand);
    border-top: 1px solid rgba(45, 90, 61, 0.1);
    position: relative;
}
.newsletter-wrapper { max-width: 600px; margin: 0 auto; }
.input-group { margin-top: 30px; display: block; }

/* Footer (Brandbook: Charcoal tło) */
footer { padding: 50px 0 80px 0; background: var(--color-charcoal); text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer-links a { color: white; text-decoration: none; margin: 0 15px; font-weight: 600; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--color-forest-light); }

/* Mobile CTA (Brandbook) */
.mobile-sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    display: block;
    border-radius: var(--radius-md);
}
@media (min-width: 768px) { .mobile-sticky-cta { display: none; } }

.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- BLOG STYLES (Brandbook) --- */
.blog-header { padding: 120px 0 60px 0; text-align: center; background: var(--color-sand); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 80px; }

/* Blog Cards */
.blog-card {
    background: white;
    border: 1px solid rgba(45, 90, 61, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-speed);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-thumb { height: 200px; overflow: hidden; position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-date { position: absolute; top: 15px; left: 15px; background: var(--color-forest); color: white; padding: 4px 10px; font-size: 0.75rem; font-weight: 700; border-radius: var(--radius-sm); }

.blog-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-info h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--color-charcoal); line-height: 1.3; }
.blog-excerpt { color: var(--color-charcoal-soft); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.read-more { color: var(--color-forest); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

/* Article View */
.article-container { max-width: var(--max-width-text); margin: 0 auto; padding-top: 120px; padding-bottom: 80px; }
.article-header { text-align: center; margin-bottom: 50px; border-bottom: 1px solid rgba(45, 90, 61, 0.1); padding-bottom: 30px; }
.article-meta { color: var(--color-charcoal-soft); font-size: 0.9rem; margin-top: 10px; display: flex; justify-content: center; gap: 20px; }
.article-content { font-size: 1.125rem; line-height: 1.8; color: var(--color-charcoal-soft); }
.article-content h2 { color: var(--color-charcoal); margin-top: 40px; margin-bottom: 20px; font-size: 1.8rem; }
.article-content p { margin-bottom: 20px; }
.article-content ul { margin-bottom: 20px; padding-left: 20px; list-style: disc; color: var(--color-charcoal); }
.article-content li { margin-bottom: 10px; }
.article-content strong { color: var(--color-forest); }
.share-box { margin-top: 60px; padding: 30px; background: var(--color-sand); border: 1px solid rgba(45, 90, 61, 0.08); border-radius: var(--radius-lg); text-align: center; }

@media (max-width: 768px) {
    .article-content { font-size: 1.05rem; }
}
/* Cookie consent styles handled by cookie-consent.js (self-contained) */
.cart-trigger-btn { position: relative; background: transparent; border: none; color: var(--color-charcoal); cursor: pointer; padding: 8px; display: flex; align-items: center; justify-content: center; z-index: 1002; }
.cart-trigger-btn svg { width: 24px; height: 24px; transition: color 0.3s; }
.cart-trigger-btn:hover svg { color: var(--color-forest); }
.cart-count { position: absolute; top: 0; right: 0; background: var(--color-forest); color: white; font-size: 0.7rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cart-modal { position: fixed; top: 0; right: 0; width: 100%; height: 100%; z-index: 10001; display: none; }
.cart-modal.open { display: block; }
.cart-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 26, 26, 0.4); backdrop-filter: blur(2px); z-index: 1; }
.cart-modal-content { position: absolute; top: 0; right: 0; width: 100%; max-width: 400px; height: 100%; background: white; border-left: 1px solid rgba(45, 90, 61, 0.1); z-index: 2; display: flex; flex-direction: column; padding: 20px; animation: slideIn 0.3s ease-out; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(45, 90, 61, 0.1); }
.cart-header h3 { margin: 0; color: var(--color-charcoal); }
.close-cart { background: none; border: none; font-size: 2rem; color: var(--color-charcoal-soft); cursor: pointer; line-height: 1; }
.close-cart:hover { color: var(--color-forest); }
.cart-items { flex-grow: 1; overflow-y: auto; padding: 20px 0; }
.empty-msg { text-align: center; color: var(--color-charcoal-soft); font-size: 0.9rem; margin-top: 30px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; background: var(--color-sand); padding: 15px; border-radius: var(--radius-md); margin-bottom: 15px; }
.cart-item-info h4 { font-size: 1rem; margin-bottom: 5px; color: var(--color-charcoal); }
.cart-item-info p { font-size: 0.9rem; margin: 0; color: var(--color-forest); font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin: 0 15px; }
.cart-item-controls button { background: transparent; border: 1px solid rgba(45, 90, 61, 0.2); color: var(--color-charcoal); width: 25px; height: 25px; border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cart-item-controls button:hover { background: var(--color-forest); color: white; border-color: var(--color-forest); }
.cart-item-remove { background: transparent; border: none; color: var(--color-error); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.cart-footer { padding-top: 20px; border-top: 1px solid rgba(45, 90, 61, 0.1); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-family: var(--font-head); color: var(--color-charcoal); margin-bottom: 20px; }
.cart-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--color-forest);
    color: white;
    padding: 15px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 11000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.cart-notification.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* --- NAVIGATION DROPDOWN FOR TOOLS --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    background: transparent;
    border: none;
    color: var(--color-charcoal-soft);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
    font-family: var(--font-body);
}
.nav-dropdown-toggle:hover { color: var(--color-forest); }
.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s;
}
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border: 1px solid rgba(45, 90, 61, 0.1);
    border-radius: var(--radius-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
    box-shadow: var(--shadow-md);
    margin-top: 10px;
}
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--color-charcoal-soft);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.nav-dropdown-menu a:hover {
    color: var(--color-forest);
    background: rgba(45, 90, 61, 0.05);
}
.nav-dropdown-menu a svg {
    width: 18px;
    height: 18px;
    color: var(--color-forest);
    opacity: 0.7;
}

/* Mobile dropdown - different behavior */
@media (max-width: 767px) {
    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-dropdown-toggle {
        font-size: 1.2rem;
        padding: 15px 0;
    }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        max-width: 280px;
        margin-top: 10px;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }
}

/* --- MOBILE MENU TOOLS SEPARATOR --- */
.mobile-tools-separator {
    display: none;
}

@media (max-width: 767px) {
    .mobile-tools-separator {
        display: block;
        width: 80%;
        max-width: 280px;
        margin: 15px auto 10px auto;
        padding-top: 15px;
        border-top: 1px solid rgba(45, 90, 61, 0.1);
        text-align: center;
    }

    .mobile-tools-separator span {
        display: block;
        font-family: var(--font-head);
        font-size: 0.75rem;
        color: var(--color-forest);
        text-transform: uppercase;
        letter-spacing: 0.15em;
        margin-bottom: 15px;
    }
    .mobile-tools-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .mobile-tools-buttons a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 20px;
        background: rgba(45, 90, 61, 0.05);
        border: 1px solid rgba(45, 90, 61, 0.15);
        border-radius: var(--radius-md);
        color: var(--color-charcoal);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s;
    }
    .mobile-tools-buttons a:hover {
        background: var(--color-forest);
        color: white;
    }
    .mobile-tools-buttons a svg {
        width: 16px;
        height: 16px;
    }
}

/* --- STICKY COOKIE SETTINGS BUTTON --- */
.sticky-cookie-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid rgba(45, 90, 61, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}
.sticky-cookie-btn:hover {
    background: var(--color-forest);
    border-color: var(--color-forest);
    transform: scale(1.1);
}
.sticky-cookie-btn:hover svg {
    color: white;
}
.sticky-cookie-btn svg {
    width: 20px;
    height: 20px;
    color: var(--color-forest);
    transition: color 0.3s;
}

@media (max-width: 767px) {
    .sticky-cookie-btn {
        bottom: 90px; /* Above mobile CTA */
        width: 40px;
        height: 40px;
    }
    .sticky-cookie-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* --- TYPEWRITER EFFECT --- */
.typewriter-container {
    display: inline;
}
.typewriter-text {
    color: var(--color-forest);
    border-right: 2px solid var(--color-forest);
    animation: blink-caret 0.8s step-end infinite;
    display: inline-block;
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--color-forest); }
}

/* --- MOBILE PERFORMANCE OPTIMIZATION --- */
@media (max-width: 768px) {
    /* Improve scrolling smoothness */
    html, body { -webkit-overflow-scrolling: touch; }

    /* Solid backgrounds for mobile */
    .navbar { background: var(--color-sand); }
    .card, .bento-card, .review-card, .blog-card, .cart-modal-content { background: white; }

    /* Simplify transitions */
    .card, .bento-card, .review-card, .blog-card, .btn {
        transition: transform 0.2s ease, background-color 0.2s ease;
    }
}