* {
    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);
    }
}
