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

:root {
    --color-red: #FBC02D;
    --color-gold: #039BE5;
    --color-blue: #7CB342;
    --color-green: #D32F2F;
    --color-bg: #F9F9F9;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--color-bg);
    color: #1a1a1a;
    line-height: 1.6;
}

/* Container */
.container {
    min-height: 100vh;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 50;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e5e5e5;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}

.lang-btn:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.lang-btn svg {
    color: #666;
}

.chevron {
    transition: transform 0.3s;
}

.chevron.rotate {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 7rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    padding: 0.5rem 0;
    display: none;
}

.lang-dropdown.show {
    display: block;
    animation: fadeIn 0.2s;
}

.lang-dropdown button {
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.875rem;
    color: #666;
    transition: background 0.2s;
}

.lang-dropdown button:hover {
    background: #f5f5f5;
}

.lang-dropdown button.active {
    font-weight: bold;
    color: var(--color-green);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    grid-auto-rows: 160px;
}

/* Bento Cards */
.bento-card {
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Hero Card */
.hero-card {
    background: white;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    width: fit-content;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(211, 47, 47, 0.08);
    color: var(--color-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-card h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--color-green);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 1rem;
}

/* Social Cards */
.social-card {
    padding: 1.25rem;
    text-decoration: none;
    color: white;
}

.instagram-card {
    background: var(--color-red);
}

.linkedin-card {
    background: var(--color-gold);
}

.social-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.social-header svg {
    opacity: 0.8;
}

.arrow-circle {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.social-card:hover .arrow-circle {
    opacity: 1;
}

.social-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

.social-name {
    font-size: 1rem;
    font-weight: 700;
}

/* Location Card */
.location-card {
    background: white;
    padding: 1.25rem;
    border: 1px solid #e5e5e5;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.location-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-shrink: 0;
}

.location-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
}

.location-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-country {
    color: var(--color-blue);
}

/* Status Card */
.status-card {
    background: var(--color-blue);
    padding: 1.25rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.status-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.status-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.status-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.status-text {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-bar {
    display: none;
    height: 0.25rem;
    width: 6rem;
    background: rgba(255,255,255,0.2);
    border-radius: 9999px;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 1rem;
}

.progress-fill {
    height: 100%;
    width: 66%;
    background: white;
    animation: shimmer 2s infinite;
}

/* Footer */
footer {
    margin-top: auto;
    padding: 1.5rem 0;
    text-align: center;
    color: #999;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(300%);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .container {
        padding: 1.5rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    
    .hero-card {
        grid-column: span 2;
        grid-row: span 2;
        padding: 2rem;
    }
    
    .hero-card h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .location-card,
    .status-card {
        grid-column: span 2;
    }
    
    .location-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .location-text {
        font-size: 1.25rem;
    }
    
    .status-text {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 2rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
        grid-auto-rows: 200px;
    }
    
    .hero-card {
        padding: 2.5rem;
    }
    
    .hero-card h1 {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .progress-bar {
        display: block;
    }
    
    .location-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .location-text {
        font-size: 1.5rem;
    }
    
    .status-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .status-text {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 3rem;
    }
    
    .bento-grid {
        gap: 1.5rem;
    }
    
    .hero-card h1 {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 4rem;
    }
}

@media (max-width: 639px) {
    footer {
        font-size: 0.625rem;
    }
}
