/* Privacy Page Styles - Matching about.tsx React Native styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F9FAFB;
    color: #1F2937;
    line-height: 1.5;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #F3F4F6;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    color: #1F2937;
    font-size: 24px;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
}

.back-btn:hover {
    background-color: #F3F4F6;
}

.header h1 {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-right: 40px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
}

.contentSection {
    background-color: #FFFFFF;
    margin: 16px;
    margin-top: 16px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.storyTitle {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.storyText {
    font-size: 16px;
    color: #4B5563;
    line-height: 24;
    margin-bottom: 16px;
}

.statsSection {
    margin-bottom: 24px;
}

.statsTitle {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
    text-align: center;
}

.statsGrid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.statItem {
    background-color: #F9FAFB;
    border-radius: 12px;
    padding: 16px;
    align-items: center;
    width: 48%;
    margin-bottom: 12px;
    box-sizing: border-box;
    text-align: center;
}

.statNumber {
    font-size: 24px;
    font-weight: 700;
    color: #6366F1;
    margin-bottom: 4px;
}

.statLabel {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
}

.timelineSection {
    margin-bottom: 24px;
}

.timelineTitle {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
}

.timelineItem {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 16px;
}

.timelineDot {
    width: 12px;
    height: 12px;
    background-color: #6366F1;
    border-radius: 6px;
    margin-top: 6px;
    margin-right: 12px;
    flex-shrink: 0;
}

.timelineContent {
    flex: 1;
}

.timelineYear {
    font-size: 16px;
    font-weight: 700;
    color: #6366F1;
    margin-bottom: 4px;
}

.timelineEvent {
    font-size: 14px;
    color: #4B5563;
    line-height: 20;
}

.versionSection {
    background-color: #FFFFFF;
    margin: 16px;
    margin-top: 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.versionTitle {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
    text-align: center;
}

.versionGrid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.versionItem {
    align-items: center;
    width: 48%;
    margin-bottom: 12px;
    box-sizing: border-box;
    text-align: center;
}

.versionLabel {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 4px;
}

.versionValue {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.modalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modalOverlay.show {
    display: flex;
}

.alertContainer {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    min-width: 280px;
    max-width: 90%;
}

.alertTitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #1F2937;
}

.alertMessage {
    font-size: 16px;
    margin-bottom: 20px;
    color: #374151;
    line-height: 22;
}

.alertButton {
    background-color: #6366F1;
    padding: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    width: 100%;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.alertButton:hover {
    background-color: #4F46E5;
}

/* Privacy-specific styles */
.privacy-section,
.security-section {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-section h2,
.security-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

.policy-block {
    margin-bottom: 20px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 10px;
}

.policy-block p {
    font-size: 14px;
    color: #4B5563;
    line-height: 20;
    margin-bottom: 10px;
}

.policy-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-block ul li {
    font-size: 14px;
    color: #4B5563;
    line-height: 20;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.policy-block ul li::before {
    content: "•";
    color: #6366F1;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-section {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 14px;
    color: #4B5563;
    line-height: 20;
    margin-bottom: 8px;
}

.contact-section p strong {
    color: #1F2937;
}

.description {
    font-size: 14px;
    color: #6B7280;
    line-height: 20;
    margin-bottom: 12px;
}

.description:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .header {
        padding: 12px 10px;
    }
    
    .header h1 {
        font-size: 14px;
        margin-right: 32px;
    }
    
    .back-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .container {
        padding: 10px;
    }
    
    .contentSection,
    .privacy-section,
    .security-section {
        padding: 14px;
        margin: 10px;
        margin-top: 10px;
    }
    
    .privacy-section h2,
    .security-section h2 {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }
    
    .storyTitle {
        font-size: 16px;
    }
    
    .storyText {
        font-size: 13px;
        line-height: 20;
    }
    
    .statsTitle {
        font-size: 15px;
    }
    
    .statItem {
        padding: 12px;
    }
    
    .statNumber {
        font-size: 20px;
    }
    
    .statLabel {
        font-size: 11px;
    }
    
    .timelineTitle {
        font-size: 15px;
    }
    
    .timelineYear {
        font-size: 14px;
    }
    
    .timelineEvent {
        font-size: 12px;
    }
    
    .versionSection {
        margin: 10px;
        padding: 14px;
    }
    
    .versionTitle {
        font-size: 14px;
    }
    
    .versionValue {
        font-size: 12px;
    }
    
    .policy-block {
        margin-bottom: 16px;
    }
    
    .policy-block h3 {
        font-size: 14px;
    }
    
    .policy-block p {
        font-size: 12px;
        line-height: 18;
    }
    
    .policy-block ul li {
        font-size: 12px;
        line-height: 18;
        padding: 4px 0;
        padding-left: 16px;
    }
    
    .contact-section {
        padding: 14px;
    }
    
    .contact-section h3 {
        font-size: 14px;
    }
    
    .contact-section p {
        font-size: 12px;
        line-height: 18;
    }
    
    .modalOverlay {
        padding: 20px;
    }
    
    .alertContainer {
        padding: 16px;
    }
    
    .alertTitle {
        font-size: 16px;
    }
    
    .alertMessage {
        font-size: 14px;
    }
}
