* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-purple: #9061F9;
    --primary-hover: #7B4FE0;
    --dark-bg: #0A0E1A;
    --card-bg: #141B2D;
    --light-text: #FFFFFF;
    --secondary-text: #A0AEC0;
    --accent-green: #10B981;
}

/* ---------- Chat widget styles (appended) ---------- */

/* Container */
.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column-reverse; /* toggle button at bottom */
    align-items: flex-end;
    transition: transform 0.22s ease, opacity 0.22s ease;
    opacity: 0;
    pointer-events: none;
}

/* visible state */
.chat-widget.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Chat toggle (round bot button) */
.chat-toggle {
    height: 62px;
    width: 62px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--chat-blue) 0%, var(--chat-blue-dark) 100%);
    border: none;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(30, 144, 255, 0.18), 0 0 0 2px rgba(30,144,255,0.06);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    outline: none;
}
.chat-toggle:hover { transform: translateY(-4px); }

/* little notification badge */
.chat-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #ff4757;
    box-shadow: 0 4px 8px rgba(0,0,0,0.35);
}

/* internal robot icon */
.chat-icon {
    font-size: 22px;
}

/* Chat panel */
.chat-panel {
    width: 320px;
    max-width: calc(100vw - 48px);
    height: 420px;
    background: linear-gradient(180deg, #0f1724 0%, #0b1220 100%);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(2,6,23,0.7);
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.26s cubic-bezier(.2,.9,.2,1), opacity 0.22s ease;
    border: 1px solid rgba(255,255,255,0.04);
}

/* open state */
.chat-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    gap: 8px;
}
.chat-header-left {
    display:flex;
    gap: 12px;
    align-items: center;
}
.chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--chat-blue) 0%, var(--chat-blue-dark) 100%);
    color: #fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    box-shadow: 0 6px 18px rgba(30,144,255,0.12);
}
.chat-title-main { font-weight: 700; color: var(--light-text); }
.chat-title-sub { font-size: 0.85rem; color: var(--secondary-text); }

.chat-header-actions { display:flex; gap:8px; align-items:center;}
.chat-minimize, .chat-close {
    background: transparent;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    font-size: 14px;
}

/* messages area */
.chat-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
}

/* message bubbles */
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }

.chat-msg-text {
    max-width: 78%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--light-text);
}

/* different bubble styles */
.chat-msg.bot .chat-msg-text {
    background: rgba(255,255,255,0.04);
    color: var(--light-text);
    border: 1px solid rgba(255,255,255,0.02);
}
.chat-msg.user .chat-msg-text {
    background: linear-gradient(90deg,var(--chat-blue), var(--chat-blue-dark));
    color: #fff;
    border: none;
}

/* input area */
.chat-form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.03);
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
}
.chat-input {
    flex: 1 1 auto;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.03);
    background: rgba(255,255,255,0.02);
    color: var(--light-text);
    outline: none;
    font-size: 0.95rem;
}
.chat-send {
    background: var(--chat-blue);
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
}

/* responsive */
@media (max-width: 520px) {
    .chat-panel { width: 92vw; height: 68vh; }
    .chat-toggle { height: 56px; width: 56px; }
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    /* prevents in-page anchors from being hidden by fixed header */
    scroll-padding-top: 100px; /* adjust if your header height changes */
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    background-color: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(144, 97, 249, 0.2);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px 0;
    transition: 0.4s;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, rgba(144, 97, 249, 0.15) 0%, rgba(10, 14, 26, 1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('images/pattern.png') repeat;
    opacity: 0.05;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

/* Slideshow styles */
.slideshow-container {
    max-width: 320px;
    height: 640px;
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(144, 97, 249, 0.2);
}

.marquee-container {
    width: 100%;
    background: var(--dark-bg);
    padding: 30px 0;
    position: relative;
}

.marquee {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px;
}

.marquee-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #666;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.marquee img:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) { /* Laptops & Tablets */
    .marquee img { height: 45px; }
}

@media (max-width: 768px) { /* Mobile Phones */
    .marquee img { height: 40px; }
}

@media (max-width: 480px) { /* Small Devices & Smartwatches */
    .marquee img { height: 30px; }
}

.mySlides {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.numbertext {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background-color: rgba(10, 14, 26, 0.7);
    border-radius: 20px;
}

.text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(10, 14, 26, 0.7);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    text-align: left;
}

#btnHeroDownload {
    display: inline-block;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    background-color: var(--primary-purple);
    color: white;
    border: none;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(144, 97, 249, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

#btnHeroDownload:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(144, 97, 249, 0.4);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 50%;
    user-select: none;
    background-color: rgba(10, 14, 26, 0.6);
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next {
    right: 15px;
}

.prev {
    left: 15px;
}

.prev:hover, .next:hover {
    background-color: rgba(144, 97, 249, 0.8);
}

.dot-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot:hover, .dot.active {
    background-color: var(--primary-purple);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 2.5rem;
    /* color: var(--light-text); */
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-green));
    border-radius: 4px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(144, 97, 249, 0.1);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(144, 97, 249, 0.2);
}

.feature-icon {
    font-size: 48px;
    color: #4a90e2; /* Or whatever color matches your design */
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: rgba(144, 97, 249, 0.05);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern.png') repeat;
    opacity: 0.03;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-item {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(144, 97, 249, 0.1);
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(144, 97, 249, 0.2);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    background: rgba(144, 97, 249, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.about-item h3 {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

/* Download Section */
.download {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(144, 97, 249, 0.1) 0%, transparent 70%);
}

.download-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.download-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 1;
}
.btn-android {
margin-left: 1rem;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--light-text);
    box-shadow: 0 10px 25px rgba(144, 97, 249, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(144, 97, 249, 0.4);
    background-color: var(--primary-hover);
}

.form-group {
margin-bottom: 1.5rem;
}

.form-control {
width: 100%;
padding: 1rem;
background-color: rgba(10, 14, 26, 0.5);
border: 1px solid rgba(144, 97, 249, 0.2);
border-radius: 10px;
color: var(--light-text);
font-size: 1rem;
transition: all 0.3s ease;
}

.form-control:focus {
outline: none;
border-color: var(--primary-purple);
box-shadow: 0 0 0 3px rgba(144, 97, 249, 0.2);
}

.form-control::placeholder {
color: var(--secondary-text);
}

textarea.form-control {
min-height: 150px;
resize: vertical;
}

.btn-submit {
width: 100%;
padding: 1rem;
background-color: var(--primary-purple);
color: var(--light-text);
border: none;
border-radius: 10px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}

.btn-submit:hover {
background-color: var(--primary-hover);
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(144, 97, 249, 0.3);
}

/* Footer */
.footer {
background-color: var(--card-bg);
padding: 4rem 0 2rem;
border-top: 1px solid rgba(144, 97, 249, 0.1);
}

.footer-content {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 2rem;
}

.footer-logo {
max-width: 160px;
margin-bottom: 1.5rem;
}

.footer-about p {
color: var(--secondary-text);
margin-bottom: 1.5rem;
}

.footer-heading {
font-size: 1.2rem;
color: var(--light-text);
margin-bottom: 1.5rem;
position: relative;
}

.footer-heading::after {
content: '';
position: absolute;
left: 0;
bottom: -8px;
width: 40px;
height: 3px;
background: var(--primary-purple);
border-radius: 3px;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 0.8rem;
}

.footer-links a {
color: var(--secondary-text);
text-decoration: none;
transition: color 0.3s ease;
}

.footer-links a:hover {
color: var(--primary-purple);
}

.social-links {
display: flex;
gap: 1rem;
}

.social-icon {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(144, 97, 249, 0.1);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.social-icon:hover {
background-color: var(--primary-purple);
transform: translateY(-3px);
}

.copyright {
text-align: center;
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid rgba(144, 97, 249, 0.1);
color: var(--secondary-text);
}

/* App Screenshots - improved layout and visuals */
.app-screenshots {
    padding: 6rem 0;
    background-color: var(--card-bg);
    position: relative;
}

/* Use a responsive grid for consistent alignment and wrapping */
.screenshots-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 2.5rem;
    padding: 0 1rem;
    justify-items: center;
    align-items: start;
}

/* semantic figure wrapper used in your index.html */
.screenshot-figure {
    width: 100%;
    max-width: 280px; /* controls the maximum card width */
    background: rgba(255,255,255,0.02);
    border-radius: 14px;
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(2,6,23,0.6);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(144, 97, 249, 0.08);
}

/* subtle hover lift */
.screenshot-figure:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(2,6,23,0.7);
}

/* Keep screenshots uniform and prevent uneven tall images */
.screenshot-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 9 / 16; /* keeps images visually consistent — change if your images are different */
    background: #0b1117; /* fallback for transparent areas */
}

/* caption under each image */
.screenshot-caption {
    margin-top: 10px;
    color: var(--secondary-text);
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    min-height: 44px; /* keep captions aligned across the row */
}

/* Feedback button z-index tuned so it doesn't unnecessarily cover content */
.feedback-float-btn {
    z-index: 999;
}

/* Responsive breakpoints for screenshots grid */
@media (max-width: 1100px) {
    .screenshots-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .screenshot-figure { max-width: 260px; }
}

@media (max-width: 820px) {
    .screenshots-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .screenshot-figure { max-width: 320px; }
}

@media (max-width: 520px) {
    .screenshots-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
    }
    .screenshot-figure {
        max-width: none;
        width: 100%;
        padding: 10px;
        border-radius: 12px;
    }
    .screenshot-caption { font-size: 14px; text-align: left; color: var(--secondary-text); }
}

/* Hidden state for feedback button controlled by JS */
.feedback-float-btn.hide {
    opacity: 0;
    pointer-events: none;
}

/* Responsive Styles for other sections */
@media (max-width: 1200px) {
.features-grid {
grid-template-columns: repeat(2, 1fr);
}

.hero-content {
gap: 2rem;
}

.hero-title {
font-size: 3rem;
}

.screenshots-container {
    /* allow wrapping for any leftover cases */
    grid-auto-rows: min-content;
}
}

@media (max-width: 992px) {
.hero-content {
grid-template-columns: 1fr;
text-align: center;
}

.slideshow-container {
margin: 2rem auto 0;
}

.footer-content {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 768px) {
.mobile-menu-btn {
display: block;
}

.nav-menu {
position: fixed;
top: 0;
right: -100%;
width: 80%;
height: 100vh;
background-color: var(--card-bg);
flex-direction: column;
align-items: center;
justify-content: center;
transition: right 0.3s ease;
z-index: 1000;
padding: 2rem 0;
}

.nav-menu.active {
right: 0;
}

.features-grid {
grid-template-columns: 1fr;
}

.about-grid {
grid-template-columns: 1fr;
}

.hero-title {
font-size: 2.5rem;
}

.section-title {
font-size: 2rem;
}

.footer-content {
grid-template-columns: 1fr;
gap: 3rem;
}
}

@media (max-width: 576px) {
.container {
padding: 0 1rem;
}

.hero-title {
font-size: 2rem;
}

.hero {
padding: 7rem 0 3rem;
}
.download-buttons {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}

.btn-android {
margin-left: 0;
}

/* Adjust footer grid to remove the "Company" column and keep About, Support and Legal */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* logo/about (wider) + Support + Legal */
    gap: 2rem;
}
}

/* ---------- Cookie banner (GLOBAL) ----------
   Positioned and animated for all screen sizes.
   JS controls whether the banner is shown or hidden (via [hidden] and .show).
*/
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 24px;
    background: linear-gradient(180deg, rgba(20,27,45,0.98), rgba(16,22,34,0.98));
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    padding: 14px 16px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: transform 0.22s ease, opacity 0.22s ease;
    transform: translateY(12px);
    opacity: 0;
    pointer-events: none;
}

/* Visible state */
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* hide state (explicit, used by JS) */
.cookie-banner.hidden,
.cookie-banner[hidden] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* cookie content text/layout */
.cookie-content {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1 1 auto;
}

.cookie-content p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.3;
}

/* link in banner */
.cookie-link {
    color: var(--primary-purple);
    text-decoration: underline;
}

/* actions (buttons) */
.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* secondary button style (outline) */
.btn.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.12s;
}

.btn.btn-secondary:hover {
    background: rgba(255,255,255,0.03);
    transform: translateY(-2px);
}

/* ensure primary and secondary fit nicely in the banner */
.cookie-actions .btn {
    padding: 10px 14px;
    border-radius: 10px;
}

/* responsive cookie banner stacking for narrow screens */
@media (max-width: 640px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 16px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-actions {
        justify-content: flex-end;
        width: 100%;
    }
}