/* Variables CSS */
:root {
    --hdi-green: #009639;
    --hdi-green-light: #4CAF50;
    --hdi-green-soft: #E8F5E9;
    --hdi-green-pastel: #A5D6A7;
    --hdi-green-dark: #007A2E;
    --hdi-green-glow: rgba(0, 150, 57, 0.3);
    --bg-primary: #F5F5F5;
    --bg-secondary: #FFFFFF;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: #E0E0E0;
    --text-primary: #212121;
    --text-secondary: #616161;
    --text-tertiary: #9E9E9E;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 150, 57, 0.2);
    --shadow-strong: 0 8px 32px rgba(0, 150, 57, 0.25);
    --gradient-1: linear-gradient(135deg, var(--hdi-green) 0%, var(--hdi-green-light) 100%);
    --gradient-2: linear-gradient(135deg, #00b894 0%, var(--hdi-green) 100%);
}

/* Pantalla de Login */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hdi-green-dark) 0%, var(--hdi-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.login-screen.hidden {
    display: none;
}

.login-container {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.login-logo img {
    filter: drop-shadow(0 2px 8px rgba(0, 150, 57, 0.2));
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--hdi-green);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    margin-bottom: 2rem;
}

.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.login-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.login-input:focus {
    border-color: var(--hdi-green);
    box-shadow: 0 0 0 3px var(--hdi-green-soft);
}

.login-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--hdi-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 150, 57, 0.3);
}

.login-btn:hover {
    background: var(--hdi-green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 150, 57, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-error {
    color: #E31E24;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 500;
}

.login-footer {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin-top: 1rem;
}
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fondo con formas geométricas animadas */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(0, 150, 57, 0.12) 0%, transparent 25%),
        radial-gradient(circle at 85% 80%, rgba(76, 175, 80, 0.10) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(165, 214, 167, 0.08) 0%, transparent 40%);
    animation: moveBackground 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Formas decorativas flotantes */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(0, 150, 57, 0.08) 2px, transparent 2px),
        radial-gradient(circle, rgba(0, 150, 57, 0.04) 1px, transparent 1px);
    background-size: 80px 80px, 40px 40px;
    background-position: 0 0, 40px 40px;
    opacity: 0.5;
    animation: driftPattern 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes moveBackground {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(2%, -2%);
    }
    50% {
        transform: translate(-1%, 3%);
    }
    75% {
        transform: translate(3%, 1%);
    }
}

@keyframes driftPattern {
    0% {
        background-position: 0 0, 40px 40px;
    }
    100% {
        background-position: 80px 80px, 120px 120px;
    }
}

/* Asegurar que el contenido esté sobre el fondo */
.header,
.main,
.footer {
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--hdi-green), var(--hdi-green-light), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header:hover::after {
    opacity: 0.6;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-hdi {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.logo-hdi img {
    display: block;
    height: 50px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-hdi:hover img {
    transform: scale(1.08) rotate(2deg);
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(0, 150, 57, 0.3));
}

.login-logo img {
    display: block;
    height: 60px;
    width: auto;
}

.brand-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--hdi-green), transparent);
    opacity: 0.3;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hdi-green);
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1;
}

.search-input {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 28px;
    padding: 0.85rem 1.8rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    min-width: 320px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--hdi-green);
    background: var(--bg-secondary);
    box-shadow: 
        0 0 0 4px var(--hdi-green-soft),
        0 4px 16px rgba(0, 150, 57, 0.15);
    transform: translateY(-2px) scale(1.02);
}

.search-input:hover {
    border-color: var(--hdi-green-pastel);
    box-shadow: 0 2px 8px rgba(0, 150, 57, 0.1);
}

.search-input::placeholder {
    color: var(--text-tertiary);
    font-weight: 400;
}

/* Main */
.main {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Elementos decorativos flotantes */
.main::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 150, 57, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatVisible 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.main::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: floatVisible 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatVisible {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(80px, -80px) scale(1.2);
        opacity: 0.7;
    }
}

/* Hero */
.hero {
    text-align: center;
    padding: 4rem 2rem 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--hdi-green-glow);
    border-radius: 50%;
    animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 30%;
    left: 70%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 19s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 20%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 21s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-20px, 40px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
        opacity: 0.35;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--hdi-green-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.title-word {
    display: inline-block;
    animation: slideInWord 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.title-word:nth-child(1) {
    animation-delay: 0.1s;
}

.title-word:nth-child(2) {
    animation-delay: 0.2s;
}

.title-word:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInWord {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeIn 1s ease 0.4s backwards;
}

/* Filters */
.filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.chip {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 28px;
    padding: 0.75rem 1.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.chip:hover {
    background: var(--hdi-green-soft);
    border-color: var(--hdi-green);
    color: var(--hdi-green-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 150, 57, 0.25);
}

.chip.active {
    background: var(--gradient-1);
    border-color: var(--hdi-green);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 150, 57, 0.35);
    transform: scale(1.05);
}


.chip:active {
    transform: scale(0.98);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
}

/* Card */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 150, 57, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 0 1px rgba(0, 150, 57, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease backwards;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--hdi-green-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    opacity: 0;
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 150, 57, 0.2),
        0 0 0 1px rgba(0, 150, 57, 0.2),
        0 0 40px rgba(0, 150, 57, 0.1);
    border-color: rgba(0, 150, 57, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.25s; }
.card:nth-child(5) { animation-delay: 0.3s; }
.card:nth-child(6) { animation-delay: 0.35s; }
.card:nth-child(7) { animation-delay: 0.4s; }
.card:nth-child(8) { animation-delay: 0.45s; }

/* Importante: resetear la animación después de que termina */
.card {
    animation-fill-mode: forwards;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.card-badge {
    background: linear-gradient(135deg, var(--hdi-green-soft) 0%, rgba(165, 214, 167, 0.5) 100%);
    border: 1px solid var(--hdi-green-pastel);
    color: var(--hdi-green-dark);
    padding: 0.4rem 0.95rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(0, 150, 57, 0.15);
    transition: all 0.3s ease;
}

.card:hover .card-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 150, 57, 0.25);
}

.favorite-btn {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    line-height: 1;
    color: var(--text-tertiary);
    filter: grayscale(1);
}

.favorite-btn:hover {
    transform: scale(1.2) rotate(15deg);
    filter: grayscale(0);
}

.favorite-btn.active {
    color: #FFD700;
    filter: grayscale(0) drop-shadow(0 2px 8px rgba(255, 215, 0, 0.5));
    animation: starPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes starPop {
    0% {
        transform: scale(0);
        filter: grayscale(0) drop-shadow(0 0 0 rgba(255, 215, 0, 0));
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
        filter: grayscale(0) drop-shadow(0 2px 8px rgba(255, 215, 0, 0.5));
    }
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--hdi-green-dark);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.card-btn-main {
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 28px;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex: 1;
    box-shadow: 
        0 4px 16px rgba(0, 150, 57, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.card-btn-main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.card-btn-main:hover::before {
    width: 300px;
    height: 300px;
}

.card-btn-main:hover {
    background: var(--gradient-2);
    box-shadow: 0 8px 24px rgba(0, 150, 57, 0.4);
    transform: translateY(-2px);
}

.card-btn-main:active {
    transform: translateY(0);
}

/* Botón copiar minimalista */
.copy-icon-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-tertiary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.copy-icon-btn:hover {
    background: var(--hdi-green-soft);
    border-color: var(--hdi-green);
    color: var(--hdi-green);
    transform: scale(1.1) rotate(5deg);
}

.copy-icon-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.copy-icon-btn.is-disabled:hover {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-tertiary);
    transform: none;
}

.copy-icon-btn.copied {
    background: var(--hdi-green);
    border-color: var(--hdi-green);
    color: white;
    animation: copySuccess 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes copySuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

.copy-icon-btn svg {
    transition: all 0.3s ease;
}

.copy-icon-btn.copied svg {
    animation: checkPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkPop {
    0% { 
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% { 
        transform: scale(1.2) rotate(10deg); 
    }
    100% { 
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

/* Empty State */.card-btn-secondary::before {
    background: rgba(0, 150, 57, 0.1);
}

.card-btn-secondary.copied {
    background: var(--hdi-green);
    color: white;
    border-color: var(--hdi-green);
    box-shadow: 0 4px 16px rgba(0, 150, 57, 0.3);
}

.card-btn-secondary.copied svg {
    animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkPop {
    0% { 
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% { 
        transform: scale(1.3) rotate(10deg); 
    }
    100% { 
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.card-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 150, 57, 0.4);
    transform: translateY(-4px) scale(1.02);
}

.card-btn-primary:hover {
    background: var(--gradient-2);
}

.card-btn-secondary:hover {
    background: var(--hdi-green-soft);
    border-color: var(--hdi-green);
    color: var(--hdi-green-dark);
}

.card-btn-secondary:hover svg {
    transform: scale(1.1);
}

.card-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 150, 57, 0.25);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.empty-state .card-desc {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.footer-support {
    font-size: 0.85rem;
    color: var(--hdi-green);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .brand {
        flex-direction: row;
        gap: 1rem;
    }

    .brand-divider {
        height: 30px;
    }

    .logo-hdi img {
        width: auto;
        height: 30px;
    }

    .brand-text {
        align-items: flex-start;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .search-input {
        min-width: 100%;
    }

    .hero {
        padding: 2rem 1rem;
    }

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

    .hero-text {
        font-size: 1rem;
    }

    .hero::before {
        width: 300px;
        height: 300px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .brand {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .brand-divider {
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--hdi-green), transparent);
    }

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

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

    .filters {
        flex-direction: column;
    }

    .chip {
        width: 100%;
    }
}
