:root {
    --accent: #00c9ff;
    --dark-bg: #0e0e10;
    --text-color: #f5f5f7;
    --glow: 0 0 20px rgba(0, 201, 255, 0.6);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

header.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 100;
}

header .logo {
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 1px;
}

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

nav a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center, rgba(0,201,255,0.05), var(--dark-bg));
}

.hero h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease forwards;
}

.hero .tagline {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

.light-beam {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.3;
    transform: translateX(-50%);
    animation: beamPulse 6s infinite ease-in-out;
}

@keyframes beamPulse {
    0%,100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.btn-glow {
    margin-top: 2rem;
    background: none;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background: var(--accent);
    color: var(--dark-bg);
    box-shadow: var(--glow);
}

.fade-in { opacity: 0; animation: fadeInUp 1.5s ease forwards; }

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.site-footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0,0,0,0.85);
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul { flex-direction: column; gap: 1rem; }
    .hero h1 { font-size: 2.2rem; }
}
		
.page-section {
    padding: 8rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.page-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

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

.service-card, .portfolio-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 2rem;
    transition: transform .3s, box-shadow .3s;
}

.service-card:hover, .portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 201, 255, 0.15);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
}

.contact-form input, .contact-form textarea {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.75rem;
    border-radius: 4px;
}

.form-success, .form-error {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.form-success {
    background: rgba(0, 255, 128, 0.1);
    color: #00ff99;
}

.form-error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff5555;
}
		
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

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