* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: #e6e6e6;
    overflow-x: hidden;
    min-height: 100vh;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo span {
    color: #4a9bff;
}

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

.nav-menu a {
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: #4a9bff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    transition: width 0.3s ease;
}

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

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

.user-welcome {
    color: #4a9bff;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 155, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 155, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #e6e6e6;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #4a9bff;
    color: #4a9bff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #4a9bff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite alternate;
    line-height: 1.2;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-cube, .floating-sphere, .floating-pyramid {
    position: absolute;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.floating-cube {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    border-radius: 4px;
}

.floating-sphere {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6c5ce7, #4a9bff);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-pyramid {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 80px solid rgba(108, 92, 231, 0.2);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: rgba(22, 33, 62, 0.9);
}

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

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

.section-title span {
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(74, 155, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 155, 255, 0.05), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-icon, .code-icon, .ui-icon, .newsletter-icon, .website-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    border-radius: 8px;
    position: relative;
}

.service-card:nth-child(2) .cube-icon {
    background: linear-gradient(45deg, #ff7675, #fd79a8);
}

.service-card:nth-child(3) .cube-icon {
    background: linear-gradient(45deg, #6c5ce7, #a29bfe);
}

.service-card:nth-child(4) .cube-icon {
    background: linear-gradient(45deg, #00b894, #00cec9);
}

.service-card:nth-child(5) .cube-icon {
    background: linear-gradient(45deg, #fdcb6e, #e17055);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.75;
    font-size: 0.95rem;
}

.service-link {
    color: #4a9bff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 0.8rem;
    color: #6c5ce7;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: rgba(15, 52, 96, 0.9);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-weight: 500;
    opacity: 0.7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.network-visualization {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: rgba(26, 26, 46, 0.95);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #4a9bff;
    font-weight: 600;
}

.contact-item p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #e6e6e6;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4a9bff;
    background: rgba(74, 155, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(74, 155, 255, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: rgba(10, 15, 30, 0.95);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-logo h3 span {
    color: #4a9bff;
}

.footer-logo p {
    opacity: 0.6;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a9bff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(230, 230, 230, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-column ul li a:hover {
    color: #4a9bff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(74, 155, 255, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(74, 155, 255, 0.5), 0 0 30px rgba(108, 92, 231, 0.3);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Login/Register Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.auth-form {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-form h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e6e6e6;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #e6e6e6;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4a9bff;
    background: rgba(74, 155, 255, 0.05);
    box-shadow: 0 0 0 2px rgba(74, 155, 255, 0.1);
}

.auth-form .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
}

.auth-links a {
    color: #4a9bff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Error and Success Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
}

.alert-error {
    background: rgba(255, 118, 117, 0.15);
    border: 1px solid rgba(255, 118, 117, 0.3);
    color: #ff7675;
}

.alert-success {
    background: rgba(0, 184, 148, 0.15);
    border: 1px solid rgba(0, 184, 148, 0.3);
    color: #00b894;
}

/* Service Pages */
.service-page {
    min-height: 100vh;
    padding: 6rem 0 2rem;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.service-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.content-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 155, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.content-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4a9bff;
    font-weight: 600;
}

.content-card p {
    line-height: 1.6;
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Profile Page */
.profile-container {
    min-height: 100vh;
    padding: 6rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.profile-card {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4a9bff, #6c5ce7);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    font-family: 'Orbitron', sans-serif;
}

.profile-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

.profile-info p {
    opacity: 0.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Content Cards Enhancement */
.content-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.content-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.content-card ul li:before {
    content: "•";
    color: #4a9bff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
}

/* Form Enhancement */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(230, 230, 230, 0.4);
}

/* Button Hover Effects */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Service Card Enhancement */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a9bff, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::after {
    transform: translateX(100%);
}