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

:root {
    /* Space Theme Colors */
    --space-dark: #000000;
    --space-blue: #011244;
    --space-blue-light: #012266;
    --cyber-cyan: #00f3ff;
    --cyber-blue: #00d4ff;
    --cyber-purple: #bd00ff;
    --primary-white: #ffffff;
    --secondary-white: #e0e8ff;
    --accent-gray: #6b7c93;
    --glass-bg: rgba(1, 18, 68, 0.3);
    --glass-border: rgba(0, 243, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #000000 0%, #011244 50%, #001122 100%);
    color: var(--primary-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(1, 18, 68, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    z-index: 1000;
    padding: 1.25rem 0;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(0, 243, 255, 0.1) inset;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(1, 18, 68, 0.95);
    padding: 0.875rem 0;
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.7),
        0 1px 0 rgba(0, 243, 255, 0.2) inset;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    font-size: 1.625rem;
    font-weight: 800;
    color: var(--primary-white);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 1),
        0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-brand h2:hover {
    transform: translateY(-1px);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 1),
        0 0 25px rgba(255, 255, 255, 0.4);
}

.nav-brand span {
    color: var(--cyber-cyan);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 1),
        0 0 15px rgba(0, 243, 255, 0.7),
        0 0 30px rgba(0, 243, 255, 0.4);
}

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

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.nav-menu a:hover {
    color: var(--cyber-cyan);
    transform: translateY(-1px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-cyan), transparent);
    box-shadow: 0 0 8px var(--cyber-cyan);
    transition: width 0.3s ease;
}

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

.nav-menu a.active {
    color: var(--cyber-cyan);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--cyber-cyan), transparent);
}

.btn-contact {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--primary-white) !important;
    padding: 0.625rem 1.75rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(189, 0, 255, 0.2);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.3px;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(0, 212, 255, 0.5),
        0 0 30px rgba(189, 0, 255, 0.4);
    background: linear-gradient(135deg, var(--cyber-purple), var(--cyber-blue));
    border-color: var(--cyber-cyan);
}

.btn-contact::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 243, 255, 0.1);
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--primary-white);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

.hamburger:hover span {
    background: var(--cyber-cyan);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

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

/* Space Background - Fixed untuk seluruh halaman */
.hero-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

#hero-canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--primary-white);
    padding: 2rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 1),
        0 4px 20px rgba(0, 0, 0, 0.9),
        0 8px 30px rgba(0, 0, 0, 0.8);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-white), var(--cyber-cyan), var(--cyber-purple), var(--primary-white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShine 3s linear infinite;
}

@keyframes gradientShine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--secondary-white);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 16px rgba(0, 0, 0, 0.9);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--primary-white);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(189, 0, 255, 0.6);
    background: linear-gradient(135deg, var(--cyber-purple), var(--cyber-blue));
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--cyber-cyan);
    border: 2px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--cyber-cyan);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 243, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Add protective text shadows for all section content */
section .container {
    position: relative;
    z-index: 2;
}

section h1, section h2, section h3, section h4, section h5, section h6 {
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 1),
        0 4px 16px rgba(0, 0, 0, 0.9),
        0 6px 24px rgba(0, 0, 0, 0.8);
}

section p, section li, section a:not(.btn) {
    text-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.9),
        0 2px 8px rgba(0, 0, 0, 0.8);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(1, 18, 68, 0.9);
    backdrop-filter: blur(15px);
    color: var(--cyber-cyan);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.2);
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 1),
        0 0 10px rgba(0, 243, 255, 0.5);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--secondary-white);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: transparent;
    position: relative;
}

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

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

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--accent-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cyber-cyan);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5);
}

.stat-label {
    color: var(--secondary-white);
    font-size: 0.875rem;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--space-blue), var(--space-blue-light));
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-content {
    text-align: center;
    color: var(--primary-white);
}

.placeholder-content p {
    margin-top: 1rem;
    color: var(--secondary-white);
}

/* Services Section */
.services {
    background: transparent;
    position: relative;
}

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

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyber-cyan);
    box-shadow: 0 8px 40px rgba(0, 243, 255, 0.3);
    background: rgba(1, 18, 68, 0.5);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

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

.service-card p {
    color: var(--secondary-white);
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    background: transparent;
    color: var(--primary-white);
    position: relative;
}

.portfolio .section-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.portfolio .section-title {
    color: var(--primary-white);
}

.portfolio .section-description {
    color: var(--secondary-white);
}

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

.portfolio-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.3);
    border-color: var(--cyber-cyan);
}

.portfolio-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--space-blue), var(--space-blue-light));
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 18, 68, 0.95), rgba(1, 34, 102, 0.95));
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    color: var(--primary-white);
    border: 1px solid rgba(0, 243, 255, 0.3);
}

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

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    color: var(--secondary-white);
}

.portfolio-link {
    color: var(--cyber-cyan);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--cyber-cyan);
    padding-bottom: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.portfolio-link:hover {
    color: var(--primary-white);
    border-color: var(--primary-white);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-category {
    font-size: 0.875rem;
    color: var(--cyber-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    margin-top: 0.5rem;
    color: var(--primary-white);
}

/* Testimonials Section */
.testimonials {
    background: transparent;
    position: relative;
}

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

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.1);
}

.testimonial-card:hover {
    border-color: var(--cyber-cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 243, 255, 0.3);
    background: rgba(1, 18, 68, 0.5);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--secondary-white);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--primary-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info h4 {
    color: var(--primary-white);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--cyber-cyan);
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    background: transparent;
    color: var(--primary-white);
    position: relative;
}

.contact .section-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.contact .section-title {
    color: var(--primary-white);
}

.contact .section-description {
    color: var(--secondary-white);
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-white);
}

.contact-item p {
    color: var(--secondary-white);
    line-height: 1.8;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--primary-white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyber-cyan);
    background: rgba(1, 18, 68, 0.5);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--secondary-white);
    opacity: 0.7;
}

/* Footer */
.footer {
    background: transparent;
    border-top: 1px solid var(--glass-border);
    color: var(--primary-white);
    padding: 3rem 0 1.5rem;
    position: relative;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    color: var(--cyber-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.footer-brand p {
    color: var(--secondary-white);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--primary-white);
}

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

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

.footer-column ul li a {
    color: var(--secondary-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--cyber-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--secondary-white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(1, 18, 68, 0.98);
        backdrop-filter: blur(20px);
        border-right: 1px solid var(--glass-border);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 30px rgba(0, 243, 255, 0.2);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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