/* Mëso Anglisht Landing Page - Main Stylesheet */

:root {
    --primary: #F5515F;
    --primary-dark: #E8424F;
    --primary-light: #FF6B78;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(245, 81, 95, 0.1);
    --shadow-md: 0 8px 24px rgba(245, 81, 95, 0.15);
    --shadow-lg: 0 16px 48px rgba(245, 81, 95, 0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Download Buttons Banner - MASSIVE AND VISIBLE */
.download-buttons-banner {
    position: fixed;
    bottom: -400px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 95%;
    max-width: 800px;
    background: white;
    border-radius: 24px;
    padding: 35px 25px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4);
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--primary);
}

.download-buttons-banner.visible {
    bottom: 25px;
}

.close-banner-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 40px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.close-banner-btn:hover {
    color: #333;
}

.download-buttons-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.store-badge-link {
    display: block;
    transition: all 0.3s ease;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

.store-badge-link:hover {
    transform: translateY(-8px) scale(1.05);
}

.store-badge-link:active {
    transform: scale(0.98);
}

.store-badge-img {
    height: 90px !important;
    width: 220px !important;
    object-fit: contain;
    display: block;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Mobile: Show only device-specific button */
@media (max-width: 968px) {
    .download-buttons-banner {
        max-width: 95%;
        padding: 30px 20px;
        bottom: -400px;
        border-radius: 20px;
        border-width: 2px;
    }
    
    .download-buttons-banner.visible {
        bottom: 20px;
    }
    
    .download-buttons-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .store-badge-link {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }
    
    .store-badge-img {
        height: 70px !important;
        width: 100% !important;
        max-width: 240px !important;
    }
    
    /* Hide non-matching device button on mobile */
    .store-badge-link.hide-on-mobile {
        display: none !important;
    }
    
    .close-banner-btn {
        width: 50px;
        height: 50px;
        font-size: 42px;
        top: 10px;
        right: 10px;
    }
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 40px;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.3em;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(245, 81, 95, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 180px 20px 100px;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease;
}

.logo-showcase {
    perspective: 1200px;
    margin-bottom: 50px;
}

.logo {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    padding: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
}

h1 {
    font-size: 4.5em;
    margin-bottom: 25px;
    font-weight: 900;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease 0.1s backwards;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2em;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.25em;
    opacity: 0.9;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.3s backwards;
    line-height: 1.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    opacity: 0.9;
}

.hero-feature-item span {
    font-size: 1.5em;
}

/* Hero Download Buttons - HUGE AND VISIBLE */
.hero-download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-store-link {
    display: block;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer !important;
    position: relative;
    z-index: 10;
}

.hero-store-link:hover {
    transform: translateY(-10px) scale(1.08);
}

.hero-store-link:active {
    transform: scale(0.98);
}

.hero-store-badge {
    height: 75px !important;
    width: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    pointer-events: none;
}

@media (max-width: 968px) {
    .hero-download-buttons {
        gap: 20px;
        margin-top: 50px;
    }
    
    .hero-store-badge {
        height: 65px !important;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    color: var(--primary);
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.3em;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInCard 0.6s ease 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; }

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card h3 {
    color: var(--text-dark);
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05em;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 20px;
    margin: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    animation: fadeInUp 0.8s ease backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 60px auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    animation: fadeInCard 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    color: white;
    margin: 0 30px;
    box-shadow: 0 8px 24px rgba(245, 81, 95, 0.3);
    z-index: 1;
}

/* Legal Section */
.legal-section {
    background: var(--bg-light);
    padding: 100px 20px;
}

.legal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 60px auto 0;
}

.legal-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.legal-card::after {
    content: '→';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.legal-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.legal-card:hover::after {
    opacity: 1;
    right: 40px;
}

.legal-icon {
    font-size: 3em;
    margin-bottom: 20px;
    display: block;
}

.legal-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.4em;
    margin-bottom: 50px;
    opacity: 0.95;
}

/* CTA Download Buttons - HUGE */
.cta-download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 60px 0 40px;
    flex-wrap: wrap;
}

.cta-store-link {
    display: block;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer !important;
}

.cta-store-link:hover {
    transform: translateY(-12px) scale(1.1);
}

.cta-store-link:active {
    transform: scale(0.98);
}

.cta-store-badge {
    height: 80px !important;
    width: auto;
    display: block;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.cta-features {
    font-size: 1.1em !important;
    opacity: 0.9 !important;
    margin-top: 30px !important;
    margin-bottom: 0 !important;
}

@media (max-width: 968px) {
    .cta-section h2 {
        font-size: 2.2em;
    }
    
    .cta-download-buttons {
        gap: 25px;
        margin: 50px 0 30px;
    }
    
    .cta-store-badge {
        height: 65px !important;
    }
    
    .cta-features {
        font-size: 1em !important;
    }
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 30px 0;
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

footer a:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-social {
    margin-top: 30px;
    font-size: 0.95em;
    opacity: 0.8;
}

.footer-contact {
    margin-top: 15px;
    margin-bottom: 15px;
}

.footer-stores {
    margin-top: 15px;
    font-size: 0.9em;
    opacity: 0.7;
}

.footer-stores .separator {
    margin: 0 8px;
}

/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

@media (max-width: 968px) {
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        gap: 20px;
        align-items: flex-start;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    .hero {
        padding: 140px 20px 80px;
        min-height: auto;
    }
    
    h1 {
        font-size: 2.8em;
    }
    
    .hero-subtitle {
        font-size: 1.5em;
    }
    
    .hero-description {
        font-size: 1.1em;
    }
    
    .logo {
        width: 120px;
        height: 120px;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .hero-feature-item {
        font-size: 1em;
    }
    
    .section-title {
        font-size: 2.2em;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-marker {
        margin: 0 20px 0 0;
    }
    
    .stat-number {
        font-size: 2.5em;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary);
    color: white;
}
