/* ============================================================
   1. ROOT VARIABLES & GLOBAL RESET
   ============================================================ */
:root {
    /* 6 Gradasi Warna Utama Antar-Section */
    --grad-1: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    --grad-2: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    --grad-3: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --grad-4: linear-gradient(135deg, #311042 0%, #581c87 50%, #7e22ce 100%);
    --grad-5: linear-gradient(135deg, #111827 0%, #1f2937 50%, #374151 100%);
    --grad-6: linear-gradient(135deg, #030712 0%, #111827 100%);

    --pink-accent: #f472b6;
    --pink-hover: #ec4899;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f172a;
    color: var(--text-white);
    overflow-x: hidden;
}

/* ============================================================
   2. SECTION & BACKGROUND GRADIENTS
   ============================================================ */
.section {
    padding: 100px 20px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pt-hero {
    padding-top: 160px;
    padding-bottom: 100px;
}

.grad-1 { background: var(--grad-1); }
.grad-2 { background: var(--grad-2); }
.grad-3 { background: var(--grad-3); }
.grad-4 { background: var(--grad-4); }
.grad-5 { background: var(--grad-5); }
.grad-6 { background: var(--grad-6); }

.container {
    max-width: 1200px;
    margin-top: 10px;
    width: 100%;
    margin: 0 auto;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

.text-subtitle {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 10px auto 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--pink-accent);
    margin: 15px auto 40px;
    border-radius: 10px;
}

.mt-30 { margin-top: 30px; }

/* ============================================================
   3. GLASSMORPHISM CORE & BUTTONS
   ============================================================ */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 35px 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: 50px;
}

.glass-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-nav {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-white);
}

.btn-nav:hover {
    background: var(--pink-hover);
    border-color: var(--pink-hover);
}

.btn-hero-primary, .btn-card-highlight {
    background: var(--pink-hover);
    color: var(--text-white);
    text-align: center;
    border: none;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.btn-hero-primary:hover, .btn-card-highlight:hover {
    background: #db2777;
    transform: scale(1.05);
}

.btn-hero-secondary, .btn-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    text-align: center;
}

.btn-hero-secondary:hover, .btn-card:hover {
    background: rgba(255, 255, 255, 0.3);
}

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

/* ============================================================
   4. NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 35px;
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-brand span { color: var(--pink-accent); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--pink-accent); }

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 5px;
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 32px;
    text-align: center;
}

.badge-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 span { color: var(--pink-accent); }

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-action-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ============================================================
   6. ABOUT SECTION & COUNTER
   ============================================================ */
.about-img-box { flex: 1; }

.glass-img {
    width: 100%;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.about-text-box { flex: 1; }
.sub-title {
    color: var(--pink-accent);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.about-text-box h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.about-text-box p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.link-highlight {
    color: var(--pink-accent);
    font-weight: 700;
    text-decoration: none;
}

.counter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.counter-card {
    border-left: 4px solid var(--pink-accent);
    padding: 20px;
}

.counter-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
}

.counter-card p {
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 1px;
}

/* ============================================================
   7. SERVICES & KATALOG SECTION
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.popular-card {
    border: 2px solid var(--pink-accent);
}

.badge-populer {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--pink-hover);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.card-icon { font-size: 2rem; margin-bottom: 10px; }
.catalog-header h3 { font-size: 1.3rem; margin-bottom: 8px; }
.catalog-header p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }

.feature-list {
    list-style: none;
    margin-bottom: 25px;
}

.feature-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* ============================================================
   8. PRICING SECTION
   ============================================================ */
.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tier-name { color: var(--pink-accent); font-size: 1.1rem; }
.price-start { font-size: 0.8rem; font-style: italic; color: var(--text-muted); }

.price {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 10px 0;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}
.price-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

/* ============================================================
   9. TEAM SECTION
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.team-card { padding: 20px; }

.avatar-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    filter: grayscale(80%);
    transition: filter 0.3s;
}

.team-card:hover .avatar { filter: grayscale(0%); }

.owner-box .avatar { border-color: var(--pink-accent); }

.role-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--pink-hover);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}

.team-card h5 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--pink-accent); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.team-card .sub-role { color: var(--text-muted); font-size: 0.7rem; display: block; margin-top: 2px; }

/* ============================================================
   10. CONTACT FORM
   ============================================================ */
.contact-wrapper {
    display: flex;
    gap: 40px;
}

.contact-info, .contact-form-box { flex: 1; }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 15px; }
.contact-info p { color: var(--text-muted); margin-bottom: 30px; }

.contact-detail div {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-white);
    outline: none;
    font-size: 0.95rem;
}

.glass-input::placeholder { color: rgba(255, 255, 255, 0.6); }
.glass-input:focus { border-color: var(--pink-accent); }
.opt-dark { color: #0f172a; }

/* ============================================================
   11. FOOTER
   ============================================================ */
.glass-footer {
    padding: 70px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-about { flex: 2; min-width: 280px; }
.footer-logo { font-size: 1.6rem; font-weight: 800; margin-bottom: 15px; }
.footer-logo span { color: var(--pink-accent); }
.footer-about p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 15px; }
.footer-socials a {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}
.footer-socials a:hover { color: var(--pink-accent); }

.footer-links, .footer-contact { flex: 1; min-width: 200px; }
.footer-links h3, .footer-contact h3 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-white); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links ul li a:hover { color: var(--pink-accent); }
.footer-contact p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.powered-by a { color: var(--pink-accent); text-decoration: none; font-weight: 700; }

/* ============================================================
   12. AI CHATBOT UI
   ============================================================ */
.chatbot-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.chatbot-btn {
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
}

.chatbot-box {
    width: 320px;
    margin-bottom: 12px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.85);
}

.chatbot-box.hidden { display: none; }

.chat-header {
    padding: 15px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#close-chat { cursor: pointer; font-size: 1.2rem; }

.chat-body {
    padding: 15px;
    height: 240px;
    overflow-y: auto;
    font-size: 0.85rem;
}

.chat-body p {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    line-height: 1.4;
}

.chat-input {
    display: flex;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    outline: none;
    font-size: 0.8rem;
}

.chat-input button {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: var(--pink-hover);
    color: var(--text-white);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.8rem;
}

/* ============================================================
   13. RESPONSIVE BREAKPOINTS (MOBILE & TABLET)
   ============================================================ */
@media (max-width: 992px) {
    .flex-row, .contact-wrapper {
        flex-direction: column;
    }

    .hero-content h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 25px 0;
        border-radius: 20px;
        margin-top: 10px;
        clip-path: circle(0% at 50% -20%);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: circle(150% at 50% -20%);
    }

    .hero-action-btns {
        flex-direction: column;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-content h1 { font-size: 2rem; }
}
