/* ===== CSS Variables ===== */
:root {
    --color-primary: #7B2D8E;
    --color-primary-dark: #5A1F6A;
    --color-secondary: #FF6B00;
    --color-gold: #FFD700;
    --color-bg-dark: #0a0a0a;
    --color-bg-section: #111111;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-gradient-start: #7B2D8E;
    --color-gradient-end: #FF6B00;
    --font-heading: 'Outfit', sans-serif;
    --font-marathi: 'Noto Sans Devanagari', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 40px rgba(123, 45, 142, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-heading);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(123, 45, 142, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 107, 0, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-dark) 0%, #1a0a1e 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237B2D8E' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-title .marathi {
    font-family: var(--font-marathi);
    display: block;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .year {
    font-family: var(--font-marathi);
    display: block;
    font-size: 0.6em;
    color: var(--color-text);
    opacity: 0.9;
}

.hero-subtitle {
    font-family: var(--font-marathi);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-text);
    margin-bottom: 16px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    max-width: 450px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--font-marathi);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-icon {
    color: var(--color-gold);
    font-weight: bold;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-glow), var(--shadow-card);
    transition: var(--transition-smooth);
}

.hero-mockup:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 0 60px rgba(123, 45, 142, 0.4), 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Download Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(123, 45, 142, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(123, 45, 142, 0.6);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.download-btn .play-icon {
    width: 32px;
    height: 32px;
}

.download-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-btn .btn-label {
    font-size: 0.7rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.download-btn .btn-store {
    font-size: 1.2rem;
    font-weight: 700;
}

.download-btn.large {
    padding: 18px 36px;
}

.download-btn.large .play-icon {
    width: 40px;
    height: 40px;
}

.download-btn.large .btn-store {
    font-size: 1.4rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
}

/* ===== Features Section ===== */
.features {
    padding: 100px 0;
    background: var(--color-bg-section);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .marathi {
    font-family: var(--font-marathi);
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .english {
    display: block;
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(123, 45, 142, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(123, 45, 142, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-marathi);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-gold);
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Screenshots Section ===== */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-section) 100%);
}

.screenshots-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    transition: var(--transition-smooth);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.screenshot-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(123, 45, 142, 0.4), var(--shadow-card);
}

/* ===== Highlights Section ===== */
.highlights {
    padding: 80px 0;
    background: var(--color-bg-section);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(123, 45, 142, 0.2) 0%, rgba(255, 107, 0, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.highlight-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.highlight-text {
    font-family: var(--font-marathi);
    font-size: 1.1rem;
    color: var(--color-text);
}

.highlight-text span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ===== Download CTA Section ===== */
.download-cta {
    padding: 100px 0;
    background:
        radial-gradient(ellipse at center, rgba(123, 45, 142, 0.3) 0%, transparent 70%),
        var(--color-bg-dark);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-marathi);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-brand span {
    font-family: var(--font-marathi);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-family: var(--font-marathi);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-description {
        text-align: center;
    }

    .hero-image {
        max-width: 350px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-item {
        width: 240px;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px;
        min-height: auto;
        padding-bottom: 100px;
        /* Space for fixed button */
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    /* Hide the original hero download button on mobile, show fixed one instead */
    .hero-text .download-btn {
        display: none;
    }
}

/* ===== Mobile Fixed Download Button ===== */
.mobile-download-btn {
    display: none;
}

@media (max-width: 768px) {
    .mobile-download-btn {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
        padding: 12px 20px;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-decoration: none;
        color: white;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
        animation: slideUpBtn 0.5s ease-out;
    }

    .mobile-download-btn .play-icon {
        width: 28px;
        height: 28px;
        fill: white;
        flex-shrink: 0;
    }

    .mobile-download-btn .btn-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-download-btn .btn-label {
        font-size: 0.65rem;
        opacity: 0.9;
        letter-spacing: 0.5px;
    }

    .mobile-download-btn .btn-store {
        font-size: 1.1rem;
        font-weight: 700;
    }

    /* Add padding to body to account for fixed button */
    body {
        padding-bottom: 70px;
    }

    /* Hide scroll indicator on mobile to reduce clutter */
    .scroll-indicator {
        display: none;
    }
}

@keyframes slideUpBtn {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}