/* ===== VARIABLES ===== */
:root {
    --primary: #5e60ce;
    --primary-soft: rgba(94, 96, 206, 0.1);
    --primary-glow: rgba(94, 96, 206, 0.25);
    --accent: #64dfdf;
    --accent-soft: rgba(100, 223, 223, 0.1);
    --success: #2ecc71;
    --warning: #f39c12;

    /* Light mode */
    --bg-body: #ffffff;
    --bg-card-solid: #ffffff;
    --text-primary: #17172b;
    --text-secondary: #4f4f6f;
    --border-light: #e2e2f0;
    --shadow-sm: 0 15px 35px -8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 25px 45px -12px rgba(94, 96, 206, 0.15);
    --navbar-bg: rgba(255, 255, 255, 0.9);
    --footer-bg: #fafbff;

    /* Warna ikon toggle */
    --icon-sun: #f9ca24;
    --icon-moon: #a0c4ff;
}

.dark-mode {
    --bg-body: #0b0c16;
    --bg-card-solid: #161a28;
    --text-primary: #f0f2fe;
    --text-secondary: #b3b9d0;
    --border-light: #2a2e3f;
    --shadow-sm: 0 15px 35px -8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 25px 45px -12px rgba(94, 96, 206, 0.25);
    --navbar-bg: rgba(11, 12, 22, 0.95);
    --footer-bg: #0e0f1c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.2s ease;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===== TYPOGRAPHY ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 18px auto 0;
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 18px 0;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
    font-size: 2rem;
}

/* ---- Kanan navbar ---- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ---- LINK NAVIGASI (Our Talent / Home) tanpa background kotak ---- */
.nav-text-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: 6px 4px;
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.2px;
}

.nav-text-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-text-link:hover,
.nav-text-link:focus-visible {
    color: var(--primary);
    outline: none;
}

.nav-text-link:hover::after,
.nav-text-link:focus-visible::after {
    width: 100%;
}

/* ===== TOMBOL TOGGLE DARK/LIGHT (IKON) ===== */
.theme-toggle-btn {
    background: none;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text-primary);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-card-solid);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Warna default ikon (matahari) */
.theme-toggle-btn .bi-sun-fill {
    color: var(--icon-sun);
}

/* Warna ikon bulan */
.theme-toggle-btn .bi-moon-fill {
    color: var(--icon-moon);
}

.theme-toggle-btn:hover {
    background-color: var(--primary-soft);
    transform: scale(1.1);
}

/* ===== ANIMASI TRANSISI IKON ===== */
/* Keluar: ikon lama */
.icon-out {
    animation: iconOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Masuk: ikon baru */
.icon-in {
    animation: iconIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes iconOut {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
}

@keyframes iconIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 110px 0 100px;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -30%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.4;
    filter: blur(100px);
}

.dark-mode .hero-bg-shape {
    opacity: 0.2;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero-pre-title {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 24px;
    background: var(--primary-soft);
    padding: 8px 26px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-light);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
    min-height: 140px;
    animation: fadeInUp 1s ease 0.1s both;
    word-break: break-word;
}

.cursor {
    display: inline-block;
    width: 4px;
    margin-left: 5px;
    background: var(--primary);
    animation: blink 1s infinite;
    color: transparent;
    border-radius: 2px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 48px auto 0; 
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description strong {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-description strong::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 6px;
    background: var(--accent-soft);
    z-index: -1;
    border-radius: 4px;
}

/* ===== SERVICES ===== */
.services {
    padding: 60px 0 100px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.service-card {
    background: var(--bg-card-solid);
    border: 2px solid var(--border-light);
    border-radius: 28px;
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dark-mode .service-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 30px 45px -12px var(--primary-glow);
}

.service-card.available:hover {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15), 0 30px 45px -12px var(--primary-glow);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-light);
    background: var(--bg-card-solid);
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}

.available-badge {
    background: rgba(46, 204, 113, 0.12);
    color: var(--success);
    border-color: rgba(46, 204, 113, 0.3);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
}

.service-card.available .card-icon {
    animation: subtlePulse 2.5s infinite ease-in-out;
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.9; }
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.card-action {
    margin-top: auto;
}

/* ===== TOMBOL WHATSAPP ===== */
.btn-wa {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    background: linear-gradient(145deg, #25D366, #1da851);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    transition: all 0.25s;
}

.btn-wa:hover {
    background: linear-gradient(145deg, #20bd5a, #179c3e);
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.3);
}

.btn-wa:active {
    transform: translateY(2px);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border-light);
    padding: 70px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 32px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

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

.footer-contact li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
}

.footer-contact i {
    width: 20px;
    color: var(--primary);
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-cta p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-secondary);
}

/* Dot hijau dengan animasi ripple */
.footer-cta .dot {
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.footer-cta .dot::before,
.footer-cta .dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.4);
    transform: translate(-50%, -50%) scale(1);
    animation: ripple-dot 2s infinite ease-out;
    pointer-events: none;
}

.footer-cta .dot::after {
    animation-delay: 0.8s;
    background: rgba(46, 204, 113, 0.2);
}

@keyframes ripple-dot {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

.footer-wa-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(37,211,102,0.15);
}

.footer-wa-button:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(37,211,102,0.2);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== RIPPLE EFFECT ===== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transform: scale(0);
    animation: ripple-animation 0.5s linear;
    pointer-events: none;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
}

@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* ===== ANIMASI ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    .hero-title {
        font-size: 2.2rem;
        min-height: 110px;
    }
    .hero-description {
        font-size: 1rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .nav-right {
        gap: 12px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    .hero-title {
        font-size: 1.8rem;
        word-break: break-word;
    }
    .section-title {
        font-size: 2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 32px 24px;
    }
    .logo {
        font-size: 1.5rem;
    }
    .logo span {
        font-size: 1.7rem;
    }
    .nav-right {
        gap: 10px;
    }
    .theme-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}