/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #0a0a23;
    color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

body.light-theme {
    background: #f5f6f5;
    color: #1b1b32;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 35, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 0.5s ease;
}

body.light-theme .loading-overlay {
    background: rgba(245, 246, 245, 0.95);
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #00d4ff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

body.light-theme .loader {
    border-color: #007bff;
    border-top-color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(0, 119, 182, 0.2));
    border-radius: 50%;
    animation: floatShape 15s infinite ease-in-out;
}

body.light-theme .shape {
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.2), rgba(0, 95, 153, 0.2));
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: 15%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape:nth-child(4) {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

body.light-theme .particle {
    background: rgba(0, 123, 255, 0.4);
}

@keyframes float {
    0% { transform: translateY(0); opacity: 0.4; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

body.light-theme .header {
    background: rgba(245, 246, 245, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #00d4ff;
}

body.light-theme .logo {
    color: #007bff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #00d4ff;
    transform: translateY(-2px);
}

body.light-theme .nav-link:hover, body.light-theme .nav-link.active {
    color: #007bff;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

body.light-theme .dropdown-menu {
    background: rgba(245, 246, 245, 0.95);
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.dropdown-item:hover, .dropdown-item.active {
    color: #00d4ff;
    transform: translateX(5px);
}

body.light-theme .dropdown-item:hover, body.light-theme .dropdown-item.active {
    color: #007bff;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: 1px solid #00d4ff;
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.light-theme .control-btn {
    border-color: #007bff;
    color: #007bff;
}

.control-btn:hover {
    background: #00d4ff;
    color: #0a0a23;
}

body.light-theme .control-btn:hover {
    background: #007bff;
    color: #f5f6f5;
}

.language-toggle {
    position: relative;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(10, 10, 35, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.light-theme .language-dropdown {
    background: rgba(245, 246, 245, 0.95);
}

.language-dropdown.show {
    display: block;
}

.language-dropdown a {
    display: block;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.language-dropdown a:hover {
    color: #00d4ff;
}

body.light-theme .language-dropdown a:hover {
    color: #007bff;
}

.cta-button {
    background: #00d4ff;
    color: #0a0a23;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

body.light-theme .cta-button {
    background: #007bff;
    color: #f5f6f5;
}

.cta-button:hover {
    background: #00aaff;
    transform: translateY(-2px);
}

body.light-theme .cta-button:hover {
    background: #005f99;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1200;
    position: relative;
}

body.light-theme .nav-toggle {
    color: #1b1b32;
}

.nav-toggle:hover {
    color: #00d4ff;
}

body.light-theme .nav-toggle:hover {
    color: #007bff;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: #0a0a0f;
    border-right: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1200;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

body.light-theme .mobile-nav {
    background: #f5f7fa;
    color: #1a1a2e;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(0, 212, 255, 0.1);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1201;
}

.mobile-nav-logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #0077b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-theme .mobile-nav-logo {
    background: linear-gradient(135deg, #007bff 0%, #005f99 100%);
}

.mobile-close {
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 8px;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

body.light-theme .mobile-close {
    color: #1a1a2e;
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.4);
}

.mobile-close:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.3);
    transform: rotate(90deg);
}

body.light-theme .mobile-close:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.3);
}

.mobile-nav-menu {
    padding: 25px;
    background: inherit;
}

.mobile-nav-item {
    margin-bottom: 8px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

body.light-theme .mobile-nav-item {
    background: rgba(26, 26, 46, 0.03);
    border-color: rgba(26, 26, 46, 0.08);
}

.mobile-nav-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
}

body.light-theme .mobile-nav-item:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

.mobile-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    transition: all 0.3s ease;
    min-height: 56px;
}

body.light-theme .mobile-nav-link {
    color: #1a1a2e;
}

.mobile-nav-link.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    font-weight: 600;
}

body.light-theme .mobile-nav-link.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.15);
}

.mobile-nav-link:hover {
    color: #00d4ff;
    padding-left: 25px;
}

body.light-theme .mobile-nav-link:hover {
    color: #007bff;
}

.mobile-nav-link i {
    font-size: 16px;
    opacity: 0.7;
    margin-right: 12px;
}

body.light-theme .mobile-nav-link i {
    color: #1a1a2e;
}

.mobile-dropdown-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
}

body.light-theme .mobile-dropdown-toggle {
    color: rgba(26, 26, 46, 0.8);
}

.mobile-dropdown-toggle:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.2);
}

body.light-theme .mobile-dropdown-toggle:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.2);
}

.mobile-dropdown-toggle.active {
    color: #00d4ff;
    transform: rotate(180deg);
}

body.light-theme .mobile-dropdown-toggle.active {
    color: #007bff;
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -20px -16px -20px;
    padding: 0 20px;
}

body.light-theme .mobile-dropdown {
    background: rgba(26, 26, 46, 0.1);
}

.mobile-dropdown.active {
    max-height: 500px;
    padding: 16px 20px;
}

.mobile-dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: block;
    padding: 12px 24px;
    margin: 8px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

body.light-theme .mobile-dropdown-item {
    color: rgba(26, 26, 46, 0.9);
}

.mobile-dropdown-item:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    border-left-color: #00d4ff;
    padding-left: 29px;
}

body.light-theme .mobile-dropdown-item:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    border-left-color: #007bff;
}

.mobile-dropdown-item.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.15);
    border-left-color: #00d4ff;
    font-weight: 600;
}

body.light-theme .mobile-dropdown-item.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.15);
    border-left-color: #007bff;
}

.mobile-nav-controls {
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    background: inherit;
}

body.light-theme .mobile-nav-controls {
    border-top-color: rgba(26, 26, 46, 0.1);
}

/* User Terms Section */
.user-terms-section {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.hero-container {
    text-align: center;
    margin-bottom: 2rem;
}

.user-terms-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00d4ff;
    margin-bottom: 1rem;
}

body.light-theme .user-terms-title {
    color: #007bff;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

body.light-theme .hero-subtitle {
    color: #1b1b32;
}

.hero-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, transparent);
    margin: 1rem auto;
}

body.light-theme .hero-decoration {
    background: linear-gradient(90deg, #007bff, transparent);
}

.terms-navigation {
    margin-bottom: 2rem;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

body.light-theme .nav-item {
    background: rgba(0, 123, 255, 0.1);
}

.nav-item:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    transform: translateY(-2px);
}

body.light-theme .nav-item:hover {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.nav-item i {
    font-size: 1.2rem;
}

.content-card {
    background: rgba(10, 10, 35, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.light-theme .content-card {
    background: rgba(245, 246, 245, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.user-terms-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 1rem;
}

body.light-theme .user-terms-content h2 {
    color: #007bff;
}

.highlight-box {
    background: rgba(0, 212, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

body.light-theme .highlight-box {
    background: rgba(0, 123, 255, 0.1);
}

.highlight-box h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

body.light-theme .highlight-box h3 {
    color: #1b1b32;
}

.user-terms-content ul {
    list-style: none;
    padding-left: 0;
}

.user-terms-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.user-terms-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-size: 1.2rem;
}

body.light-theme .user-terms-content ul li::before {
    color: #007bff;
}

.user-terms-content ul ul {
    padding-left: 2rem;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00d4ff;
    font-weight: 500;
    margin-top: 1rem;
}

body.light-theme .back-to-home {
    color: #007bff;
}

.back-to-home:hover {
    color: #00aaff;
}

body.light-theme .back-to-home:hover {
    color: #005f99;
}

/* Footer */

.footer {
    padding: 80px 50px 30px;
    background: rgba(26, 60, 52, 0.95);
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

body.light-theme .footer-links a {
    color: #1a3c34;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s ease;
}

body.light-theme .footer-social a {
    color: #1a3c34;
}

.footer-social a:hover {
    color: #00d4ff;
}

.footer-text {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 50px;
}

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

.sticky-cta a {
    padding: 12px 25px;
    background: linear-gradient(135deg, #00d4ff 0%, #4a7043 100%);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sticky-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}
/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-controls {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .user-terms-title {
        font-size: 2rem;
    }

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

    .content-card {
        padding: 1.5rem;
    }

    .nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .user-terms-title {
        font-size: 1.5rem;
    }

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

    .content-card {
        padding: 1rem;
    }

    .user-terms-content h2 {
        font-size: 1.5rem;
    }

    .highlight-box h3 {
        font-size: 1.2rem;
    }

    .nav-item {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .mobile-nav {
        width: 90%;
        max-width: 320px;
    }

    .mobile-nav-header {
        padding: 15px 20px;
    }

    .mobile-nav-menu {
        padding: 20px;
    }

    .mobile-nav-controls {
        padding: 20px;
    }
}