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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #f3e5f5;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9B59B6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-brand:hover {
    color: #8E44AD;
}

.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #9B59B6;
}

/* Site menu (hamburger dropdown) */
.nav-cluster {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
}

.nav-dropdown-wrap {
    position: relative;
    flex-shrink: 0;
}

.nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(155, 89, 182, 0.35);
    border-radius: 10px;
    background: linear-gradient(180deg, #faf8fc 0%, #fff 100%);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.12);
}

.nav-menu-btn:hover {
    border-color: #9B59B6;
    box-shadow: 0 4px 14px rgba(155, 89, 182, 0.22);
}

.nav-menu-btn:focus-visible {
    outline: 2px solid #9B59B6;
    outline-offset: 2px;
}

.nav-menu-btn:active {
    transform: scale(0.97);
}

.nav-menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 22px;
    pointer-events: none;
}

.nav-menu-icon span {
    display: block;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.nav-menu-btn.is-open .nav-menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-menu-btn.is-open .nav-menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-menu-btn.is-open .nav-menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 0.5rem 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(155, 89, 182, 0.2);
    box-shadow:
        0 16px 48px rgba(108, 52, 131, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s;
}

.nav-menu-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.nav-menu-panel a {
    display: block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible {
    background: #f3e5f5;
    color: #8E44AD;
    outline: none;
}

.nav-menu-panel a.active {
    color: #9B59B6;
    background: #faf5fc;
}

/* Language menu: same 44×44 control as site hamburger; icon only */
.lang-dropdown-wrap {
    flex-shrink: 0;
}

.lang-menu-svg {
    display: block;
    width: 22px;
    height: 22px;
    pointer-events: none;
    color: #9B59B6;
}

.nav-menu-panel .lang-option {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1.25rem;
    border: none;
    background: none;
    font: inherit;
    font-weight: 500;
    color: #333;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.nav-menu-panel .lang-option:hover,
.nav-menu-panel .lang-option:focus-visible {
    background: #f3e5f5;
    color: #8E44AD;
    outline: none;
}

.nav-menu-panel .lang-option.active {
    color: #9B59B6;
    background: #faf5fc;
}

/* Contact form */
.contact-form-wrap {
    max-width: 560px;
    margin-top: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #9B59B6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form-submit {
    align-self: flex-start;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(155, 89, 182, 0.35);
}

.contact-form-submit:hover {
    filter: brightness(1.06);
}

.contact-form-submit:active {
    transform: scale(0.98);
}

.contact-form-note {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.contact-form-honey {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-success-banner {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    color: #2e7d32;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.features h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.feature-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #9B59B6;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.25);
    border-color: #9B59B6;
}

.feature-card h3 {
    color: #9B59B6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    border-radius: 8px 8px 0 0;
}

/* Use Cases Section */
.use-cases {
    padding: 4rem 0;
    background: #f9f9f9;
}

.use-cases h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.use-cases h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.use-case-list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.use-case-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #9B59B6;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(155, 89, 182, 0.1);
}

.use-case-item:hover {
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
}

.use-case-item strong {
    display: block;
    color: #9B59B6;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.use-case-item span {
    color: #666;
    display: block;
}

/* Screenshots Section */
.screenshots-section {
    padding: 2rem 0;
    background: white;
    overflow: hidden;
}

.screenshots-section .container {
    padding: 0 60px;
    max-width: 100%;
    position: relative;
}

.screenshots-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.screenshots-gallery {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #9B59B6 #f0f0f0;
    flex: 1;
    min-width: 0; /* Allow flex item to shrink below content size */
}

.screenshots-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshots-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb {
    background: #9B59B6;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb:hover {
    background: #8E44AD;
}

.screenshot-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(155, 89, 182, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #9B59B6;
    z-index: 10;
}

.screenshot-arrow:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
    transform: scale(1.1);
    border-color: #9B59B6;
}

.screenshot-arrow:active {
    transform: scale(0.95);
}

.screenshot-arrow svg {
    width: 20px;
    height: 20px;
}

.screenshots-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshots-gallery::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb {
    background: #9B59B6;
    border-radius: 4px;
}

.screenshots-gallery::-webkit-scrollbar-thumb:hover {
    background: #8E44AD;
}

.screenshot-img {
    flex: 0 0 auto;
    width: 280px;
    height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    background: #f5f5f5;
}

.screenshot-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Privacy Section */
.privacy-section {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.privacy-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    display: inline-block;
    width: 100%;
}

.privacy-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #9B59B6, #8E44AD);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.privacy-section p {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Content Pages */
.content-page {
    padding: 3rem 0;
    background: white;
    min-height: calc(100vh - 200px);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.last-updated {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #9B59B6;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #9B59B6;
    position: relative;
}

.content-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 50px;
    height: 3px;
    background: #8E44AD;
}

.content-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.content-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.content-section a {
    color: #9B59B6;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.content-section a:hover {
    color: #8E44AD;
    text-decoration: none;
}

.content-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9B59B6;
    transition: width 0.3s;
}

.content-section a:hover::after {
    width: 100%;
}

/* Contact Section */
.contact-section {
    margin-bottom: 3rem;
}

.contact-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #9B59B6;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(155, 89, 182, 0.1);
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
}

.contact-card h3 {
    color: #9B59B6;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.contact-info a {
    color: #9B59B6;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #8E44AD;
    text-decoration: none;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #9B59B6;
    transition: width 0.3s;
}

.contact-info a:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
}

.faq-item {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #9B59B6;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(155, 89, 182, 0.1);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.2);
    transform: translateX(5px);
    background: #faf5fc;
}

.faq-item h3 {
    color: #9B59B6;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

.response-time {
    background: #f3e5f5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #9B59B6;
}

.response-time h2 {
    color: #9B59B6;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #8E44AD 0%, #6C3483 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 3px solid #9B59B6;
}

.footer-available {
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.95;
}

.footer-badges-blurb {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.footer-badges-blurb .footer-badges-rest {
    display: block;
    margin-bottom: 0.65rem;
}

.footer-altstore-lead,
.footer-aptoide-lead,
.footer-apparena-lead {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-aptoide-lead,
.footer-apparena-lead {
    margin-top: 0.45rem;
}

.footer-badges-rest {
    font-weight: 400;
    opacity: 0.95;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Per-badge hint (touch): small control opens bottom sheet / popover (same copy as title="" on desktop) */
.store-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.badge-hint-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.75rem;
    min-height: 1.75rem;
    padding: 0 0.35rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: background 0.15s ease, transform 0.15s ease;
}

.badge-hint-trigger:active {
    transform: scale(0.96);
}

.badge-hint-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

@media (hover: none) and (pointer: coarse) {
    .badge-hint-trigger {
        display: inline-flex;
    }
}

/* Native popover: bottom-anchored sheet */
.badge-hint-sheet {
    box-sizing: border-box;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem 1.15rem calc(1.1rem + env(safe-area-inset-bottom, 0));
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #f2f2f2;
    background: linear-gradient(180deg, rgba(48, 30, 68, 0.99) 0%, rgba(38, 22, 56, 0.99) 100%);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.badge-hint-sheet::backdrop {
    background: rgba(0, 0, 0, 0.42);
}

.badge-hint-sheet-text {
    margin: 0;
    max-width: 40rem;
}

/* JS fallback sheet (no Popover API): full-viewport layer */
.badge-hint-fallback {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.badge-hint-fallback[hidden] {
    display: none !important;
}

.badge-hint-fallback:not([hidden]) {
    pointer-events: auto;
}

.badge-hint-fallback-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    cursor: pointer;
}

.badge-hint-fallback-sheet {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-height: min(50vh, 22rem);
    overflow: auto;
    padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0));
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #f2f2f2;
    background: linear-gradient(180deg, rgba(48, 30, 68, 0.99) 0%, rgba(38, 22, 56, 0.99) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.badge-hint-fallback-body {
    margin: 0 0 0.85rem;
    max-width: 40rem;
}

.badge-hint-fallback-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
}

.badge-hint-fallback-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .badge-hint-trigger:active {
        transform: none;
    }
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.store-badge-link {
    display: inline-block;
    line-height: 0;
    border-radius: 10px;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

/* Native title tooltips: the <a> holds data-i18n-title, but the <img> is the topmost hit target, so many
   desktop browsers never show the link’s title. Let hover/click register on the anchor instead. */
.store-badges .store-badge-link > img {
    pointer-events: none;
}

.store-badges .store-badge-link:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.store-badges .store-badge-link:active {
    transform: translateY(-1px);
}

.store-badges .store-badge-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .store-badges .store-badge-link {
        transition: none;
    }
    .store-badges .store-badge-link:hover,
    .store-badges .store-badge-link.apk-download-link:hover {
        transform: none;
    }
}

/* Text button in badge row: match image badge box (135×45) without line-height:0 clipping */
.store-badge-link.apk-download-link {
    line-height: normal;
    vertical-align: middle;
}

.store-badge {
    width: 135px;
    height: 45px;
    min-width: 135px;
    min-height: 45px;
    max-width: 135px;
    max-height: 45px;
    display: block;
    border-radius: 6px;
    object-fit: contain;
    object-position: center;
}

.store-badge-altstore {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    border-radius: 10px;
}

/* Second AltStore icon (PAL source.json): ring via shadow so the logo stays the same 45×45 size as the first */
.store-badge-altstore-manifest {
    box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.65);
}

/* Aptoide (EU): square badge; asset docs/badge-aptoide.png (sourced from Wikimedia Commons Aptoide_icon.png) */
.store-badge.store-badge-aptoide {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    border-radius: 10px;
}

/* AppArena (Japan): wide wordmark; opaque backing so transparent SVG isn’t tinted by footer purple */
.store-badges .store-badge-link-apparena {
    background: #fff;
    border-radius: 8px;
    padding: 4px 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.store-badge.store-badge-apparena {
    width: auto;
    height: 40px;
    min-width: 120px;
    max-width: 200px;
    min-height: 36px;
    max-height: 45px;
}


.apk-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    width: 135px;
    min-width: 135px;
    max-width: 135px;
    height: 45px;
    min-height: 45px;
    max-height: 45px;
    padding: 0 10px;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    color: #f2f2f2;
    background: linear-gradient(180deg, #3d3d3d 0%, #242424 50%, #161616 100%);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.store-badges .store-badge-link.apk-download-link:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.store-badges .store-badge-link.apk-download-link:active {
    transform: translateY(-1px);
}

.apk-download-link:focus-visible {
    outline: 2px solid #9B59B6;
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .content-page h1 {
        font-size: 2rem;
    }

    .screenshots-section .container {
        padding: 0 50px;
    }

    .screenshots-gallery {
        padding: 1rem 0;
        gap: 0.75rem;
    }

    .screenshot-img {
        width: 240px;
        height: 426px;
        border-radius: 16px;
    }

    .screenshot-arrow {
        width: 36px;
        height: 36px;
    }

    .screenshot-arrow svg {
        width: 16px;
        height: 16px;
    }
}

