:root {
    --bg-color: #0f1115;
    --card-bg: rgba(26, 29, 36, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --accent-1: #3b82f6;
    --accent-2: #8b5cf6;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background Blobs */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, 5%) scale(0.9); }
}

.container {
    flex: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.logo-container {
    margin-bottom: 0.5rem;
}

.main-logo {
    height: 86px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
    animation: fadeInDown 0.8s ease-out;
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    animation: fadeInUp 0.8s ease-out;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Cards Container */
.cards-container {
    display: flex;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Card */
.download-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    transition: transform 0.3s ease, color 0.3s ease;
}

.download-card:hover .card-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.download-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.instructions {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

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

/* Info Section */
.app-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.info-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.info-badge .label {
    color: var(--text-muted);
}

.info-badge .value {
    font-weight: 600;
}

.link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Install Help */
.install-help {
    width: 100%;
    max-width: 860px;
    margin-top: 1.75rem;
    margin-bottom: 0;
}

.install-help-summary {
    display: block;
    width: fit-content;
    margin: 0 auto;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    cursor: pointer;
    list-style: none;
    user-select: none;
    text-align: center;
    transition: all 0.3s ease;
}

.install-help-summary::-webkit-details-marker {
    display: none;
}

.install-help-summary:hover {
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.08);
}

.install-help[open] .install-help-summary {
    margin-bottom: 1rem;
}

.install-help-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    animation: fadeIn 0.35s ease-out;
}

.install-help-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.25rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.install-help-card h3 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.65rem;
}

.install-help-card p + p {
    margin-top: 0.65rem;
}

.install-help-card strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Device Note */
.device-note {
    margin-top: 1.25rem;
    max-width: 680px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.device-note span {
    display: block;
}
/* About Section */
.about-details {
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-summary {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: none;
    user-select: none;
    text-align: center;
    margin: 0 auto;
}

.about-summary::-webkit-details-marker {
    display: none;
}

.about-summary:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

details.about-details[open] .about-summary {
    margin-bottom: 2rem;
}

.about-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeIn 0.5s ease-out;
    width: 100%;
}

.about-title {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
}

.about-text strong {
    color: var(--accent-1);
    font-weight: 600;
}

.mt-4 {
    margin-top: 1rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    color: var(--text-main);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-icon svg {
    width: 38px;
    height: 38px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(8px);
}

.footer-content {
    display: inline-flex;
    align-items: center;
}

.footer-logo {
    height: 72px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .main-logo {
        height: 76px;
    }
    .footer-logo {
        height: 60px;
    }
    .title {
        font-size: 2.5rem;
    }
    .cards-container {
        flex-direction: column;
        align-items: center;
    }
    .download-card {
        padding: 2rem 1.5rem;
    }
    .device-note {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }
    .install-help-content {
        grid-template-columns: 1fr;
    }
    .install-help-summary {
        width: 100%;
        max-width: 340px;
        font-size: 0.9rem;
    }
}
