/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables based on Political Composition */
:root {
    /* Primary Colors (NasDem - 6 seats) */
    --primary-blue: #1A237E;
    --primary-blue-light: #3F51B5;
    
    /* Secondary Colors based on seat distribution */
    --ppp-green: #388E3C;      /* PPP - 4 seats */
    --golkar-yellow: #FBC02D;  /* Golkar - 4 seats */
    --gerindra-red: #D32F2F;   /* Gerindra - 3 seats */
    --pan-blue: #1976D2;       /* PAN - 2 seats */
    --pks-orange: #F57C00;     /* PKS - 2 seats */
    --gelora-cyan: #0288D1;    /* Gelora - 2 seats */
    --demokrat-gray: #455A64;  /* Demokrat - 1 seat */
    --hanura-amber: #FFA000;   /* Hanura - 1 seat */
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --text-dark: #212529;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-blue);
}

.logo-text h1 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.logo-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--golkar-yellow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--golkar-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--ppp-green) 50%, var(--golkar-yellow) 100%);
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 30px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.app-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--ppp-green));
    border-radius: 10px;
}

.app-header h3 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.report-card i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.report-card span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--ppp-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Political Composition Section */
.political-composition {
    padding: 80px 0;
    background: var(--white);
}

.composition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    position: relative;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 100%;
}

.party-list h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.party-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.party-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.party-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.party-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.party-item[data-party="nasdem"] .party-color {
    background: var(--primary-blue);
}

.party-item[data-party="ppp"] .party-color {
    background: var(--ppp-green);
}

.party-item[data-party="golkar"] .party-color {
    background: var(--golkar-yellow);
}

.party-item[data-party="gerindra"] .party-color {
    background: var(--gerindra-red);
}

.party-item[data-party="pan"] .party-color {
    background: var(--pan-blue);
}

.party-item[data-party="pks"] .party-color {
    background: var(--pks-orange);
}

.party-item[data-party="gelora"] .party-color {
    background: var(--gelora-cyan);
}

.party-item[data-party="demokrat"] .party-color {
    background: var(--demokrat-gray);
}

.party-item[data-party="hanura"] .party-color {
    background: var(--hanura-amber);
}

.party-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

.party-seats {
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(26, 35, 126, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.feature-list i {
    color: var(--ppp-green);
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.download-card.android {
    border-color: var(--ppp-green);
}

.download-card.ios {
    border-color: var(--medium-gray);
    opacity: 0.7;
}

.download-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.download-card.android .download-icon {
    background: var(--ppp-green);
    color: var(--white);
}

.download-card.ios .download-icon {
    background: var(--medium-gray);
    color: var(--white);
}

.download-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.download-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.btn-download {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--primary-blue-light);
    transform: translateY(-2px);
}

.btn-download.disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--ppp-green) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--golkar-yellow);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--medium-gray);
    line-height: 1.6;
}

.social-media h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-link.facebook {
    background: #3b5998;
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.youtube {
    background: #ff0000;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--golkar-yellow);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--golkar-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .composition-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .download-card {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-item i {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .chart-container {
        height: 250px;
        margin-bottom: 2rem;
    }

    .party-list {
        order: -1;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .app-interface {
        padding: 20px 15px;
    }

    .app-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .app-header h3 {
        font-size: 1rem;
    }

    .report-card {
        padding: 15px;
        gap: 10px;
    }

    .report-card i {
        font-size: 1.2rem;
    }

    .report-card span {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .download-card {
        padding: 1.2rem;
    }

    .download-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .download-card h4 {
        font-size: 1.2rem;
    }

    .download-card p {
        font-size: 0.9rem;
    }

    .party-item {
        padding: 12px;
        gap: 10px;
    }

    .party-name {
        font-size: 0.9rem;
    }

    .party-seats {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .chart-container {
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .composition-content {
        gap: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .phone-mockup {
        width: 180px;
        height: 360px;
    }

    .app-interface {
        padding: 15px 10px;
    }

    .report-card {
        padding: 12px;
    }

    .report-card span {
        font-size: 0.8rem;
    }

    .feature-card {
        padding: 1.2rem 0.8rem;
    }

    .download-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .chart-container {
        height: 180px;
    }

    .composition-content {
        gap: 1rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .phone-mockup {
        width: 150px;
        height: 300px;
    }

    .stats {
        padding: 40px 0;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-link {
        padding: 10px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-link {
        min-width: 44px;
        min-height: 44px;
    }

    .party-item {
        min-height: 44px;
    }

    .report-card {
        min-height: 44px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for stats */
.stat-number {
    transition: all 0.5s ease;
}

/* Hover effects for interactive elements */
.feature-card,
.download-card,
.party-item {
    cursor: pointer;
}

/* Focus states for accessibility */
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--golkar-yellow);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .download-buttons {
        display: none;
    }
    
    .hero {
        background: none;
        color: var(--text-dark);
    }
    
    .stats {
        background: none;
        color: var(--text-dark);
    }
}
