/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

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

/* Background */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
    z-index: -1;
    filter: brightness(0.3) blur(3px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.store-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.store-btn img {
    height: 60px;
    width: auto;
    display: block;
}

.store-buttons.large .store-btn img {
    height: 80px;
}

/* Main Content */
.main-content {
    background: white;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa, white);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 4rem;
    color: #2d3748;
}

/* Feature Blocks */
.feature-block {
    display: flex;
    align-items: center;
    column-gap: 4rem;
    margin-bottom: 6rem;
    padding: 3rem 0;
}

.feature-block.reverse {
    flex-direction: row-reverse;
    column-gap: 0;
}

.feature-content {
    flex: 1;
    max-width: 500px;
}

.feature-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
}

/* Feature Mockups */
.feature-mockups {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
    min-height: 400px;
}

.mockup-center {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    z-index: 2;
    position: relative;
}

.mockup-left {
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    position: absolute;
    left: -50px;
    opacity: 0.7;
    z-index: 1;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.download-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.download-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.footer-section p {
    color: #a0aec0;
    margin: 0 0 10px 0;
}

.support-email {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.support-email:hover {
    color: #5a6ff0;
    text-decoration: underline;
}

.privacy-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #5a6ff0;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* Background Image */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.cia1099.cloudns.ch/dict/auth/cover/edge.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.3) blur(3px);
    opacity: 0.1;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-block {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth hover effects */
.mockup-center,
.mockup-left {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mockup-center:hover {
    transform: scale(1.05);
}

/* Hero improvements */
.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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {

    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .feature-mockups {
        min-height: 300px;
    }

    .mockup-center {
        max-width: 250px;
    }

    .mockup-left {
        max-width: 150px;
        left: -30px;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 5vw, 1.4rem);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

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

    .feature-block {
        margin-bottom: 4rem;
        padding: 2rem 0;
    }

    .mockup-center {
        max-width: 200px;
    }

    .mockup-left {
        max-width: 120px;
        left: -20px;
    }

    .features-section {
        padding: 3rem 0;
    }

    .download-section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }
}