:root {
    --pop-purple: #8B5CF6;
    --pop-orange: #F97316;
    --pop-green: #10B981;
    --pop-yellow: #FBBF24;
    --pop-dark: #1F2937;
    --pop-light: #F3F4F6;
    --pop-white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--pop-dark);
    line-height: 1.5;
    background-color: #FAFAFA;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.small {
    max-width: 800px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1px;
    gap: 10px;
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: none;
    gap: 30px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--pop-purple);
}

.nav-cta {
    background: var(--pop-dark);
    color: white;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 12px;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.desktop-text {
    display: none;
}

.mobile-text {
    display: inline;
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: url('assets/background.jpg') center bottom / cover no-repeat;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.3) 60%,
            rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: white;
    z-index: 2;
}

.badge-pill {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title .highlight {
    color: var(--pop-yellow);
    text-decoration: underline;
    text-decoration-thickness: 6px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.primary-btn {
    background: var(--pop-green);
    color: white;
    font-weight: 800;
    font-size: 18px;
    padding: 18px 32px;
    border-radius: 16px;
    border: 3px solid var(--pop-dark);
    box-shadow: 6px 6px 0 0 #000;
    text-align: center;
    transition: transform 0.1s, box-shadow 0.1s;
}

.primary-btn:active {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 0 #000;
}

/* Play Store Coming Soon Badge */
.playstore-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 8px 16px;
    cursor: default;
    transition: border-color 0.3s;
}

.playstore-badge:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.badge-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-icon {
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.badge-small {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.badge-large {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* Google Maps Trust Badge */
.google-maps-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    padding: 10px 20px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    color: #6B7280;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.google-maps-badge strong {
    color: #374151;
}

.secondary-btn {
    font-weight: 700;
    text-decoration: underline;
    margin-left: 20px;
    text-align: center;
}

.hero-stats {
    display: flex;
    gap: 30px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-weight: 900;
    font-size: 24px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

/* 3D Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: var(--pop-dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotateY(-15deg) rotateX(10deg);
    transition: transform 0.5s ease;
    z-index: 2;
    background-color: #1F2937;
}

.phone-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--pop-yellow);
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

/* App Mockup Content */
.app-header {
    background: #8B5CF6;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.app-title-small {
    font-weight: 900;
    font-size: 14px;
}

.chat-bubbles-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bubble {
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    max-width: 80%;
    animation: fadeIn 0.5s forwards;
    opacity: 0;
}

.bubble.left {
    background: #F3F4F6;
    border-radius: 12px 12px 12px 2px;
    align-self: flex-start;
}

.bubble.right {
    background: #FBBF24;
    border-radius: 12px 12px 2px 12px;
    align-self: flex-end;
    animation-delay: 0.5s;
}

.vote-card-mock {
    margin-top: 20px;
    border: 2px solid #1F2937;
    border-radius: 12px;
    padding: 10px;
    background: white;
    box-shadow: 4px 4px 0 #1F2937;
    position: relative;
    animation: fadeIn 0.5s forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

.vote-img-mock {
    height: 80px;
    background: #E5E7EB;
    border-radius: 8px;
    margin-bottom: 10px;
}

.vote-text-mock .line-1 {
    height: 8px;
    width: 60%;
    background: #1F2937;
    margin-bottom: 6px;
    border-radius: 4px;
}

.vote-text-mock .line-2 {
    height: 8px;
    width: 30%;
    background: #9CA3AF;
    border-radius: 4px;
}

.check-mock {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    background: white;
    border-radius: 50%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ticker */
.ticker-wrap {
    width: 100%;
    background: #FBBF24;
    overflow: hidden;
    border-bottom: 4px solid var(--pop-dark);
    padding: 15px 0;
}

.ticker {
    display: flex;
    animation: ticker 20s linear infinite;
    width: max-content;
}

.ticker-item {
    font-weight: 900;
    font-size: 24px;
    padding: 0 30px;
    color: var(--pop-dark);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-light {
    background: #F9FAFB;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 18px;
    margin-bottom: 60px;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* CSS for Mini Phone Mockups inside steps */
.step-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    border: 3px solid #E5E7EB;
    transition: transform 0.3s;
    overflow: hidden;
    /* For the phone sticking out */
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-visual {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.mini-phone {
    width: 140px;
    height: 240px;
    background: #1F2937;
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #374151;
}

.mini-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.mini-header {
    height: 20px;
    width: 100%;
    background: #8B5CF6;
    margin-bottom: 10px;
}

/* Step 1: Map UI */
.mini-map-pin {
    width: 20px;
    height: 20px;
    background: #EF4444;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin: 20px auto 5px;
    border: 2px solid white;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

.mini-map-radius {
    width: 80px;
    height: 80px;
    border: 2px dashed #8B5CF6;
    border-radius: 50%;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(139, 92, 246, 0.1);
}

.mini-btn {
    width: 80%;
    height: 24px;
    background: #1F2937;
    border-radius: 6px;
    margin: auto auto 10px;
}

/* Step 2: Chat UI */
.mini-chat-bubble {
    background: #FBBF24;
    padding: 8px;
    margin: 30px 10px;
    border-radius: 10px 10px 0 10px;
    font-size: 8px;
    font-weight: 700;
    position: relative;
    box-shadow: 2px 2px 0 #1F2937;
    border: 1px solid #1F2937;
}

.mini-chat-link {
    color: #2563EB;
    text-decoration: underline;
    display: block;
    margin-top: 2px;
}

/* Step 3: Vote Grid UI */
.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
}

.mini-grid-card {
    background: #F3F4F6;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 1px solid #E5E7EB;
    position: relative;
}

.mini-grid-card.active {
    border-color: #10B981;
    background: #ECFDF5;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
}

.mini-card-img {
    width: 100%;
    height: 40px;
    background: #D1D5DB;
    border-radius: 6px;
}

.mini-card-text {
    font-size: 8px;
    font-weight: 700;
    color: #374151;
    text-align: center;
}

.check-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #10B981;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.bento-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.bento-card.large {
    background: var(--pop-dark);
    color: white;
}

.bento-card.large p {
    color: #9CA3AF;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 80px;
    margin-top: 20px;
    padding-bottom: 5px;
}

.bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    position: relative;
}

.winner-crown {
    font-size: 20px;
    margin-bottom: 5px;
    animation: bounce 2s infinite;
}

.bar {
    width: 100%;
    background: #374151;
    border-radius: 8px 8px 0 0;
    transition: height 1s ease;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.bar.active {
    background: var(--pop-green);
}

/* FAQ Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: white;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:after {
    content: '+';
    font-size: 24px;
    color: var(--pop-purple);
}

.accordion-item.active .accordion-header:after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #F9FAFB;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 150px;
    padding: 20px;
}

/* Footer */
footer {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1px;
    gap: 10px;
}

.footer-logo img {
    border-radius: 8px;
    width: 32px;
    height: 32px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #6B7280;
    font-size: 14px;
    font-weight: 600;
}

.copyright {
    color: #9CA3AF;
    font-size: 14px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #E5E7EB;
    position: relative;
    transition: transform 0.2s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--pop-purple);
}

.quote-icon {
    font-size: 40px;
    color: var(--pop-yellow);
    position: absolute;
    top: -20px;
    left: 20px;
}

.testimonial-text {
    font-size: 16px;
    color: #374151;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.user-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.user-info p {
    font-size: 12px;
    color: #6B7280;
}

/* Desktop Media Queries */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .nav-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    .desktop-text {
        display: inline;
    }

    .mobile-text {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: center;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
    }

    .bento-card.large {
        grid-column: span 2;
        grid-row: span 2;
        background: linear-gradient(135deg, var(--pop-dark), #111827);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .bento-card.wide {
        grid-column: span 3;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    padding: 30px;
    border-radius: 24px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid var(--pop-dark);
    box-shadow: 10px 10px 0 var(--pop-dark);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F3F4F6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: var(--pop-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #E5E7EB;
}

.legal-text h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 10px;
}

.legal-text h3 {
    margin: 20px 0 10px;
    font-size: 18px;
    color: var(--pop-purple);
}

.legal-text p {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 10px;
    line-height: 1.6;
}