:root {
    --primary:rgb(61, 61, 145);
    --primary-dark: rgb(61, 61, 145);
    --secondary: #1e293b;
    --accent: #f97316;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --success: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 20px 0;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
}

.header-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    left: 20%;
    animation: float 8s infinite ease-in-out;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: 10%;
    animation: float 10s infinite ease-in-out 1s;
}

.shape-3 {
    width: 70px;
    height: 70px;
    top: 60%;
    left: 35%;
    animation: float 6s infinite ease-in-out 0.5s;
}

.title-container {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.title-container h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    z-index: 3;
}

.title-container p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 3;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    gap: 10px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: white;
}

.breadcrumbs .separator {
    margin: 0 5px;
}

main {
    padding: 60px 0;
    position: relative;
}

.cgu-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
    position: relative;
    margin-top: -80px;
    margin-bottom: 60px;
    z-index: 10;
}

.table-of-contents {
    background: var(--light);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.table-of-contents:hover {
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px);
}

.table-of-contents h2 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents h2 svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.toc-list {
    list-style: none;
    counter-reset: toc-counter;
}

.toc-list li {
    margin-bottom: 12px;
    counter-increment: toc-counter;
    font-size: 15px;
}

.toc-list a {
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.toc-list a:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.toc-list a::before {
    content: counter(toc-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
}

.cgu-section {
    margin-bottom: 50px;
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 12px;
}

.cgu-section:target {
    animation: highlight 2s ease;
}

@keyframes highlight {
    0% { background-color: rgba(37, 99, 235, 0.1); }
    100% { background-color: transparent; }
}

.cgu-section h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

.cgu-section h3 {
    font-size: 20px;
    color: var(--secondary);
    margin: 25px 0 15px;
}

.cgu-section p {
    margin-bottom: 15px;
    color: var(--gray);
    line-height: 1.7;
}

.cgu-section ul, .cgu-section ol {
    margin: 15px 0;
    padding-left: 20px;
}

.cgu-section li {
    margin-bottom: 10px;
    color: var(--gray);
}

.highlight-box {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.highlight-box h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.highlight-box p {
    color: var(--gray);
    margin-bottom: 0;
}

.icon-box {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.icon-box .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.icon-box .content {
    flex: 1;
}

.icon-box .content h4 {
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.5);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.conclusion {
    text-align: center;
    margin: 60px 0 40px;
}