/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.float-item {
    position: absolute;
    opacity: 0.05;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue-primary);
    animation: float 20s ease-in-out infinite;
}

.float-item:nth-child(1) {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.float-item:nth-child(2) {
    top: 25%;
    right: 8%;
    animation-delay: -3s;
    color: var(--green-primary);
}

.float-item:nth-child(3) {
    top: 45%;
    left: 12%;
    animation-delay: -6s;
}

.float-item:nth-child(4) {
    top: 65%;
    right: 6%;
    animation-delay: -9s;
    color: var(--green-primary);
}

.float-item:nth-child(5) {
    top: 85%;
    left: 10%;
    animation-delay: -12s;
}

.float-item:nth-child(6) {
    top: 35%;
    right: 15%;
    animation-delay: -15s;
    color: var(--green-primary);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(30px) rotate(-5deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-hero);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
}

.logo-text span {
    color: var(--blue-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-hero);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Legal Page */
.legal-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.legal-header .last-updated {
    font-size: 14px;
    color: #6b7280;
}

.legal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    margin-top: 24px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 16px;
}

.legal-section ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 8px;
}

.legal-section strong {
    color: #1f2937;
    font-weight: 600;
}

.contact-info {
    background: #f9fafb;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid #6366f1;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info a {
    color: #6366f1;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 1rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .legal-page {
        padding: 100px 15px 40px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-content {
        padding: 24px;
    }

    .legal-section h2 {
        font-size: 24px;
    }
}