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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-btn:hover {
    background: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.language-btn .flag {
    font-size: 20px;
}

.language-btn .arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-btn.open .arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    min-width: 220px;
    display: none;
    animation: dropdownFade 0.3s ease;
}

.language-dropdown.show {
    display: block;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8f9fa;
}

.language-option.active {
    background: #667eea;
    color: white;
}

.language-option .flag {
    font-size: 24px;
}

.language-option .name {
    font-size: 14px;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90">💰</text></svg>') repeat;
    opacity: 0.05;
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.savings-counter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.counter-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

.counter-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary img {
    height: 60px;
    display: block;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-primary:hover img {
    transform: scale(1.05);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.free {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.launch {
    font-size: 0.8rem;
    background: #ff4757;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    animation: pulse 2s infinite;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

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

/* Screenshot Carousel */
.screenshot-carousel {
    max-width: 380px;
    margin: 0 auto;
    padding: 0 50px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-wrapper {
    position: relative;
    width: 280px;
    height: 607px;
    overflow: hidden;
    border-radius: 35px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
    background: #000;
}

.app-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    border-radius: 35px;
}

.app-screenshot.active {
    opacity: 1;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: #667eea;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:active {
    transform: scale(1.05);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Screenshots Showcase Section */
.screenshots-showcase {
    padding: 100px 0;
    background: white;
}

.screenshots-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 35px;
    padding: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.4);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Money Leaks Section */
.money-leaks {
    padding: 100px 0;
    background: #f8f9fa;
}

.money-leaks h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 60px;
}

.leaks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.leak-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leak-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.leak-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.leak-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.leak-cost {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 12px;
}

.leak-item p:last-child {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a1a1a;
}

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

.feature-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    padding: 100px 0;
    background: #f8f9fa;
}

.social-proof h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1a1a1a;
}

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

.testimonial {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.6;
}

.author {
    font-weight: 600;
    color: #6c757d;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.urgency-banner {
    background: #ff4757;
    color: white;
    padding: 14px 28px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 40px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.urgency-text {
    font-weight: 600;
    font-size: 1rem;
}

.btn-primary.large {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary.large:hover {
    transform: translateY(-5px);
}

.btn-primary.large:active {
    transform: translateY(-2px);
}

.btn-primary.large img {
    height: 80px;
    display: block;
}

.guarantee {
    margin-top: 35px;
}

.guarantee p {
    font-size: 1.05rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin: 0;
    opacity: 0.9;
}

/* Smooth animations for elements - Initial hidden state */
.leak-item,
.feature-card,
.testimonial {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible state when scrolled into view */
.leak-item.visible,
.feature-card.visible,
.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Screenshot cards - Simple fade-in on load, no scroll animation */
.screenshot-card {
    opacity: 0;
    animation: simpleFadeIn 0.8s ease-out forwards;
}

@keyframes simpleFadeIn {
    to {
        opacity: 1;
    }
}

/* Staggered delays for screenshot cards */
.screenshot-card:nth-child(1) {
    animation-delay: 0.1s;
}

.screenshot-card:nth-child(2) {
    animation-delay: 0.2s;
}

.screenshot-card:nth-child(3) {
    animation-delay: 0.3s;
}

.screenshot-card:nth-child(4) {
    animation-delay: 0.4s;
}

.screenshot-card:nth-child(5) {
    animation-delay: 0.5s;
}

.screenshot-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .screenshot-carousel {
        padding: 0 40px;
    }

    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .screenshot-carousel {
        padding: 0 35px;
    }

    .screenshot-wrapper {
        width: 240px;
        height: 520px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .carousel-btn.prev {
        left: -5px;
    }

    .carousel-btn.next {
        right: -5px;
    }

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

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

    .cta-buttons {
        justify-content: center;
    }

    .language-selector {
        top: 10px;
        right: 10px;
    }

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

    .language-btn .flag {
        font-size: 16px;
    }

    .money-leaks,
    .features,
    .social-proof,
    .final-cta,
    .screenshots-showcase {
        padding: 60px 0;
    }

    .money-leaks h2,
    .features h2,
    .social-proof h2,
    .final-cta h2,
    .screenshots-showcase h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .screenshot-carousel {
        padding: 0 25px;
    }

    .screenshot-wrapper {
        width: 200px;
        height: 433px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .carousel-dots {
        gap: 6px;
        margin-top: 15px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 24px;
    }

    .btn-primary img {
        height: 50px;
    }

    .btn-primary.large img {
        height: 65px;
    }

    .counter-number {
        font-size: 2rem;
    }

    .language-dropdown {
        max-height: 300px;
        min-width: 180px;
    }
}