/* ==========================================================================
   Phone Temperature: Monitor - Privacy Policy Stylesheet
   Theme: Dark Cyberpunk & Glassmorphism matching the Android App
   ========================================================================== */

:root {
    --bg-dark: #070E1A;
    --bg-card: rgba(12, 24, 43, 0.85);
    --bg-card-hover: rgba(16, 33, 58, 0.95);
    --border-color: rgba(56, 189, 248, 0.2);
    --border-hover: rgba(0, 210, 255, 0.45);
    --accent-cyan: #00D2FF;
    --accent-blue: #0070F3;
    --accent-glow: rgba(0, 210, 255, 0.25);
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --status-safe: #10B981;
    --status-warning: #F59E0B;
    --status-danger: #EF4444;
    --card-radius: 18px;
    --pill-radius: 9999px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.65;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(0, 112, 243, 0.08) 0%, transparent 45%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Container */
.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 14, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.app-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0F2648, #0B1930);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-glow);
}

.brand-text h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.brand-text span {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: var(--pill-radius);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--status-safe);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--status-safe);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--status-safe);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hero Section */
.hero-section {
    padding: 50px 0 30px 0;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--pill-radius);
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    color: var(--accent-cyan);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #FFFFFF 30%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 16px auto;
}

.hero-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-meta span {
    color: var(--accent-cyan);
    font-weight: 500;
}

/* Quick Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 35px 0 45px 0;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 20px;
    text-align: left;
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.highlight-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.highlight-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.highlight-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Policy Content Sections */
.policy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    padding: 32px;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.policy-card:hover {
    border-color: rgba(0, 210, 255, 0.35);
}

.policy-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-card h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 700;
}

.policy-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 14px;
}

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

.policy-card ul {
    list-style: none;
    margin: 14px 0;
    padding-left: 0;
}

.policy-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.93rem;
    color: var(--text-secondary);
}

.policy-card li::before {
    content: "▹";
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Callout Box */
.callout-box {
    background: rgba(0, 210, 255, 0.06);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 12px 12px 0;
    padding: 14px 18px;
    margin: 18px 0;
}

.callout-box p {
    color: #E2E8F0;
    font-size: 0.88rem;
    margin: 0;
}

.callout-box.safe {
    background: rgba(16, 185, 129, 0.08);
    border-left-color: var(--status-safe);
}

.callout-box.safe p {
    color: #D1FAE5;
}

/* Permission Table */
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.perm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.perm-table th {
    background: rgba(15, 30, 56, 0.8);
    color: var(--accent-cyan);
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.perm-table td {
    padding: 12px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    vertical-align: top;
}

.perm-table tr:last-child td {
    border-bottom: none;
}

.code-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F1F5F9;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.8rem;
}

/* Developer Info Card */
.dev-card {
    background: linear-gradient(135deg, rgba(15, 38, 72, 0.7), rgba(11, 25, 48, 0.9));
    border: 1px solid var(--border-hover);
    border-radius: var(--card-radius);
    padding: 28px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dev-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.dev-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 4px 0;
}

.dev-info p strong {
    color: var(--accent-cyan);
}

.dev-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #070E1A;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
    background: #38BDF8;
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px 0 20px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.site-footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .policy-card {
        padding: 22px;
    }
    .dev-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .dev-actions {
        width: 100%;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}
