/* Modern styles for Kruizels Apps */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(to bottom, #EEF2FF, #ffffff);
    min-height: 100vh;
}

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

/* Language switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.flag {
    width: 32px;
    height: 24px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: transform 0.2s;
}

.flag:hover {
    transform: scale(1.1);
}

.flag.nl {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect width='9' height='2' fill='%23AE1C28'/%3E%3Crect y='2' width='9' height='2' fill='%23FFF'/%3E%3Crect y='4' width='9' height='2' fill='%2321468B'/%3E%3C/svg%3E");
    background-size: cover;
}

.flag.gb {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23a)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
    background-size: cover;
}

/* Header */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a365d;
    margin: 2rem 0 1rem;
    text-align: center;
}

/* Subheader */
.subheader {
    font-size: 1.5rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* Sections */
section {
    margin: 4rem 0;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

/* Headings */
h2 {
    color: #2c5282;
    font-size: 2rem;
    margin: 2rem 0 1rem;
    text-align: center;
    font-weight: 600;
}

h3 {
    color: #2c5282;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact section */
.contact {
    text-align: center;
    margin: 4rem 0;
}

.contact a {
    display: inline-block;
    color: #4c51bf;
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: color 0.2s;
}

.contact a:hover {
    color: #434190;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color: #718096;
}

.privacy-link {
    display: inline-block;
    margin-top: 1rem;
    color: #4c51bf;
    text-decoration: none;
    transition: color 0.2s;
}

.privacy-link:hover {
    color: #434190;
}

/* Privacy Policy Styles */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.policy-section {
    margin: 2rem 0;
}

.policy-section h2 {
    color: #2c5282;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: #4a5568;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.update-date {
    margin-top: 2rem;
    font-style: italic;
    color: #718096;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subheader {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 15px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* Privacy Policy Styles */
.policy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.policy-section {
    margin: 2rem 0;
}

.policy-section h2 {
    color: #2c5282;
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.policy-section h3 {
    color: #2c5282;
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    text-align: left;
}

.policy-section ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    color: #4a5568;
}

.policy-section ol ol {
    list-style-type: lower-alpha;
    margin: 0.5rem 0 0.5rem 1.5rem;
}

.policy-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.effective-date {
    margin-top: 2rem;
    font-style: italic;
    color: #718096;
    text-align: right;
}

.policy-content a {
    color: #4c51bf;
    text-decoration: none;
    transition: color 0.2s;
}

.policy-content a:hover {
    color: #434190;
    text-decoration: underline;
}