/* === Base Styles === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    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;
    padding: 16px 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; color: #1a1a2e; text-decoration: none; }
.logo-icon { font-size: 28px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: #64748b; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #4CAF50; }
.btn-nav { background: linear-gradient(135deg, #4CAF50, #45a049); color: white !important; padding: 10px 24px; border-radius: 100px; }
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(76,175,80,0.3); }

/* === Hero Section === */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    padding: 120px 24px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(76,175,80,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-height: calc(100vh - 200px); }
.hero-text { z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: #1a1a2e; }
.gradient-text { background: linear-gradient(135deg, #4CAF50, #2E7D32); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.25rem; color: #64748b; margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white; padding: 16px 32px; border-radius: 100px;
    text-decoration: none; font-weight: 600; font-size: 1.1rem;
    box-shadow: 0 10px 40px rgba(76,175,80,0.3);
    transition: all 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(76,175,80,0.4); }
.btn-secondary {
    display: inline-flex; align-items: center;
    background: white; color: #1a1a2e; padding: 16px 32px; border-radius: 100px;
    text-decoration: none; font-weight: 600; font-size: 1.1rem;
    border: 2px solid #e2e8f0; transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: #4CAF50; color: #4CAF50; }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 800; color: #4CAF50; }
.stat-label { font-size: 0.9rem; color: #64748b; }

/* === Phone Mockups === */
.hero-phones { position: relative; height: 600px; z-index: 1; }
.phone {
    position: absolute; width: 280px;
    background: #1a1a2e; border-radius: 40px; padding: 12px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.3), 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}
.phone-screenshot {
    width: 100%;
    border-radius: 30px;
    display: block;
}
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; background: #000; border-radius: 20px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; background: #fafafa; border-radius: 32px; overflow: hidden; padding: 50px 16px 16px; }
.phone-front { right: 0; top: 0; z-index: 2; animation: float 6s ease-in-out infinite; }
.phone-back { right: 120px; top: 60px; z-index: 1; transform: rotate(-8deg); animation: float 6s ease-in-out infinite 1s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(0deg); } }
.phone-back { animation: float-back 6s ease-in-out infinite 1s; }
@keyframes float-back { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-15px) rotate(-8deg); } }

/* === Mock Screen Content === */
.mock-header { font-weight: 700; font-size: 18px; color: #1a1a2e; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.store-logo { font-size: 20px; }
.mock-search { background: #f1f5f9; padding: 12px 16px; border-radius: 12px; color: #94a3b8; font-size: 14px; margin-bottom: 16px; }
.mock-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-product { background: white; border-radius: 16px; padding: 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.mock-img { font-size: 32px; margin-bottom: 8px; }
.mock-name { font-size: 12px; color: #64748b; margin-bottom: 4px; }
.mock-price { font-weight: 700; color: #4CAF50; }
.mock-cart-btn { position: absolute; bottom: 30px; right: 30px; background: #4CAF50; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 8px 25px rgba(76,175,80,0.4); }
.cart-badge { position: absolute; top: -5px; right: -5px; background: #ef4444; color: white; font-size: 12px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mock-order-card { background: white; border-radius: 16px; padding: 16px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.mock-order-card.faded { opacity: 0.6; }
.mock-badge { display: inline-block; background: #dcfce7; color: #16a34a; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; margin-bottom: 8px; }
.mock-badge.active { background: #fef3c7; color: #d97706; }
.mock-items { font-size: 14px; color: #64748b; margin-bottom: 12px; }
.mock-btn { background: #4CAF50; color: white; text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; font-size: 14px; }

/* === Hero Wave === */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* === Stores Section === */
.stores { padding: 60px 0; background: white; }
.stores-label { text-align: center; color: #94a3b8; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; }
.store-logos { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.store-logo-item { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #64748b; font-size: 18px; }
.store-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: white; }
.store-icon.lidl { background: linear-gradient(135deg, #0050aa, #003d82); }
.store-icon.netto { background: linear-gradient(135deg, #ffd700, #ffcc00); color: #000; }
.store-icon.rema { background: linear-gradient(135deg, #e31837, #c41230); }

/* === Features Section === */
.features { padding: 100px 0; background: #fafafa; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge { display: inline-block; background: #dcfce7; color: #16a34a; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 100px; margin-bottom: 16px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.section-header p { font-size: 1.2rem; color: #64748b; max-width: 500px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.feature-card {
    background: white; border-radius: 24px; padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.feature-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.feature-icon.green { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.feature-icon.blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.feature-icon.orange { background: linear-gradient(135deg, #fed7aa, #fdba74); }
.feature-icon.purple { background: linear-gradient(135deg, #e9d5ff, #d8b4fe); }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }
.feature-phone { position: absolute; right: -20px; bottom: -40px; width: 140px; height: 280px; background: #1a1a2e; border-radius: 24px; opacity: 0.1; transform: rotate(15deg); }

/* === How It Works Section === */
.how-it-works { padding: 100px 0; background: white; }

/* === Feature Screenshots Section === */
.feature-screenshots {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: visible;
}

.feature-screenshots .container {
    max-width: 100%;
    padding: 0;
    overflow: visible;
}

/* Screenshot Gallery */
.screenshot-gallery {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 40px 60px;
    overflow: visible;
}

.screenshot-item {
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-item:hover {
    transform: translateY(-15px) scale(1.02);
}

.screenshot-item:nth-child(1) { transform: rotate(-4deg); }
.screenshot-item:nth-child(2) { transform: rotate(-2deg); }
.screenshot-item:nth-child(3) { transform: rotate(0deg) scale(1.05); z-index: 5; }
.screenshot-item:nth-child(4) { transform: rotate(2deg); }
.screenshot-item:nth-child(5) { transform: rotate(4deg); }

.screenshot-item:nth-child(1):hover { transform: rotate(-4deg) translateY(-15px) scale(1.02); }
.screenshot-item:nth-child(2):hover { transform: rotate(-2deg) translateY(-15px) scale(1.02); }
.screenshot-item:nth-child(3):hover { transform: rotate(0deg) translateY(-15px) scale(1.08); }
.screenshot-item:nth-child(4):hover { transform: rotate(2deg) translateY(-15px) scale(1.02); }
.screenshot-item:nth-child(5):hover { transform: rotate(4deg) translateY(-15px) scale(1.02); }

.screenshot-phone-img {
    width: 220px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 10px;
    box-shadow:
        0 30px 60px rgba(0,0,0,0.2),
        0 15px 40px rgba(0,0,0,0.15),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.screenshot-phone-img::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 22px;
    background: #000;
    border-radius: 14px;
    z-index: 10;
}

.screenshot-phone-img img {
    width: 100%;
    border-radius: 28px;
    display: block;
}

/* Screenshot Section Responsive */
@media (max-width: 1400px) {
    .screenshot-phone-img { width: 200px; }
    .screenshot-gallery { gap: 16px; padding: 40px 40px; }
}

@media (max-width: 1200px) {
    .screenshot-gallery { gap: 14px; padding: 40px 30px; }
    .screenshot-phone-img { width: 180px; border-radius: 30px; }
}

@media (max-width: 968px) {
    .screenshot-gallery {
        justify-content: flex-start;
        padding: 40px 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    .screenshot-item {
        transform: none !important;
        scroll-snap-align: center;
    }
    .screenshot-item:hover { transform: translateY(-10px) !important; }
    .screenshot-phone-img { width: 200px; }
}

@media (max-width: 640px) {
    .screenshot-phone-img { width: 180px; border-radius: 28px; padding: 8px; }
    .screenshot-phone-img::before { width: 50px; height: 16px; top: 10px; border-radius: 10px; }
    .screenshot-phone-img img { border-radius: 22px; }
}

/* === Lightbox Modal === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 24px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.lightbox-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: #4CAF50;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .lightbox-nav { width: 44px; height: 44px; font-size: 20px; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-close { top: 15px; right: 20px; font-size: 40px; }
    .lightbox-content img { border-radius: 16px; }
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.step { text-align: center; position: relative; }
.step-number { width: 80px; height: 80px; background: linear-gradient(135deg, #4CAF50, #45a049); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: white; margin: 0 auto 24px; box-shadow: 0 15px 40px rgba(76,175,80,0.3); }
.step-icon { font-size: 3rem; margin-bottom: 16px; }
.step h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.step p { color: #64748b; max-width: 280px; margin: 0 auto; }
.step-connector { position: absolute; top: 40px; left: calc(50% + 60px); width: calc(100% - 120px); height: 3px; background: linear-gradient(90deg, #4CAF50, #81c784); }
.step:last-child .step-connector { display: none; }

/* === App Showcase === */
.showcase { padding: 80px 0; background: linear-gradient(135deg, #1a1a2e, #2d2d44); overflow: hidden; }
.showcase-content { display: flex; gap: 60px; align-items: center; }
.showcase-text { flex: 1; color: white; }
.showcase-text h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 24px; }
.showcase-text p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 32px; }
.showcase-features { display: flex; flex-direction: column; gap: 16px; }
.showcase-feature { display: flex; align-items: center; gap: 12px; }
.check-icon { width: 24px; height: 24px; background: #4CAF50; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 14px; }
.showcase-phones { flex: 1; display: flex; justify-content: center; }

/* === Download Section === */
.download { padding: 100px 0; background: linear-gradient(135deg, #f0fdf4, #dcfce7); text-align: center; }
.download-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.download-content p { font-size: 1.2rem; color: #64748b; margin-bottom: 40px; }
.download-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.store-btn { display: flex; align-items: center; gap: 12px; background: #1a1a2e; color: white; padding: 14px 28px; border-radius: 14px; text-decoration: none; transition: all 0.3s ease; }
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(26,26,46,0.3); }
.store-btn svg { width: 28px; height: 28px; }
.store-btn div { text-align: left; }
.store-btn small { font-size: 11px; opacity: 0.8; display: block; }
.store-btn strong { font-size: 16px; }

/* === Footer === */
.footer { padding: 40px 0; background: #1a1a2e; color: white; text-align: center; }
.footer-logo { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.footer p { color: rgba(255,255,255,0.6); font-size: 14px; }

/* === Responsive === */
@media (max-width: 968px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-phones { height: 500px; margin-top: 40px; }
    .phone { width: 220px; }
    .phone-front { right: 50%; transform: translateX(60%); }
    .phone-back { right: 50%; transform: translateX(-60%) rotate(-8deg); }
    .steps { grid-template-columns: 1fr; gap: 60px; }
    .step-connector { display: none; }
    .nav-links a:not(.btn-nav) { display: none; }
}
@media (max-width: 600px) {
    .hero-phones { display: none; }
    .hero { min-height: auto; padding-bottom: 80px; }
}

