/* CORE PMC Privacy Policy Styles */

:root {
    --primary-blue: #1e5aa8;
    --light-blue: #4a90d9;
    --secondary-blue: #0056b3;
    --dark-blue: #0d3d6b;
    --light-gray: #f8fafc;
    --text-dark: #2d3748;
    --text-muted: #6c757d;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-gray);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand .logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.core-text {
    color: var(--primary-blue);
}

.pmc-text {
    color: var(--light-blue);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}

.navbar-nav .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
}

/* Policy Header */
.policy-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.policy-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.policy-header .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.policy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.policy-meta span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Policy Content */
.policy-content {
    padding: 60px 0;
    background: white;
}

/* Table of Contents Sidebar */
.toc-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.toc-sidebar h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-radius: 8px;
    padding-left: 0.5rem;
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--primary-blue);
    background: rgba(30, 90, 168, 0.1);
    padding-left: 1rem;
}

/* Policy Text */
.policy-text {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.policy-text section {
    margin-bottom: 3rem;
}

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

.policy-text h2 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-blue);
}

.policy-text h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.policy-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-text ul {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.usage-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.usage-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.usage-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.security-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
}

.security-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.security-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.right-card i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.right-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.right-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--light-blue);
    color: white;
    transform: translateY(-2px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0 20px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
}

/* Responsive Design */
@media (max-width: 991px) {
    .policy-header h1 {
        font-size: 2.5rem;
    }
    
    .policy-header .lead {
        font-size: 1.1rem;
    }
    
    .toc-sidebar {
        position: static;
        margin-bottom: 2rem;
        max-height: none;
    }
    
    .policy-text {
        padding: 2rem;
    }
    
    .policy-text h2 {
        font-size: 1.8rem;
    }
    
    .usage-grid,
    .security-features,
    .rights-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .policy-header {
        padding: 100px 0 60px;
    }
    
    .policy-header h1 {
        font-size: 2rem;
    }
    
    .policy-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .policy-content {
        padding: 40px 0;
    }
    
    .policy-text {
        padding: 1.5rem;
    }
    
    .policy-text h2 {
        font-size: 1.6rem;
    }
    
    .policy-text h3 {
        font-size: 1.2rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .btn {
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .policy-header h1 {
        font-size: 1.8rem;
    }
    
    .policy-header .lead {
        font-size: 1rem;
    }
    
    .policy-text {
        padding: 1rem;
    }
    
    .usage-card,
    .security-item,
    .right-card,
    .contact-item {
        padding: 1rem;
    }
    
    .security-item,
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scrollbar styling for TOC */
.toc-sidebar::-webkit-scrollbar {
    width: 6px;
}

.toc-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.toc-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.toc-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
} 