:root {
    --primary: #6C63FF;
    --primary-dark: #554FD8;
    --secondary: #FF6584;
    --success: #36D399;
    --warning: #FFB347;
    --danger: #FF6B6B;
    --dark: #1A1A2E;
    --light: #F8F9FF;
    --gradient: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --gradient-reverse: linear-gradient(135deg, #FF6584 0%, #6C63FF 100%);
    --shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
    --shadow-lg: 0 30px 60px rgba(108, 99, 255, 0.25);
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

/* ==================== SIMPLIFIED NAVIGATION ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--primary);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary) !important;
    background: rgba(108, 99, 255, 0.1);
}

.nav-link.active {
    background: var(--gradient);
    color: white !important;
}

/* Simple dropdown - no fancy effects */
.dropdown-menu {
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: none;
}

.dropdown-item:hover {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary) !important;
}

/* Mobile friendly */
@media (max-width: 992px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: var(--shadow);
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--dark) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    box-shadow: var(--shadow);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #FF6584 0%, #6C63FF 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    color: white;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== FLOATING IMAGES ==================== */
.floating {
    position: relative;
    width: 100%;
    height: 500px;
    max-width: 600px;
    margin: 0 auto;
    animation: gentleFloat 8s ease-in-out infinite;
}

.floating img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    object-fit: cover;
}

.floating img:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(108, 99, 255, 0.3);
    z-index: 10;
}

.floating img:nth-child(1) {
    top: 50px;
    left: 50px;
    width: 70%;
    z-index: 5;
    transform: rotate(-10deg);
}

.floating img:nth-child(2) {
    top: 150px;
    right: 30px;
    width: 60%;
    z-index: 4;
    transform: rotate(8deg);
}

.floating img:nth-child(3) {
    bottom: 80px;
    left: 20px;
    width: 65%;
    z-index: 3;
    transform: rotate(-5deg);
}

.floating img:nth-child(4) {
    top: 20px;
    right: 80px;
    width: 55%;
    z-index: 2;
    transform: rotate(15deg);
}

.floating img:nth-child(5) {
    bottom: 20px;
    right: 100px;
    width: 50%;
    z-index: 1;
    transform: rotate(-12deg);
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--dark) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.7;
}

.badge-both {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    position: absolute;
    top: 15px;
    right: 15px;
    letter-spacing: 0.5px;
}

.election-type-note {
    background: rgba(108, 99, 255, 0.05);
    border-radius: 50px;
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 30px;
}

.election-type-note i {
    color: var(--primary);
    margin: 0 5px;
}

.election-type-note span {
    color: var(--primary);
    font-weight: 600;
}

/* ==================== FADE IN ANIMATION ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark);
    color: white;
    padding: 0px 0 10px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media(max-width:992px) {
    .footer-bottom {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.copyright-text strong {
    color: white;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.developer-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    gap: 10px;
    margin-top: 2px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.developer-badge:hover {
    background: var(--gradient);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.developer-badge a {
    text-decoration: none;
    color: white;
}

.policy-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.policy-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.policy-links a:hover {
    color: white;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .floating {
        height: 400px;
        margin-top: 50px;
    }

    .floating img {
        width: 60% !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
    }

    .floating {
        height: auto;
        min-height: 400px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .feature-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .badge-both {
        font-size: 0.6rem;
        padding: 3px 8px;
    }
}