/* Parbani / Danda Jatra — Appline-inspired landing page */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --primary-soft: #EEF2FF;
    --text: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --bg: #FFFFFF;
    --bg-soft: #F8FAFC;
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.brand .site-logo { height: 40px; width: auto; object-fit: contain; }

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--primary); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    background: #fff;
    padding: 24px;
    z-index: 999;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--text);
}

.mobile-nav a:hover { background: var(--primary-soft); color: var(--primary); }

/* Hero */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--primary-soft) 0%, #fff 55%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--primary); }

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: min(100%, 300px);
    padding: 12px;
    background: #1e293b;
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.phone-frame--hero {
    width: min(100%, 320px);
    padding: 14px 12px 10px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    border: 2px solid #334155;
}

.phone-screen {
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 9/16;
}

.phone-frame--hero .phone-screen {
    aspect-ratio: 9 / 19.5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}

.hero-phone-swiper {
    width: 100%;
    height: 100%;
}

.hero-phone-swiper .swiper-slide {
    height: auto;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero-float {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-float-1 { top: 10%; left: 0; }
.hero-float-2 { bottom: 15%; right: 0; color: var(--primary); }

/* Section common */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-head .label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Split section */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--primary-soft);
}

.split-visual img { width: 100%; height: 360px; object-fit: cover; }

.check-list { list-style: none; margin-top: 24px; }

.check-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.check-list .num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-list h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.check-list p { font-size: 0.9rem; color: var(--text-muted); }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 16px;
}

.step-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Screenshots */
.screenshots-wrap {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding: 8px 52px 12px;
}

.screenshot-swiper {
    overflow: visible;
    padding-bottom: 48px;
}

.screenshot-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-device {
    display: flex;
    justify-content: center;
    width: 100%;
}

.phone-frame--screenshot {
    width: min(100%, 300px);
    padding: 14px 12px 10px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    border: 2px solid #334155;
}

.phone-frame--screenshot .phone-speaker {
    width: 72px;
    height: 6px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #0f172a;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.08);
}

.phone-frame--screenshot .phone-screen {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 9 / 19.5;
    background: #000;
}

.phone-frame--screenshot .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.phone-frame--screenshot .phone-home-indicator {
    width: 96px;
    height: 4px;
    margin: 10px auto 2px;
    border-radius: 999px;
    background: #64748b;
}

.screenshot-swiper .swiper-button-prev,
.screenshot-swiper .swiper-button-next {
    color: var(--primary);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.screenshot-swiper .swiper-button-prev::after,
.screenshot-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.screenshot-swiper .swiper-button-prev { left: 0; }
.screenshot-swiper .swiper-button-next { right: 0; }

.screenshot-pagination.swiper-pagination-bullets {
    bottom: 0 !important;
}

.swiper-pagination-bullet-active { background: var(--primary) !important; }

@media (max-width: 520px) {
    .screenshots-wrap {
        max-width: 280px;
        padding-bottom: 8px;
    }

    .phone-frame--screenshot {
        width: 100%;
    }

    .screenshot-swiper .swiper-button-prev { left: -8px; }
    .screenshot-swiper .swiper-button-next { right: -8px; }

    .screenshot-swiper .swiper-button-prev,
    .screenshot-swiper .swiper-button-next {
        width: 36px;
        height: 36px;
        top: 42%;
    }
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-card .num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card p { color: var(--text-muted); font-weight: 500; }

/* Events */
.search-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.search-panel h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }

.search-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.search-grid label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.search-grid select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    background: #fff;
}

.search-actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }

.event-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    transition: box-shadow 0.25s, transform 0.25s;
    cursor: pointer;
}

.event-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.event-card-img { height: 100%; min-height: 200px; background: var(--primary-soft); }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }

.event-card-body { padding: 24px; }

.event-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

.badge-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
}

.badge-pill.status-upcoming { background: #DBEAFE; color: #1D4ED8; }
.badge-pill.status-ongoing { background: #FEF3C7; color: #B45309; }

.event-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.event-card .desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.event-meta i { color: var(--primary); margin-right: 6px; }

.event-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.25s, box-shadow 0.25s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-card .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.category-card p { font-size: 0.88rem; color: var(--text-muted); }

/* CTA */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.35);
}

.cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-band p {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 28px;
    font-size: 1.05rem;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--text);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s;
}

.store-badge:hover { transform: scale(1.03); color: var(--text); }
.store-badge i { font-size: 1.5rem; color: var(--primary); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item .answer {
    padding: 0 20px 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    padding: 32px;
    background: var(--primary-soft);
    border-radius: var(--radius);
}

.contact-info-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; }

.contact-line {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.contact-line .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-row { display: flex; gap: 12px; margin-top: 24px; }

.social-row a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.social-row a:hover { background: var(--primary); color: #fff; }

/* Footer */
.site-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #94A3B8; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 24px;
    text-align: center;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.empty-state i { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
    .features-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .search-grid { grid-template-columns: repeat(2, 1fr); }
    .event-card { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-visual { order: -1; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: block; }
    .features-grid, .categories-grid, .stats-row { grid-template-columns: 1fr; }
    .search-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 24px; }
    .section { padding: 56px 0; }
}
