 ═══════════════════════════════════════════════════════
   Security & Privacy Info Modal
   ═══════════════════════════════════════════════════════ */

/* Footer pill row */
.landing-footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Overlay */
.secinfo-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: secinfo-fadeIn 0.2s ease;
}

@keyframes secinfo-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal card */
.secinfo-modal {
    background: var(--bg-card);
    border-radius: 18px;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    animation: secinfo-slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes secinfo-slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.secinfo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
}

.secinfo-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
}

.secinfo-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.secinfo-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text);
}

/* Body */
.secinfo-body {
    overflow-y: auto;
    padding: 20px 24px 24px;
    -webkit-overflow-scrolling: touch;
}

.secinfo-intro {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* Section row */
.secinfo-section {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.secinfo-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.secinfo-section-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(0, 122, 255, 0.08);
    border-radius: 10px;
}

.secinfo-section-content {
    flex: 1;
    min-width: 0;
}

.secinfo-section-content h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.1px;
}

.secinfo-section-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Bullet list (security headers) */
.secinfo-list {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.secinfo-list li {
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-left: 14px;
    position: relative;
}

.secinfo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 11px;
}

.secinfo-list li strong {
    color: var(--text);
    font-weight: 600;
}

/* Footer note */
.secinfo-footer-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.secinfo-footer-note p {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.secinfo-footer-note a {
    color: var(--apple-blue);
    text-decoration: none;
    font-weight: 500;
}

.secinfo-footer-note a:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════
   Dark Mode
   ═══════════════════════════════════════════════════════ */

body.dark-mode .secinfo-overlay {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .secinfo-modal {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

body.dark-mode .secinfo-close:hover {
    background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .secinfo-section-icon {
    background: rgba(10, 132, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════ */

@media (max-width: 480px) {
    .secinfo-modal { max-height: 90vh; }
    .secinfo-header { padding: 16px 18px 12px; }
    .secinfo-body { padding: 16px 18px 20px; }
    .secinfo-section { gap: 10px; }
    .secinfo-section-icon { width: 30px; height: 30px; font-size: 16px; }
}

@media (max-width: 380px) {
    .secinfo-header h3 { font-size: 16px; }
    .secinfo-section-content h4 { font-size: 13px; }
    .secinfo-section-content p { font-size: 12px; }
}
