/* Policy Pages Specific Styles (Privacy & Terms) */

/* Header adjustments */

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 0px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-link:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

/* Policy Hero Section */
.policy-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
    border-radius: 24px;
    margin: 40px 0;
}

.policy-hero-content {
    padding: 0 40px;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-icon .material-symbols-outlined {
    font-size: 40px;
    color: white;
}

.policy-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.1;
}

.policy-subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 14px;
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.last-updated .material-symbols-outlined {
    font-size: 16px;
}

/* Policy Illustration */
.policy-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
}

.illustration-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.shield-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: 50%;
    border: 4px solid #28a745;
    animation: pulse 2s infinite;
}

.shield-icon.terms-icon {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: #f39c12;
}

.shield-icon.terms-icon .material-symbols-outlined {
    color: #f39c12;
}

.shield-icon .material-symbols-outlined {
    font-size: 60px;
    color: #28a745;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.security-badges .badge .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary-color);
}

/* Policy Navigation */
.policy-nav {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.nav-container h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 98, 234, 0.2);
}

.nav-item .material-symbols-outlined {
    font-size: 20px;
}

/* Main Content */
.policy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-section {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    border-radius: 12px;
}

.section-icon .material-symbols-outlined {
    font-size: 24px;
    color: white;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.section-content {
    line-height: 1.7;
    color: #333;
}

.section-content p {
    margin-bottom: 16px;
    font-size: 16px;
}

.section-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.section-content li {
    margin-bottom: 8px;
}

/* Introduction Section */
.intro-section .section-content {
    font-size: 16px;
}

.highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
    margin: 24px 0;
}

.highlight-box .material-symbols-outlined {
    font-size: 24px;
    color: #e67e22;
    margin-top: 2px;
}

/* Information Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.info-card {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    border-radius: 14px;
    margin-bottom: 20px;
}

.card-icon .material-symbols-outlined {
    font-size: 28px;
    color: white;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #555;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #28a745;
    margin: 24px 0;
}

.notice-box .material-symbols-outlined {
    font-size: 24px;
    color: #28a745;
    margin-top: 2px;
}

/* Usage List */
.usage-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.usage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
}

.usage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.usage-icon .material-symbols-outlined {
    font-size: 24px;
    color: white;
}

.usage-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.usage-content p {
    color: #555;
    margin: 0;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.security-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    border-radius: 16px;
    margin: 0 auto 16px;
}

.security-icon .material-symbols-outlined {
    font-size: 32px;
    color: white;
}

.security-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.security-card p {
    color: #555;
    font-size: 14px;
    margin: 0;
}

/* Security Certifications */
.security-certifications {
    margin-top: 40px;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 16px;
}

.security-certifications h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-color);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.cert-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: var(--text-color);
}

.cert-badge .material-symbols-outlined {
    font-size: 20px;
    color: #28a745;
}

/* Sharing Section */
.sharing-principle {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-radius: 16px;
    border-left: 4px solid #e91e63;
    margin: 24px 0;
}

.principle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #e91e63;
    border-radius: 12px;
    flex-shrink: 0;
}

.principle-icon .material-symbols-outlined {
    font-size: 24px;
    color: white;
}

.sharing-principle h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.sharing-cases {
    margin-top: 32px;
}

.sharing-cases h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.case-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
}

.case-item .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 4px;
}

.case-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.case-item p {
    color: #555;
    margin: 0;
    font-size: 14px;
}

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

.right-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.right-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.right-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    border-radius: 12px;
    margin-bottom: 16px;
}

.right-icon .material-symbols-outlined {
    font-size: 24px;
    color: white;
}

.right-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.right-card p {
    color: #555;
    margin: 0;
    font-size: 14px;
}

.rights-action {
    margin-top: 40px;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 16px;
    text-align: center;
}

.rights-action h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.rights-action a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.rights-action a:hover {
    text-decoration: underline;
}

.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: #666;
    font-size: 14px;
}

.response-time .material-symbols-outlined {
    font-size: 16px;
}

/* Contact Section */
.contact-grid {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 500px;
    width: 100%;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    border-radius: 20px;
    margin: 0 auto 24px;
}

.contact-icon .material-symbols-outlined {
    font-size: 40px;
    color: white;
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.contact-type {
    background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(0, 98, 234, 0.2);
}

.contact-address {
    margin-top: 40px;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 16px;
}

.contact-address h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.address-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.address-content .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 4px;
}

/* Updates Section */
.update-methods {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.update-methods li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    margin-bottom: 12px;
}

.update-methods .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-color);
}

.update-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin: 24px 0;
}

.update-notice .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052c7 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 98, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 98, 234, 0.4);
}

.back-to-top .material-symbols-outlined {
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .policy-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .policy-title {
        font-size: 3rem;
    }
    
    .nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .policy-hero {
        padding: 60px 0;
        margin: 20px 0;
    }
    
    .policy-hero-content,
    .policy-illustration {
        padding: 0 20px;
    }
    
    .policy-title {
        font-size: 2.5rem;
    }
    
    .policy-subtitle {
        font-size: 1.1rem;
    }
    
    .policy-nav {
        margin: 20px 0;
        padding: 24px;
        position: static;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .info-grid,
    .security-grid,
    .rights-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        justify-content: center;
    }
    
    .contact-card {
        padding: 32px;
        max-width: 400px;
    }
    
    .cert-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .usage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .back-to-top .material-symbols-outlined {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-content {
        padding: 0 16px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .policy-nav {
        padding: 20px;
    }
    
    .info-card,
    .security-card,
    .right-card {
        padding: 20px;
    }
    
    .contact-card {
        padding: 24px;
        max-width: none;
    }
    
    .contact-types {
        flex-direction: column;
        align-items: center;
    }
    
    .usage-item {
        padding: 20px;
    }
}
