:root {
    --bg-dark: #070b14;
    --card-bg: rgba(15, 23, 42, 0.78);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #60a5fa;
    --accent: #10b981;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --cyan-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --surface: #0f172a;
    --success: #10b981;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.35);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 88% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.logo span {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 500;
    padding-left: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.lang-toggle {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    padding: 3px;
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-hero-icon-wrap {
    margin-bottom: 24px;
    position: relative;
}

.app-hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease;
}

.app-hero-icon:hover {
    transform: scale(1.05) rotate(2deg);
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 20px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.18;
    max-width: 920px;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 780px;
    margin-bottom: 34px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 35px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-download i {
    font-size: 1.35rem;
}

.btn-download.play {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-download.play:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
}

.btn-download.apple {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border-color: var(--card-border);
}

.btn-download.apple:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-download.outline {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.18);
}

.btn-download.outline:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

/* Stats Pill Strip */
.stats-strip {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-item strong {
    color: var(--text-main);
}

/* Screenshot Showcase Gallery */
.showcase-section {
    padding: 40px 0 60px;
    text-align: center;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.screenshot-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    padding: 12px;
    width: 260px;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.screenshot-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.screenshot-card p {
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 640px) {
    .screenshot-card {
        width: calc(50% - 10px);
        padding: 8px;
        border-radius: 14px;
    }
    .screenshot-card img {
        border-radius: 10px;
    }
    .screenshot-card p {
        font-size: 0.78rem;
        margin-top: 6px;
    }
}

/* Features Section */
.article-section {
    padding: 50px 0 70px;
}

.section-head {
    text-align: center;
    margin-bottom: 45px;
}

.section-tag {
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.feature-card:hover::before {
    background: var(--primary-gradient);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-icon-wrap.blue {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
}

.feature-icon-wrap.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.feature-icon-wrap.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.feature-icon-wrap.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
}

.feature-icon-wrap.orange {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

.feature-icon-wrap.pink {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

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

/* Tech Specs Table Box */
.specs-section {
    padding: 30px 0 60px;
}

.specs-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
}

.specs-card h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.spec-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.spec-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.spec-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Help & Support Banner */
.help-banner {
    margin: 40px 0 70px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(9, 13, 22, 0.95));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.help-banner-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.help-banner-content p {
    color: var(--text-muted);
    max-width: 600px;
    font-size: 1.02rem;
}

.help-banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-help {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.btn-help.primary {
    background: var(--primary);
    color: white;
}

.btn-help.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-help.secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}

.btn-help.secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 40px 0;
    background: #04070e;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.copyright {
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 14px 20px;
    }
    .header-nav {
        display: none;
    }
    .hero {
        padding: 45px 0 35px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .gallery-grid {
        gap: 14px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .help-banner {
        padding: 30px 24px;
    }
    .specs-card {
        padding: 24px 20px;
    }
}
