/*
 * STORE CSS — Design System: "DIGITAL FORGE"
 * Aesthetic: Premium Dark Tech | Android App Store
 * Fonts: Space Grotesk (headings) + DM Sans (body)
 * Colors: Injected as CSS variables from PHP/admin
 */

/* ════════════════════════════════════════════════
   1. RESET & TOKENS
════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Defaults — overridden by PHP-injected vars */
    --primary:    #00D4FF;
    --secondary:  #7C3AED;
    --bg-deep:    #080B14;
    --text-main:  #F0F4FF;

    /* Derived system tokens */
    --bg-surface: color-mix(in srgb, var(--bg-deep) 60%, #1A2040 40%);
    --bg-card:    color-mix(in srgb, var(--bg-deep) 40%, #141929 60%);
    --border:     rgba(255, 255, 255, 0.07);
    --border-accent: color-mix(in srgb, var(--primary) 40%, transparent 60%);
    --text-muted: color-mix(in srgb, var(--text-main) 50%, transparent 50%);
    --glow:       0 0 30px color-mix(in srgb, var(--primary) 30%, transparent);

    /* Typography scale */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    /* Spacing */
    --section-pad: clamp(3.5rem, 8vw, 7rem);
    --radius-card: 16px;
    --radius-btn:  10px;

    /* Transitions */
    --ease: cubic-bezier(.25, .46, .45, .94);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ════════════════════════════════════════════════
   2. LAYOUT
════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ════════════════════════════════════════════════
   3. HEADER
════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--bg-deep) 85%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all .3s var(--ease);
}

.site-header.scrolled {
    background: var(--bg-deep);
    box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-main);
}

.logo-img {
    max-height: 38px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.header-nav a {
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}

.header-nav a:hover { color: var(--text-main); }

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #25D366;
    color: #000;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .82rem;
    padding: .45rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity .2s, transform .2s;
    letter-spacing: .3px;
}

.btn-whatsapp:hover { opacity: .88; transform: translateY(-1px); }

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem;
    margin-left: auto;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all .3s;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1.5rem 1rem;
    gap: .25rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: .5rem 0;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}

.mobile-nav a:hover { color: var(--primary); }

.mobile-nav .mobile-nav-cta {
    margin-top: .5rem;
    background: #25D366;
    color: #000;
    border-radius: 8px;
    padding: .55rem 1rem;
    text-align: center;
    border-bottom: none;
}

/* ════════════════════════════════════════════════
   4. HERO SECTION
════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    overflow: hidden;
}

/* Mesh background effect */
.hero-bg-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, color-mix(in srgb, var(--secondary) 20%, transparent) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 90% 50%, color-mix(in srgb, var(--primary) 10%, transparent) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 0% 80%, color-mix(in srgb, var(--secondary) 8%, transparent) 0%, transparent 60%);
    pointer-events: none;
}

/* Grid pattern overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    opacity: .4;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    padding: .35rem 1rem;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    letter-spacing: .5px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.7); }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
    /* Gradient text on first word */
    background: linear-gradient(135deg, var(--text-main) 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 3rem;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--primary);
    color: #000;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    padding: .8rem 1.8rem;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: all .25s var(--ease);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 40%, transparent);
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--primary) 35%, transparent);
    opacity: .92;
}

.btn-ghost-lg {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border: 1.5px solid var(--border-accent);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    padding: .8rem 1.8rem;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: all .25s;
}

.btn-ghost-lg:hover {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Diagonal slash at bottom of hero */
.hero-slash {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-surface);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* ════════════════════════════════════════════════
   5. SECTION COMMONS
════════════════════════════════════════════════ */
.section-label {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════
   6. FEATURES SECTION
════════════════════════════════════════════════ */
.features-section {
    background: var(--bg-surface);
    padding: var(--section-pad) 0;
    clip-path: polygon(0 0, 100% 4rem, 100% 100%, 0 calc(100% - 4rem));
    margin: -2px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.5rem;
    position: relative;
    transition: border-color .25s, transform .25s;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.feature-card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ════════════════════════════════════════════════
   7. APPS SECTION
════════════════════════════════════════════════ */
.apps-section {
    padding: var(--section-pad) 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ─── App Card ────────────────────────────────── */
.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.app-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--glow);
    transform: translateY(-4px);
}

/* Diagonal accent "slash" — the differentiation anchor */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 50%, color-mix(in srgb, var(--primary) 8%, transparent) 50%);
    pointer-events: none;
    z-index: 1;
}

.promo-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 10;
    background: linear-gradient(135deg, #FF6B2B, #FF4D6A);
    color: #fff;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 800;
    padding: .25rem .6rem;
    border-radius: 6px;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(255,77,106,.4);
}

.app-card-media {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-deep);
    flex-shrink: 0;
}

.app-card-media img,
.app-card-media video,
.app-card-media iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .4s var(--ease);
    background: var(--bg-deep);
}

.app-card:hover .app-card-media img {
    transform: scale(1.04);
}

.app-card-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--bg-deep), var(--bg-surface));
}

.app-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.app-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.app-desc {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Features list in card */
.app-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.app-features li {
    font-size: .82rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    line-height: 1.4;
}

.feature-check {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: .05em;
}

.more-features {
    font-size: .75rem;
    color: var(--primary);
    font-weight: 600;
    padding-left: 1.2rem;
}

/* Price block */
.app-price-block {
    margin-top: auto;
}

.price-original {
    font-size: .8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-main {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.price-promo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: #FF6B2B;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: .5rem;
}

.price-tag {
    font-size: .68rem;
    background: rgba(255,107,43,.15);
    border: 1px solid rgba(255,107,43,.3);
    color: #FF6B2B;
    padding: .15rem .45rem;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .5px;
}

.price-hosting {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .2rem;
}

/* Card action buttons */
.app-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: auto;
}

.btn-buy {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    background: #25D366;
    color: #000;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .82rem;
    padding: .6rem .8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}

.btn-buy:hover { opacity: .88; transform: translateY(-1px); }

.btn-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid var(--border-accent);
    color: var(--primary);
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 700;
    padding: .6rem .8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}

.btn-demo:hover {
    background: color-mix(in srgb, var(--primary) 18%, transparent);
}

.btn-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    padding: .6rem .8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}

.btn-detail:hover {
    border-color: var(--text-muted);
    color: var(--text-main);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 5rem 1rem;
    color: var(--text-muted);
}

.empty-icon { font-size: 3.5rem; margin-bottom: 1rem; }

/* ════════════════════════════════════════════════
   8. DISCLAIMER SECTION
════════════════════════════════════════════════ */
.disclaimer-section {
    padding: 2.5rem 0;
}

.disclaimer-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 180, 0, 0.06);
    border: 1px solid rgba(255, 180, 0, 0.2);
    border-radius: var(--radius-card);
    padding: 1.75rem 2rem;
}

.disclaimer-icon { font-size: 2rem; flex-shrink: 0; margin-top: .1rem; }

.disclaimer-content h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #FFB400;
    margin-bottom: .5rem;
}

.disclaimer-content p {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
}

.disclaimer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.disclaimer-list li {
    font-size: .85rem;
    color: var(--text-muted);
    padding-left: 1.2rem;
    position: relative;
}

.disclaimer-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FFB400;
    font-size: .75rem;
}

.disclaimer-list strong { color: var(--text-main); }

/* ════════════════════════════════════════════════
   9. FOOTER
════════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
}

.footer-wa {
    color: #25D366;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    transition: opacity .2s;
}

.footer-wa:hover { opacity: .8; }

.footer-copy {
    font-size: .8rem;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
    margin-top: .5rem;
}

/* ════════════════════════════════════════════════
   10. APP DETAIL PAGE
════════════════════════════════════════════════ */
.app-detail-page {
    padding-top: 80px;
    min-height: 100vh;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    color: var(--text-muted);
    padding: 1.5rem 0 .5rem;
}

.breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-nav a:hover { text-decoration: underline; }

.app-detail-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2.5rem;
    padding: 1.5rem 0 3rem;
    align-items: start;
}

/* Media column */
.app-detail-media {
    position: sticky;
    top: 80px;
}

.app-main-media {
    width: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Altura mínima para não colapsar caso a imagem demore a carregar */
    min-height: 200px;
    /* Altura máxima para imagens muito altas não quebrarem o layout */
    max-height: 520px;
}

/* Imagem principal: mostrar completa, sem corte */
.app-main-media img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
}

/* Vídeo e iframe mantêm proporção 16:9 */
.app-main-media video,
.app-main-media iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
}

.no-media-placeholder {
    width: 100%;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: .5rem;
}

.gallery-thumb {
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
    background: var(--bg-card);
    /* Altura fixa para alinhar as miniaturas */
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumb:hover { border-color: var(--primary); }

/* Miniaturas: imagem completa visível, sem corte */
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Info column */
.detail-promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B2B, #FF4D6A);
    color: #fff;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 800;
    padding: .3rem .75rem;
    border-radius: 6px;
    margin-bottom: .75rem;
    letter-spacing: .5px;
}

.detail-app-name {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: .5rem;
}

.detail-app-short {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.detail-price-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.detail-price-original {
    font-size: .85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: .2rem;
}

.detail-price-main {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: .35rem;
}

.detail-price-main.promo { color: #FF6B2B; }

.detail-price-hosting {
    font-size: .83rem;
    color: var(--text-muted);
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.btn-buy-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    background: #25D366;
    color: #000;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    padding: .9rem 1.5rem;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(37,211,102,.25);
}

.btn-buy-lg:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,.35);
}

.btn-demo-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border-accent);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .92rem;
    padding: .8rem 1.5rem;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: background .2s;
}

.btn-demo-lg:hover {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}

.detail-features {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.detail-features h3 {
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.detail-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.detail-features li {
    display: flex;
    gap: .6rem;
    font-size: .9rem;
    line-height: 1.5;
    align-items: flex-start;
}

/* Full description */
.app-full-desc {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
}

.app-full-desc h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.full-desc-content {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 720px;
}

/* CTA bar at bottom of detail page */
.detail-cta-bar {
    position: sticky;
    bottom: 0;
    background: color-mix(in srgb, var(--bg-deep) 90%, transparent);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-left: calc(-1 * clamp(1rem, 4vw, 2rem));
    margin-right: calc(-1 * clamp(1rem, 4vw, 2rem));
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    padding-bottom: 1rem;
}

.cta-price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
}

.cta-price.promo { color: #FF6B2B; }

.detail-cta-bar .btn-buy-lg {
    padding: .65rem 1.3rem;
    font-size: .9rem;
}

/* ════════════════════════════════════════════════
   11. RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .app-detail-grid {
        grid-template-columns: 1fr;
    }
    .app-detail-media {
        position: static;
    }
    .app-detail-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .btn-whatsapp { display: none; }
    .mobile-menu-btn { display: flex; }

    .features-section {
        clip-path: polygon(0 0, 100% 2rem, 100% 100%, 0 calc(100% - 2rem));
    }

    .hero-stats { flex-wrap: wrap; gap: 1rem; }

    .disclaimer-box {
        flex-direction: column;
        padding: 1.25rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section { padding: 6rem 0 4rem; }
    .app-card-actions { flex-direction: column; }
    .btn-buy { min-width: 100%; }
}

/* ════════════════════════════════════════════════
   12. ANIMATIONS
════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp .5s var(--ease) both;
}

/* Stagger for app cards */
.app-card:nth-child(1) { animation-delay: .05s; }
.app-card:nth-child(2) { animation-delay: .10s; }
.app-card:nth-child(3) { animation-delay: .15s; }
.app-card:nth-child(4) { animation-delay: .20s; }
.app-card:nth-child(5) { animation-delay: .25s; }
.app-card:nth-child(6) { animation-delay: .30s; }
