/**
 * Privacy Policy Template Styles
 * Mobile-first, compact design with white/transparent background
 */

/* Container - White/Transparent Background */
.privacy-container {
    width: 100%;
    background: transparent;
    padding: 0.75rem;
}

.privacy-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

/* Header - Compact */
.privacy-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
}

.privacy-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.01em;
}

.privacy-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #f90157, #f0b60b);
    border-radius: 2px;
    margin: 0 auto;
}

/* Privacy Card - Clean White */
.privacy-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

/* Commitment Notice - Compact */
.privacy-notice {
    background: #f0fdf4;
    padding: 0.875rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border-bottom: 1px solid #dcfce7;
}

.privacy-notice.commitment .notice-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: #22c55e;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.privacy-notice.commitment .notice-icon svg {
    width: 1.125rem;
    height: 1.125rem;
}

.notice-content h2 {
    font-size: 0.938rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 0.125rem 0;
}

.notice-content p {
    font-size: 0.75rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.4;
}

/* Privacy Sections - Compact */
.privacy-details {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.privacy-section {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.section-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: #f5f5f5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f90157;
}

.section-icon svg {
    width: 1rem;
    height: 1rem;
}

.privacy-section.highlight .section-icon {
    background: #fff8e8;
    color: #f0b60b;
}

.section-content {
    flex: 1;
}

.section-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.25rem 0;
}

.section-content p {
    font-size: 0.75rem;
    color: #4a5568;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

/* Security Badge - Compact */
.security-badge {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.625rem;
    font-weight: 600;
    background: #e0f2fe;
    color: #0284c7;
}

/* Footer Contact Section - Compact */
.privacy-footer {
    background: #fafafa;
    padding: 0.875rem;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-block {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f90157;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
}

.contact-icon svg {
    width: 1rem;
    height: 1rem;
}

.contact-content {
    flex: 1;
}

.contact-content h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.125rem 0;
}

.contact-content p {
    font-size: 0.688rem;
    color: #666;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.contact-email {
    font-size: 0.75rem;
    color: #f90157;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-email:hover,
.contact-email:focus {
    color: #f0b60b;
    text-decoration: underline;
}

/* Agreement Notice - Compact */
.agreement-notice {
    padding: 0.875rem;
    text-align: center;
    background: #f8faf8;
}

.agreement-notice p {
    font-size: 0.688rem;
    color: #4a5568;
    margin: 0;
    font-weight: 500;
}

/* Tablet Styles (min-width: 640px) */
@media (min-width: 640px) {
    .privacy-container {
        padding: 1rem;
    }
    
    .privacy-wrapper {
        max-width: 640px;
    }
    
    .privacy-title {
        font-size: 1.5rem;
    }
    
    .privacy-divider {
        width: 50px;
    }
    
    .privacy-details {
        padding: 1rem;
        gap: 1rem;
    }
    
    .privacy-footer {
        padding: 1rem;
    }
    
    .section-content h3 {
        font-size: 0.938rem;
    }
    
    .section-content p {
        font-size: 0.813rem;
    }
    
    .notice-content h2 {
        font-size: 1rem;
    }
    
    .notice-content p {
        font-size: 0.813rem;
    }
    
    .contact-content h4 {
        font-size: 0.813rem;
    }
    
    .contact-content p {
        font-size: 0.75rem;
    }
    
    .contact-email {
        font-size: 0.813rem;
    }
}

/* Desktop Styles (min-width: 768px) - SCALED 1.2x LARGER */
@media (min-width: 768px) {
    .privacy-container {
        padding: 1.5rem;
    }
    
    .privacy-wrapper {
        max-width: 960px;
    }
    
    .privacy-header {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .privacy-title {
        font-size: 2.4rem;
        margin: 0 0 0.75rem 0;
    }
    
    .privacy-divider {
        width: 60px;
        height: 4px;
    }
    
    .privacy-card {
        border-radius: 1.5rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }
    
    .privacy-notice {
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .privacy-notice.commitment .notice-icon {
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 1rem;
    }
    
    .privacy-notice.commitment .notice-icon svg {
        width: 1.35rem;
        height: 1.35rem;
    }
    
    .notice-content h2 {
        font-size: 1.2rem;
        margin: 0 0 0.25rem 0;
    }
    
    .notice-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .privacy-details {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .privacy-section {
        gap: 1rem;
    }
    
    .section-icon {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 1rem;
    }
    
    .section-icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .section-content h3 {
        font-size: 1.1rem;
        margin: 0 0 0.5rem 0;
    }
    
    .section-content p {
        font-size: 0.95rem;
        margin: 0 0 0.75rem 0;
        line-height: 1.5;
    }
    
    .security-badge {
        padding: 0.3rem 0.75rem;
        border-radius: 1.25rem;
        font-size: 0.8rem;
    }
    
    .privacy-footer {
        padding: 1.25rem 1.5rem;
    }
    
    .contact-block {
        gap: 1rem;
    }
    
    .contact-icon {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 1rem;
    }
    
    .contact-icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .contact-content h4 {
        font-size: 1rem;
        margin: 0 0 0.25rem 0;
    }
    
    .contact-content p {
        font-size: 0.9rem;
        margin: 0 0 0.35rem 0;
        line-height: 1.4;
    }
    
    .contact-email {
        font-size: 0.95rem;
    }
    
    .agreement-notice {
        padding: 1.25rem;
    }
    
    .agreement-notice p {
        font-size: 0.9rem;
    }
}

/* Large Desktop (min-width: 1024px) - Additional scaling */
@media (min-width: 1024px) {
    .privacy-wrapper {
        max-width: 1100px;
    }
    
    .privacy-container {
        padding: 2rem;
    }
    
    .privacy-title {
        font-size: 2.6rem;
    }
    
    .privacy-divider {
        width: 70px;
        height: 4px;
    }
    
    .privacy-notice {
        padding: 1.4rem;
    }
    
    .notice-content h2 {
        font-size: 1.3rem;
    }
    
    .notice-content p {
        font-size: 1rem;
    }
    
    .privacy-details {
        padding: 1.75rem;
        gap: 1.4rem;
    }
    
    .section-content h3 {
        font-size: 1.2rem;
    }
    
    .section-content p {
        font-size: 1rem;
    }
    
    .contact-content h4 {
        font-size: 1.1rem;
    }
    
    .contact-content p {
        font-size: 0.95rem;
    }
    
    .contact-email {
        font-size: 1rem;
    }
    
    .agreement-notice p {
        font-size: 0.95rem;
    }
}

/* Dark Mode Support - Maintains white background preference */
@media (prefers-color-scheme: dark) {
    .privacy-card {
        background: #ffffff;
        border-color: #e5e7eb;
    }
    
    .privacy-title {
        color: #1a1a2e;
    }
    
    .privacy-notice {
        background: #f0fdf4;
        border-bottom-color: #dcfce7;
    }
    
    .notice-content p {
        color: #4a5568;
    }
    
    .section-icon {
        background: #f5f5f5;
    }
    
    .section-content h3 {
        color: #1a1a2e;
    }
    
    .section-content p {
        color: #4a5568;
    }
    
    .privacy-footer {
        background: #fafafa;
        border-top-color: #f0f0f0;
        border-bottom-color: #f0f0f0;
    }
    
    .contact-icon {
        background: white;
        border-color: #f0f0f0;
    }
    
    .contact-content h4 {
        color: #1a1a2e;
    }
    
    .contact-content p {
        color: #666;
    }
    
    .agreement-notice {
        background: #f8faf8;
    }
    
    .agreement-notice p {
        color: #4a5568;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .contact-email {
        transition: none;
    }
}