:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-cyan: #00f0ff;
    --accent-purple: #7000ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: auto;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-heading);
    overflow-x: hidden;
    line-height: 1.6;
}



/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Center items vertically */
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.5);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: white;
}

.accent {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center; /* Ensures buttons and links align vertically */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan) !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--accent-cyan);
    color: var(--bg-color) !important;
    box-shadow: 0 0 15px var(--accent-cyan);
}
.btn-primary::after {
    display: none; /* Remove underline effect for buttons */
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

.glitch-wrapper {
    display: inline-block;
}

.hero-subtitle {
    font-size: 2.5rem;
    color: #888;
    background: linear-gradient(90deg, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-secondary {
    padding: 0.8rem 1.5rem;
    color: white;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: white;
    background: white;
    color: black;
}

.hero-graphic {
    width: 400px;
    height: 400px;
    /* Animation for floating effect */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Services Section */
.services {
    padding: 5rem 10%;
    background: linear-gradient(180deg, var(--bg-color) 0%, #0a0a10 100%);
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.services h2 {
    font-size: 3rem;
    font-weight: 600;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(112, 0, 255, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #08080c;
    position: relative;
    z-index: 1;
}

.contact-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    max-width: 700px;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    color: #aaa;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: var(--font-mono);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--accent-cyan);
}

/* Footer */
footer {
    padding: 2rem 5%;
    background: black;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: #555;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}


/* Responsive */
@media (max-width: 768px) {
    .navbar {
      justify-content: space-between;
      flex-wrap: wrap; 
    }
    
    .nav-links {
      display: none; /* simple hiding for now, normally would do a hamburger menu */
    }
    
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    .hero-graphic {
        margin-top: 2rem;
        width: 300px;
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .contact-content {
        padding: 2rem;
    }
}
