@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700;900&display=swap');

/* --- variables.css --- */
/* Variables - Light Theme */
:root {
    /* Color Palette - Light */
    --bg-obsidian: #FFFFFF;
    /* Re-purposed variable name to keep linking easy, or just use semantic names */
    --bg-light: #FFFFFF;
    --text-main: #1A1A1A;
    --text-mist: #666666;
    --accent-smoke: #333333;
    /* Dark smoke for light bg */
    --accent-color: #b3526a;
    /* Maroon accent */

    /* Utility Colors */
    --glass-stroke: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);

    /* Typography */
    --font-primary: 'Inter', sans-serif;

    /* Effects */
    --glow-inner: none;
    --blur-glass: 10px;

    /* Legacy/Compat */
    --primary-color: #b3526a;
    /* Maroon is the new primary */
    --background-color: var(--bg-light);
    --text-color: var(--text-main);

    /* Navbar specific */
    --nav-scrolled-bg: rgba(255, 255, 255, 0.9);
    --nav-text: #1A1A1A;

    /* Custom Gradients */
    --maroon-grad: linear-gradient(135deg, #EFA7A7 0%, #b3526a 100%);
}

/* --- global.css --- */
/* Global CSS */

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

/* Skeleton Loading Animation */
@keyframes skeleton-shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(to right,
            #f6f7f8 0%,
            #edeef1 20%,
            #f6f7f8 40%,
            #f6f7f8 100%);
    background-repeat: no-repeat;
    background-size: 800px 104px;
    display: inline-block;
    position: relative;
    animation: skeleton-shimmer 1.2s infinite linear forwards;
}

.skeleton-text {
    height: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.skeleton-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.skeleton-card {
    height: 200px;
    width: 100%;
    border-radius: 20px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    /* always reserve scrollbar gutter to prevent layout shift */
    scrollbar-gutter: stable;
    /* modern browsers: reserve space without always showing scrollbar */
}

/* Navbar Styles - Light Theme */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease,
        -webkit-backdrop-filter 0.4s ease, padding 0.4s ease,
        border-bottom 0.4s ease;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-mist);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background-color: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background-color: var(--primary-color);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    display: block;
}

.navbar h1,
.navbar-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--nav-text);
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}


.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    position: relative;
    /* Essential for nav-indicator positioning */
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-right .mobile-menu-toggle {
        margin-left: 0.25rem;
        order: 99;
    }

    .navbar {
        flex-wrap: nowrap;
    }

    .navbar h1 {
        flex: 0 0 auto;
    }

    .nav-right {
        flex: 0 0 auto;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        margin: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin: 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-item {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
        font-size: 1rem;
        color: var(--text-main);
    }

    .nav-item:hover,
    .nav-item.active {
        color: var(--primary-color);
    }

    .nav-indicator {
        display: none !important;
    }

    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .navbar.scrolled .mobile-menu-toggle span {
        background-color: var(--text-main);
    }
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .mobile-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }
}

.nav-item {
    text-decoration: none;
    color: var(--text-mist);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
}

/* Remove click/focus background box on navbar links */
.nav-item:focus,
.nav-item:active {
    outline: none;
    background: transparent;
}

/* Right Side Nav Items */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    justify-content: flex-end;
    /* Reserve space for auth UI (Sign In vs user menu) so navbar doesn't shift */
    flex: 0 0 220px;
}

.notification-icon {
    color: var(--text-mist);
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.notification-icon:hover {
    color: var(--primary-color);
}

.notification-icon:focus,
.notification-icon:active,
.notification-icon:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--maroon-grad);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Notification dropdown (SaaS-style panel) */
.notification-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: min(380px, 90vw);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.75rem 0;
    z-index: 1200;
    display: none;
}

.notification-dropdown.open {
    display: block;
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.notification-dropdown-header-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.notification-dropdown-header-action {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.notification-dropdown-header-action:hover {
    background: rgba(179, 82, 106, 0.06);
}

.notification-dropdown-body {
    max-height: 390px;
    overflow-y: auto;
}

.notification-dropdown-empty {
    padding: 1.25rem 1.25rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-mist);
}

.notification-dropdown-list {
    display: flex;
    flex-direction: column;
}

.notification-dropdown-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: background 0.18s ease;
}

.notification-dropdown-item:hover {
    background: #f9fafb;
}

.notification-dropdown-item-unread {
    background: #f1f5f9;
}

.notification-dropdown-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4f46e5;
}

.notification-dropdown-item-content {
    flex: 1;
    min-width: 0;
}

.notification-dropdown-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.15rem;
}

.notification-dropdown-item-message {
    font-size: 0.8rem;
    color: var(--text-mist);
    margin-bottom: 0.1rem;
}

.notification-dropdown-item-meta {
    font-size: 0.7rem;
    color: #9ca3af;
}

.notification-dropdown-footer {
    padding: 0.65rem 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    justify-content: center;
}

.notification-clear-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #ef4444;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.notification-clear-btn:hover {
    background: #fef2f2;
    transform: translateY(-1px);
}

.notification-clear-btn i {
    width: 14px;
    height: 14px;
}


.btn-signin {
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    background: var(--maroon-grad);
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(179, 82, 106, 0.2);
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #f9fafb;
    color: var(--text-mist);
    border-top: 1px solid var(--glass-stroke);
    font-size: 0.9rem;
}

/* Striking Light Animation - Maroon Gradient */
.nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: var(--maroon-grad);
    box-shadow: 0 0 10px rgba(179, 82, 106, 0.5), 0 0 20px rgba(179, 82, 106, 0.3);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

/* ========================================
   Navbar Responsive
   ======================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 4%;
    }

    .navbar.scrolled {
        padding: 0.75rem 4%;
    }

    .navbar h1,
    .navbar-title {
        font-size: 1.25rem;
    }

    .navbar-logo {
        height: 25px;
        /* Unified with desktop */
    }

    .nav-right {
        gap: 0.75rem;
    }

    .btn-signin {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 3%;
    }

    .navbar h1,
    .navbar-title {
        font-size: 1.1rem;
    }

    .navbar-logo {
        height: 25px;
        /* Unified with desktop */
    }

    .nav-right {
        gap: 0.5rem;
    }

    .btn-signin {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .notification-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Accessibility: Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- components.css --- */
/* Components CSS */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--maroon-grad);
    color: #fff;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 8px 4px rgba(255, 255, 255, 0.4);
    padding: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    z-index: 1;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent, rgba(255, 255, 255, 0.3));
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;

    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Team Full badge */
.team-full-badge {
    display: inline-block;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    margin-left: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* Skeleton Loaders */
.skeleton-line {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.project-card-skeleton {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Auth Loading State */
.auth-loading-state .nav-right .btn-signin,
.auth-loading-state .nav-right .user-menu,
.auth-loading-state .nav-right .notification-icon {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* --- hero.css --- */
/* Hero Section - Video Background */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #f0ede8;
    color: var(--text-main);
    text-align: center;
    padding-top: 80px;
}

/* Fullscreen Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Hero Content Wrapper - Transparent (Glass Removed) */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
    /* Glass styles removed per user request */
    background: transparent;
    box-shadow: none;
    border: none;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Headline */
.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    /* Decreased size */
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    /* Tighter letter spacing */
    margin-bottom: 2rem;
    color: #000000;
    display: flex;
    /* Align baseline so rotating word sits neatly on the text line */
    align-items: baseline;
    gap: 0.5rem;
    /* Space between "Find your next" and rotating card */
    flex-wrap: wrap;
    justify-content: center;
}

/* Rotating Text Animation - CSS Only */
.card {
    /* Remove solid box background around rotating words */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0.2rem;
    border-radius: 1.25rem;
    display: inline-block;
    vertical-align: middle;
}

.loader {
    color: #333;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: clamp(3.2rem, 3vw, 1.8rem);
    /* Let the height be driven by font-size so it aligns with the heading */
    height: auto;
    padding: 0;
    display: flex;
    align-items: baseline;
}

.words {
    overflow: hidden;
    position: relative;
    /* Tight vertical box so the slide animation feels even */
    height: 1.1em;
}

.words::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Make loader background fully transparent (no box) */
    background: linear-gradient(transparent 10%,
            transparent 30%,
            transparent 70%,
            transparent 90%);
    z-index: 20;
}

.word {
    display: block;
    height: 100%;
    padding-left: 6px;
    color: #942fa6;
    animation: spin_4991 4s infinite;
    will-change: transform;
}

@keyframes spin_4991 {

    0%,
    5% {
        transform: translateY(0%);
    }

    15% {
        transform: translateY(-102%);
    }

    33% {
        transform: translateY(-100%);
    }

    38% {
        transform: translateY(-100%);
    }

    48% {
        transform: translateY(-202%);
    }

    66% {
        transform: translateY(-200%);
    }

    71% {
        transform: translateY(-200%);
    }

    81% {
        transform: translateY(-302%);
    }

    100% {
        transform: translateY(-300%);
    }
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-mist);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 400;
    font: 1.5em roboto;

}

/* Buttons - Circular Fill Animation */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1s forwards;
}

.btn-hero {
    background: transparent;
    position: relative;
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border-radius: 25px;
    outline: none;
    overflow: hidden;
    transition: color 0.3s 0.1s ease-out;
    text-align: center;
}

.btn-hero::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: '';
    border-radius: 50%;
    display: block;
    width: 20em;
    height: 20em;
    left: -5em;
    text-align: center;
    transition: box-shadow 0.5s ease-out;
    z-index: -1;
}

/* Primary Button */
.btn-primary {
    border: none;
    color: #ffffff;
    background: var(--maroon-grad);
    box-shadow: 0 14px 30px rgba(179, 82, 106, 0.35);
    transform: translateY(0);
}

.btn-primary::before {
    background: transparent;
    box-shadow: none;
}

.btn-primary:hover {
    color: #ffffff;
    border-color: transparent;
}

.btn-primary:hover::before {
    box-shadow: inset 0 0 0 10em #7a1a2e;
}

/* Secondary Button */
.btn-secondary {
    border: 1px solid rgba(15, 23, 42, 0.4);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.btn-secondary:hover {
    color: #fff;
    border-color: rgba(15, 23, 42, 0.9);
}

.btn-secondary:hover::before {
    box-shadow: inset 0 0 0 10em var(--text-main);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Split Text Animation Styles */
.split-line {
    overflow: hidden;
    display: inline-block;
}

.split-char,
.split-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: revealText 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    margin-right: 0.10em;
    /* Tighter letter spacing */
}

@keyframes revealText {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS Cleaned up - Rotating Words Removed */

/* ========================================
   Hero Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        padding-top: 70px;
    }

    .hero-content {
        max-width: 700px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 85vh;
        padding-top: 60px;
    }

    .hero-content {
        max-width: 100%;
        padding: 1rem;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        gap: 0.35rem;
        margin-bottom: 1.5rem;
    }

    .card {
        padding: 0.35rem 0.75rem;
        border-radius: 1rem;
    }

    .loader {
        font-size: clamp(1rem, 4vw, 1.3rem);
        padding: 6px 6px;
        justify-content: center;
        align-items: center;
    }

    .word {
        padding-left: 0;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .btn-hero {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        padding-top: 50px;
    }

    .hero h1 {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .loader {
        font-size: 1rem;
        padding: 4px 4px;
        justify-content: center;
        align-items: center;
    }

    .word {
        padding-left: 0;
        text-align: center;
    }
}

/* --- sections.css --- */
/* ========================================
   SECTIONS - Homepage Expansion
   ======================================== */

/* Global Section Styles */
section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-main);
    position: relative;
    z-index: 1;
}

/* Glassmorphism Card Base */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ========================================
   1. PROBLEMS WE SOLVE - Corner Expansion Effect
   ======================================== */
.problems-section {

    position: relative;
}

/* Smooth transition from hero section */
.problems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;

    pointer-events: none;
    z-index: 0;
}

.transition-blur {
    height: 150px;
    /* Adjust height for a longer or shorter fade */
    width: 100%;
    background: linear-gradient(to bottom, transparent, #ffffff);
    margin-top: -150px;
    /* Pulls the next section up to overlap */
    position: relative;
    z-index: 10;
}

.bento-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.card1 {
    background-image: url('../assets/images/Left on read.webp');
}

.card2 {
    background-image: url('../assets/images/card2.jpeg');
}

.card3 {
    background-image: url('../assets/images/card3.jpeg');
}

/* Problem Card - Corner Expansion */
.problem-card {
    position: relative;
    width: 25%;
    min-width: 250px;
    height: 320px;
    flex: 1 1 250px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.5s ease;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-5px);
    /* Example mesh gradient, adjust colors as needed */
    background: url('../assets/images/mesh-gradient.jpg') no-repeat center center/cover;
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: darken;
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;

}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Front Text */
.card-question {

    font-size: 2.5rem;
    font-weight: 400;
    color: #d36f28;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    position: absolute;
    text-align: center;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card:hover .card-question {
    opacity: 0;
}

/* Solution Text - Hidden by default */
.card-solution {
    position: absolute;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    line-height: 1.6;
    opacity: 0;
    transition: none;
    /* No transition - instant appearance */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card:hover .card-solution {
    opacity: 1;
}

/* Corner Decorations that Expand */
.problem-card::before,
.problem-card::after {
    position: absolute;
    content: "";
    width: 20%;
    height: 20%;
    background: rgba(173, 216, 230, 0.4);
    transition: all 0.5s ease;
    z-index: 1;
}

.problem-card::before {
    top: 0;
    right: 0;
    border-radius: 0 20px 0 100%;
}

.problem-card::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100% 0 20px;
}

/* Hover State - Corners Expand with Mesh Gradient */
.problem-card:hover::before,
.problem-card:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-image: url('../assets/images/mesh-gradient.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    /* Slightly transparent mesh */
    transition: all 0.5s ease;
}

/* ========================================
   2. WHAT YOU CAN DO - Feature Cards
   ======================================== */
.features-section {
    background: transparent;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-mist);
    line-height: 1.7;
    font-size: 1.1rem;
}

.transition-blur2 {
    height: 150px;
    /* Adjust height for a longer or shorter fade */
    width: 100%;
    background: linear-gradient(to bottom, transparent, #E1E9E5);
    margin-top: -150px;
    /* Pulls the next section up to overlap */
    position: relative;
    z-index: 10;
}

/* ========================================
   3. HOW IT WORKS - Alternating Timeline
   ======================================== */
.how-it-works-section {
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
}

.kx-timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem 0;
}

/* Timeline Spine */
.kx-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E6EAF0;
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline Item */
.kx-timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    min-height: 180px;
    /* Ensure space for cards */
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.kx-timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Node Dot */
.kx-timeline-node {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 10px;
    height: 10px;
    background: var(--node-color, #E6EAF0);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 0 12px var(--node-glow, rgba(0, 0, 0, 0.1));
    animation: nodePulse 3s infinite ease-in-out;
}

@keyframes nodePulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) scale(1.4);
        opacity: 0.7;
    }
}

/* Date/Step Pill */
.kx-timeline-pill {
    position: absolute;
    left: 50%;
    top: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background: var(--pill-gradient);
    z-index: 4;
    white-space: nowrap;
}

.kx-timeline-item:nth-child(odd) .kx-timeline-pill {
    transform: translateX(-100%) translateX(-30px);
    /* Move left of spine */
}

.kx-timeline-item:nth-child(even) .kx-timeline-pill {
    transform: translateX(30px);
    /* Move right of spine */
}

/* Content Card Container */
.kx-timeline-content {
    width: 50%;
    position: relative;
    display: flex;
}

.kx-timeline-item:nth-child(odd) {
    justify-content: flex-end;
}

.kx-timeline-item:nth-child(odd) .kx-timeline-content {
    justify-content: flex-start;
    padding-left: 60px;
}

.kx-timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.kx-timeline-item:nth-child(even) .kx-timeline-content {
    justify-content: flex-end;
    padding-right: 60px;
}

.kx-timeline-card {
    width: 340px;
    background: #FFFFFF;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    cursor: default;
    z-index: 2;
}

/* Icon */
.kx-timeline-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 22px;
    height: 22px;
    color: var(--theme-primary);
}

/* Typography */
.kx-timeline-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--theme-primary);
    margin-bottom: 4px;
    margin-top: 0;
}

.kx-timeline-tag {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.7;
    margin-bottom: 12px;
    display: block;
}

.kx-timeline-card p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
    margin: 0;
}

/* Shapes Removed for Simplicity */

/* Theme Colors */
.kx-theme--purple {
    --theme-primary: #8E6BCF;
    --theme-light: #D8C8F2;
    --pill-gradient: linear-gradient(135deg, #8E6BCF, #D8C8F2);
    --hover-gradient: linear-gradient(135deg, #D8C8F2 0%, #8E6BCF 100%);
    --node-color: #8E6BCF;
    --node-glow: rgba(142, 107, 207, 0.4);
}

.kx-theme--peach {
    --theme-primary: #E89090;
    --theme-light: #FADDDD;
    --pill-gradient: linear-gradient(135deg, #E89090, #FADDDD);
    --hover-gradient: linear-gradient(135deg, #FADDDD 0%, #E89090 100%);
    --node-color: #E89090;
    --node-glow: rgba(232, 144, 144, 0.4);
}

.kx-theme--mint {
    --theme-primary: #7BCFB4;
    --theme-light: #DDF5EC;
    --pill-gradient: linear-gradient(135deg, #7BCFB4, #DDF5EC);
    --hover-gradient: linear-gradient(135deg, #DDF5EC 0%, #7BCFB4 100%);
    --node-color: #7BCFB4;
    --node-glow: rgba(123, 207, 180, 0.4);
}

.kx-theme--blue {
    --theme-primary: #8FB1E3;
    --theme-light: #DEE8FA;
    --pill-gradient: linear-gradient(135deg, #8FB1E3, #DEE8FA);
    --hover-gradient: linear-gradient(135deg, #DEE8FA 0%, #8FB1E3 100%);
    --node-color: #8FB1E3;
    --node-glow: rgba(143, 177, 227, 0.4);
}

/* Scroll Animations - Horizontal Slide */
.kx-timeline-item {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.kx-timeline-item:nth-child(odd) {
    transform: translateX(100px);
}

.kx-timeline-item:nth-child(even) {
    transform: translateX(-100px);
}

.kx-timeline-item.animate,
.kx-timeline-item.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Responsive adjustment for animation */
@media (max-width: 900px) {

    .kx-timeline-item:nth-child(odd),
    .kx-timeline-item:nth-child(even) {
        transform: translateX(50px);
        /* All from right on mobile */
    }

    .kx-timeline-item.animate,
    .kx-timeline-item.active {
        transform: translateX(0) !important;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .kx-timeline::before {
        left: 20px;
    }

    .kx-timeline-node {
        left: 20px;
        top: 28px;
    }

    .kx-timeline-pill {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        display: inline-block;
        margin-bottom: 15px;
        margin-left: 0;
        z-index: 5;
    }

    .kx-timeline-item {
        justify-content: flex-start !important;
        padding-left: 55px;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 3.5rem;
    }

    .kx-timeline-content {
        width: 100%;
        padding: 0 !important;
        justify-content: flex-start !important;
    }

    .kx-timeline-card {
        width: 100%;
        max-width: none;
    }
}

/* ========================================
   4. WHY KOLLABX - Feature List
   ======================================== */
.why-section {
    background: transparent;
}


/* ========================================
   5. FAQ - Accordion
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
}

.faq-item {
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.8;
    color: #b3526a;
    /* Use maroon for the icon */
}

.faq-answer {
    padding: 0 32px 24px;
    display: none;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
}

/* Updated FAQ Active State - Using maroon gradient for marker if desired, 
   but user asked for white containers. Keeping it clean. */
.faq-item.active {
    border-color: #EFA7A7;
}

/* Removed FAQ Pastel Themes */

/* Active States (No animation) */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    content: '-';
}

/* ========================================
   6. FOOTER
   ======================================== */
/* ========================================
   6. FOOTER - Premium Multi-Column Layout
   ======================================== */
.main-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    padding: 5rem 5% 2rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Brand Section */
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.footer-brand .logo i {
    color: #EFA7A7;
}

.footer-brand .logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 320px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.f-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.f-badge:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Column Links */
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1.25rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

/* Newsletter Section */
.newsletter-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-content {
    flex: 1;
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.subscribe-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    outline: none;
}

.btn-subscribe {
    background: white;
    color: #b3526a;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-subscribe:hover {
    transform: scale(1.02);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    transform: translateX(15px);
}

.social-btn {
    position: relative;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.social-btn:hover {
    background: var(--maroon-grad);
    color: white;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ADE80;
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-newsletter {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 2;
    }

    .newsletter-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
}

.fade-in-up.animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Support both .active and .animate for the timeline */
.kx-timeline-item.active,
.kx-timeline-item.animate {
    opacity: 1;
}

/* Side slide animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    opacity: 0;
}

.fade-in-left.animate {
    animation: fadeInLeft 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in-right {
    opacity: 0;
}

.fade-in-right.animate {
    animation: fadeInRight 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Stagger delays for cards */
.problem-card:nth-child(1) {
    animation-delay: 0.1s;
}

.problem-card:nth-child(2) {
    animation-delay: 0.2s;
}

.problem-card:nth-child(3) {
    animation-delay: 0.3s;
}

.kx-card:nth-child(1) {
    animation-delay: 0.1s;
}

.kx-card:nth-child(2) {
    animation-delay: 0.2s;
}

.kx-card:nth-child(3) {
    animation-delay: 0.3s;
}

.kx-feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.kx-feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.kx-feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.kx-feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.glass-card:nth-child(1) {
    animation-delay: 0.1s;
}

.glass-card:nth-child(2) {
    animation-delay: 0.2s;
}

.glass-card:nth-child(3) {
    animation-delay: 0.3s;
}

.glass-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }

    section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 2rem;
    }

    .bento-grid {
        flex-direction: column;
        align-items: center;
    }

    .problem-card {
        width: 100%;
        min-width: unset;
        max-width: 400px;
        height: 260px;
    }

    .card-question {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .card-solution {
        font-size: 0.9rem;
        padding: 1.5rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .kx-card {
        aspect-ratio: unset;
        min-width: unset;
        max-width: 100%;
        width: 100%;
    }

    .kx-card-container {
        padding: 10px;
    }

    .why-section {
        padding: 60px 0;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 20px 18px;
    }

    .transition-blur {
        height: 80px;
        margin-top: -80px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2.5rem 0.75rem;
    }

    .problem-card {
        height: 220px;
    }

    .card-question {
        font-size: 1.1rem;
    }

    .card-solution {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 1;
    }

    .main-footer {
        padding: 3rem 5% 1.5rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* REUSABLE COMPONENTS - KX-CARD */
.kx-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.kx-card {
    position: relative;
    aspect-ratio: 1.25 / 1;
    min-width: 260px;
    max-width: 340px;
    flex: 1 1 260px;
    /* Fluid responsive flow */
    padding: 24px;
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out, background 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
}

/* Small Icon Utility for Notifications */
.kx-feature--small-icon .kx-illustration-area {
    width: 20%;
}

.kx-feature--small-icon .kx-illustration-bg {
    width: 80px;
    height: 80px;
}

.kx-feature--small-icon i {
    width: 32px !important;
    height: 32px !important;
}

.kx-feature--small-icon .kx-content-area {
    width: 80%;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .kx-feature--small-icon .kx-illustration-area {
        height: 80px;
    }
}

.kx-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.kx-card-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    z-index: 3;
    transition: color 0.25s ease-in-out;
}

.kx-card-icon i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5px;
}

.kx-card-header {
    margin-top: 15%;
    /* Heading starts at ~20% from top */
    z-index: 2;
}

.kx-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    transition: color 0.25s ease-in-out;
    margin-top: 0;
}

.kx-card-subtitle {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

/* Shapes System */
.kx-card-shapes {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 150px;
    height: 150px;
    opacity: 0.85;
    transition: opacity 0.25s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.kx-card:hover .kx-card-shapes {
    opacity: 0.95;
}

.kx-card-shapes img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    bottom: 0;
    right: 0;
}

/* Color Categories (PASTEL) */

/* Purple */
.kx-card--purple .kx-card-title {
    color: #5B2D8B;
}

.kx-card--purple .kx-card-subtitle {
    color: #7A5FA3;
}

.kx-card--purple .kx-card-icon {
    color: #5B2D8B;
}

.kx-card--purple:hover {
    background: linear-gradient(135deg, #D8C8F2 0%, #8E6BCF 100%);
    box-shadow: 0 16px 32px rgba(142, 107, 207, 0.3);
}

/* Peach */
.kx-card--peach .kx-card-title {
    color: #C65353;
}

.kx-card--peach .kx-card-subtitle {
    color: #E07B7B;
}

.kx-card--peach .kx-card-icon {
    color: #C65353;
}

.kx-card--peach:hover {
    background: linear-gradient(135deg, #FADDDD 0%, #E89090 100%);
    box-shadow: 0 16px 32px rgba(232, 144, 144, 0.3);
}

/* Mint */
.kx-card--mint .kx-card-title {
    color: #2E7D64;
}

.kx-card--mint .kx-card-subtitle {
    color: #5FA08A;
}

.kx-card--mint .kx-card-icon {
    color: #2E7D64;
}

.kx-card--mint:hover {
    background: linear-gradient(135deg, #DDF5EC 0%, #7BCFB4 100%);
    box-shadow: 0 16px 32px rgba(123, 207, 180, 0.3);
}

/* Soft Blue */
.kx-card--blue .kx-card-title {
    color: #355C9D;
}

.kx-card--blue .kx-card-subtitle {
    color: #6E8EC4;
}

.kx-card--blue .kx-card-icon {
    color: #355C9D;
}

.kx-card--blue:hover {
    background: linear-gradient(135deg, #DEE8FA 0%, #8FB1E3 100%);
    box-shadow: 0 16px 32px rgba(143, 177, 227, 0.3);
}

/* Yellow */
.kx-card--yellow .kx-card-title {
    color: #7D5B1A;
}

.kx-card--yellow .kx-card-subtitle {
    color: #96743A;
}

.kx-card--yellow .kx-card-icon {
    color: #7D5B1A;
}

.kx-card--yellow:hover {
    background: linear-gradient(135deg, #FFF9E6 0%, #F5C75D 100%);
    box-shadow: 0 16px 32px rgba(245, 199, 93, 0.3);
}

/* Hover Overrides */
.kx-card:hover .kx-card-title {
    color: #FFFFFF;
}

.kx-card:hover .kx-card-icon {
    color: #FFFFFF;
}

/* ========================================
   4. WHY KOLLABX - Horizontal Feature Cards
   ======================================== */
.why-section {
    padding: 100px 0;
    background: #FAFAFA;
}

.kx-feature-container {
    max-width: 1000px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

.kx-feature-card {
    position: relative;
    width: 100%;
    height: 150px;
    /* Desktop Height */
    display: flex;
    align-items: center;
    border-radius: 24px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 1;
}

/* Card Hover */
.kx-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Internal Split: 30/70 */
.kx-illustration-area {
    width: 30%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.kx-content-area {
    width: 70%;
    padding: 24px 80px 24px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* Illustration Styles */
.kx-illustration-area img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    z-index: 3;
    transition: transform 0.4s ease;
}

.kx-feature-card:hover .kx-illustration-area img {
    transform: scale(1.1);
}

.kx-illustration-bg {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 1;
}

/* Content Styles */
.kx-feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 0;
    transition: color 0.3s ease;
}

.kx-feature-desc {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.kx-feature-meta {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Action Button (Far Right) */
.kx-feature-action {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 4;
}

.kx-feature-card:hover .kx-feature-action {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px var(--btn-glow);
}

/* Ambient Dots */
.kx-ambient-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    transition: transform 0.5s ease-out;
}

.kx-feature-card:hover .kx-ambient-dot {
    transform: scale(1.5) translate(5px, 5px);
}

/* Color Themes */
/* Purple */
.kx-feature--purple {
    background: linear-gradient(135deg, #F1ECFB 0%, #D8C8F2 100%);
    --btn-glow: rgba(142, 107, 207, 0.4);
}

.kx-feature--purple .kx-feature-title {
    color: #5B2D8B;
}

.kx-feature--purple .kx-feature-action {
    background: #8E6BCF;
}

.kx-feature--purple .kx-ambient-dot {
    background: #8E6BCF;
}

.kx-feature--purple:hover {
    background: linear-gradient(135deg, #D8C8F2 0%, #F1ECFB 100%);
}

/* Peach */
.kx-feature--peach {
    background: linear-gradient(135deg, #FFF1F1 0%, #FADDDD 100%);
    --btn-glow: rgba(232, 144, 144, 0.4);
}

.kx-feature--peach .kx-feature-title {
    color: #C65353;
}

.kx-feature--peach .kx-feature-action {
    background: #E89090;
}

.kx-feature--peach .kx-ambient-dot {
    background: #E89090;
}

.kx-feature--peach:hover {
    background: linear-gradient(135deg, #FADDDD 0%, #FFF1F1 100%);
}

/* Mint */
.kx-feature--mint {
    background: linear-gradient(135deg, #F1FBF7 0%, #DDF5EC 100%);
    --btn-glow: rgba(123, 207, 180, 0.4);
}

.kx-feature--mint .kx-feature-title {
    color: #2E7D64;
}

.kx-feature--mint .kx-feature-action {
    background: #7BCFB4;
}

.kx-feature--mint .kx-ambient-dot {
    background: #7BCFB4;
}

.kx-feature--mint:hover {
    background: linear-gradient(135deg, #DDF5EC 0%, #F1FBF7 100%);
}

/* Soft Blue */
.kx-feature--blue {
    background: linear-gradient(135deg, #F2F6FD 0%, #DEE8FA 100%);
    --btn-glow: rgba(143, 177, 227, 0.4);
}

.kx-feature--blue .kx-feature-title {
    color: #355C9D;
}

.kx-feature--blue .kx-feature-action {
    background: #8FB1E3;
}

.kx-feature--blue .kx-ambient-dot {
    background: #8FB1E3;
}

.kx-feature--blue:hover {
    background: linear-gradient(135deg, #DEE8FA 0%, #F2F6FD 100%);
}

/* Responsive Stacking */
@media (max-width: 991px) {
    .kx-content-area {
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .kx-feature-card {
        flex-direction: column;
        height: auto;
        padding: 16px;
    }

    .kx-illustration-area {
        width: 100%;
        height: 120px;
    }

    .kx-content-area {
        width: 100%;
        padding: 16px 0;
        text-align: center;
    }

    .kx-feature-action {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin: 10px auto 0;
    }

    .kx-feature-card:hover .kx-feature-action {
        transform: scale(1.1);
    }
}

/* Small Icon Utility for Notifications */
.kx-feature--small-icon .kx-illustration-area {
    width: 20%;
}

.kx-feature--small-icon .kx-illustration-bg {
    width: 80px;
    height: 80px;
}

.kx-feature--small-icon i {
    width: 32px !important;
    height: 32px !important;
}

.kx-feature--small-icon .kx-content-area {
    width: 80%;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .kx-feature--small-icon .kx-illustration-area {
        height: 80px;
    }
}

/* --- auth.css --- */
/* Authentication & User Menu Styles */

/* User Menu */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    transition: all 0.3s ease;
    color: var(--text-mist);
}

.user-menu-btn:hover {
    background: rgba(179, 82, 106, 0.1);
    color: var(--primary-color);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--maroon-grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-name {
    font-weight: 500;
    font-size: 0.85rem;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.chevron-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.user-menu-btn[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

/* User Menu Dropdown */
.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
}

.user-menu-item:hover {
    background: rgba(179, 82, 106, 0.05);
    color: var(--primary-color);
}

.user-menu-item i {
    width: 18px;
    height: 18px;
}

.user-menu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

.logout-btn {
    color: #dc3545;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Auth Loading State */
.auth-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
}

.auth-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(179, 82, 106, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .user-menu-dropdown {
        right: 0;
        left: auto;
    }

    .user-name {
        display: none;
    }

    .user-menu-btn {
        padding: 0.5rem;
    }
}


/* --- toast.css --- */
/* Toast Notification System Styles */

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 400px;
    width: 100%;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: all;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

/* Progress bar that auto-depletes */
.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    opacity: 0.4;
    animation: toast-progress 4s linear forwards;
}

.toast-success::after {
    background: #10b981;
}

.toast-error::after {
    background: #ef4444;
}

.toast-info::after {
    background: #3b82f6;
}

.toast-warning::after {
    background: #f59e0b;
}

@keyframes toast-progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.toast-show {
    opacity: 1;
    transform: translateX(0);
}

.toast-hide {
    opacity: 0;
    transform: translateX(400px);
}

/* Toast Types */
.toast-success {
    border-left-color: #10b981;
    background: linear-gradient(to right, #ecfdf5 0%, white 8%);
}

.toast-error {
    border-left-color: #ef4444;
    background: linear-gradient(to right, #fef2f2 0%, white 8%);
}

.toast-info {
    border-left-color: #3b82f6;
    background: linear-gradient(to right, #eff6ff 0%, white 8%);
}

.toast-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(to right, #fffbeb 0%, white 8%);
}

/* Toast Icon */
.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-icon i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

/* Toast Content */
.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-message {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #111827;
    font-weight: 500;
}

/* Toast Close Button */
.toast-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #6b7280;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

.toast-close i {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        transform: translateX(calc(100vw + 20px));
    }

    .toast-show {
        transform: translateX(0);
    }

    .toast-hide {
        transform: translateX(calc(100vw + 20px));
    }
}

/* Animation for multiple toasts */
.toast-container .toast:nth-child(n+2) {
    margin-top: 0;
}

/* Accessibility */
.toast:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Toast Confirm Modal */
.toast-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toast-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px;
}

.toast-modal-show {
    opacity: 1;
}

.toast-modal.toast-modal-show {
    transform: scale(1) translateY(0);
}

.toast-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.toast-modal-message {
    font-size: 1.1rem;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 24px;
}

.toast-modal-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.toast-modal-actions button {
    flex: 1;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.toast-modal-actions .btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.toast-modal-actions .btn-cancel:hover {
    background: #e5e7eb;
}

.toast-modal-actions .btn-primary {
    background: var(--maroon-grad, linear-gradient(135deg, #b3526a, #8c3b52));
    color: white;
}

.toast-modal-actions .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(179, 82, 106, 0.2);
}

.toast-modal-actions .btn-danger {
    background: #ef4444;
    color: white;
}

.toast-modal-actions .btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* --- cookie-consent.css --- */
/* Cookie Consent Banner */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 16px 16px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#cookie-consent-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#cookie-consent-banner.hiding {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-consent-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 24px;
    background: rgba(22, 22, 30, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow:
        0 -4px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.cookie-icon {
    width: 22px;
    height: 22px;
    color: #b060ff;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f0f0f5;
    margin: 0 0 4px;
    line-height: 1.3;
}

.cookie-desc {
    font-size: 0.82rem;
    color: rgba(240, 240, 245, 0.55);
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(240, 240, 245, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(240, 240, 245, 0.85);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #b060ff, #8a3dff);
    color: #fff;
    box-shadow: 0 2px 12px rgba(176, 96, 255, 0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #c080ff, #9a4dff);
    box-shadow: 0 4px 20px rgba(176, 96, 255, 0.45);
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 600px) {
    #cookie-consent-banner {
        padding: 0 10px 10px;
    }

    .cookie-consent-inner {
        flex-direction: column;
        padding: 18px 18px;
        gap: 16px;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 11px 16px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    #cookie-consent-banner {
        transition: opacity 0.2s ease;
        transform: none !important;
    }

    #cookie-consent-banner.visible {
        transform: none;
    }

    .cookie-btn-accept:hover {
        transform: none;
    }
}