:root {
    --color-primary: #f5f7fb;
    --color-accent-blue: #87ceeb;
    --color-accent-peach: #f5d5b8;
    --color-text: #2c3e50;
    --color-text-light: #5a6c7d;
    --color-border: #e8eef5;
    --color-glass: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-primary);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-text);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

a {
    color: var(--color-accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-peach);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

.navbar {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: 1rem 0;
}

.glass-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-blue);
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: var(--color-text) !important;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--color-accent-blue) !important;
}

.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-text);
    max-width: 700px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-light);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

main {
    flex: 1;
}

.content-section {
    padding: 4rem 0;
}

.glass-section {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    margin: 2rem 0;
    padding: 4rem 2rem;
}

.container {
    max-width: 1000px;
}

.rounded-soft {
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.content-list li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.content-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent-blue);
    font-weight: bold;
}

.feature-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-bottom: 2rem;
}

.feature-box h3 {
    margin-top: 0;
    color: var(--color-accent-blue);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--color-accent-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.principle-card h3 {
    color: var(--color-accent-blue);
    margin-top: 0;
}

.info-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.table-reference {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-reference thead {
    background: linear-gradient(135deg, var(--color-accent-blue) 0%, #a8d8ff 100%);
    color: white;
}

.table-reference th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.table-reference td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.table-reference tbody tr:hover {
    background: var(--color-primary);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    color: var(--color-accent-blue);
    margin-bottom: 0.5rem;
}

.info-item p {
    margin-bottom: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.glass-form {
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
}

.form-group label {
    color: var(--color-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
}

.form-check-label {
    color: var(--color-text-light);
    margin-left: 0.5rem;
}

.form-check-label a {
    color: var(--color-accent-blue);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-soft {
    background: linear-gradient(135deg, var(--color-accent-blue) 0%, #a8d8ff 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
}

.btn-soft:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(135, 206, 235, 0.4);
    color: white;
    text-decoration: none;
}

.btn-soft-outline {
    border: 2px solid var(--color-accent-blue);
    color: var(--color-accent-blue);
    background: transparent;
}

.btn-soft-outline:hover {
    background: var(--color-accent-blue);
    color: white;
    text-decoration: none;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.final-section {
    text-align: center;
    padding: 3rem 2rem;
}

.final-section h2 {
    color: var(--color-text);
}

.final-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-section {
    background: var(--color-text);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-section h4 {
    color: var(--color-accent-blue);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b0c4d4;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-accent-blue);
}

.footer-section a:hover {
    color: var(--color-accent-peach);
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7a8fa0;
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-glass);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-glass-border);
    padding: 1.5rem;
    z-index: 999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    color: var(--color-text);
    flex: 1;
    min-width: 250px;
}

.cookie-content button {
    white-space: nowrap;
}

.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-info {
    background: #d4e9f7;
    border: 1px solid #87ceeb;
    color: #003d6b;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.text-muted {
    color: var(--color-text-light) !important;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-0 {
    margin-bottom: 0;
}

.order-lg-1 {
    order: 1;
}

.order-lg-2 {
    order: 2;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.text-balance {
    text-wrap: balance;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero {
        height: 350px;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .content-section {
        padding: 2rem 1rem;
    }

    .glass-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-group a {
        width: 100%;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .table-reference {
        font-size: 0.9rem;
    }

    .table-reference th,
    .table-reference td {
        padding: 0.75rem;
    }

    @media (max-width: 576px) {
        .hero {
            height: 250px;
        }

        .hero h1 {
            font-size: 1.5rem;
        }

        h1 {
            font-size: 1.5rem;
        }

        h2 {
            font-size: 1.25rem;
        }

        .content-section {
            padding: 1.5rem 1rem;
        }
    }
}
