/* ===================================================================
   CAPCUS PHOTOWORKS - STYLESHEET (INDEX.CSS)
   By : @Fahmi.sanss
   =================================================================== */

/* -------------------------------------------------------------------
   1. GOOGLE FONTS & ROOT CSS VARIABLES
   ------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --text-color-main: #1a1a1a;
    --text-color-soft: #333333;
    --text-secondary: #64748b;
    --bg-color-main: #ffffff;
    --bg-light-gray: #f8f9fa;
    --link-color-main: #333333;
    --link-hover-main: #000000;
    --accent-color: #1a1a1a;
    --border-color: #e5e7eb;
    --primary-blue: #22a7f0;
    --success-green: #28a745;
    --danger-red: #dc3545;
    --warning-amber: #ffc107;
    font-family: 'Poppins', sans-serif;
}

/* -------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   ------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color-main);
    color: var(--text-color-soft);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* AOS Animation Helper */
[data-aos] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top: 6px solid var(--primary-blue);
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================================================
   DARK MODE (SISI KLIEN)
   =================================================================== */
body.dark-mode {
    --text-color-main: #f8fafc;
    --text-color-soft: #e2e8f0;
    --text-secondary: #94a3b8;
    --bg-color-main: #0f172a;
    --bg-light-gray: #1e293b;
    --link-color-main: #e2e8f0;
    --link-hover-main: #ffffff;
    --accent-color: #3b82f6; 
    --border-color: #334155;
}

body.dark-mode .navbar {
    background-color: rgba(15, 23, 42, 0.95);
}

body.dark-mode .dropdown-menu,
body.dark-mode .info-card-item,
body.dark-mode .fanned-card,
body.dark-mode .pricelist-item,
body.dark-mode #package-detail-content,
body.dark-mode .testimonial-card-item,
body.dark-mode .order-form-container,
body.dark-mode .profile-container,
body.dark-mode .order-card,
body.dark-mode .ai-chat-box {
    background-color: #1e293b;
    border-color: var(--border-color);
    color: var(--text-color-soft);
}

body.dark-mode .section-title,
body.dark-mode .info-card-item h3,
body.dark-mode .item-content h3 a,
body.dark-mode .package-detail-title,
body.dark-mode .category-title {
    color: var(--text-color-main);
}

/* Menimpa inline style HTML untuk latar belakang dan elemen khusus */
body.dark-mode .featured-works-section,
body.dark-mode .section[style*="#ffffff"],
body.dark-mode .section[style*="#fcfcfc"] {
    background-color: var(--bg-color-main) !important;
}

body.dark-mode .about-text-card,
body.dark-mode .testimonial-form-container,
body.dark-mode .package-detail-wrapper,
body.dark-mode .order-page-wrapper, 
body.dark-mode .profile-page-wrapper,
body.dark-mode .invoice-page-wrapper,
body.dark-mode .nav-links-container-mobile {
    background-color: var(--bg-color-main) !important;
    color: var(--text-color-soft);
    border-color: var(--border-color) !important;
}

/* Memperbaiki tampilan Invoice agar ikut gelap */
body.dark-mode .invoice-container,
body.dark-mode #print-invoice-container,
body.dark-mode .detail-section,
body.dark-mode .invoice-sk,
body.dark-mode .payment-card,
body.dark-mode .invoice-table th,
body.dark-mode .invoice-table td,
body.dark-mode .invoice-table tr.row-summary td,
body.dark-mode .invoice-table tr.row-subtotal td {
    background-color: var(--bg-light-gray) !important;
    border-color: var(--border-color) !important;
    color: var(--text-color-soft) !important;
}

body.dark-mode .invoice-table tr.row-total td {
    background-color: #3f1d1d !important;
}

body.dark-mode .invoice-table tr.row-lunas td {
    background-color: #1a3a29 !important;
}

/* Memperbaiki Tombol Filter, Featured Button & Promt AI */
body.dark-mode .filter-btn,
body.dark-mode .featured-btn,
body.dark-mode .quick-prompt-btn,
body.dark-mode .btn-prev {
    background-color: var(--bg-light-gray);
    color: var(--text-color-main);
    border-color: var(--border-color);
}

body.dark-mode .filter-btn:hover,
body.dark-mode .featured-btn:hover,
body.dark-mode .quick-prompt-btn:hover {
    background-color: var(--border-color);
    color: #ffffff;
}

body.dark-mode .filter-btn.active {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* Memperbaiki Form Input */
body.dark-mode .order-form-group input, 
body.dark-mode .order-form-group select, 
body.dark-mode .order-form-group textarea,
body.dark-mode #testimonialForm textarea,
body.dark-mode #ai-chat-input {
    background-color: var(--bg-color-main);
    color: var(--text-color-main);
    border-color: var(--border-color);
}

/* Memperbaiki Komponen UI Progress Bar & AI Chatbot */
body.dark-mode .progress-bar::before,
body.dark-mode .progress-bar .step-circle {
    background-color: var(--bg-light-gray);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

body.dark-mode .ai-chat-footer,
body.dark-mode .ai-message.bot,
body.dark-mode .package-description-box {
    background-color: var(--bg-light-gray);
    color: var(--text-color-main);
    border-color: var(--border-color);
}

body.dark-mode .ai-chat-body {
    background-color: var(--bg-color-main);
}

/* Memastikan Heading dan Teks Penting tetap terang */
body.dark-mode .about-text-card strong,
body.dark-mode .featured-actions h3,
body.dark-mode .client-name,
body.dark-mode .invoice-header h2,
body.dark-mode .invoice-header p span,
body.dark-mode .detail-section h4,
body.dark-mode .order-card-body strong,
body.dark-mode .payment-card strong {
    color: var(--text-color-main) !important;
}

/* Tombol Toggle Tema */
.theme-toggle-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--link-color-main);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.theme-toggle-btn:hover {
    color: var(--link-hover-main);
    transform: scale(1.1);
}

/* -------------------------------------------------------------------
   3. NAVIGATION BAR (DESKTOP & MOBILE)
   ------------------------------------------------------------------- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 998;
    transition: box-shadow 0.3s ease-in-out;
}

.navbar.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

#auth-section-desktop, #auth-section-mobile {
    display: contents;
}

.nav-links-container-desktop .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links-container-desktop .nav-links li {
    display: flex;
    align-items: center;
    margin-left: 0; 
}

.nav-links-container-desktop .nav-links a {
    color: var(--link-color-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-links-container-desktop .nav-links a:hover, 
.nav-links-container-desktop .nav-links a.active {
    color: var(--link-hover-main);
    border-bottom: 2px solid var(--link-hover-main);
}

.nav-links-container-desktop .nav-links a[data-page="order"] {
    background-color: var(--accent-color);
    color: #ffffff !important;
    padding: 8px 22px !important;
    border-radius: 20px;
    border-bottom: none !important;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.nav-links-container-desktop .nav-links a[data-page="order"]:hover {
    background-color: #333333;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dropdown-container {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 0 !important;
    border-bottom: 2px solid transparent !important;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 150%;
    right: 0;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 10;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, top 0.3s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    top: 120%;
}

.dropdown-menu li a {
    color: var(--text-color-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
    border-bottom: none !important;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light-gray);
    color: var(--text-color-main);
}

.mobile-actions, .nav-links-container-mobile {
    display: none;
}

.hamburger-menu, .close-sidebar-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color-main);
}

/* -------------------------------------------------------------------
   4. HERO SECTION & SLIDER
   ------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden; 
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide .ken-burns {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.15);
    transition: transform 10s ease-out;
}

.slide.active { 
    opacity: 1; 
    z-index: 2; 
}

.slide.active .ken-burns {
    transform: scale(1);
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative; 
    z-index: 3;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin-top: 10px;
    font-weight: 400;
}

.hero-section .hero-content .btn-cta-hero {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    margin-top: 30px;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s, transform 0.2s ease;
}

.hero-section .hero-content .btn-cta-hero:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

/* -------------------------------------------------------------------
   5. SECTIONS & GENERAL COMPONENTS
   ------------------------------------------------------------------- */
.section { 
    padding: 80px 0; 
    text-align: center; 
}

.section-title { 
    font-size: 2.5em; 
    margin-bottom: 15px; 
    color: #1a1a1a; 
    font-weight: 700;
}

.section-subtitle { 
    font-size: 1.1em; 
    color: #555555; 
    margin-bottom: 50px; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}

/* Info Cards */
.info-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.info-card-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-top: 4px solid var(--accent-color);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.info-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-card-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.info-card-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-card-item p {
    color: #555555;
    line-height: 1.7;
    min-height: 80px;
}

.btn-info {
    display: inline-block;
    margin-top: 20px;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-info:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* Call To Action Section */
.cta-section {
    background-color: var(--bg-light-gray);
    border-radius: 12px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.cta-section h3 {
    font-size: 2em;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    color: #555555;
}

.btn-cta {
    background-color: #25D366;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    border: none;
}

.btn-cta:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

/* Floating WhatsApp */
.whatsapp-float { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background-color: #25D366; 
    color: #ffffff; 
    border-radius: 50px; 
    padding: 12px 20px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none; 
    font-size: 16px; 
    font-weight: bold; 
    z-index: 100; 
    transition: all 0.3s ease; 
}

/* Footer */
.footer { 
    background-color: #1a1a1a; 
    color: #a0a0a0; 
    padding: 60px 0 20px 0; 
    text-align: left; 
    font-size: 15px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 40px; 
    margin-bottom: 40px; 
}

.footer-heading { 
    color: #ffffff; 
    font-size: 1.4em; 
    margin-bottom: 20px; 
    font-weight: 600;
}

.footer-links, .footer-contact { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer-links a, .footer-contact a { 
    color: #a0a0a0; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.footer-links a:hover, .footer-contact a:hover { 
    color: #ffffff; 
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

.footer-column:first-child {
    text-align: center;
}

.social-links-footer a { 
    color: #a0a0a0; 
    margin-right: 15px; 
    font-size: 1.2rem; 
}

.footer-bottom { 
    border-top: 1px solid #333333; 
    padding-top: 20px; 
    text-align: center; 
    font-size: 14px; 
}

/* -------------------------------------------------------------------
   6. FEATURED WORKS (FANNED CARDS LAYOUT)
   ------------------------------------------------------------------- */
.featured-works-section {
    padding: 80px 0 100px 0;
    overflow: hidden;
}

.fanned-gallery-container {
    position: relative;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 70px 0;
}

.fanned-card {
    position: absolute;
    width: 260px;
    height: 380px;
    border-radius: 12px;
    border: 6px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, z-index 0s;
    cursor: pointer;
    background-color: #eee;
}

.fanned-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fanned-card.card-1 { transform: translateX(-160px) rotate(-16deg) scale(0.85); z-index: 1; }
.fanned-card.card-2 { transform: translateX(-85px) rotate(-8deg) scale(0.95); z-index: 2; }
.fanned-card.card-3 { transform: translateX(0) rotate(0deg) scale(1.05); z-index: 3; box-shadow: 0 20px 45px rgba(0,0,0,0.25); }
.fanned-card.card-4 { transform: translateX(85px) rotate(8deg) scale(0.95); z-index: 2; }
.fanned-card.card-5 { transform: translateX(160px) rotate(16deg) scale(0.85); z-index: 1; }

.fanned-card:hover {
    transform: translateY(-20px) scale(1.15) !important;
    z-index: 10 !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.featured-actions {
    text-align: center;
    margin-top: 30px;
}

.featured-actions h3 {
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 700;
}

.featured-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.featured-btn {
    background-color: #ffffff;
    color: #333333;
    border: 1px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.featured-btn i {
    color: #555555;
    font-size: 1.1rem;
}

.featured-btn:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.featured-btn:hover i {
    color: #ffffff;
}

/* -------------------------------------------------------------------
   7. PORTFOLIO & MASONRY GRID & LIGHTBOX
   ------------------------------------------------------------------- */
.portfolio-filters { 
    margin-bottom: 40px; 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.filter-btn { 
    background-color: #f0f0f0; 
    border: none; 
    border-radius: 20px; 
    padding: 8px 20px; 
    cursor: pointer; 
    font-weight: 500; 
    transition: background-color 0.3s, color 0.3s, transform 0.2s ease; 
}

.filter-btn:hover { 
    background-color: #ddd; 
    transform: translateY(-2px); 
}

.filter-btn.active { 
    background-color: var(--accent-color); 
    color: #ffffff; 
}

/* Masonry Layout */
.portfolio-grid {
    display: block;
    column-count: 3;
    column-gap: 20px;
}

.portfolio-grid .pricelist-item {
    aspect-ratio: auto;
    width: 100%;
    display: inline-block;
    margin-bottom: 20px;
    break-inside: avoid;
    background-color: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.portfolio-grid .pricelist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.portfolio-grid .pricelist-item img, 
#client-gallery-grid .pricelist-item img {
    height: auto;
    width: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-grid .pricelist-item .item-content {
    display: none;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from { transform: scale(0); } 
    to { transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(255,255,255,0.2);
}

.lightbox-caption {
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 30px;
    font-size: 1rem;
    margin-top: 15px;
}

/* -------------------------------------------------------------------
   8. PRICELIST SECTION & PACKAGE DETAIL
   ------------------------------------------------------------------- */
#pricelist-container {
    width: 100%;
}

.pricelist-category-group {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: left;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-color-main);
    scroll-margin-top: 100px;
}

.pricelist-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pricelist-item { 
    background-color: #ffffff; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.07); 
    text-align: left; 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
}

.pricelist-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.pricelist-item.highlight-card {
    border: 1px solid rgba(34, 167, 240, 0.4);
}

.pricelist-item img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    transition: transform 0.4s ease-out; 
}

.pricelist-item:hover img {
    transform: scale(1.05);
}

.item-content { 
    padding: 25px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.item-content h3 { 
    margin-top: 0; 
    font-size: 1.8em; 
    font-weight: 600; 
}

.item-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.item-content h3 a:hover {
    color: var(--primary-blue);
}

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: #888888;
    font-size: 1rem;
}

.discount-badge {
    background-color: #ff4757;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
}

.item-content .item-price { 
    font-size: 1.4rem; 
    font-weight: bold; 
    color: var(--primary-blue); 
    margin-top: -10px; 
    margin-bottom: 15px;
}

.item-price.current-price {
    margin-top: 0 !important;
}

.item-content .description-container {
    flex-grow: 1;
}

.description-container .full-text {
    display: none;
}

.description-container .more-text-dots {
    display: inline;
}

.read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 5px;
    font-size: 0.9em;
    text-decoration: none;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.description-container.expanded .full-text {
    display: inline;
}

.description-container.expanded .more-text-dots {
    display: none;
}

.item-content .btn-order-package { 
    background-color: var(--accent-color); 
    color: #ffffff; 
    text-align: center; 
    padding: 12px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 600; 
    margin-top: 20px; 
    transition: background-color 0.3s, transform 0.2s ease; 
}

.item-content .btn-order-package:hover { 
    background-color: #333333; 
    transform: scale(1.03); 
}

/* Category Filter Buttons in Pricelist */
#pricelist-category-filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

#pricelist-category-filters .filter-btn {
    background-color: #f0f0f0;
    border: none;
    border-radius: 20px;
    padding: 10px 22px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s, color 0.3s, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#pricelist-category-filters .filter-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

#pricelist-category-filters .filter-btn.active {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 3px 7px rgba(0,0,0,0.1);
}

/* Package Detail Page */
.package-detail-wrapper {
    background-color: #f8f9fa;
    padding: 50px 20px;
}

.package-detail-wrapper .back-link {
    display: block;
    text-align: center;
    margin-bottom: 25px;
    color: #555555;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.package-detail-wrapper .back-link:hover {
    color: var(--primary-blue);
}

#package-detail-content {
    background-color: #ffffff;
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.07);
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid #e9ecef;
}

.package-detail-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) 1.5fr;
    gap: 45px;
    align-items: flex-start;
}

.package-detail-image-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    height: auto;
}

.package-detail-info {
    display: flex;
    flex-direction: column;
}

.package-detail-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
    color: var(--text-color-main);
}

.package-detail-price-block {
    text-align: center;
    margin-bottom: 30px;
}

.package-detail-price-block .price-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 5px;
    gap: 10px;
}

.package-detail-price-block .original-price {
    font-size: 1.1rem;
    color: #999999;
    font-weight: 400;
    text-decoration: line-through;
}

.package-detail-price-block .discount-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
    background-color: #e74c3c;
    color: white;
    border-radius: 4px;
    font-weight: 500;
}

.package-detail-price-block .item-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color-main);
    margin: 0;
    line-height: 1;
}

.package-detail-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 25px;
}

.tab-link {
    background: none;
    border: none;
    padding: 12px 5px;
    margin: 0 18px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #888888;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.tab-link:hover {
    color: #333333;
}

.tab-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.tab-content {
    display: none;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #555555;
    animation: fadeIn 0.4s ease;
    padding-top: 10px;
    text-align: left;
    min-height: 100px;
}

.tab-content.active {
    display: block;
}

.tab-content ul, .tab-content ol {
    padding-left: 20px;
    margin-bottom: 1em;
    margin-top: 0;
    text-align: left;
}

.tab-content li {
    margin-bottom: 8px;
}

.package-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #ffffff;
    transition: opacity 0.3s ease;
}

.social-link:hover { opacity: 0.85; }
.social-link.wa { background-color: #25D366; }
.social-link.ig { background-color: #E4405F; }
.social-link.tk { background-color: #000000; }

/* -------------------------------------------------------------------
   9. TESTIMONIALS SECTION - MODERN & ELEGANT
   ------------------------------------------------------------------- */
.testimonial-section-wrapper .container {
    max-width: 1100px;
}

.homepage-testimonial-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.testimonial-card-item {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.quote-icon {
    font-size: 1.8rem;
    color: #cbd5e1;
    margin-bottom: 15px;
    display: block;
}

.testimonial-text {
    flex-grow: 1;
    font-style: italic;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.client-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.client-name {
    font-weight: 600;
    color: var(--text-color-main);
    font-size: 1rem;
    margin: 0;
}

.client-role {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

.testimonial-form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    max-width: 600px;
    margin: 40px auto;
}

#testimonialForm textarea {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    transition: border-color 0.3s;
    font-family: inherit;
}

#testimonialForm textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

#testimonialForm .btn-submit {
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#testimonialForm .btn-submit:hover {
    background-color: #333333;
}

/* -------------------------------------------------------------------
   10. ORDER FORM, PROFILE & MY ORDERS
   ------------------------------------------------------------------- */
.order-page-wrapper, .profile-page-wrapper {
    background-color: #f0f2f5;
    padding: 60px 20px;
    min-height: 80vh;
}

.order-form-container, .profile-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.order-form-container h2, .profile-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.progress-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-bottom: 40px; 
    position: relative; 
}

.progress-bar::before { 
    content: ''; 
    position: absolute; 
    top: 20px; 
    left: 0; 
    transform: translateY(-50%); 
    height: 4px; 
    width: 100%; 
    background-color: #e0e0e0; 
    z-index: 1; 
}

.progress-bar .step { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    position: relative; 
    z-index: 2; 
    width: 100px;
}

.progress-bar .step-circle { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background-color: #e0e0e0; 
    color: #999999; 
    border: 4px solid #f0f2f5; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-weight: bold; 
    font-size: 1.2rem; 
    transition: all 0.4s ease; 
}

.progress-bar .step-label { 
    margin-top: 10px; 
    font-size: 0.9rem; 
    color: #999999; 
    font-weight: 500; 
    transition: all 0.4s ease; 
}

.progress-bar .step.active .step-circle { 
    background-color: var(--primary-blue); 
    color: #ffffff; 
    border-color: var(--primary-blue); 
}

.progress-bar .step.active .step-label { 
    color: var(--primary-blue); 
    font-weight: bold; 
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 25px; 
}

.order-form-group { 
    margin-bottom: 20px; 
    text-align: left; 
}

.order-form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    font-size: 0.95rem; 
}

.order-form-group input, 
.order-form-group select, 
.order-form-group textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #cccccc; 
    border-radius: 6px; 
    font-size: 1rem; 
    font-family: 'Poppins', sans-serif; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}

.order-form-group input:focus, 
.order-form-group select:focus, 
.order-form-group textarea:focus { 
    outline: none; 
    border-color: var(--primary-blue); 
    box-shadow: 0 0 0 3px rgba(34, 167, 240, 0.2); 
}

.order-form-group.full-width { grid-column: 1 / -1; }

.form-buttons { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 30px; 
    gap: 15px; 
}

.form-btn { 
    padding: 12px 30px; 
    border: none; 
    border-radius: 6px; 
    font-size: 1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.btn-prev { background-color: #e0e0e0; color: #555555; max-width: 200px; flex: 1; }
.btn-prev:hover { background-color: #cccccc; }
.btn-next { background-color: var(--primary-blue); color: #ffffff; }
.btn-next:hover { background-color: #1a8ccb; }
.btn-submit { background-color: #28a745; color: #ffffff; max-width: 300px; flex: 2; width: 100%; border: none; cursor: pointer; }
.btn-submit:hover { background-color: #218838; }

.package-description-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-blue);
    padding: 0 15px;
    margin-top: 0;
    border-radius: 0 4px 4px 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.package-description-box.active {
    margin-top: 15px;
    padding: 15px;
    max-height: 200px;
    opacity: 1;
}

/* Confirmation Step Details */
#confirmation-details {
    text-align: left;
    background-color: var(--bg-light-gray);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.confirmation-intro {
    text-align: center;
    font-size: 1.05rem;
    color: #555555;
    margin-bottom: 25px;
}

.confirmation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.confirmation-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirmation-item {
    margin-bottom: 15px;
}

.confirmation-item span {
    display: block;
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 4px;
}

.confirmation-item p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-color-main);
    margin: 0;
    word-wrap: break-word;
}

.confirmation-total {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.confirmation-notice {
    text-align: center;
    font-size: 0.9rem;
    color: #777777;
    margin-top: 25px;
    background-color: #e9f5ff;
    padding: 10px;
    border-radius: 6px;
}

/* My Orders Page */
.my-orders-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.order-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 20px;
    text-decoration: none;
    color: var(--text-color-main);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 5px solid var(--primary-blue);
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.order-card-header, .order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #777777;
}

.order-card-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.order-card-body strong {
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.order-card-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

/* Status Badges */
.status-badge { 
    padding: 5px 14px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    color: #ffffff; 
    display: inline-block;
}
.status-badge.status-pending { background-color: var(--warning-amber); color: #000000; }
.status-badge.status-dp_received { background-color: #11b6c4 !important; color: #ffffff !important; }
.status-badge.status-confirmed { background-color: #17a2b8; }
.status-badge.status-completed { background-color: var(--success-green); }
.status-badge.status-cancelled { background-color: var(--danger-red); }

/* -------------------------------------------------------------------
   11. AUTHENTICATION PAGES (LOGIN & REGISTER) - AURORA GLASSMORPHISM
   ------------------------------------------------------------------- */
.login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: calc(100vh - 80px);
    
    background: linear-gradient(-45deg, #c2e59c, #64b3f4, #ffb7b2, #e284ff);
    background-size: 400% 400%;
    animation: auroraBG 15s ease infinite;
}

@keyframes auroraBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-page-wrapper .container-auth {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    
    position: relative;
    overflow: hidden;
    width: 850px;
    max-width: 100%;
    min-height: 550px;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container { left: 0; width: 50%; z-index: 2; }
.sign-up-container { left: 0; width: 50%; opacity: 0; z-index: 1; }

.login-page-wrapper form {
    background: transparent; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

.login-page-wrapper .auth-title {
    font-weight: 800;
    margin: 0 0 25px 0;
    color: #1f2937;
    font-size: 2.4rem;
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.6);
}

.login-page-wrapper .auth-p {
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    margin: 20px 0 30px;
    color: #ffffff;
}

.login-page-wrapper .auth-input-field {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 10px 0;
    width: 100%;
    font-size: 14.5px;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-page-wrapper .auth-input-field::placeholder { color: #6b7280; }

.login-page-wrapper .auth-input-field:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.login-page-wrapper .auth-btn {
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.login-page-wrapper .auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.5);
}

.login-page-wrapper .auth-btn.ghost {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    backdrop-filter: blur(5px);
    box-shadow: none;
}

.login-page-wrapper .auth-btn.ghost:hover {
    background: #ffffff;
    color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.overlay-auth {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: #ffffff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px; 
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left { transform: translateX(-20%); }
.overlay-right { right: 0; transform: translateX(0); }
.overlay-panel .auth-title { color: #ffffff; text-shadow: none; }

.container-auth.right-panel-active .sign-in-container { transform: translateX(100%); opacity: 0; }
.container-auth.right-panel-active .sign-up-container { transform: translateX(100%); opacity: 1; z-index: 5; animation: show 0.6s; }
.container-auth.right-panel-active .overlay-container { transform: translateX(-100%); }
.container-auth.right-panel-active .overlay-auth { transform: translateX(50%); }
.container-auth.right-panel-active .overlay-left { transform: translateX(0); }
.container-auth.right-panel-active .overlay-right { transform: translateX(20%); }

@keyframes show {
    0%, 49.99% { opacity: 0; z-index: 1; }
    50%, 100% { opacity: 1; z-index: 5; }
}

@media (max-width: 768px) {
    .container-auth {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 20px;
    }
    
    .auth-slider > .form-container {
        background: transparent;
    }

    .login-page-wrapper form {
        padding: 40px 20px;
    }
    
    .mobile-toggle-auth a {
        color: #6366f1;
        background: rgba(255, 255, 255, 0.7);
        padding: 4px 10px;
        border-radius: 20px;
        text-decoration: none;
    }
}

/* -------------------------------------------------------------------
   12. ADMIN LOGIN MODAL - GLASSMORPHISM & NEON GLOW STYLE
   ------------------------------------------------------------------- */
.admin-modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(7, 10, 18, 0.85); 
    backdrop-filter: blur(10px);
    justify-content: center; 
    align-items: center; 
}

.admin-modal.show { 
    display: flex; 
    animation: fadeInModal 0.4s ease-out forwards;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.admin-modal-content { 
    background: rgba(20, 25, 40, 0.65); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px; 
    padding: 40px 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(99, 102, 241, 0.15); 
    position: relative; 
    max-width: 420px; 
    width: 90%; 
    color: #ffffff;
    text-align: center;
}

.admin-modal-content .admin-logo-modal {
    filter: invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    margin-bottom: 20px;
    height: 55px;
}

.close-admin-modal { 
    color: rgba(255, 255, 255, 0.5); 
    position: absolute; 
    top: 15px; 
    right: 25px; 
    font-size: 32px; 
    font-weight: 300; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.close-admin-modal:hover { 
    color: #ef4444; 
    transform: rotate(90deg);
}

.admin-login-wrapper { padding: 10px 0; }
.admin-login-right { flex: 1; text-align: center; }

.admin-login-right h2 { 
    font-size: 2rem; 
    margin-bottom: 5px; 
    font-weight: 700; 
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.admin-login-subtitle { 
    font-size: 0.9rem; 
    color: #94a3b8; 
    margin-bottom: 30px; 
}

#admin-modal-login-form .input-group {
    position: relative;
    margin-bottom: 20px;
}

#admin-modal-login-form .input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1; 
    font-size: 1.1rem;
    z-index: 10;
}

#admin-modal-login-form input {
    width: 100%;
    padding: 16px 20px 16px 50px; 
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

#admin-modal-login-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#admin-modal-login-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.admin-modal-login-btn { 
    width: 100%; 
    padding: 16px; 
    background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%); 
    color: #ffffff; 
    border: none; 
    border-radius: 12px; 
    font-size: 1.05rem; 
    font-weight: 600; 
    letter-spacing: 1px;
    cursor: pointer; 
    transition: all 0.3s ease; 
    margin-top: 15px; 
    text-transform: uppercase;
}

.admin-modal-login-btn:hover { 
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%); 
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.admin-modal-login-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* -------------------------------------------------------------------
   13. INVOICE PAGE & PRECISION A4 PRINT STYLES
   ------------------------------------------------------------------- */
.invoice-page-wrapper {
    background-color: #f8fafc;
    padding: 40px 20px;
    box-sizing: border-box;
}

.invoice-container, #print-invoice-container {
    max-width: 800px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background-color: #ffffff !important;
    padding: 40px 45px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
    font-family: 'Poppins', sans-serif !important;
    color: #1e293b !important;
}

.invoice-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    border-bottom: 2px solid #1e293b !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}

.invoice-logo {
    height: 50px !important;
    width: auto !important;
}

.invoice-header .header-text {
    text-align: right !important;
}

.invoice-header h2 {
    margin: 0 0 6px 0 !important;
    font-size: 24pt !important;
    font-weight: 800 !important;
    color: #1e2139 !important;
    letter-spacing: 1.5px !important;
}

.invoice-header p {
    margin: 3px 0 !important;
    font-size: 8.5pt !important;
    color: #64748b !important;
}

.invoice-header p span {
    color: #0f172a !important;
    font-weight: 600 !important;
}

.invoice-details {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.detail-section {
    flex: 1 !important;
    width: 50% !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 16px 18px !important;
    box-sizing: border-box !important;
}

.detail-section h4 {
    font-size: 8.5pt !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    margin: 0 0 8px 0 !important;
    border-bottom: 1px solid #cbd5e1 !important;
    padding-bottom: 6px !important;
    letter-spacing: 0.5px !important;
}

.detail-section p {
    margin: 4px 0 !important;
    font-size: 9pt !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
}

.invoice-table, 
#print-invoice-container table.invoice-table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
    margin-bottom: 24px !important;
}

.invoice-table th, 
.invoice-table td,
#print-invoice-container table.invoice-table th, 
#print-invoice-container table.invoice-table td {
    border: 1px solid #cbd5e1 !important;
    padding: 10px 14px !important;
    font-size: 9pt !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.invoice-table th, 
#print-invoice-container table.invoice-table th {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.invoice-table tr.row-subtotal td {
    background-color: #f8fafc !important;
    border-top: 2px solid #0f172a !important;
}

.invoice-table tr.row-summary td {
    background-color: #ffffff !important;
}

.invoice-table tr.row-total td {
    background-color: #fef2f2 !important;
    border-top: 2px solid #dc2626 !important;
}

.invoice-table tr.row-lunas td {
    background-color: #ecfdf5 !important;
    border-top: 2px solid #059669 !important;
}

.invoice-sk {
    background-color: #fafafa !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 8.5pt !important;
    color: #475569 !important;
}

.invoice-sk h4 {
    margin: 0 0 6px 0 !important;
    font-size: 9pt !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.invoice-footer {
    border-top: 2px solid #0f172a !important;
    padding-top: 14px !important;
    margin-top: 20px !important;
    text-align: center !important;
    width: 100% !important;
}

.invoice-footer h4 {
    margin: 0 0 6px 0 !important;
    font-size: 9.5pt !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.payment-methods-grid {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin: 8px 0 12px 0 !important;
}

.payment-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-size: 8pt !important;
    text-align: center !important;
}

.payment-card strong {
    color: #1e293b !important;
    display: block !important;
}

.invoice-footer .print-thankyou {
    margin: 4px 0 !important;
    font-style: italic !important;
    font-size: 8pt !important;
    color: #64748b !important;
}

.invoice-footer .print-contact {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin-top: 10px !important;
    font-size: 8pt !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 8mm 12mm;
    }

    body > * {
        display: none !important;
    }

    #print-invoice-container {
        display: block !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: #ffffff !important;
    }

    #print-invoice-container * {
        visibility: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #print-invoice-container .invoice-header,
    #print-invoice-container .invoice-details {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    #print-invoice-container .detail-section {
        width: 48% !important;
    }

    #print-invoice-container table.invoice-table {
        display: table !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }

    #print-invoice-container table.invoice-table tr {
        display: table-row !important;
    }

    #print-invoice-container table.invoice-table th,
    #print-invoice-container table.invoice-table td {
        display: table-cell !important;
    }

    #print-invoice-container .payment-methods-grid,
    #print-invoice-container .print-contact {
        display: flex !important;
        justify-content: center !important;
    }
}

/* -------------------------------------------------------------------
   14. TOAST NOTIFICATIONS - DARK GLASSMORPHISM NEON
   ------------------------------------------------------------------- */
#toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    font-weight: 500;
}

.toast.success { 
    border-bottom: 3px solid #10b981; 
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25); 
}
.toast.error { 
    border-bottom: 3px solid #ef4444; 
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.25); 
}
.toast.info { 
    border-bottom: 3px solid #3b82f6; 
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.25); 
}

.toast i { font-size: 1.5rem; }
.toast.success i { color: #10b981; filter: drop-shadow(0 0 8px rgba(16,185,129,0.6)); }
.toast.error i { color: #ef4444; filter: drop-shadow(0 0 8px rgba(239,68,68,0.6)); }
.toast.info i { color: #3b82f6; filter: drop-shadow(0 0 8px rgba(59,130,246,0.6)); }

.toast.show { opacity: 1; transform: translateX(0); }
.toast.hide { opacity: 0; transform: translateX(120%); }

.slider-promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    padding: 10px;
}

.slider-promo-overlay.show { opacity: 1; }

.slider-promo-overlay > .close-promo-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1.6rem;
    line-height: 33px;
    cursor: pointer;
    z-index: 15;
    transition: background-color 0.3s ease;
    padding: 0;
}

.slider-promo-overlay > .close-promo-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.promo-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.promo-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-slide img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    border-radius: 8px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.slider-nav:hover { background-color: rgba(0, 0, 0, 0.6); }
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }

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

.promo-dot {
    display: inline-block;
    width: 100px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.promo-dot.active {
    background-color: rgba(255, 255, 255, 0.9);
}

/* -------------------------------------------------------------------
   15. MEDIA QUERIES & RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------------- */
@media (max-width: 992px) {
    .portfolio-grid {
        column-count: 2;
    }

    .package-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .package-detail-title {
        font-size: 2rem;
        margin-top: 20px;
    }

    .package-detail-price-block .item-price {
        font-size: 2.5rem;
    }

    #package-detail-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .section { padding: 60px 20px; }
    .hero-content h1 { font-size: 2.5em; }
    .section-title { font-size: 2em; }
    .d-none-mobile { display: none; }

    .nav-links-container-desktop { display: none; }
    .mobile-actions { display: flex; align-items: center; gap: 15px; }
    #auth-section-mobile a { color: var(--link-color-main); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
    
    .hamburger-menu { display: block; }
    .nav-links-container-mobile { 
        display: flex;
        flex-direction: column;
        position: fixed; 
        top: 0; 
        left: -300px;
        width: 300px; 
        height: 100vh; 
        background-color: #ffffff; 
        box-shadow: 2px 0 10px rgba(0,0,0,0.1); 
        transition: left 0.3s ease-in-out; 
        z-index: 9999;
        padding-top: 20px;
        box-sizing: border-box;
    }

    .nav-links-container-mobile.active { left: 0; }
    .sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
    .sidebar-logo { height: 35px; }
    .nav-links-container-mobile .nav-links { flex-direction: column; align-items: flex-start; list-style: none; padding: 20px; margin: 0; flex-grow: 1; }
    .nav-links-container-mobile .nav-links li { margin: 0 0 25px 0; width: 100%; }
    .nav-links-container-mobile .nav-links a { font-size: 1.1rem; padding: 0; border-bottom: none !important; color: var(--link-color-main); text-decoration: none; display: flex; align-items: center; gap: 15px; }
    .nav-links-container-mobile .nav-links a i { font-size: 1.2rem; width: 25px; text-align: center; }
    .sidebar-footer { padding: 20px; border-top: 1px solid var(--border-color); }
    .sidebar-footer p { font-weight: bold; margin: 0 0 10px 0; }

    .info-grid, .pricelist-grid, .portfolio-grid, .footer-grid, .confirmation-grid, .form-grid { 
        grid-template-columns: 1fr; 
    }

    .whatsapp-float { width: 60px; height: 60px; padding: 0; border-radius: 50%; justify-content: center; }
    .order-form-container, .profile-container { padding: 20px; } 
    .order-form-container h2, .profile-container h2 { font-size: 2rem; } 
    .progress-bar .step-label { font-size: 0.7rem; }
    .form-buttons { flex-direction: column-reverse; }
    .form-btn, .btn-prev, .btn-submit { max-width: 100%; width: 100%; }

    .fanned-gallery-container { height: 320px; }
    .fanned-card { width: 200px; height: 280px; }
    .fanned-card.card-1 { transform: translateX(-100px) rotate(-16deg) scale(0.85); }
    .fanned-card.card-2 { transform: translateX(-50px) rotate(-8deg) scale(0.95); }
    .fanned-card.card-4 { transform: translateX(50px) rotate(8deg) scale(0.95); }
    .fanned-card.card-5 { transform: translateX(100px) rotate(16deg) scale(0.85); }

    .login-page-wrapper {
        align-items: flex-start;
        padding-top: 60px;
    }

    .container-auth {
        box-shadow: none;
        width: 100%;
        min-height: auto;
        border-radius: 0;
        overflow: hidden;
    }

    .overlay-container { display: none; }
    
    .form-container {
        position: static;
        width: 100%;
        height: auto;
        transition: transform 0.6s ease-in-out;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .auth-slider {
        display: flex;
        width: 200%;
        transition: transform 0.6s ease-in-out;
    }

    .auth-slider > .form-container {
        width: 50%;
        flex-shrink: 0;
    }
    
    .container-auth.right-panel-active .auth-slider {
        transform: translateX(-50%);
    }

    .login-page-wrapper form {
        padding: 0 20px;
    }

    .mobile-toggle-auth {
        display: block !important;
        margin-top: 25px;
        font-size: 0.9rem;
        color: #555555;
    }
    
    .mobile-toggle-auth a {
        font-weight: bold;
        color: var(--text-color-main);
        cursor: pointer;
    }

    #toast-container {
        top: 10px;
        left: 10px;
        right: 10px;
        width: auto;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        column-count: 1;
    }
}

@media (max-width: 480px) {
    .fanned-gallery-container { height: 280px; }
    .fanned-card { width: 160px; height: 240px; }
    .fanned-card.card-1 { transform: translateX(-60px) rotate(-15deg) scale(0.8); }
    .fanned-card.card-2 { transform: translateX(-30px) rotate(-8deg) scale(0.9); }
    .fanned-card.card-3 { transform: translateX(0) rotate(0deg) scale(1); }
    .fanned-card.card-4 { transform: translateX(30px) rotate(8deg) scale(0.9); }
    .fanned-card.card-5 { transform: translateX(60px) rotate(15deg) scale(0.8); }
    .featured-btn { width: 100%; justify-content: center; }

    .package-detail-title { font-size: 1.8rem; }
    .package-detail-price-block .item-price { font-size: 2.2rem; }
    #package-detail-content { padding: 25px; }
    .tab-link { margin: 0 12px; font-size: 0.95rem; }
}

/* -------------------------------------------------------------------
   AI CHATBOT WIDGET STYLES
   ------------------------------------------------------------------- */
.ai-chat-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #22a7f0 0%, #1a1a1a 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-chat-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ai-chat-box {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: 80vh;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    animation: slideUp 0.3s ease-out forwards;
}

.ai-chat-box.show {
    display: flex;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-chat-header {
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-title i {
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.ai-chat-title strong {
    display: block;
    font-size: 0.95rem;
}

.ai-status {
    font-size: 0.75rem;
    color: #a0aec0;
}

.close-ai-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.ai-chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: var(--bg-light-gray);
}

.ai-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.ai-message.bot {
    background-color: #ffffff;
    color: var(--text-color-main);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.ai-message.user {
    background-color: var(--accent-color);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-chat-footer {
    padding: 12px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
}

#ai-chat-form {
    display: flex;
    gap: 8px;
}

#ai-chat-input {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
}

#ai-chat-input:focus {
    border-color: var(--primary-blue);
}

#ai-send-btn {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

#ai-send-btn:hover {
    background-color: var(--primary-blue);
}

.ai-typing {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
}

.ai-typing span {
    width: 6px;
    height: 6px;
    background-color: #888;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.ai-typing span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 768px) {
    .ai-chat-float {
        bottom: 85px;
        padding: 10px 14px;
    }
    .ai-chat-box {
        bottom: 80px;
        right: 10px;
        left: 10px;
        width: auto;
        height: 450px;
    }
}

.quick-prompt-btn {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.78rem;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.quick-prompt-btn:hover {
    background-color: #22a7f0;
    color: #ffffff;
    border-color: #22a7f0;
}

/* ===================================================================
   TAMBAHAN: MICRO-INTERACTIONS & ANIMASI
   =================================================================== */
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-ai {
    0% { box-shadow: 0 0 0 0 rgba(34, 167, 240, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(34, 167, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 167, 240, 0); }
}

.whatsapp-float {
    animation: pulse-wa 2s infinite;
}

.ai-chat-float {
    animation: pulse-ai 2s infinite;
    animation-delay: 1s;
}

.whatsapp-float:hover, .ai-chat-float:hover {
    animation: none;
    transform: scale(1.08) translateY(-3px);
}

.btn-cta:active, 
.btn-info:active, 
.featured-btn:active, 
.btn-order-package:active, 
.btn-submit:active,
.hero-section .hero-content .btn-cta-hero:active,
.nav-links-container-desktop .nav-links a[data-page="order"]:active,
.quick-prompt-btn:active {
    transform: scale(0.92) !important;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* ===================================================================
   TRANSISI HALAMAN (PAGE TRANSITION)
   =================================================================== */
.page-transition {
    animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0); 
    }
}

/* ===================================================================
   PENINGKATAN VISUAL KARTU HARGA & BADGE POPULER
   =================================================================== */
.pricelist-item {
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pricelist-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.pricelist-item.highlight-card {
    border: 1px solid rgba(34, 167, 240, 0.4);
}

.best-seller-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.5);
    animation: badge-glow 2s infinite;
}

@keyframes badge-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}