:root {
    --primary: #00f2ea;
    --primary-dark: #008080;
    --secondary: #1a1a2e;
    --accent: #ff0055;
    --text: #e0e0e0;
    --text-muted: #a0a0a0;
    --bg-dark: #0f0f1a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    z-index: 1;
    pointer-events: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Glassmorphism */
.glass {
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(0, 242, 234, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.logo .highlight {
    color: var(--primary);
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.slogan {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: white;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

.btn-primary.glow {
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.3);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@keyframes panZoom {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, -1%);
    }
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: panZoom 30s infinite alternate ease-in-out;
    will-change: transform;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 15, 26, 0.5) 0%, rgba(15, 15, 26, 0.9) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeIn 1.2s ease-out;
    position: relative;
    z-index: 2;
}

.badge {
    background: rgba(0, 242, 234, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 242, 234, 0.2);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Services */
.services {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(0, 0, 0, 0) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

/* Contact */
.contact {
    padding: 6rem 0;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 600px;
}

.form-group {
    margin-bottom: 1rem;
}

input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .navbar {
        padding: 0 1rem;
    }
}

/* Software Section */
.software-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #161625 100%);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.software-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
}

.software-card h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.software-list {
    list-style: none;
}

.software-list li {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--glass-border);
    transition: all 0.3s ease;
}

.software-list li:hover {
    border-left-color: var(--primary);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.software-list strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.software-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: block;
}

/* Legal Pages */
.legal-page {
    padding-top: 140px;
    padding-bottom: 6rem;
    min-height: 100vh;
    background: var(--bg-dark);
}

.legal-text {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-text h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-text h3 {
    color: white;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.legal-text li {
    margin-bottom: 0.5rem;
}

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}