* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f2f2f2;
    color: #242529;
    line-height: 1.5;
}

.app-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: #00aff0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-back {
    width: 24px;
    height: 24px;
    color: #fff;
    cursor: pointer;
}

.header-info {
    color: #fff;
}

.header-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
}

.verified-icon-small {
    width: 14px;
    height: 14px;
    color: #fff;
}

.header-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    opacity: 0.9;
}

.header-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-stats svg {
    width: 12px;
    height: 12px;
}

.icon-menu {
    width: 24px;
    height: 24px;
    color: #fff;
    cursor: pointer;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.of-logo {
    height: 28px;
}

/* Cover Photo */
.cover-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.cover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Profile Section */
.profile-section {
    background-color: #fff;
    padding: 0 16px 16px;
    position: relative;
}

.profile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.avatar-container {
    margin-top: -40px;
    position: relative;
}

.avatar-container.live {
    padding: 4px;
    background: linear-gradient(135deg, #ff0000, #ff4444);
    border-radius: 50%;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    display: block;
}

.live-badge {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.profile-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn svg {
    width: 18px;
    height: 18px;
    color: #242529;
}

.profile-name {
    font-size: 19px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-icon {
    width: 18px;
    height: 18px;
    color: #00aff0;
}

.profile-handle {
    font-size: 14px;
    color: #8a96a3;
    margin-top: 2px;
}

.profile-bio {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.emoji {
    font-style: normal;
}

.profile-meta {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8a96a3;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: #8a96a3;
}

.meta-item.link {
    color: #00aff0;
}

.meta-item.link svg {
    color: #00aff0;
}

.info-toggle {
    margin-top: 12px;
    background: none;
    border: none;
    color: #00aff0;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

/* Subscription */
.subscription-section {
    padding: 16px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.subscription-label {
    font-size: 12px;
    color: #8a96a3;
    margin-bottom: 12px;
    font-weight: 500;
}

.subscribe-btn {
    width: 100%;
    background: #00aff0;
    border: none;
    border-radius: 24px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.subscribe-btn:hover {
    background: #008ccf;
}

.subscribe-btn.secondary {
    background: #00aff0;
}

.subscribe-btn.secondary:hover {
    background: #008ccf;
}

.subscribe-btn.premium {
    background: #00aff0;
}

.subscribe-btn.premium:hover {
    background: #008ccf;
}

.subscribe-btn span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.subscribe-btn .price {
    font-weight: 400;
}

/* Tabs */
.tabs {
    display: flex;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.tab {
    flex: 1;
    padding: 14px;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    color: #8a96a3;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab.active {
    color: #242529;
    border-bottom-color: #00aff0;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e5e5e5;
}

.filter-label {
    font-size: 12px;
    font-weight: 600;
    color: #242529;
}

.filter-actions {
    display: flex;
    gap: 16px;
}

.filter-actions svg {
    width: 20px;
    height: 20px;
    color: #8a96a3;
    cursor: pointer;
}

/* Posts */
.posts {
    background: #f2f2f2;
}

.post {
    background: #fff;
    margin-bottom: 8px;
}

.post-header {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 10px;
    position: relative;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-user-info {
    flex: 1;
}

.post-name {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.verified-icon-tiny {
    width: 14px;
    height: 14px;
    color: #00aff0;
}

.post-handle {
    font-size: 13px;
    color: #8a96a3;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-date {
    font-size: 12px;
    color: #8a96a3;
}

.post-menu {
    width: 20px;
    height: 20px;
    color: #8a96a3;
    cursor: pointer;
}

.post-pin {
    width: 16px;
    height: 16px;
    color: #8a96a3;
    position: absolute;
    right: 16px;
    top: 40px;
}

.post-content {
    padding: 0 16px 12px;
}

.post-content p {
    font-size: 14px;
    line-height: 1.5;
}

.post-media {
    width: 100%;
    height: 300px;
    background: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.post-media.locked {
    background: #000;
}

.post-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lock-icon {
    width: 48px;
    height: 48px;
    color: #fff;
}

.post-cta {
    padding: 12px 16px;
    background: #fff;
}

.post-cta .cta-btn {
    width: 100%;
    background: #00aff0;
    border: none;
    border-radius: 24px;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.post-cta .cta-btn:hover {
    background: #008ccf;
}

/* Testimonials */
.testimonials-section {
    background: #fff;
    padding: 20px 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #242529;
}

.testimonial {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    background: #00aff0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.testimonial-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 13px;
    font-weight: 600;
    color: #242529;
}

.testimonial-text {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* Trust Badges */
.trust-section {
    background: #fff;
    padding: 20px 16px;
    border-top: 1px solid #e5e5e5;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.trust-item:last-child {
    border-bottom: none;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    color: #00aff0;
    flex-shrink: 0;
}

.trust-item span {
    font-size: 13px;
    color: #242529;
}

/* CTA Section */
.cta-section {
    padding: 20px 16px;
    background: #fff;
}

.cta-btn {
    width: 100%;
    background: #00aff0;
    border: none;
    border-radius: 24px;
    padding: 16px 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #008ccf;
}

/* FAQ */
.faq-section {
    background: #fff;
    padding: 20px 16px;
    border-top: 1px solid #e5e5e5;
}

.faq-item {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 14px;
    font-weight: 600;
    color: #242529;
    margin-bottom: 8px;
}

.faq-answer {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Responsive */
@media (min-width: 768px) {
    body {
        background: #f2f2f2;
    }
    
    .app-container {
        margin: 20px auto;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}
 .checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1000;
}
.checkout-overlay.open {
    display: flex;
}
.checkout-modal {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
}
.checkout-close {
    position: absolute;
    right: 14px;
    top: 10px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.checkout-header {
    padding: 20px 16px 8px 16px;
}
.checkout-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 14px;
}
.checkout-steps {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px 16px;
}
.step-btn {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f8f9fa;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
.step-btn.active {
    background: #00aff0;
    color: #fff;
    border-color: #00aff0;
}
.checkout-content {
    padding: 0 16px 16px 16px;
}
.step {
    display: none;
}
.step.active {
    display: block;
}
.ch-label {
    display: block;
    font-size: 13px;
    margin: 10px 0 6px 0;
}
.ch-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
}
.ch-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 12px;
}
.ch-primary {
    width: 100%;
    background: #00aff0;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
}
.ch-secondary {
    background: #00aff0;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
}
.pix-box {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pix-qr {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a96a3;
    font-weight: 600;
    margin: 0 auto 12px auto;
    overflow: hidden;
}
.pix-qr img {
    display: block;
    width: 100%;
    height: auto;
}
.pix-code {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.pix-note {
    font-size: 12px;
    color: #666;
}
.checkout-footer {
    border-top: 1px solid #e5e5e5;
    padding: 12px 16px;
    background: #fff;
}
.checkout-footer .total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}
.checkout-privacy {
    padding: 0 16px 16px 16px;
    font-size: 12px;
    color: #555;
}
/* Oferta de saída */
.offer-panel {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.98);
    display: none;
    padding: 20px 16px;
    text-align: center;
    z-index: 2;
}
.offer-panel.open { display: block; }
.offer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.offer-sub {
    font-size: 14px;
    margin-bottom: 16px;
}
.offer-actions {
    display: flex;
    gap: 8px;
    flex-direction: column;
}
.offer-actions .ch-secondary { width: 100%; }

@media (max-width: 400px) {
    .pix-code {
        flex-direction: column;
    }
    .ch-secondary {
        width: 100%;
    }
}
 .offer-exit-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 1100;
}
.offer-exit-overlay.open{ display:flex; }
.offer-card{
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}
