/* =============================================
   DigitalinLabs — Enhanced Stylesheet
   ============================================= */

/* --- CSS Variables (Light Theme) --- */
:root {
    --bg-color: #ffffff;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary-bg: #f8fafc;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 12px 40px rgba(37, 99, 235, 0.15);
    --highlight: #2563eb;
    --border-color: #e2e8f0;
    --nav-height: 70px;
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* --- Dark Theme Variables --- */
[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --primary-color: #60a5fa;
    --primary-dark: #3b82f6;
    --primary-light: #1e3a5f;
    --secondary-bg: #1e293b;
    --card-bg: #1e293b;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --card-shadow-hover: 0 12px 40px rgba(96, 165, 250, 0.2);
    --highlight: #60a5fa;
    --border-color: #334155;
}

/* --- Base Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; /* Tambahkan ini */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%; /* Tambahkan ini */
    position: relative; /* Tambahkan ini */
}
img { max-width: 80%; display: block; }

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* --- Container --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   NAVBAR
   ============================================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

header.scrolled {
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.highlight { color: var(--highlight); }

nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition);
}

nav a:hover { background-color: var(--secondary-bg); color: var(--primary-color); }

.nav-cta {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
}

.nav-cta:hover { background-color: var(--primary-dark) !important; transform: translateY(-1px); }

#theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

#theme-toggle:hover { border-color: var(--primary-color); }

/* Hamburger */
#hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px;
}

#hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

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

/* =============================================
   SECTIONS — COMMON
   ============================================= */
.section { padding: 90px 0; }
.alt-bg { background-color: var(--secondary-bg); }

.section-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 50px;
    font-size: 0.95rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    text-align: center;
    padding: 110px 0 90px;
    overflow: hidden;
    background-color: var(--secondary-bg);
}

.hero-bg-shape {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 24px 40px;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 0 30px;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.stat-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

/* =============================================
   ABOUT
   ============================================= */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-badge { display: inline-block; margin-bottom: 16px; }

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-list {
    list-style: none;
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-list li {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.about-card-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    line-height: 1.5;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.about-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.about-card .card-emoji {
    font-size: 2rem;
    line-height: 1;
    display: block;
}

.about-card .card-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    display: block;
    word-break: break-word;
}

.ac-1 { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.ac-2 { background: linear-gradient(135deg, #fce7f3, #fdf4ff); }
.ac-3 { background: linear-gradient(135deg, #d1fae5, #ecfdf5); }
.ac-4 { background: linear-gradient(135deg, #fef3c7, #fffbeb); }

[data-theme="dark"] .ac-1 { background: linear-gradient(135deg, #1e3a5f, #1e293b); }
[data-theme="dark"] .ac-2 { background: linear-gradient(135deg, #3b1f2b, #1e293b); }
[data-theme="dark"] .ac-3 { background: linear-gradient(135deg, #14291e, #1e293b); }
[data-theme="dark"] .ac-4 { background: linear-gradient(135deg, #2d2005, #1e293b); }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background-color: var(--card-bg);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin: 0 0 20px;
    text-align: left;
}

.service-list li {
    font-size: 0.83rem;
    color: var(--text-muted);
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: '→ '; color: var(--primary-color); font-weight: 600; }

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

.card-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-color: transparent;
}

.card-cta h3, .card-cta p { color: #fff; }
.card-cta p { opacity: 0.85; }
.card-cta .btn-primary { background: rgba(255,255,255,0.25); box-shadow: none; }
.card-cta .btn-primary:hover { background: rgba(255,255,255,0.4); }
.card-cta:hover { border-color: transparent; }

/* =============================================
   PRICING
   ============================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 40px rgba(37, 99, 235, 0.2);
    transform: scale(1.04);
}

.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1.1;
}

.price span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 0.87rem;
    color: var(--text-muted);
}

.pricing-features li:has(✅) { color: var(--text-color); }

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

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

.portfolio-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.portfolio-item.hidden { display: none; }

.portfolio-thumb {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.pt-1 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.pt-2 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.pt-3 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.pt-4 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.pt-5 { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.pt-6 { background: linear-gradient(135deg, #fee2e2, #fecaca); }

.portfolio-info { padding: 20px; }

.portfolio-info h4 {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.portfolio-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
   .testimonials-wrapper {
    width: 100%; /* Tambahan Wajib */
    max-width: 860px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    box-sizing: border-box;
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

.av-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.av-2 { background: linear-gradient(135deg, #ec4899, #db2777); }
.av-3 { background: linear-gradient(135deg, #10b981, #059669); }
.av-4 { background: linear-gradient(135deg, #f59e0b, #d97706); }

.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 28px;
}

.testimonial-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-nav button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* =============================================
   FAQ
   ============================================= */
.faq-container {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: var(--primary-color); }

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: 'Poppins', sans-serif;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    padding-bottom: 20px;
}

.faq-question.active + .faq-answer { max-height: 300px; }

/* =============================================
   CONTACT
   ============================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 50px;
}

.contact-form-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 28px;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-icon { font-size: 1.4rem; }

.contact-item strong { display: block; font-size: 0.85rem; margin-bottom: 3px; }
.contact-item a, .contact-item span { font-size: 0.88rem; color: var(--text-muted); }
.contact-item a:hover { color: var(--primary-color); }

.contact-social { margin-top: 30px; }
.contact-social p { font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-btn {
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
    background: var(--card-bg);
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* =============================================
   ORDER MODAL
   ============================================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal-box {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.modal-close:hover { background: var(--secondary-bg); color: var(--text-color); }

.modal-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-service-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* =============================================
   FLOATING WA + BACK TO TOP
   ============================================= */
.floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background-color: #25D366;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-wa:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
    color: #fff;
}

#back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--card-shadow);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* =============================================
   FOOTER
   ============================================= */
footer {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo { font-size: 1.3rem; margin-bottom: 14px; }

.footer-brand p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-color);
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 0.87rem;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.83rem;
    color: var(--text-muted);
}

/* =============================================
   RESPONSIVE — Tablet
   ============================================= */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-4px); }
}


/* Fix review centering */
#testimonials .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-form-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 60px auto 0;
}
/* Memastikan form review mengambil lebar penuh dan rapi */
.review-form-wrapper input,
.review-form-wrapper textarea,
.review-form-wrapper select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    margin-top: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: var(--transition);
}

.review-form-wrapper input:focus,
.review-form-wrapper textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.review-form-wrapper label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    display: block;
}
.public-reviews {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
}

.star-rating {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.star {
    font-size: 2rem;
    color: transparent;
    -webkit-text-stroke: 2px #94a3b8;
    cursor: pointer !important;
    user-select: none;
    pointer-events: all !important;
    position: relative;
    z-index: 10;
    transition: all 0.2s ease;
    line-height: 1;
}

.star.active,
.star:hover {
    color: #f59e0b !important;
    -webkit-text-stroke: 2px #f59e0b;
}


.hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* =============================================
   RESPONSIVE — Tablet
   ============================================= */
   @media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-4px); }
}

/* =============================================
   RESPONSIVE — Mobile
   ============================================= */
@media (max-width: 768px) {
    :root { --nav-height: 60px; }

    .hero { padding: 70px 0 60px; }
    .hero h1 { font-size: 1.8rem; letter-spacing: -0.5px; }
    .hero p { font-size: 0.95rem; }
    .section-title { font-size: 1.5rem; }
    .section { padding: 60px 0; }

    /* Hero stats — tetap horizontal di mobile */
    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 16px 12px;
        gap: 0;
        max-width: 100%;
    }

    .stat-item { padding: 0 10px; }

    .stat-item strong { font-size: 1.3rem; }
    .stat-item span { font-size: 0.7rem; }

    .stat-divider {
        width: 1px;
        height: 40px;
    }

    /* Nav mobile */
    #hamburger { display: flex; }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-color);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 6px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    nav ul.open { display: flex; }
    nav a { padding: 12px 16px; display: block; border-radius: 8px; }
    .nav-cta { border-radius: 8px !important; }

    /* About */
    .about-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .about-visual { order: -1; }
    .about-card-stack { grid-template-columns: 1fr 1fr; gap: 10px; }
    .about-card { padding: 18px 10px; }
    .about-card .card-emoji { font-size: 1.5rem; }
    .about-card .card-label { font-size: 0.72rem; }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }

    /* Portfolio */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr; max-width: 100%; }

    /* Contact */
    .contact-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .contact-form-wrapper { padding: 20px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-brand { grid-column: span 2; }

    /* Floating WA */
    .floating-wa { padding: 10px 16px; font-size: 0.82rem; bottom: 16px; right: 16px; }
    #back-to-top { bottom: 70px; right: 16px; }

    /* Modal */
    .modal-box { padding: 24px 20px; }

    /* Logo */
    .logo-img { height: 45px; }

    /* Review */
    .review-form-wrapper { padding: 24px 16px; }
    .testimonial-card { padding: 24px 20px; }
}

/* =============================================
   RESPONSIVE — Small Mobile
   ============================================= */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .hero-stats { padding: 14px 8px; }
    .stat-item { padding: 0 8px; }
    .stat-item strong { font-size: 1.1rem; }
    .about-card .card-label { font-size: 0.65rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { padding: 11px 24px; font-size: 0.9rem; }
}
