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

:root {
    --primary: #1e1b4b;
    --primary-light: #3730a3;
    --accent: #14b8a6;
    --accent-hover: #0f766e;
    --danger: #1e1b4b;
    --danger-hover: #3730a3;
    --surface: #ffffff;
    --background: #f0fdfa;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-md: 12px;
    --radius-lg: 24px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Language Toggle */
.lang-en .es,
.lang-es .en {
    display: none !important;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    padding: 16px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.btn-toggle {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 16px;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-toggle:hover {
    background: var(--primary);
    color: var(--surface);
}

/* Hero Section */
.hero {
    background: var(--primary);
    color: var(--surface);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--background);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--accent);
}

.subtitle {
    font-size: 1.5rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.subtitle strong {
    color: var(--surface);
    font-weight: 600;
}

.hero-image-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-group-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--surface);
    display: block;
}

/* Candidates Section */
.candidates {
    padding: 60px 0;
}

.candidate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.candidate-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 24px;
    align-items: center;
}

.candidate-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--accent);
}

.candidate-photo-wrapper {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 4px solid var(--background);
}

.candidate-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.candidate-info {
    flex: 1;
}

.candidate-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.candidate-info h2 span {
    font-weight: 900;
}

.role {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.fun-fact {
    background: var(--background);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--primary);
    border-left: 4px solid var(--accent);
}

.fun-fact strong {
    font-weight: 700;
    color: var(--accent);
}

/* Actions Section */
.actions {
    background: var(--surface);
    padding: 60px 0;
    text-align: center;
    border-top: 2px solid rgba(20, 184, 166, 0.1);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 18px 48px;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 99px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--danger);
    color: var(--surface);
    box-shadow: 0 4px 14px 0 rgba(30, 27, 75, 0.39);
}

.btn-primary:hover {
    background: var(--danger-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 27, 75, 0.23);
}

.btn-secondary {
    background: var(--accent);
    color: var(--surface);
    box-shadow: 0 4px 14px 0 rgba(20, 184, 166, 0.39);
}

.btn-secondary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.23);
}

/* Promise Section */
.promise {
    background: var(--primary);
    color: var(--surface);
    padding: 100px 0;
    text-align: center;
}

.promise h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--surface);
}

.promise > .container > p {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 40px;
}

.promise ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: grid;
    gap: 16px;
}

.promise li {
    background: var(--primary-light);
    padding: 24px;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-left: 4px solid var(--accent);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.promise li:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--surface);
    color: var(--primary);
    border-left-width: 8px;
}

.promise li::before {
    content: "★";
    color: var(--accent);
    font-size: 1.5rem;
    margin-right: 16px;
}

/* Voting Info */
.voting-info {
    padding: 80px 0 100px;
    text-align: center;
    background: var(--background);
}

.vote-box {
    background: linear-gradient(135deg, var(--danger) 0%, var(--primary-light) 100%);
    border: 4px solid var(--accent);
    display: inline-block;
    padding: 60px 100px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    animation: votePulse 2.5s infinite ease-in-out;
}

@keyframes votePulse {
    0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.4); }
    70% { box-shadow: 0 0 0 25px rgba(20, 184, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.vote-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    color: var(--surface);
    margin-bottom: 16px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.vote-box p {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 99px;
    display: inline-block;
}

/* Footer */
footer {
    background: var(--primary-light);
    padding: 60px 0;
    text-align: center;
}

.disclaimer {
    font-size: 0.85rem;
    color: #94a3b8;
    border: 1px solid #475569;
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .candidate-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 60px 0; }
    .candidate-card { flex-direction: column; text-align: center; }
    .fun-fact { text-align: left; }
    .action-buttons { flex-direction: column; }
    .vote-box { padding: 32px 24px; width: 100%; }
    .vote-box h2 { font-size: 2.5rem; }
}
