/* Privacy Page */
.privacy-main {
    padding: 4rem 2rem;
    min-height: calc(100vh - 160px);
}

/* Founder Profile Page */
.founder-main {
    padding: 4rem 2rem;
    min-height: calc(100vh - 160px);
}

.privacy-title {
    font-size: 3rem;
    color: #e0e7ff;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.last-updated {
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h2 {
    color: #e0e7ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.privacy-section p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section ul {
    color: #cbd5e1;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Left align main content sections, except disclaimers */
.privacy-section:not(.disclaimer) {
    text-align: left;
}

.privacy-section.disclaimer {
    text-align: center;
}

/* Responsive Design for Privacy Page */
@media (max-width: 768px) {
    .privacy-main {
        padding: 2rem 1rem;
    }

    .privacy-title {
        font-size: 2rem;
    }

    .privacy-content {
        padding: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.25rem;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 0.9rem;
    }

    .last-updated {
        font-size: 0.8rem;
    }
}

/* Galaxy S9+ and similar devices (320px width) */
@media (max-width: 320px) {
    .privacy-main {
        padding: 1rem 0.25rem;
    }

    .privacy-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .privacy-content {
        padding: 1rem;
        margin: 0 0.25rem;
    }

    .last-updated {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .privacy-section {
        margin-bottom: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.25rem;
    }

    .privacy-section p,
    .privacy-section li {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .privacy-section ul {
        padding-left: 1rem;
    }

    .privacy-section li {
        margin-bottom: 0.25rem;
    }

    /* Map styles for 320px */
    .map-container {
        height: 200px;
        margin: 1rem 0;
    }

    .map-split {
        flex-direction: column;
        gap: 1rem;
    }

    .map-card {
        height: 180px;
    }

    .map-overlay {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
    }

    .map-text {
        font-size: 1rem;
    }

    .map-banner {
        padding: 0.75rem;
    }

    .address-text {
        font-size: 0.8rem;
    }

    .map {
        height: 180px;
    }
}

/* Q-Map Modal */
.map-container {
    margin: 2rem 0;
    height: 300px;
}

.map-split {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.map-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.map-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #e0e7ff;
    padding: 1rem;
    z-index: 1000;
}

.address-text {
    font-size: 0.9rem;
}

.map {
    height: 300px;
    width: 100%;
}

/* Video Modal Height Fix */
#explainer-videoModal .modal-content,
#quantum-demoModal .modal-content {
    max-height: 90vh;
}