/* ============================================
   APPLE-INSPIRED DESIGN SYSTEM
   Clean. Minimal. Elegant.
   ============================================ */

@import url('fonts.css');

:root {
    --primary: #1d1d1f;
    --secondary: #86868b;
    --accent: #c8a96e;
    --bg: #fbfbfd;
    --bg-dark: #1d1d1f;
    --text: #1d1d1f;
    --text-secondary: #6e6e73;
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --radius: 20px;
    --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
    overflow-x: clip; /* prevents breaking position:sticky (Apple sticky parallax) */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--primary);
}

/* ============================================
   REVEAL ANIMATIONS - Apple Style
   Slow, elegant, minimal movement
   ============================================ */
body.reveal-ready .rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s cubic-bezier(0.28, 0.11, 0.32, 1),
                transform 1s cubic-bezier(0.28, 0.11, 0.32, 1);
}
body.reveal-ready .rv.rv-left {
    opacity: 0;
    transform: translateX(-30px);
}
body.reveal-ready .rv.rv-right {
    opacity: 0;
    transform: translateX(30px);
}
body.reveal-ready .rv.rv-scale {
    opacity: 0;
    transform: scale(0.95);
}

.rv.visible,
body.reveal-ready .rv.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children */
body.reveal-ready .rv-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.28, 0.11, 0.32, 1),
                transform 0.8s cubic-bezier(0.28, 0.11, 0.32, 1);
}
body.reveal-ready .rv-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
body.reveal-ready .rv-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
body.reveal-ready .rv-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
body.reveal-ready .rv-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
body.reveal-ready .rv-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
body.reveal-ready .rv-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
body.reveal-ready .rv-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================
   NAVBAR - Apple Style
   ============================================ */
.nav-landing {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 48px;
    display: flex;
    align-items: center;
    background: rgba(251,251,253,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0,0,0,0.08);
    transition: background 0.3s;
}
.nav-landing .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.nav-brand {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-brand i { color: var(--accent); font-size: 0.9rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.25s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 980px;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    transition: all 0.3s !important;
}
.nav-cta:hover { opacity: 0.8 !important; }
.nav-mobile-toggle {
    display: none;
    background: none; border: none;
    font-size: 1.2rem; color: var(--primary);
    cursor: pointer;
}

/* ============================================
   HERO - Full screen, centered, Apple style
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 80px;
    position: relative;
    background: var(--bg);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--primary);
    max-width: 900px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.35s both;
}
.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.65s both;
}
.btn-primary-apple {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0071e3;
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.01em;
}
.btn-primary-apple:hover { background: #0077ED; transform: scale(1.02); color: #fff; }
.btn-secondary-apple {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #0071e3;
    padding: 0.85rem 2rem;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-secondary-apple:hover { text-decoration: underline; }
.hero-visual {
    margin-top: 4rem;
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-visual svg { width: 100%; height: auto; }

/* ============================================
   SECTION COMMON - Apple Style
   ============================================ */
.sec { padding: 120px 0; }
.sec-sm { padding: 80px 0; }
.sec-dark { background: var(--bg-dark); color: #f5f5f7; }
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4, .sec-dark h5, .sec-dark h6 { color: #f5f5f7; }
.sec-alt { background: #f5f5f7; }
.sec-center { text-align: center; }
.sec .container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }

.sec-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}
.sec-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.sec-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}
.sec-center .sec-sub { margin: 0 auto 4rem; }

/* ============================================
   STATISTICS - Apple Numbers
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.stat-item {
    background: var(--card-bg);
    padding: 3rem 2rem;
    text-align: center;
}
.stat-num {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   PROBLEM - Clean Cards
   ============================================ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.problem-item {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}
.problem-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.problem-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #fff3e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #e65100;
    margin-bottom: 1.25rem;
}
.problem-item h5 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.problem-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TRANSFORMATION - Horizontal Steps
   ============================================ */
.steps-row {
    display: flex;
    gap: 0;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
}
.step-item {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}
.step-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.step-circle {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.3rem;
    transition: transform 0.4s;
}
.step-item:hover .step-circle { transform: scale(1.1); }
.step-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.step-connector {
    width: 60px;
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin-top: 32px;
    flex-shrink: 0;
}

/* ============================================
   SERVICES - Clean Grid
   ============================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.service-item {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}
.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.4s;
}
.service-item:hover .service-icon-wrap { transform: scale(1.08); }
.service-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.service-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   PARALLAX - Apple Sticky Scroll
   ============================================ */
.parallax-sec {
    height: 300vh;
    background: var(--bg-dark);
    position: relative;
}
.para-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.para-sticky::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200,169,110,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.para-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
.para-content { position: relative; }
.para-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #f5f5f7;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.para-content p {
    font-size: 1.1rem;
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 440px;
}
.para-progress {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255,255,255,0.06);
}
.para-progress .pbar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.75rem;
}
.para-progress .pbar-fill {
    height: 100%;
    background: linear-gradient(90deg, #86868b, var(--accent));
    border-radius: 4px;
    transition: width 0.15s ease;
    width: 0%;
}
.para-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    will-change: transform;
}
.para-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}
.para-stage img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.para-stage-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    transition: opacity 0.4s;
    pointer-events: none;
}

/* ============================================
   HOW IT WORKS - Numbered List
   ============================================ */
.how-list { max-width: 700px; margin: 0 auto; }
.how-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.how-item:last-child { border-bottom: none; }
.how-item:hover { padding-left: 0.5rem; }
.how-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0,0,0,0.08);
    line-height: 1;
    min-width: 60px;
    transition: color 0.3s;
}
.how-item:hover .how-num { color: var(--accent); }
.how-text h5 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}
.how-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   RAB SAMPLE - Split Layout
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.rab-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.rab-img-wrap img { width: 100%; display: block; }
.rab-checklist { list-style: none; padding: 0; }
.rab-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}
.rab-checklist li:hover { padding-left: 0.5rem; }
.rab-checklist li i {
    color: #34c759;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(52,199,89,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   PROJECT TYPE
   ============================================ */
.type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.type-card {
    background: var(--card-bg);
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
}
.type-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.type-icon {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    display: block;
    transition: transform 0.4s;
}
.type-card:hover .type-icon { transform: scale(1.15); }
.type-card h5 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.type-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }

.budget-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}
.budget-pill {
    padding: 0.6rem 1.5rem;
    border-radius: 980px;
    background: rgba(0,0,0,0.04);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.budget-pill:hover { background: var(--primary); color: #fff; }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.port-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}
.port-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.port-img { height: 240px; overflow: hidden; position: relative; }
.port-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.port-card:hover .port-img img { transform: scale(1.04); }
.port-body { padding: 1.5rem; }
.port-body h5 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.port-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.port-meta span { font-size: 0.8rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.3rem; }
.port-meta i { font-size: 0.7rem; }

/* Before/After */
.ba-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: ew-resize;
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}
.ba-wrap img { width: 100%; display: block; }
.ba-wrap .ba-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
}
.ba-wrap .ba-front img { width: 100%; height: 100%; object-fit: cover; }
.ba-wrap .ba-line {
    position: absolute; top: 0; left: 50%;
    width: 2px; height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.ba-wrap .ba-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
}

/* Before/After - halaman detail portfolio (kelas .ba-slider) */
.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    background: #000;
}
.ba-slider > img { width: 100%; display: block; }
.ba-slider .ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 50% 0 0);
}
.ba-slider .ba-before img { width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}
.ba-slider .ba-handle::after {
    content: "\21C4";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   PRICING - Apple Store Style
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.price-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2.5rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    position: relative;
}
.price-card:hover { box-shadow: var(--shadow-md); }
.price-card.featured {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.price-card.featured h5, .price-card.featured .price, .price-card.featured .price-desc { color: #fff; }
.price-card.featured .feat-item { color: rgba(255,255,255,0.8); }
.price-card.featured .feat-item i { color: var(--accent); }
.price-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 0.25rem 1rem;
    border-radius: 0 0 10px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.price-card h5 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.price-card .price {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.price-card .price-desc { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 2rem; }
.feat-list { list-style: none; padding: 0; text-align: left; }
.feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.feat-item i { color: #34c759; font-size: 0.8rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.test-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
}
.test-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.test-stars { color: #ff9500; font-size: 0.85rem; margin-bottom: 1.25rem; letter-spacing: 2px; }
.test-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 2rem;
    font-weight: 400;
}
.test-author { display: flex; align-items: center; gap: 0.75rem; }
.test-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.test-name { font-weight: 600; font-size: 0.9rem; }
.test-pos { font-size: 0.8rem; color: var(--text-secondary); }

/* ============================================
   FAQ - Minimal Accordion
   ============================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--primary);
    transition: color 0.3s;
}
.faq-q:hover { color: var(--accent); }
.faq-q i {
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: var(--text-secondary);
}
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.28, 0.11, 0.32, 1),
                padding 0.4s;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
    padding-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CONSULTATION FORM
   ============================================ */
.form-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
}
.form-card-inner { padding: 3.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: #fafafa;
    transition: all 0.3s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0071e3;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,113,227,0.1);
}
.btn-submit-apple {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #0071e3;
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.01em;
    margin-top: 1.5rem;
}
.btn-submit-apple:hover { background: #0077ED; transform: scale(1.01); }

/* ============================================
   FINAL CTA - Dark Section
   ============================================ */
.cta-dark {
    padding: 160px 2rem;
    text-align: center;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.cta-dark::before {
    content: '';
    position: absolute;
    top: -300px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(200,169,110,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.cta-dark h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #f5f5f7;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    position: relative;
}
.cta-dark p {
    font-size: 1.2rem;
    color: #86868b;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    position: relative;
}
.cta-dark .hero-actions { position: relative; }

/* ============================================
   FOOTER - Apple Style
   ============================================ */
.footer {
    background: #f5f5f7;
    padding: 3rem 0 2rem;
}
.footer .container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-top: 0.75rem; max-width: 300px; }
.footer h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; transition: color 0.25s; }
.footer ul a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: center; gap: 0.5rem; }
.footer-contact i { font-size: 0.8rem; color: var(--text-secondary); width: 16px; }
.footer-bottom {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }

/* ============================================
   MOBILE BOTTOM TAB BAR (app-like)
   ============================================ */
.mobile-tabbar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1001;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
    padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
    background: rgba(251,251,253,0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 0.5px solid rgba(0,0,0,0.08);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
}
.mobile-tab-group { display: flex; align-items: stretch; justify-content: space-around; flex: 1; }
.mobile-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    padding: 4px 2px;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.2s;
}
.mobile-tab i { font-size: 1.2rem; }
.mobile-tab:active { color: var(--primary); }
.mobile-tab-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    margin: -24px 0.25rem 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 600;
    border: 4px solid var(--bg);
    box-shadow: 0 6px 18px rgba(37,211,102,0.45);
    transition: transform 0.2s;
}
.mobile-tab-cta i { font-size: 1.35rem; margin-bottom: 1px; }
.mobile-tab-cta:active { transform: scale(0.96); }

@media (min-width: 769px) {
    .mobile-tabbar { display: none !important; }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 1024px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card.featured { transform: none; }
}
@media (max-width: 768px) {
    .sec { padding: 80px 0; }
    .nav-landing .container { justify-content: center; }
    .nav-links { display: none; }
    .nav-mobile-toggle { display: none; }
    .mobile-tabbar { display: flex; }
    body { padding-bottom: 72px; }
    .hero h1 { font-size: 2.8rem; }
    .problem-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .type-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .test-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-card-inner { padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-row { flex-wrap: wrap; gap: 2rem; }
    .step-connector { display: none; }
    .budget-row { flex-wrap: wrap; }
    .parallax-sec { height: 250vh; }
    .para-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .para-content p { margin: 0 auto 2rem; }
    .para-stage { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .stat-grid { grid-template-columns: 1fr; }
    .type-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================
   MODERN ANIMATIONS
   AOS support, typewriter, shine, scrollspy, back-to-top
   ============================================ */

/* --- AOS SAFE GATING ---
   Elemen [data-aos] selalu tampil lebih dulu. Baru "disembunyikan" oleh CSS AOS
   ketika JS menambahkan body.aos-ready (library terunduh + siap).
   Jika JS mati / CDN gagal, konten tetap terlihat. */
body:not(.aos-ready) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* --- HERO TYPEWRITER --- */
.hero-typed {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 640px;
    font-size: 0.98rem;
    color: var(--text-secondary);
    margin: -2rem 0 3rem;
    min-height: 1.6em;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-typed-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(200, 169, 110, 0.4);
    border-radius: 980px;
    padding: 0.28rem 0.8rem;
    white-space: nowrap;
}
.hero-typed-text {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}
.typed-caret {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: caretBlink 0.9s steps(1) infinite;
}
@keyframes caretBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* --- HERO TITLE: word-by-word reveal (JS splits h1) --- */
.hero h1 .hw {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    animation: hwIn 0.7s cubic-bezier(0.28, 0.11, 0.32, 1) forwards;
}
@keyframes hwIn { to { opacity: 1; transform: translateY(0); } }

/* --- SHINE SWEEP on primary buttons --- */
.btn-primary-apple {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-primary-apple::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -90%;
    width: 45%;
    height: 140%;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.38) 50%, transparent 80%);
    transform: skewX(-18deg);
    transition: left 0.65s ease;
    pointer-events: none;
    z-index: -1;
}
.btn-primary-apple:hover::after { left: 140%; }

/* --- RAB IMAGE: zoom-in saat reveal --- */
.rab-img-wrap img { transition: transform 1.2s cubic-bezier(0.28, 0.11, 0.32, 1); }
body.reveal-ready .rab-img-wrap.rv:not(.visible) img { transform: scale(1.06); }

/* --- NAV SCROLLSPY: garis accent di menu aktif --- */
.nav-links a { position: relative; }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.nav-cta::after { display: none; }

/* --- BACK TO TOP with progress ring --- */
.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
    z-index: 999;
    padding: 0;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top.show:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2); }
.back-top svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.back-top circle { fill: none; stroke-width: 2.4; }
.bt-bg { stroke: rgba(0, 0, 0, 0.08); }
.bt-progress {
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-dasharray: 97.4;
    stroke-dashoffset: 97.4;
    transition: stroke-dashoffset 0.15s linear;
}
.back-top i { font-size: 0.85rem; color: var(--primary); position: relative; z-index: 1; }

@media (max-width: 768px) {
    .back-top { right: 14px; bottom: 86px; }
    .hero-typed { margin-top: -1.5rem; }
}

/* ============================================
   BLUEPRINT FLOOR PLAN ORNAMENTS
   Kertas grid + denah bergambar sendiri (stroke draw)
   ============================================ */
.hero > * { position: relative; z-index: 1; }

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(29, 29, 31, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 29, 31, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 25%, transparent 78%);
}

.hero-fp {
    position: absolute;
    z-index: 0;
    width: 300px;
    pointer-events: none;
    animation: fpIn 1.4s ease 1s both, fpFloat 7s ease-in-out 2.6s infinite alternate;
}
.hero-fp svg { width: 100%; height: auto; opacity: 0.42; }
.hero-fp-left { left: -24px; top: 30%; }
.hero-fp-left svg { transform: rotate(-4deg); }
.hero-fp-right { right: -24px; top: 20%; width: 285px; }
.hero-fp-right svg { transform: rotate(3deg); }
@keyframes fpIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fpFloat { from { transform: translateY(0); } to { transform: translateY(-16px); } }

/* Stroke "drawing" animation (pathLength=1 di setiap path) */
.fp-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: fpDraw 2.8s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}
.hero-visual .fp-draw { animation-duration: 3s; animation-delay: 1.7s; }
@keyframes fpDraw { to { stroke-dashoffset: 0; } }

.fp-label {
    opacity: 0;
    animation: fpLabelIn 0.9s ease 3.4s forwards;
}
.hero-visual .fp-label { animation-delay: 4.6s; }
@keyframes fpLabelIn { to { opacity: 1; } }

/* Watermark denah di section CTA gelap */
.cta-fp {
    position: absolute;
    right: -50px;
    bottom: -55px;
    width: 440px;
    z-index: 0;
    pointer-events: none;
}
.cta-fp svg { width: 100%; height: auto; opacity: 0.1; }
.cta-dark > .rv:not(.cta-fp) { position: relative; z-index: 1; }
body.reveal-ready .cta-fp.rv .fp-draw { animation-play-state: paused; }
body.reveal-ready .cta-fp.rv.visible .fp-draw { animation-play-state: running; }

@media (max-width: 1199px) {
    .hero-fp { display: none; }
}
@media (max-width: 768px) {
    .cta-fp { width: 260px; right: -60px; bottom: -40px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-fp, .fp-draw, .fp-label, .typed-caret { animation: none !important; }
    .hero-fp { opacity: 1 !important; }
    .fp-draw { stroke-dashoffset: 0 !important; }
    .fp-label { opacity: 1 !important; }
    .typed-caret { opacity: 1 !important; }
}

/* ============================================
   PRICING - center presisi untuk jumlah kartu berapa pun
   1 kartu -> tengah, 2 kartu -> kiri/kanan seimbang,
   3-4 kartu -> satu baris rata, selalu di-center
   ============================================ */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}
.price-card {
    flex: 1 1 280px;
    max-width: 360px;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-bar {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #0071e3);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
}
