/* Skema Warna Modern */
:root {
    --black: #0a0a0a;
    --dark: #121212;
    --primary: #00f5ff;
    --secondary: #00ff47;
    --text: #f5f5f5;
    --gray: #2a2a2a;
}

/* Gaya Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Orbitron';
    src: url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
}

body {
    background-color: var(--black);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* Efek Glow */
.glow {
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.7);
}

.glow-green {
    text-shadow: 0 0 10px rgba(0, 255, 71, 0.7);
}

/* Header dengan Background Animasi */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 5%;
    background: linear-gradient(135deg, 
                    rgba(10, 10, 10, 0.98) 0%, 
                    rgba(18, 18, 18, 0.95) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.logo:hover {
    transform: rotate(-5deg) scale(1.05);
}

.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

/* Navigasi */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section dengan Animasi Partikel */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 8%;
    padding-top: 100px;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Tombol CTA Animasi */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--black);
    box-shadow: 0 5px 15px rgba(0, 245, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.6);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 245, 255, 0.1);
    color: var(--text);
}

/* Elemen Teknik Melayang */
.tech-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(0, 245, 255, 0.1) 0%, 
        rgba(0, 245, 255, 0) 70%);
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, 
        rgba(0, 255, 71, 0.1) 0%, 
        rgba(0, 255, 71, 0) 70%);
}

/* Bagian Layanan dengan Kartu 3D */
.services {
    padding: 120px 8%;
    position: relative;
    background-color: var(--dark);
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: linear-gradient(145deg, #161616, #1e1e1e);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 245, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 245, 255, 0.05) 50%, 
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.3);
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.learn-more {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.learn-more::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s;
}

.learn-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Showcase Hasil Animasi */
.showcase {
    padding: 120px 8%;
    background: linear-gradient(to bottom, var(--dark), var(--black));
    position: relative;
    overflow: hidden;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.result-slide {
    display: flex;
    align-items: center;
    gap: 50px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 1s;
}

.result-slide.active {
    opacity: 1;
    position: relative;
}

.result-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.result-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.result-image:hover img {
    transform: scale(1.05);
}

.result-content {
    flex: 1;
}

.result-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.result-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transform: scale(1.3);
}

/* Bagian Partner */
.partners {
    padding: 100px 8%;
    text-align: center;
    background-color: var(--black);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    align-items: center;
}

.partner-logo {
    height: 60px;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.7;
    transition: all 0.4s;
}

.partner-logo:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* Footer Modern */
footer {
    background: linear-gradient(to top, #080808, var(--black));
    padding: 80px 8% 40px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--primary);
    width: 25px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: var(--text);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Tombol WhatsApp Melayang */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Gaya Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(145deg, #161616, #1e1e1e);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(0, 245, 255, 0.2);
    box-shadow: 0 10px 50px rgba(0, 245, 255, 0.2);
    animation: modalOpen 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text);
}

.modal ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.modal ul li {
    margin-bottom: 15px;
    position: relative;
    list-style-type: none;
    padding-left: 30px;
}

.modal ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Desain Responsif */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .result-slide {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
    }
    
    .branding {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        padding-top: 150px;
        min-height: auto;
        height: auto;
        padding-bottom: 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.5rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal h2 {
        font-size: 2rem;
    }
}