/* === PREMIUM iOS 18/26 THEME === */
:root {
    --bg-color: #000000; 
    --glass-bg-dark: rgba(28, 28, 30, 0.6);
    --glass-bg-light: rgba(44, 44, 46, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #EBEBF5;
    --neon: #0A84FF;
    --neon-alt: #5E5CE6;
    --primary-gradient: linear-gradient(135deg, #0A84FF, #5E5CE6);
    --success: #32D74B;
    --danger: #FF453A;
    --radius: 28px;
    --radius-sm: 18px;
    --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }

html { height: 100%; }

body {
    background-color: #000000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4)), url('/assets/images/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
    }
}

a { text-decoration: none; color: inherit; transition: 0.2s ease; }

/* === GLASS UTILITIES === */
.glass-panel {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 0.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

.hidden { display: none !important; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.mt-5 { margin-top: 48px; }
.text-center { text-align: center; }

/* === MAIN LAYOUT === */
.main-container { width: 100%; max-width: 900px; margin: 60px auto 0; padding: 0 24px; }

/* === TOP HEADER SPECIFICS === */
.top-nav {
    position: sticky; 
    top: 15px; 
    z-index: 1000;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin: 0 20px;
    transition: 0.3s ease;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { font-size: 1.15rem; color: var(--text-main); display: flex; align-items: center; gap: 8px; }

.desktop-links { display: flex; align-items: center; gap: 10px; }
.nav-link { font-size: 0.95rem; font-weight: 500; color: rgba(235, 235, 245, 0.6); display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 50px; transition: 0.2s ease; }
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(118, 118, 128, 0.24); }

.mobile-menu-btn { display: none; background: transparent; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.mobile-menu-btn:active { background: rgba(255,255,255,0.1); }

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .desktop-links { 
        display: none; position: absolute; top: 120%; left: 0; width: 100%; 
        background: var(--glass-bg-dark); backdrop-filter: blur(30px) saturate(200%);
        -webkit-backdrop-filter: blur(30px) saturate(200%); border: 0.5px solid var(--glass-border);
        border-radius: 24px; flex-direction: column; padding: 20px; box-shadow: var(--glass-shadow);
    }
    .desktop-links.active { display: flex; }
}

/* === HERO SECTION === */
.hero-section h1 { 
    font-size: clamp(2.2rem, 6vw, 3.8rem); 
    font-weight: 700; 
    letter-spacing: -0.04em; 
    margin-bottom: 12px; 
    line-height: 1.1;
}
.text-gradient { 
    background: var(--primary-gradient); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.hero-section p { 
    color: rgba(235, 235, 245, 0.6); 
    font-size: 1.15rem; 
    font-weight: 400; 
    letter-spacing: -0.01em;
}

/* === FORMS & INPUTS === */
.terminal-box { padding: 32px; position: relative; z-index: 2; margin-bottom: 48px; }
.input-wrapper { position: relative; margin-bottom: 16px; }
.input-wrapper .icon { 
    position: absolute; 
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: rgba(235, 235, 245, 0.6); 
    font-size: 1.2rem; 
    transition: color 0.3s; 
}

.glass-input {
    width: 100%; 
    background: rgba(118, 118, 128, 0.24);
    border: none;
    border-radius: 20px; 
    padding: 20px 20px 20px 52px; 
    color: var(--text-main);
    font-size: 1.05rem; 
    font-weight: 400;
    transition: background 0.3s ease;
}

.glass-input::placeholder { color: rgba(235, 235, 245, 0.6); }

.glass-input:focus {
    background: rgba(118, 118, 128, 0.35);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.15);
}
.glass-input:focus + .icon { color: var(--neon); }

/* === BUTTONS (iOS Pill Style) === */
.glass-btn {
    width: 100%; 
    padding: 18px; 
    background: var(--neon);
    border: none; 
    border-radius: 50px;
    color: #FFFFFF; 
    font-size: 1.1rem; 
    font-weight: 600; 
    letter-spacing: -0.01em;
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s; 
}

.glass-btn:hover:not(:disabled) { background-color: #007AFF; }
.glass-btn:active:not(:disabled) { transform: scale(0.96); background-color: #0066CC; }

/* === CARDS & PILLS === */
.features-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.glass-card { 
    background: var(--glass-bg-light); 
    backdrop-filter: blur(30px); 
    -webkit-backdrop-filter: blur(30px); 
    border: 0.5px solid var(--glass-border); 
    border-radius: var(--radius); 
    padding: 32px 24px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
}
.glass-card:hover { transform: translateY(-4px); }

.feature-card-modern { 
    background: rgba(28, 28, 30, 0.6); 
    border: 0.5px solid rgba(255, 255, 255, 0.1); 
    border-radius: 24px; 
    padding: 24px; 
    display: flex; 
    align-items: flex-start; 
    gap: 16px; 
    transition: transform 0.2s; 
    backdrop-filter: blur(20px); 
}
.feature-card-modern:hover { transform: scale(1.02); background: rgba(44, 44, 46, 0.6); }
.feature-card-modern i { font-size: 1.4rem; color: #5E5CE6; background: rgba(94, 92, 230, 0.15); padding: 12px; border-radius: 14px; }

.platform-card { 
    background: rgba(28, 28, 30, 0.6); 
    border: 0.5px solid rgba(255, 255, 255, 0.1); 
    padding: 24px 20px; 
    border-radius: 24px; 
    text-align: center; 
    transition: transform 0.2s, background 0.2s; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 12px; 
    backdrop-filter: blur(20px); 
}
.platform-card:hover { background: rgba(44, 44, 46, 0.8); transform: scale(1.03); }
.platform-card i { font-size: 2.2rem; }

.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.service-pill { 
    background: rgba(118, 118, 128, 0.24); 
    border: none; 
    padding: 10px 18px; 
    border-radius: 50px; 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: var(--text-main); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: transform 0.2s, background 0.2s; 
}
.service-pill:hover { background: rgba(118, 118, 128, 0.4); transform: scale(1.03); }

/* === STEPS / HOW TO USE === */
.step-card { 
    background: rgba(44, 44, 46, 0.6); 
    border: 0.5px solid rgba(255, 255, 255, 0.1); 
    border-radius: 28px; 
    padding: 32px 24px; 
    text-align: left; 
    position: relative; 
    overflow: hidden; 
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); 
    backdrop-filter: blur(24px) saturate(150%); 
}
.step-card:hover { transform: translateY(-4px); }
.step-number { 
    position: absolute; 
    top: 12px; 
    right: 16px; 
    font-size: 5rem; 
    font-weight: 800; 
    color: rgba(235, 235, 245, 0.04); 
    z-index: 0; 
    pointer-events: none; 
    letter-spacing: -0.04em; 
}
.step-icon { 
    width: 56px; 
    height: 56px; 
    background: rgba(10, 132, 255, 0.15); 
    color: #0A84FF; 
    border-radius: 16px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.6rem; 
    margin-bottom: 24px; 
    position: relative; 
    z-index: 1; 
}

/* === DOWNLOAD RESULTS === */
.download-card {
    background: rgba(44, 44, 46, 0.6); border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
    color: #fff; text-decoration: none; transition: transform 0.2s, background 0.2s;
    backdrop-filter: blur(20px);
}
.download-card:hover { background: rgba(44, 44, 46, 0.8); transform: scale(1.01); }
.download-card:active { transform: scale(0.98); }
.card-meta { display: flex; align-items: center; gap: 12px; }
.format-badge {
    background: rgba(255, 255, 255, 0.1); padding: 6px 12px; border-radius: 8px;
    font-family: var(--font-mono); font-size: 0.75rem; border: none; font-weight: 600; letter-spacing: 0.02em;
}
.quality-label { font-weight: 600; font-size: 1.05rem; }
.action-icon { font-size: 1.2rem; color: rgba(235, 235, 245, 0.6); background: rgba(255,255,255,0.1); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.download-card:hover .action-icon { color: #fff; background: #0A84FF; }

/* === FAQ & ACCORDIONS === */
.faq-container { display: flex; flex-direction: column; gap: 1px; max-width: 800px; margin: 0 auto; background: rgba(28, 28, 30, 0.6); border-radius: 28px; overflow: hidden; border: 0.5px solid rgba(255,255,255,0.1); backdrop-filter: blur(24px); }
.faq-item { background: transparent; transition: background 0.3s; }
.faq-item:not(:last-child) { border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); }
.faq-item.active { background: rgba(255, 255, 255, 0.03); }
.faq-question { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 500; font-size: 1.05rem; color: #fff; user-select: none; letter-spacing: -0.01em; }
.faq-question i { transition: transform 0.3s; color: rgba(235, 235, 245, 0.6); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: #fff; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease; color: rgba(235, 235, 245, 0.6); font-size: 0.95rem; line-height: 1.5; }
.faq-item.active .faq-answer { padding-bottom: 20px; }

/* === TRUST BANNER & STATS === */
.trust-banner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; background: rgba(28, 28, 30, 0.6); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 28px; padding: 40px; margin: 60px 0; text-align: center; backdrop-filter: blur(24px); }
.trust-stat h3 { font-size: 2.8rem; color: #fff; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.04em; }
.trust-stat p { color: rgba(235, 235, 245, 0.6); font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

.live-stats-section { background: transparent; border-top: 0.5px solid rgba(255,255,255,0.1); border-bottom: 0.5px solid rgba(255,255,255,0.1); padding: 64px 24px; margin-top: 80px; margin-bottom: 48px; }
.stats-grid-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; max-width: 900px; margin: 0 auto; }
.stat-block h3 { font-size: 3.5rem; font-weight: 700; color: #fff; margin-bottom: 4px; letter-spacing: -0.04em; }
.stat-block p { color: rgba(235, 235, 245, 0.6); font-weight: 500; font-size: 0.95rem; }

/* === SEO ARTICLE (Clean Reading Mode) === */
.seo-article { line-height: 1.6; color: rgba(235, 235, 245, 0.8); font-size: 1.05rem; }
.seo-article h2 { color: #fff; font-size: 2rem; margin: 48px 0 24px; font-weight: 700; letter-spacing: -0.02em; border-bottom: 0.5px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
.seo-article h3 { color: #fff; font-size: 1.4rem; margin: 32px 0 16px; font-weight: 600; }
.seo-article p { margin-bottom: 24px; }
.seo-article ul { margin: 0 0 20px 20px; list-style-type: none; padding: 0; }
.seo-article li { margin-bottom: 12px; padding-left: 20px; position: relative; }
.seo-article li::before { content: "•"; position: absolute; left: 0; color: #0A84FF; font-weight: bold; }
.section-title-wrap { text-align: center; margin-bottom: 48px; }
.section-title-wrap h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-title-wrap p { color: rgba(235, 235, 245, 0.6); max-width: 600px; margin: 0 auto; line-height: 1.5; font-size: 1.1rem; }

/* === LOADING UI === */
.skeleton { 
    background: linear-gradient(90deg, rgba(118, 118, 128, 0.24) 25%, rgba(118, 118, 128, 0.4) 50%, rgba(118, 118, 128, 0.24) 75%); 
    background-size: 200% 100%; 
    animation: shimmer 1.5s infinite linear; 
    border-radius: 12px; 
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.download-progress-wrap { animation: fadeInDown 0.3s ease; }
.progress-track { width: 100%; height: 8px; background: rgba(118, 118, 128, 0.24); border-radius: 50px; overflow: hidden; position: relative; }
.progress-fill { height: 100%; width: 0%; background: var(--primary-gradient); border-radius: 50px; position: relative; transition: width 0.3s ease; }
.progress-fill::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); animation: progressShine 1.2s infinite linear; }
@keyframes progressShine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.progress-hint { margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-mono); display: flex; align-items: center; gap: 8px; justify-content: center; }
.progress-hint i { color: var(--neon); animation: pulseIcon 1s infinite ease-in-out; }
@keyframes pulseIcon { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.skeleton-result { animation: fadeInDown 0.3s ease; }
.skeleton-row { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.skeleton-thumb { width: 72px; height: 72px; border-radius: 14px; flex-shrink: 0; }
.skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line { height: 14px; }
.skeleton-card { height: 62px; border-radius: 20px; margin-bottom: 12px; }

/* === MODALS === */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(20px); display: none; align-items: center; justify-content: center; z-index: 9999; }
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* === MOBILE RESPONSIBILITY === */
@media (max-width: 600px) {
    .main-container { padding: 0 16px; }
    .terminal-box { padding: 22px 18px; border-radius: 26px; }
    .hero-section h1 { margin-bottom: 8px; }
    .hero-section p { font-size: 1rem; }

    .glass-btn { padding: 16px; min-height: 52px; }
    .glass-input { padding: 18px 18px 18px 48px; min-height: 52px; }
    .service-pill { padding: 12px 16px; min-height: 44px; }
    .action-icon { width: 40px; height: 40px; }
    .faq-question { padding: 18px 20px; min-height: 44px; }
    .nav-link { padding: 12px 16px; min-height: 44px; }

    .download-card { padding: 16px; flex-wrap: wrap; gap: 10px; }
    .step-card, .glass-card, .feature-card-modern, .platform-card { padding: 24px 18px; }

    .live-stats-section { padding: 40px 16px; margin-top: 48px; }
    .stat-block h3 { font-size: 2.4rem; }

    .modal-overlay .glass-panel { margin: 0 16px; max-width: calc(100% - 32px); }
}