/* ===== BASE STYLES ===== */

/* CSS Reset and Normalize */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    color: var(--text-primary);
    background-color: var(--bg-secondary, #faf9f7);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Capa de fondo sutil - solo para secciones sin fondo propio */
.site-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-color: #f8fafc;
    background-size: 45%;
    background-position: -5% center;
    background-repeat: no-repeat;
    pointer-events: none;
    filter: blur(12px);
    opacity: 0.25;
}

.site-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f8fafc;
    opacity: 0.92;
    pointer-events: none;
}

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, var(--font-family));
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #2C2416);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover, a:focus {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ===== LAYOUT ===== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: var(--radius-full, 9999px);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-normal), color var(--transition-fast), background var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ===== SECTIONS ===== */

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

/* Fondos sólidos por sección para coherencia */
.how-it-works,
.plugins-teaser,
.product-preview {
    background: var(--bg-secondary) !important;
}

.how-it-works .how-it-works-card,
.plugins-teaser .plugin-card,
.product-preview .mockup-card {
    background: var(--bg-primary) !important;
}

@media (min-width: 768px) {
    .section-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
    }
}

/* ===== NAVIGATION ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: #374151;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
}

.nav-brand img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(44, 36, 22, 0.1);
}

.nav-brand a:hover {
    text-decoration: none;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: auto;
        max-width: none;
        margin-top: 0;
        padding: 0;
        border: none;
        background: transparent;
        max-height: none;
        overflow: visible;
        box-shadow: none;
    }
}

/* Móvil: panel vertical bajo la barra; el estado abierto lo controla .navbar.is-menu-open (sin estilos inline) */
@media (max-width: 767.98px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-brand {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-toggle {
        order: 2;
        flex: 0 0 auto;
        z-index: calc(var(--z-dropdown, 1000) + 2);
    }

    .nav-menu {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-light);
    }

    .navbar.is-menu-open .nav-menu {
        display: flex;
    }

    .nav-menu > a,
    .nav-menu > .nav-dropdown {
        width: 100%;
    }

    .nav-menu > a {
        display: flex;
        align-items: center;
        min-height: 2.75rem;
        padding: 0.5rem 0.25rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu > a:last-of-type {
        border-bottom: none;
    }

    .nav-menu .btn-download {
        justify-content: center;
        margin-top: 0.25rem;
        border-bottom: none;
    }

    .nav-dropdown {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        min-height: 2.75rem;
        padding: 0.5rem 0.25rem;
        font-size: 1rem;
        text-align: left;
    }

    .nav-dropdown-toggle::after {
        content: '';
        width: 0.5rem;
        height: 0.5rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        margin-left: auto;
        transition: transform var(--transition-fast, 0.2s ease);
        opacity: 0.7;
    }

    .nav-dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(-135deg);
    }

    /* Submenú en flujo (evita solapes y recortes con position absolute) */
    .nav-dropdown-menu {
        position: static;
        min-width: unset;
        margin: 0 0 0.5rem;
        padding: 0;
        border: none;
        border-radius: var(--radius-md, 10px);
        box-shadow: none;
        background: var(--bg-tertiary, #f5f3f0);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        margin: 0;
        padding: 0.65rem 0.75rem;
        border-radius: var(--radius-sm, 6px);
    }

    .navbar.is-menu-open .nav-actions {
        order: 4;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
        flex: 1 1 100%;
        padding-top: 1rem;
        margin-top: 0.25rem;
        border-top: 1px solid var(--border-light);
    }

    .navbar.is-menu-open .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .navbar.is-menu-open .nav-actions .nav-user {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }
}

.nav-menu a {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.15s ease;
}

.nav-menu a:hover {
    color: #374151;
    text-decoration: none;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-secondary, #6B5744);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.25rem;
    border-radius: var(--radius-md, 10px);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-dropdown-toggle:hover {
    color: var(--text-primary, #2C2416);
    background-color: var(--bg-tertiary, #E8DFD6);
}

.nav-dropdown-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--text-primary, #2C2416);
    background-color: var(--bg-tertiary, #E8DFD6);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.15s ease;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-gray-600, #6B5744);
    border-radius: 0.375rem;
    margin: 0.25rem;
    transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background-color: var(--bg-tertiary, #E8DFD6);
    color: var(--text-primary, #2C2416);
    text-decoration: none;
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-actions {
        display: flex;
    }
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--color-gray-600, #6B5744);
    transition: all 0.15s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Evitar que esta regla anule position:fixed del navbar (.navbar gana en especificidad; se mantiene solo para el banner) */
body > .cookie-banner {
    position: relative;
}

/* Bloquear scroll cuando el drawer móvil está abierto */
body.nav-drawer-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    body.nav-drawer-open {
        overflow: visible;
    }
}

/* ===== HERO SECTION ===== */

.hero {
    padding: 5rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    line-height: 1.15;
}

.hero-title.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(3rem, 5vw, 4rem);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.65;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-actions .btn {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
}

.hero-illustration {
    margin-top: 3rem;
}

.hero-illustration img {
    width: 100%;
    max-width: 960px;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ===== FEATURES GRID ===== */

.features-highlights {
    padding: 4rem 0;
    background: transparent;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: white;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ===== AI SECTION ===== */

.ai-section {
    padding: 4rem 0;
    background: transparent;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ai-content {
        grid-template-columns: 1fr 1fr;
    }
}

.ai-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.ai-description {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.ai-features {
    list-style: none;
    padding: 0;
}

.ai-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.9375rem;
}

.ai-features li::before {
    content: "–";
    color: #374151;
    font-weight: 500;
}

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-demo {
    width: 100%;
    max-width: 400px;
}

.ai-chat-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.ai-chat-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-chat-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9ca3af;
}

.ai-chat-title {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.ai-chat-content {
    padding: 1.25rem;
    max-height: 280px;
    overflow-y: auto;
}

.ai-message {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.ai-user {
    background: var(--border-light);
    color: var(--text-primary);
}

.ai-assistant {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

/* ===== PLUGINS TEASER ===== */

.plugins-teaser {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.plugins-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.plugins-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .plugins-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .plugins-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.plugin-card {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
    position: relative;
    text-align: center;
}

.plugin-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary-light);
}

.plugin-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plugin-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.plugin-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: white;
}

.plugin-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.plugin-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.plugin-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* ===== SOCIAL PROOF ===== */

.social-proof {
    padding: 4rem 0;
    background: transparent;
}

.social-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .social-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.social-item {
    text-align: center;
    padding: 1.5rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 1px solid #374151;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #374151;
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.social-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.social-item p {
    color: #4b5563;
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* ===== FINAL CTA ===== */

.final-cta {
    padding: 4rem 0;
    background: transparent;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.cta-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #374151;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.final-cta .btn-primary {
    background: #374151;
    color: #ffffff;
    border-color: #374151;
}

.final-cta .btn-primary:hover {
    background: #1f2937;
    color: #ffffff;
    border-color: #1f2937;
}

.final-cta .btn-outline {
    background: transparent;
    color: #374151;
    border-color: #374151;
}

.final-cta .btn-outline:hover {
    background: #374151;
    color: #ffffff;
}

/* ===== FOOTER ===== */

.footer {
    background: var(--bg-dark);
    color: #ffffff;
    padding: 4rem 0 2rem;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.875rem;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.25rem 0;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-lang {
    display: flex;
    gap: 0.5rem;
}

.lang-toggle {
    background: none;
    border: 1px solid #d1d5db;
    color: #4b5563;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8125rem;
    transition: all 0.15s ease;
}

.lang-toggle:hover,
.lang-toggle.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* ===== COOKIE BANNER ===== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    color: #374151;
    padding: 1.25rem;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.2s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h3 {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookie-text p {
    color: #4b5563;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ===== ACCESSIBILITY ===== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* ===== UTILITIES ===== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
