/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #141420;
    --bg-card: #1a1a28;
    --bg-card-hover: #202030;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --accent: #fb4444;
    --accent-hover: #ff5555;
    --accent-primary: #6366f1;
    --accent-secondary: #a855f7;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-accent: linear-gradient(135deg, #fb4444 0%, #ff6b6b 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.language-icon {
    font-size: 18px;
}

.language-current {
    min-width: 32px;
    text-align: center;
}

.language-btn svg {
    transition: transform 0.3s ease;
}

.language-dropdown.active + .language-btn svg,
.language-btn:hover svg {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.language-option.active {
    background: rgba(251, 68, 68, 0.1);
    color: var(--accent);
    font-weight: 600;
}

.language-option:first-child {
    border-radius: 12px 12px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 12px 12px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    /* Prevent rendering artifacts */
    transform: translateZ(0);
    will-change: scroll-position;
    isolation: isolate;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    transform: translateZ(0);
    will-change: contents;
    isolation: isolate;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    -webkit-filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    /* GPU acceleration to prevent rendering artifacts */
    will-change: transform;
    transform: translateZ(0) scale(1.001);
    -webkit-transform: translateZ(0) scale(1.001);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
    /* Prevent pixelation and rendering artifacts */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Force smooth rendering */
    image-rendering: -webkit-optimize-contrast;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(251, 68, 68, 0.1);
    border: 1px solid rgba(251, 68, 68, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 18px;
    animation: shake 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(251, 68, 68, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 68, 68, 0.5);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.stat-item {
    text-align: center;
    flex: 0 0 auto; /* Prevent shrinking */
    min-width: fit-content;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-tertiary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-tertiary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

.arrow {
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: arrow-move-down 1.5s ease-in-out infinite;
}

.arrow span {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-tertiary);
    border-bottom: 2px solid var(--text-tertiary);
    transform: rotate(45deg);
    opacity: 0;
    animation: arrow-fade 1.5s ease-in-out infinite;
}

.arrow span:nth-child(1) {
    animation-delay: 0s;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
    border-color: rgba(251, 68, 68, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 68, 68, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(251, 68, 68, 0.2);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Screenshots Section
   ============================================ */

.screenshots {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.screenshot-item {
    text-align: center;
}

.screenshot-frame {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.screenshot-item:hover .screenshot-frame {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(251, 68, 68, 0.3);
}

.screenshot-content {
    aspect-ratio: 1320 / 2868;
    background: var(--bg-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.screenshot-content:hover .screenshot-image {
    transform: scale(1.05);
}

.screenshot-placeholder {
    text-align: center;
    color: var(--text-tertiary);
}

.screenshot-placeholder span {
    font-size: 64px;
    display: block;
    margin-bottom: 8px;
}

.screenshot-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Screenshot Lightbox Modal */
.screenshot-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-modal.active {
    display: flex;
    opacity: 1;
}

.screenshot-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.screenshot-modal-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.screenshot-modal-image {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.screenshot-modal-label {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.screenshot-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.screenshot-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .screenshot-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .screenshot-modal-image {
        max-height: 80vh;
    }

    .screenshot-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
    }

    .screenshot-modal-label {
        font-size: 1rem;
    }
}

/* ============================================
   Download Section
   ============================================ */

.download {
    padding: 120px 0;
    position: relative;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.download-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.download-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.download-badge {
    display: block;
    transition: transform 0.3s ease;
}

.download-badge:hover {
    transform: scale(1.05);
}

.app-store-badge,
.play-store-badge {
    height: 60px;
    width: 180px;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* Google Play badge has padding in the image, so we scale it to fill better */
.download-badge-play {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 60px;
    width: 180px;
}

.download-badge-play .play-store-badge {
    transform: scale(1.15);
    transform-origin: center;
}

.download-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.phone-mockup {
    position: relative;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen {
    aspect-ratio: 9/16;
    width: 100%;
    background: var(--bg-card);
    border-radius: 32px;
    padding: 12px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-primary);
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.phone-content {
    background: var(--bg-primary);
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 0;
    text-align: center;
}

.phone-header {
    width: 100%;
    height: 40px;
}

.phone-app-icon {
    animation: float 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.phone-app-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.phone-app-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    width: 100%;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-description {
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
}

/* ============================================
   Animations
   ============================================ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

@keyframes arrow-move-down {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes arrow-fade {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fade-in-left 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fade-in-right 0.8s ease-out forwards;
}

/* ============================================
   Scroll Animations (will be triggered by JS)
   ============================================ */

[data-animation] {
    opacity: 0;
}

[data-animation].animate {
    animation-fill-mode: forwards;
}

[data-animation="fade-in-up"].animate {
    animation: fade-in-up 0.8s ease-out forwards;
}

[data-animation="fade-in"].animate {
    animation: fade-in 0.8s ease-out forwards;
}

[data-animation="fade-in-left"].animate {
    animation: fade-in-left 0.8s ease-out forwards;
}

[data-animation="fade-in-right"].animate {
    animation: fade-in-right 0.8s ease-out forwards;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .screenshots-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .language-selector {
        order: -1;
        margin-right: auto;
    }

    .language-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .language-current {
        min-width: 28px;
    }

    .language-dropdown {
        right: 0;
        left: auto;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 32px;
        margin-bottom: 80px; /* Space for scroll indicator */
    }

    .scroll-indicator {
        bottom: 20px; /* Move up slightly on mobile */
    }

    .features-grid {
        grid-template-columns: 1fr;
    }


    .download-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .download-badges {
        flex-direction: column;
    }

    .app-store-badge,
    .play-store-badge {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 100px; /* Extra space at bottom for scroll indicator */
    }

    .hero-content {
        padding-bottom: 20px; /* Additional spacing */
    }

    .hero-stats {
        gap: 24px; /* Tighter gap on small screens */
        margin-bottom: 100px; /* More space for scroll indicator */
    }

    .stat-item {
        min-width: 80px; /* Prevent wrapping too tightly */
    }

    .stat-number {
        font-size: 24px; /* Slightly smaller on mobile */
    }

    .scroll-indicator {
        bottom: 30px; /* More space from bottom on small screens */
    }

    .section-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 24px;
    }

    .screenshots-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

