/* CSS Variables */
:root {
    --primary: #1e40af;
    --primary-light: rgba(30, 64, 175, 0.1);
    --primary-foreground: #ffffff;
    --accent: #ea580c;
    --accent-light: rgba(234, 88, 12, 0.1);
    --background: #f8fafc;
    --foreground: #0f172a;
    --card: #ffffff;
    --muted: #64748b;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --secondary: #f1f5f9;
    --radius: 0.75rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    padding-bottom: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

/* Glass Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: rgba(30, 64, 175, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(30, 64, 175, 0.3);
    color: var(--foreground);
}

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

.btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    height: 3rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.nav {
    display: none;
    gap: 2rem;
}

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

.nav-link {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.header .btn {
    display: none;
}

@media (min-width: 768px) {
    .header .btn {
        display: inline-flex;
    }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 1rem 6rem;
    background-color: var(--background);
    position: relative;
}

@media (min-width: 640px) {
    .hero {
        padding: 8rem 1.5rem 6rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 2rem 6rem;
    }
}

.hero-bg-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-bg-1 {
    top: 5rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background-color: rgba(30, 64, 175, 0.05);
}

.hero-bg-2 {
    bottom: 0;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(234, 88, 12, 0.05);
    animation-delay: 1s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-light);
    border: 1px solid rgba(30, 64, 175, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    width: fit-content;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background-color: rgba(30, 64, 175, 0.15);
    border-color: rgba(30, 64, 175, 0.5);
}

.hero-badge svg {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.hero-badge:hover svg {
    transform: rotate(12deg);
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.15;
    padding-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.text-primary {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 36rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    cursor: pointer;
}

.stat-item:hover .stat-label {
    color: rgba(30, 64, 175, 0.8);
}

.stat-item:hover .stat-value {
    color: var(--foreground);
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    transition: color 0.3s ease;
}

.stat-value {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.hero-visual {
    display: none;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
    }
}

.hero-card {
    border-radius: 1.5rem;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.hero-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.vote-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-card:last-child {
    margin-bottom: 0;
}

.vote-card:hover {
    background: rgba(255, 255, 255, 0.8);
}

.vote-card:hover h3 {
    color: var(--primary);
}

.vote-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.vote-card-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    transition: background-color 0.3s ease;
}

.badge-primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.vote-card:hover .badge-primary {
    background-color: rgba(30, 64, 175, 0.4);
}

.badge-accent {
    background-color: var(--accent-light);
    color: var(--accent);
}

.vote-card:hover .badge-accent {
    background-color: rgba(234, 88, 12, 0.4);
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 9999px;
    transition: width 0.7s ease;
}

.progress-accent {
    background-color: var(--accent);
}

.vote-card:hover .progress-fill {
    width: 100% !important;
}

/* Features Section */
.features {
    padding: 5rem 1rem;
    background-color: var(--background);
    position: relative;
}

@media (min-width: 640px) {
    .features {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .features {
        padding: 5rem 2rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.feature-card {
    padding: 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-icon svg {
    color: var(--primary);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon svg {
    color: var(--primary-foreground);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: var(--foreground);
}

.feature-underline {
    margin-top: 1rem;
    height: 0.25rem;
    background-color: var(--primary);
    border-radius: 9999px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-underline {
    transform: scaleX(1);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 1rem;
    background-color: rgba(241, 245, 249, 0.3);
    position: relative;
}

@media (min-width: 640px) {
    .how-it-works {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .how-it-works {
        padding: 5rem 2rem;
    }
}

.how-it-works-bg-1 {
    position: absolute;
    top: -10rem;
    right: -10rem;
    width: 20rem;
    height: 20rem;
    background-color: rgba(30, 64, 175, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.how-it-works-bg-2 {
    position: absolute;
    bottom: -10rem;
    left: -10rem;
    width: 20rem;
    height: 20rem;
    background-color: rgba(234, 88, 12, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.how-it-works .container {
    max-width: 72rem;
    position: relative;
    z-index: 10;
}

.steps-grid {
    display: grid;
    gap: 2rem;
}

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

.step-item {
    display: flex;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
    transform: scale(1.1);
}

.step-item:hover .step-content h3 {
    color: var(--primary);
}

.step-item:hover .step-content {
    transform: translateX(8px);
}

.step-item:hover .step-content p {
    color: var(--foreground);
}

.step-number {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-content {
    padding-bottom: 2rem;
    transition: transform 0.3s ease;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.step-content p {
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.info-box {
    margin-top: 4rem;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .info-box {
        flex-direction: row;
        align-items: center;
    }
}

.info-box:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.info-box:hover .info-icon {
    transform: scale(1.1);
}

.info-box:hover .info-title {
    color: var(--primary);
}

.info-box:hover .info-subtitle {
    color: var(--foreground);
}

.info-icon {
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.info-title {
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.info-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

/* CTA Section */
.cta {
    padding: 5rem 1rem;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .cta {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .cta {
        padding: 5rem 2rem;
    }
}

.cta-bg-1 {
    position: absolute;
    top: 2.5rem;
    left: 25%;
    width: 18rem;
    height: 18rem;
    background-color: rgba(30, 64, 175, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-bg-2 {
    position: absolute;
    bottom: 2.5rem;
    right: 25%;
    width: 24rem;
    height: 24rem;
    background-color: rgba(234, 88, 12, 0.05);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-content h2 {
        font-size: 3rem;
    }
}

.cta-content>p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 42rem;
    margin: 0 auto;
}

.cta-feature {
    padding: 1rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-feature:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.9);
}

.cta-feature:hover svg,
.cta-feature:hover .checkmark {
    transform: scale(1.1);
}

.cta-feature:hover span:last-child {
    color: var(--foreground);
}

.cta-feature svg {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.cta-feature .checkmark {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.cta-feature span:last-child {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.cta-content .btn {
    margin: 0 auto;
}

.cta-content .btn:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .footer {
        padding: 3rem 1.5rem;
    }
}

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

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-brand p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

.footer-links h4 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-tagline .heart {
    color: var(--accent);
}