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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #22C55E;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #16A34A;
    bottom: -50px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #15803D;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

.container {
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 25px 80px rgba(34, 197, 94, 0.15),
                0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
}

.logo-svg {
    width: 200px;
    height: 50px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    fill: #15803D;
    letter-spacing: -1px;
}

.logo-badge {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.hero-section {
    margin-bottom: 40px;
}

.hero-icon {
    width: clamp(100px, 20vw, 140px);
    height: clamp(100px, 20vw, 140px);
    margin: 0 auto 25px;
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15%;
}

.main-title {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.highlight {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    font-weight: 400;
}

.redirect-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    border: 1px solid #bbf7d0;
}

.redirect-message p {
    font-size: 14px;
    color: #15803D;
    font-weight: 500;
}

.loader {
    display: inline-block;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #dcfce7;
    border-top: 3px solid #22C55E;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.manual-buttons {
    margin-top: 40px;
}

.divider-text {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 24px;
    font-weight: 500;
    position: relative;
    padding: 0 20px;
}

.divider-text::before,
.divider-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: #e2e8f0;
}

.divider-text::before {
    left: 0;
}

.divider-text::after {
    right: 0;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.download-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.download-btn:hover::before {
    transform: translateX(0);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.btn-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-label {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-store {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.ios-btn {
    background: #000000;
    color: white;
}

.ios-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.android-btn {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: white;
}

.android-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.35);
}

.web-btn {
    background: white;
    color: #15803D;
    border-color: #22C55E;
}

.web-btn .btn-icon {
    fill: #22C55E;
}

.web-btn:hover {
    transform: translateY(-3px);
    background: #f0fdf4;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.2);
}

.features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 120px;
}

.feature-item svg {
    width: 28px;
    height: 28px;
}

.feature-item span {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        padding: 40px 30px;
    }

    .logo-text {
        font-size: 32px;
    }

    .main-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 15px;
    }

    .btn-store {
        font-size: 16px;
    }

    .btn-icon {
        width: 28px;
        height: 28px;
    }

    .shape-1 {
        width: 300px;
        height: 300px;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 35px 24px;
        border-radius: 24px;
    }

    .logo-svg {
        width: 160px;
        height: 40px;
    }

    .logo-text {
        font-size: 26px;
    }

    .logo-badge {
        font-size: 11px;
        padding: 5px 16px;
    }

    .main-title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .download-btn {
        padding: 14px 20px;
    }

    .btn-store {
        font-size: 15px;
    }

    .btn-label {
        font-size: 10px;
    }

    .btn-icon {
        width: 26px;
        height: 26px;
    }

    .features {
        gap: 16px;
    }

    .feature-item {
        max-width: 90px;
    }

    .feature-item svg {
        width: 24px;
        height: 24px;
    }

    .feature-item span {
        font-size: 11px;
    }
}
