/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6366F1 100%);
    color: white;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.app-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 300;
}

.company-badge .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-light);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 30px;
    font-weight: 300;
}

.effective-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.date-label {
    font-weight: 500;
    margin-right: 8px;
}

.date-value {
    font-weight: 600;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.content-wrapper {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Policy Sections */
.policy-section {
    padding: 50px 60px;
    border-bottom: 1px solid var(--border-color);
}

.policy-section:last-child {
    border-bottom: none;
}

.intro-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.highlight-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.section-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.policy-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.policy-section h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 30px 0 15px;
    font-weight: 600;
}

.policy-section h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.subsection {
    margin: 30px 0;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Lists */
.info-list,
.feature-list {
    list-style: none;
    margin: 20px 0;
}

.info-list li,
.feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    line-height: 1.8;
    color: var(--text-secondary);
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.numbered-list {
    margin: 20px 0;
    padding-left: 25px;
}

.numbered-list li {
    padding: 8px 0;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Grids */
.security-grid,
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.security-card,
.right-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-card:hover,
.right-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.security-card h4,
.right-card h4 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.security-card p,
.right-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Important Notice */
.important-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid var(--accent-color);
    padding: 20px 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.important-notice p {
    color: #92400e;
    font-weight: 600;
    margin: 0;
}

/* Permissions Table */
.permissions-table {
    margin: 25px 0;
}

.permission-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    align-items: center;
}

.permission-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.permission-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

.permission-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 15px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #bae6fd;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card p {
    margin: 0;
    color: var(--text-primary);
}

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

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

/* Compliance Badges */
.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.compliance-badges .badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.consent-section,
.compliance-section {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #9ca3af;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-section a {
    color: #60a5fa;
    text-decoration: none;
}

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

.version {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .policy-section {
        padding: 30px 25px;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .permission-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .security-grid,
    .rights-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .app-name {
        font-size: 1.5rem;
    }
}

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

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-decoration {
        display: none;
    }

    .hero {
        padding: 20px 0;
    }

    .policy-section {
        page-break-inside: avoid;
    }
}
