:root {
    --primary-color: #3B8C7C;
    --primary-hover: #2D6B5F;
    --accent-color: #5AACA0;
    --text-color: #2C3E50;
    --text-secondary: #546E7A;
    --background: #F5F7F9;
    --white: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --gradient: linear-gradient(135deg, #3B8C7C 0%, #5AACA0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    font-size: 16px;
}

body {
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-color);
    line-height: 1.5;
    background: linear-gradient(135deg, rgba(245, 247, 249, 0.97), rgba(245, 247, 249, 0.93)),
                url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0L100 50L50 100L0 50Z' fill='%233B8C7C' fill-opacity='0.03'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    padding: 1rem;
}

.container {
    text-align: center;
    padding: clamp(1.5rem, 5vw, 3rem);
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    max-width: 1000px;
    width: 100%;
    animation: fadeIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.logo {
    width: clamp(120px, 25vw, 180px);
    height: clamp(120px, 25vw, 180px);
    margin: 0 auto 2rem;
    animation: floatAnimation 6s ease-in-out infinite;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    font-weight: 700;
    color: var(--primary-color);
}

.tagline {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    font-weight: 500;
}

.description {
    max-width: 700px;
    margin: 0 auto clamp(2rem, 5vw, 3rem);
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.6;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: clamp(1.5rem, 4vw, 2rem) 0;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.feature {
    background: var(--white);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 1rem;
    text-align: left;
    border: 1px solid rgba(59, 140, 124, 0.1);
    transition: all 0.3s ease;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature h3 i {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(1.2rem, 3vw, 1.4rem);
}

.feature p {
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    margin: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: clamp(0.8rem, 2.5vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 140, 124, 0.2);
    margin-top: clamp(1.5rem, 4vw, 2rem);
    white-space: nowrap;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 140, 124, 0.3);
}

.download-info {
    margin-top: clamp(1.5rem, 4vw, 2rem);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 2rem);
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile and Tablet Optimizations */
@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }

    .container {
        border-radius: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .download-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Small Mobile Optimizations */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .feature {
        padding: 1.25rem;
    }

    .download-btn {
        width: 90%;
        justify-content: center;
    }

    .logo {
        margin-bottom: 1.5rem;
    }
}

/* Landscape Mode Optimization */
@media (max-height: 600px) and (orientation: landscape) {
    body {
        padding: 1rem;
    }

    .container {
        padding: 1.5rem;
    }

    .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    html {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
} 
