@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-primary: #050B14;
    --bg-surface: #0A1424;
    --bg-glass: rgba(10, 20, 36, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    /* Warna Aksen Logo */
    --accent-legal: #10B981;  /* Emerald Green Modern */
    --accent-legal-glow: rgba(16, 185, 129, 0.4);
    --accent-it: #D97706;     /* Burnished Copper / Amber */
    --accent-it-glow: rgba(217, 119, 6, 0.4);
    
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
}

/* --- BACKGROUND ANIMATED GLOWS --- */
.bg-glow-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(217, 119, 6, 0.15));
    filter: blur(120px);
    border-radius: 50%;
    z-index: -1;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.2); }
}

/* --- HEADER & GLASSMORPHISM NAVBAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-legal), var(--accent-it));
    transition: width 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--text-main);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* --- HERO SECTION DENGAN ANIMASI MASUK --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 160px 20px 100px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), rgba(217, 119, 6, 0.1));
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-legal), var(--accent-it));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* --- INTERACTIVE BUTTONS DENGAN GLOW EFFECT --- */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-legal-glow {
    background: var(--accent-legal);
    color: #050B14;
    box-shadow: 0 0 25px var(--accent-legal-glow);
}

.btn-legal-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px var(--accent-legal);
}

.btn-it-glow {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-it-glow:hover {
    border-color: var(--accent-it);
    color: var(--accent-it);
    transform: translateY(-4px);
    box-shadow: 0 0 30px var(--accent-it-glow);
}

/* --- SERVICES GRID DENGAN HOVER INTERACTION --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 45px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: height 0.3s ease;
}

.service-card.legal::before {
    background: var(--accent-legal);
}

.service-card.it::before {
    background: var(--accent-it);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card.legal:hover {
    box-shadow: 0 20px 40px var(--accent-legal-glow);
}

.service-card.it:hover {
    box-shadow: 0 20px 40px var(--accent-it-glow);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* --- ANIMATIONS KEYFRAMES --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER --- */
footer {
    background: #03070D;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}