/* CSS Variables & Theme */
:root {
    /* Color Palette - Precise Match to PDF */
    --primary-teal: #218380;
    --primary-teal-dark: #1a6b68;
    --secondary-berry: #D81159;
    /* Raspberry Red */
    --secondary-berry-dark: #b00d49;
    --vintage-berry: #8F2D56;
    --sunflower-gold: #FFBC42;
    --frozen-blue: #73D2DE;

    --bg-cream: #f9f9f9;
    --bg-white: #ffffff;
    --bg-black: #111111;
    --bg-hero-dark: #0D1117;
    /* Matches Figma-Hero.jpg */

    --text-dark: #222222;
    --text-light: #ffffff;
    --text-grey: #666666;

    /* Typography */
    /* User requested Inter for headers, maybe all? "Header Fonts" usually means H tags. */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    /* Adjusted for tighter feel */
    --spacing-xl: 6rem;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    /* Inter tightens up nicely */
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    /* Extra Bold for Inter impact */
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.1;
}

.hero-title span.text-berry {
    color: var(--secondary-berry);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 600px;
}

.section-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 700;
}

.big-statement {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.body-text {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-grey);
}

/* Colors & Utilities */
.text-white {
    color: white !important;
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.9);
}

.text-dark {
    color: var(--text-dark);
}

.text-gold {
    color: var(--sunflower-gold);
}

.text-berry {
    color: var(--secondary-berry);
}

.text-teal {
    color: var(--primary-teal);
}

.bg-cream {
    background: var(--bg-cream);
}

.bg-white {
    background: var(--bg-white);
}

.bg-black {
    background: var(--bg-black);
}

.bg-teal {
    background-color: var(--primary-teal);
}

.bg-berry {
    background-color: var(--secondary-berry);
}

.bg-gold {
    background-color: var(--sunflower-gold);
}

.bg-vintage-berry {
    background-color: var(--vintage-berry);
}

/* Email Signup Abstract Background */
.bg-gradient-abstract {
    background: radial-gradient(circle at 20% 50%, #ffffff 0%, #fff9e6 25%, #ffe0e9 60%, #ffc2d1 100%);
    /* Matches the soft yellow/pink glow from the reference */
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.narrow {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.section-padding {
    position: relative;
    z-index: 10;
    padding: var(--spacing-lg) 0;
    transform: translateZ(0); /* Hardware acceleration to fix WebKit sticky background disappearing bugs */
}

.margin-top-md {
    margin-top: var(--spacing-md);
}

/* Image Background Hero Sections */
.hero-bg-woodland {
    background-image: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.7)), url('Pictures/Optimized/Woodlands and Countryside.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg-rivers {
    background-image: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.7)), url('Pictures/Optimized/Rivers, Lakes and Coasts.jpg');
    background-size: cover;
    background-position: bottom;
}

.hero-bg-garden {
    background-image: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.7)), url('Pictures/Optimized/In the Garden.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg-blur {
    background-image: linear-gradient(rgba(13, 17, 23, 0.6), rgba(13, 17, 23, 0.6)), url('Pictures/Figma/Images/Header/hands/British%20Animals%20FC%20blur.png');
    background-size: cover;
    background-position: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    /* Bigger buttons for hero */
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: none;
    /* Inter usually looks good normal case, but keeping design consistent */
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--secondary-berry);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-berry-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(216, 17, 89, 0.4);
}

.btn-warning {
    background: var(--sunflower-gold);
    color: var(--text-dark);
}

.btn-warning:hover {
    background: #ffc966;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--secondary-berry);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

.bounce-hover:hover {
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s, padding 0.3s;
}

.main-header.scrolled {
    background: var(--bg-hero-dark);
    /* Match hero bg */
    padding: 15px 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo-container img {
    height: 50px;
    transition: height 0.3s;
}

.main-header nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-header nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: white;
    text-transform: capitalize;
    font-size: 1rem;
}

.main-header nav a:hover {
    color: var(--secondary-berry);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section (Revised) */
.hero-section {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-hero-dark);
    display: flex;
    padding-top: 80px;
    /* Space for fixed header */
}

/* Remove old hero-bg and overlay styles */
.hero-bg,
.hero-overlay {
    display: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    color: white;
    z-index: 2;
    padding-right: 20px;
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: end;
}

.hero-character {
    height: 95vh;
    /* Maximized size to fill the vertical height of the screen */
    width: auto;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6));
    /* Hand image already has correct orientation */
    transform-origin: bottom center;
    /* Pivot from the bottom of the hand */
    will-change: transform;
    margin-bottom: 0;
}

/* Ensure Email Image is responsive */
.email-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
    /* No shadow on this specific cutout if possible, but keeping nice default */
}

.about-image:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* Decorative Signup Section & Animals */
.signup-decor-section {
    position: relative;
    z-index: 20; /* Ensures animals in this section overlap the following section */
    /* allow overflow for animals to peek around */
}

.decor-animal {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.animal-fox {
    bottom: -85px; /* Ensures feet touch and slightly overlap bottom of the block */
    left: 50%; /* Moved to the middle */
    width: 150px;
    transform: translateX(-50%) rotate(0deg); /* Centered securely */
}

.animal-otter {
    bottom: calc(100% - 22px); /* Overlaps top of form card slightly */
    right: 20px;
    width: 140px;
    transform: rotate(8deg);
}

.animal-robin {
    bottom: calc(100% - 15px); /* Overlaps top of form card slightly */
    left: 40px;
    width: 100px;
    transform: rotate(5deg);
}

/* Email Signup Form Blobs */
.form-blob-container {
    position: relative;
    z-index: 2;
}

.organic-blob {
    position: absolute;
    filter: blur(30px);
    opacity: 0.6;
    z-index: 1;
    animation: blobMorph 12s ease-in-out infinite alternate;
}

.organic-blob.blob-1 {
    top: -15%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: var(--frozen-blue);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: 0s;
}

.organic-blob.blob-2 {
    bottom: -10%;
    left: -15%;
    width: 280px;
    height: 280px;
    background: var(--sunflower-gold);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -6s;
}

@keyframes blobMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(25deg) scale(1.1);
    }
}

.form-card-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    z-index: 10;
}

/* Email Signup / "Join the Club" */
.email-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.email-image img {
    width: auto;
    max-width: 100%;
    border-radius: 0;
    max-height: 500px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    display: block;
    margin: 0 auto;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 20px;
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stack-form .form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stack-form label {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.stack-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border 0.3s;
}

.stack-form input:focus {
    border-color: var(--primary-teal);
    outline: none;
}


/* Books Slider Setup */
.books-scroll-wrapper {
    height: 250vh; /* creates vertical scrolling space for the two books */
    position: relative;
    width: 100%;
    margin-top: 40px;
}

.books-sticky-container {
    position: sticky;
    top: max(5vh, calc((100vh - 700px) / 2)); /* Centers vertically on large screens */
    height: 90vh; /* slightly taller visible window so mobile buttons fit */
    max-height: 700px; /* Limits depth on large desktop screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.books-slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    will-change: transform;
    /* CSS translation handled securely by JS now */
}

.book-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 40px; /* added horizontal padding to separate books */
    box-sizing: border-box;
}

.book-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.books-slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--sunflower-gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--sunflower-gold);
    transform: scale(1.2);
}

.book-main-image img {
    width: 100%;
    /* border-radius: 12px; */
    /* Book often looks better without rounded corners if it's a mockup */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.book-details h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.detail-block {
    margin-bottom: 30px;
}

.styled-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
}

/* Checkmark logic */
.styled-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 800;
}

.white-check li:before {
    color: var(--sunflower-gold);
    /* Gold checks on Berry bg */
}

/* Coming Soon Grid */
.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.coming-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.coming-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card-content h4 {
    color: var(--secondary-berry);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-grey);
}

.highlight {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    position: relative;
    z-index: 10;
    padding: 60px 0;
    background-color: var(--bg-black);
    color: white;
}

.footer-logo {
    display: flex;
    justify-content: center;
}

.centered-logo {
    height: 40px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-teal);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
    pointer-events: none;
    opacity: 0;
}

/* Helper Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Floating Animations */
.floating-bee {
    animation: floatBee 6s ease-in-out infinite;
}

@keyframes floatBee {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-10px, -5px) rotate(-3deg);
    }
    50% {
        transform: translate(-15px, 0px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, 5px) rotate(3deg);
    }
}

/* Mobile Responsive */
@media (max-width: 960px) {

    .hero-grid,
    .about-grid,
    .email-grid,
    .book-feature-grid,
    .parents-love-grid,
    .parents-love-features {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-character {
        display: block !important;
        height: 60vh;
        max-height: 60vh;
        width: auto;
        max-width: 125%;
        object-fit: contain;
        margin: 0 auto;
        margin-bottom: -20px; /* pull down slightly instead of 5vh */
    }

    .hero-image-container {
        min-height: 350px; /* Gives the box explicit height on mobile */
        align-items: flex-end;
    }

    .about-image {
        order: -1;
    }

    .email-image {
        display: none;
        /* Hide illustrative image on mobile if space saving needed, or keep */
    }

    .decor-animal {
        display: none;
    }

    .organic-blob {
        transform: scale(0.7);
        opacity: 0.4;
    }

    .form-card-glass {
        padding: 25px;
    }

    .stack-form {
        padding: 20px;
    }

    /* Left align all content in email grid on mobile */
    .email-grid,
    .email-text-column,
    .email-form-column,
    .email-grid h2,
    .email-grid h3,
    .email-grid p,
    .email-grid form,
    .email-grid label,
    .email-grid input {
        text-align: left !important;
    }

    .email-grid .styled-list {
        display: block;
        text-align: left !important;
        margin: 0 0 20px 0;
        padding-left: 0;
        /* Align with other text, LI has its own padding */
    }

    .email-grid .styled-list li {
        text-align: left !important;
    }

    /* Override any specific centering */
    .form-intro {
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: white;
    }

    .hamburger.toggle .line2 {
        opacity: 0;
    }

    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: white;
    }

    .main-header nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--primary-teal);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .main-header nav.nav-active {
        transform: translateX(0%);
    }

    .main-header nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .main-header nav a {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .book-details {
        text-align: left;
    }

    .book-feature-grid {
        text-align: center;
        gap: 20px; /* tighten gap vertically on mobile to prevent overflow */
    }

    .about-text {
        text-align: left;
    }
}

/* ===================== */
/* FAQ Page Styles       */
/* ===================== */

.faq-hero {
    padding-top: 140px;
    padding-bottom: var(--spacing-lg);
}

.faq-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
}

.faq-hero .hero-subtitle {
    max-width: 700px;
    margin: 0 auto;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
}

.faq-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: color 0.3s ease;
    gap: 15px;
}

.faq-question:hover {
    color: var(--secondary-berry);
}

.faq-icon {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 10px;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 10px 25px;
}

.faq-answer p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 12px;
}

.faq-answer ul {
    list-style: none;
    padding-left: 5px;
    margin-bottom: 15px;
}

.faq-answer ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 6px;
    padding-left: 0;
}

.faq-answer .btn {
    margin-top: 10px;
    padding: 14px 30px;
    font-size: 1rem;
}

.faq-answer a:not(.btn) {
    color: var(--secondary-berry);
    font-weight: 600;
    text-decoration: underline;
}

.faq-answer a:not(.btn):hover {
    color: var(--secondary-berry-dark);
}

/* FAQ Mobile */
@media (max-width: 768px) {
    .faq-hero {
        padding-top: 110px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 18px 5px;
    }

    .faq-answer p,
    .faq-answer ul li {
        font-size: 0.95rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Cookie Bar */
.cookie-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.cookie-bar.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-bar p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.cookie-bar a {
    color: var(--secondary-berry);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-bar .btn-cookie {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cookie-bar .btn-cookie:hover {
    background: var(--primary-teal-dark);
}

@media (max-width: 480px) {
    .cookie-bar {
        bottom: 10px;
        left: 10px;
        right: 10px;
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .cookie-bar .btn-cookie {
        width: 100%;
    }
}
