/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-color: #00ffff;
    --text-dark: #ffffff;
    --text-light: #b0c4de;
    --bg-light: #0a1628;
    --bg-dark: #030b1a;
    --bg-white: #0f1d35;
    --border-color: #1e3a5f;
    --success-color: #00d4ff;
    --glow-color: rgba(0, 212, 255, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
}

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

/* Header */
.header {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 180px;
    width: auto;
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--glow-color));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px var(--glow-color)) drop-shadow(0 0 40px var(--primary-color));
        transform: scale(1.02);
    }
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 0 5px var(--glow-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a1628 0%, #030b1a 100%);
    position: relative;
    color: white;
    padding: 150px 0 100px;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff 0%, var(--primary-color) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-pulse 3s ease-in-out infinite;
}

@keyframes title-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--glow-color));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px var(--primary-color)) drop-shadow(0 0 60px var(--glow-color));
        transform: scale(1.02);
    }
}

/* ========================================
   ORBITAL ANIMATION
   ======================================== */
.orbital-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.orbital-container {
    position: relative;
    margin: 0 auto;
    width: 350px;
    height: 350px;
    pointer-events: none;
}

/* Central Orb */
.central-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    box-shadow:
        0 0 60px rgba(0, 212, 255, 0.5),
        0 0 100px rgba(0, 212, 255, 0.3),
        inset 0 0 40px rgba(0, 212, 255, 0.2);
    animation: orb-pulse 4s ease-in-out infinite;
}

@keyframes orb-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow:
            0 0 60px rgba(0, 212, 255, 0.5),
            0 0 100px rgba(0, 212, 255, 0.3),
            inset 0 0 40px rgba(0, 212, 255, 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow:
            0 0 80px rgba(0, 212, 255, 0.6),
            0 0 120px rgba(0, 212, 255, 0.4),
            inset 0 0 60px rgba(0, 212, 255, 0.3);
    }
}

/* Orbital Rings */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.orbital-ring-1 {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    animation: rotate-ring 20s linear infinite;
}

.orbital-ring-2 {
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    animation: rotate-ring 30s linear infinite reverse;
}

.orbital-ring-3 {
    width: 350px;
    height: 350px;
    transform: translate(-50%, -50%);
    animation: rotate-ring 25s linear infinite;
}

@keyframes rotate-ring {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Glowing Arc Segments */
.orbital-arc {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid transparent;
}

.orbital-arc-1 {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    filter: drop-shadow(0 0 8px var(--primary-color));
    animation: rotate-ring 8s linear infinite;
}

.orbital-arc-2 {
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    border-bottom-color: #0099cc;
    border-left-color: #0099cc;
    filter: drop-shadow(0 0 8px #0099cc);
    animation: rotate-ring 12s linear infinite reverse;
}

.orbital-arc-3 {
    width: 350px;
    height: 350px;
    transform: translate(-50%, -50%);
    border-top-color: var(--accent-color);
    filter: drop-shadow(0 0 6px var(--accent-color));
    animation: rotate-ring 15s linear infinite;
}

/* Floating Tags */
.orbital-tag {
    position: absolute;
    background: rgba(30, 40, 55, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: float-tag 6s ease-in-out infinite;
}

.orbital-tag-1 {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.orbital-tag-2 {
    top: 5%;
    right: -5%;
    animation-delay: 2s;
}

.orbital-tag-3 {
    bottom: 10%;
    left: 15%;
    animation-delay: 4s;
}

.orbital-tag-4 {
    bottom: 25%;
    right: -15%;
    animation-delay: 1s;
}

@keyframes float-tag {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Tag highlight color */
.orbital-tag span {
    color: var(--primary-color);
}


.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Ripple Effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--glow-color);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--primary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    box-shadow: 0 0 30px var(--primary-color);
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--glow-color);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Stagger Animation */
.service-card.animate {
    opacity: 0;
    transform: translateY(50px);
}

.service-card.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.15s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--glow-color);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    z-index: -1;
    opacity: 0.5;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    animation: icon-bounce 0.6s ease;
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-3px); }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature:hover {
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
}

.feature h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px var(--glow-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

.contact-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 25px var(--glow-color);
}

.contact-item:hover .contact-icon svg {
    animation: icon-shake 0.5s ease;
}

@keyframes icon-shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.form-group textarea {
    resize: vertical;
}

.consent-group {
    margin-bottom: 2rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.consent-label input[type="checkbox"] {
    width: auto;
    min-width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.consent-text {
    flex: 1;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.consent-text a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.consent-text a:hover {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background-color: #000000;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    border-top: 1px solid var(--border-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.footer-logo {
    height: 140px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-company {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.bce-badge {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .nav ul li {
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav ul li:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

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

    .section-title {
        font-size: 2rem;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 120px;
    }

    .company-name {
        font-size: 1.2rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    /* Disable heavy animations on mobile for performance */
    .floating-shape,
    .orbital-section {
        display: none;
    }

    .logo img,
    .hero h1 {
        animation: none;
    }
}

/* Tech Lines Effect */
body::before,
body::after {
    content: '';
    position: fixed;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

body::before {
    top: 20%;
    left: 0;
    right: 0;
    height: 1px;
    animation: moveLine1 15s linear infinite;
}

body::after {
    top: 60%;
    left: 0;
    right: 0;
    height: 1px;
    animation: moveLine2 20s linear infinite;
}

@keyframes moveLine1 {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 0.2; }
    100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes moveLine2 {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 0.2; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 80px;
    min-height: 100vh;
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    background: linear-gradient(90deg, #ffffff 0%, var(--primary-color) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    background-color: var(--bg-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.legal-section ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-dark);
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

/* Parallax Effect */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.1s ease-out;
}

/* Floating Elements for Parallax */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: float-shape 6s ease-in-out infinite;
}

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

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

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

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.2;
    }
}

/* Section animations */
.section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature stagger */
.feature.animate {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.feature.animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature:nth-child(1) { transition-delay: 0s; }
.feature:nth-child(2) { transition-delay: 0.1s; }
.feature:nth-child(3) { transition-delay: 0.2s; }

/* Contact items stagger */
.contact-item.animate {
    opacity: 0;
    transform: translateX(-30px);
}

.contact-item.animate.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-item:nth-child(1) { transition-delay: 0s; }
.contact-item:nth-child(2) { transition-delay: 0.08s; }
.contact-item:nth-child(3) { transition-delay: 0.16s; }
.contact-item:nth-child(4) { transition-delay: 0.24s; }
.contact-item:nth-child(5) { transition-delay: 0.32s; }
.contact-item:nth-child(6) { transition-delay: 0.4s; }

/* Hero subtitle animation */
.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nav link hover glow */
.nav a {
    position: relative;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    z-index: -1;
}

.nav a:hover::before {
    width: 100px;
    height: 100px;
}
