/* CSS Variables for easy theme management */
:root {
    --dark-navy: #020c1b;
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --navy-shadow: rgba(2, 12, 27, 0.7);
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --accent: #64ffda;
    --accent-tint: rgba(100, 255, 218, 0.1);
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

/* General Body Styles */
body {
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    background-color: var(--navy);
    color: var(--slate);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 25px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--lightest-slate);
    margin: 0 0 10px 0;
    font-weight: 700;
}

h2 {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--white);
}

/* Navigation Bar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    padding: 15px 0;
}

#navbar.scrolled {
    background-color: var(--navy-shadow);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px var(--navy-shadow);
    padding: 10px 0;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5em;
    color: var(--accent);
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--lightest-slate);
    padding: 5px;
    font-size: 1em;
}

/* Hero Section */
#hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 0 60px;
}

#hero h1 {
    font-size: clamp(40px, 8vw, 70px);
    color: var(--white);
}

#hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 20px auto 30px;
    color: var(--light-slate);
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--accent);
    background-color: transparent;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--accent);
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-tint);
}


/* General Sections */
section {
    padding: 80px 0;
    text-align: center;
}

section#tentang p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1em;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: left;
    margin-top: 50px;
}

.service-card {
    background: var(--light-navy);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 30px -15px var(--navy-shadow);
}

.service-card .icon {
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card .icon svg {
    width: 40px;
    height: 40px;
}

.service-card h4 {
    font-size: 1.4em;
    color: var(--white);
    margin-bottom: 15px;
}

.service-card .tools {
    font-family: var(--font-mono);
    font-size: 0.85em;
    color: var(--slate);
    margin-top: 15px;
}

/* Final CTA Section */
.final-cta {
    background-color: transparent;
}

.final-cta p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent);
    background-color: transparent;
    border: 2px solid var(--accent);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    background-color: var(--accent-tint);
    color: var(--white);
}

.whatsapp-button svg {
    transition: transform 0.3s ease;
}

.whatsapp-button:hover svg {
    transform: scale(1.1) rotate(-5deg);
}


/* Footer */
footer {
    background: var(--dark-navy);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--lightest-navy);
}

footer p {
    margin: 8px 0;
    color: var(--slate);
}

footer p i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1em;
    vertical-align: middle;
}

footer .copyright {
    font-family: var(--font-mono);
    font-size: 0.9em;
    margin-top: 20px;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simplification for mobile, can be replaced with a hamburger menu */
    }

    #hero {
        min-height: 60vh;
    }
}