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

/* Reset all links to remove default styling */
a {
    text-decoration: none;
    color: inherit;
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --accent-hover: #2980b9;
    --secondary-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    cursor: auto !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    cursor: auto !important;
}

/* Cursor sanity patch */
a, button, [role="button"], .btn, .nav-link, .lang-btn, .social-link, .footer-link {
    cursor: pointer !important;
}

input, textarea {
    cursor: text !important;
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 0;
    background: var(--bg-white);
    border-radius: 25px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.lang-btn {
    padding: 10px 20px;
    border: none;
    background: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.lang-btn:hover {
    background: var(--bg-light);
}

.lang-btn.active {
    background: var(--accent-color);
    color: white;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 999;
    padding: 15px 0;
}

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

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none !important;
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--accent-color);
    background: var(--bg-light);
}

/* Landing Section */
.landing {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 100px 20px 80px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-content {
    max-width: 800px;
    margin: 0 auto;
}

.candidate-photo {
    margin-bottom: 30px;
}

.candidate-photo img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.candidate-name {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.candidate-role {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.landing-tagline {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    font-size: 1rem;
    color: inherit;
}

.btn-primary {
    background: white;
    color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Dates Section */
.dates-section {
    background: var(--bg-light);
    padding: 50px 20px;
}

.dates-box {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.dates-box h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.date-item {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.date-item.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
}

.date-item.highlight .date-label,
.date-item.highlight .date-value {
    color: white;
}

.date-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.date-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.date-value-en {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

.date-item.highlight .date-value-en {
    opacity: 0.9;
}

.vote-reminder {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 20px;
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    font-weight: 700;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Experience Section */
.experience-section {
    background: var(--bg-light);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.experience-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.experience-card.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
}

.experience-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.experience-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.experience-card.highlight h3 {
    color: white;
}

.experience-card p {
    line-height: 1.8;
    color: var(--text-light);
}

.experience-card.highlight p {
    color: rgba(255, 255, 255, 0.95);
}

/* Platform Section */
.platform-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.platform-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.pillar-icon {
    font-size: 2.5rem;
}

.pillar-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.pillar-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

.pillar-item p {
    line-height: 1.8;
    color: var(--text-light);
}

/* Vote Section */
.vote-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.vote-section .section-title {
    color: white;
}

.vote-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.vote-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.vote-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.vote-list {
    list-style: none;
    padding: 0;
}

.vote-list li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
}

.vote-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.3rem;
}

.vote-dates-box {
    background: white;
    color: var(--text-dark);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.vote-dates-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.vote-period {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.vote-period-en {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* How to Vote Section */
.how-to-vote-section {
    background: var(--bg-light);
}

.how-to-vote-content {
    max-width: 800px;
    margin: 0 auto;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 25px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.9;
    margin-bottom: 5px;
}

.footer-org {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: var(--transition);
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .candidate-name {
        font-size: 2rem;
    }

    .candidate-role {
        font-size: 1.2rem;
    }

    .landing-tagline {
        font-size: 1.1rem;
    }

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

    .dates-grid {
        grid-template-columns: 1fr;
    }

    .experience-grid,
    .platform-pillars {
        grid-template-columns: 1fr;
    }

    .vote-content {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step:hover {
        transform: translateY(-5px);
    }

    .language-toggle {
        top: 10px;
        right: 10px;
    }

    .lang-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .landing {
        padding: 60px 20px 40px;
    }

    .candidate-photo img {
        width: 200px;
        height: 200px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .dates-box {
        padding: 25px;
    }

    .experience-card,
    .pillar-card {
        padding: 25px;
    }
}

/* Hide language-specific content */
[data-lang="en"] .date-value,
[data-lang="fr"] .date-value-en {
    display: none;
}

[data-lang="en"] .date-value-en {
    display: block;
}

[data-lang="fr"] .date-value {
    display: block;
}
