:root {
    --gold:        #C9984A;
    --gold-light:  #E8C87A;
    --gold-pale:   #FDF6E3;
    --gold-border: rgba(201,152,74,.25);
    --dark:        #111827;
    --mid:         #374151;
    --muted:       #6B7280;
    --bg:          #FAFAF8;
    --white:       #FFFFFF;
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   24px;
    --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
    --shadow-md:   0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:   0 12px 40px rgba(0,0,0,.1);
    --transition:  .28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(13,17,23,.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    transition: background var(--transition), border-color var(--transition);
}
nav.scrolled {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(0,0,0,.07);
}
nav.scrolled .logo-text { color: var(--dark); }
nav.scrolled .logo-text span { color: var(--gold); }
nav.scrolled .nav-back {
    color: var(--mid);
    border-color: rgba(0,0,0,.12);
}
nav.scrolled .nav-back:hover {
    background: var(--gold-pale);
    color: var(--gold);
    border-color: var(--gold-border);
}
.nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 68px; padding: 0 56px; width: 100%; box-sizing: border-box;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; min-width: 0;
}
.logo-img {
    height: 30px; width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    min-width: 0;
}
.logo-img[src=""], .logo-img:not([src]) {
    display: none;
}
.logo-text {
    font-size: 15px; font-weight: 800; color: var(--white);
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.logo-text span { color: var(--gold-light); }
.nav-back {
    display: flex; align-items: center; gap: 8px;
    text-decoration: none; color: rgba(255,255,255,.65);
    font-size: 14px; font-weight: 600;
    padding: 7px 14px; border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,.12);
    white-space: nowrap; flex-shrink: 0;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.nav-back:hover {
    background: rgba(201,152,74,.15); color: var(--gold-light);
    border-color: rgba(201,152,74,.3);
}
.nav-back svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-back-label { display: inline; }

/* ── HERO BANNER ── */
.project-hero {
    min-height: 520px;
    background: #0D1117;
    position: relative;
    overflow: hidden;
    display: flex; align-items: flex-end;
    padding-bottom: 0;
}
.project-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 15% 50%, rgba(16,185,129,.22) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 80% 20%, rgba(5,150,105,.18) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 50% 90%, rgba(6,95,70,.25) 0%, transparent 60%),
        linear-gradient(135deg, #064e3b 0%, #065f46 30%, #0d1117 65%, #111827 100%);
}
.project-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(16,185,129,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,185,129,.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}
.project-hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1140px; margin: 0 auto;
    padding: 120px 24px 30px;
    display: flex;
    align-items: center;
    gap: 48px;
}
.project-hero-content {
    flex: 1;
    min-width: 0;
}
.project-hero-image {
    flex-shrink: 0;
    width: 420px;
    position: relative;
    align-self: center;
    margin-bottom: -30px;
}
.project-hero-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
    border: 1px solid rgba(16,185,129,.25);
    box-shadow:
        0 0 0 1px rgba(16,185,129,.12),
        0 20px 60px rgba(0,0,0,.5),
        0 0 80px rgba(16,185,129,.12);
}
.project-hero-image-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.3);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 99px;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}
.breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 12px; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255,255,255,.35);
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,.25); }

.project-tag-row {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.project-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(201,152,74,.18);
    color: var(--gold-light);
    border: 1px solid rgba(201,152,74,.3);
    padding: 4px 12px; border-radius: 99px;
}
.project-tag.green {
    background: rgba(52,211,153,.12); color: #6ee7b7;
    border-color: rgba(52,211,153,.25);
}

.project-hero h1 {
    font-size: clamp(26px, 5vw, 52px);
    font-weight: 800; color: #fff;
    line-height: 1.12; letter-spacing: -.025em;
    margin-bottom: 16px;
}
.project-hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--gold), var(--gold-light), #fff8e1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.project-hero-sub {
    font-size: 16px; color: rgba(255,255,255,.55);
    max-width: 560px; line-height: 1.75; margin-bottom: 40px;
}

/* Meta strip */
.meta-strip {
    display: flex; gap: 0;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 48px;
}
.meta-item {
    flex: 1; padding: 20px 20px;
    border-right: 1px solid rgba(255,255,255,.08);
}
.meta-item:last-child { border-right: none; }
.meta-label {
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: rgba(255,255,255,.3);
    margin-bottom: 6px;
}
.meta-value {
    font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85);
}
.meta-value.gold { color: var(--gold-light); }

/* ── MAIN CONTENT ── */
.project-body { background: var(--bg); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── OVERVIEW ── */
.overview-section { padding: 96px 0; }
.overview-grid {
    display: grid; grid-template-columns: 1fr 360px; gap: 52px; align-items: start;
}
.section-label {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold); background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    padding: 4px 14px; border-radius: 99px; margin-bottom: 14px;
}
.section-heading {
    font-size: clamp(26px, 4vw, 38px); font-weight: 800;
    color: var(--dark); line-height: 1.2; margin-bottom: 16px;
}
.divider {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 99px; margin: 18px 0 24px;
}
.overview-text p {
    font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 16px;
}
.overview-text p:last-child { margin-bottom: 0; }

/* Sidebar card */
.project-sidebar {
    position: sticky; top: 90px;
}
.sidebar-card {
    background: var(--white); border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-md);
}
.sidebar-card-header {
    background: linear-gradient(135deg, #0D1117, #1a2235);
    padding: 18px 22px;
    border-bottom: 1px solid rgba(201,152,74,.2);
}
.sidebar-card-header h3 {
    font-size: 14px; font-weight: 700; color: var(--gold-light);
    letter-spacing: .06em;
}
.sidebar-card-body { padding: 20px; }
.sidebar-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 11px 0; border-bottom: 1px solid rgba(0,0,0,.06);
    gap: 12px;
}
.sidebar-row:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-key {
    font-size: 12px; font-weight: 600; color: var(--muted);
    text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.sidebar-val {
    font-size: 13px; font-weight: 700; color: var(--dark);
    text-align: right;
}
.sidebar-val.gold { color: var(--gold); }

/* Status badge */
.status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700;
    background: rgba(52,211,153,.12); color: #10b981;
    border: 1px solid rgba(52,211,153,.25);
    padding: 3px 10px; border-radius: 99px;
}
.status-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #10b981; animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
}

/* ── MOBILE MOCKUP GRID ── */
.mobile-mockup-wrapper {
    margin-top: 72px;
    background: linear-gradient(180deg, rgba(16,185,129,.05) 0%, transparent 100%);
    border-top: 1px solid rgba(16,185,129,.1);
    padding: 64px 0 80px;
}

.mobile-screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
    align-items: end;
}
.mobile-screen-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    transition: box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}
.mobile-screen-card:nth-child(2) {
    transform: translateY(-24px);
    box-shadow: 0 16px 48px rgba(0,0,0,.15);
    border-color: rgba(16,185,129,.2);
}
.mobile-screen-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(16,185,129,.3);
}
.mobile-screen-card:nth-child(2):hover {
    box-shadow: var(--shadow-lg);
}
.mobile-screen-mockup {
    background: linear-gradient(160deg, #0f172a 0%, #1a2235 100%);
    padding: 20px 20px 0;
}
.mobile-screen-mockup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.mobile-screen-card .screen-caption {
    padding: 20px 22px 24px;
    background: var(--white);
    flex: 1;
}
.mobile-screen-card .screen-caption h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.mobile-screen-card .screen-caption p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}


.mockup-section {
    padding: 0 0 96px;
}
.mockup-label {
    text-align: center; margin-bottom: 40px;
}
.screen-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.screen-card {
    background: var(--white); border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.screen-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-4px);
    border-color: var(--gold-border);
}
.screen-mockup {
    background: #1a1f2e; padding: 12px 12px 6px;
    overflow: hidden;
    flex-shrink: 0;
    
}
.screen-mockup img {
    height: auto; width: 100%; border-radius: 10px 4px 0 0;
}
.screen-bar {
    display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.screen-dot {
    width: 9px; height: 9px; border-radius: 50%;
}
.screen-dot.red { background: #ff5f57; }
.screen-dot.yellow { background: #ffbd2e; }
.screen-dot.green { background: #28c841; }
.screen-url {
    flex: 1; height: 20px; background: rgba(255,255,255,.06);
    border-radius: 4px; margin-left: 8px;
}
.sim-screen {
    border-radius: 6px 6px 0 0; overflow: hidden;
    background: #f0f4f8; height: 200px;
}
.sim-screen.dashboard { height: 200px; }
.sim-header {
    background: linear-gradient(135deg, #0D1117, #1c2539);
    padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.sim-logo {
    width: 24px; height: 24px; border-radius: 4px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.sim-header-title {
    font-size: 11px; font-weight: 700; color: rgba(255,255,255,.75);
    letter-spacing: .04em;
}
.sim-nav {
    display: flex; gap: 4px; margin-left: auto;
}
.sim-nav-item {
    width: 28px; height: 8px; border-radius: 4px;
    background: rgba(255,255,255,.12);
}
.sim-nav-item.active { background: var(--gold); }
.sim-body { padding: 14px; }
.sim-title-bar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.sim-title { font-size: 13px; font-weight: 700; color: var(--dark); }
.sim-btn {
    height: 22px; border-radius: 4px;
    background: var(--gold); width: 70px;
}
.sim-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px;
}
.sim-stat {
    background: var(--white); border-radius: 8px; padding: 10px;
    border: 1px solid rgba(0,0,0,.05);
}
.sim-stat-val {
    height: 18px; border-radius: 3px; margin-bottom: 5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    width: 60%;
}
.sim-stat-val.blue { background: linear-gradient(90deg, #60a5fa, #93c5fd); }
.sim-stat-val.green { background: linear-gradient(90deg, #34d399, #6ee7b7); }
.sim-stat-val.purple { background: linear-gradient(90deg, #a78bfa, #c4b5fd); }
.sim-stat-label { height: 6px; border-radius: 3px; background: rgba(0,0,0,.1); }
.sim-table { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); }
.sim-table-head {
    display: grid; grid-template-columns: 1fr 80px 70px 80px;
    background: #f8fafc; padding: 6px 12px; gap: 8px;
}
.sim-th { height: 7px; border-radius: 3px; background: rgba(0,0,0,.15); }
.sim-table-row {
    display: grid; grid-template-columns: 1fr 80px 70px 80px;
    padding: 8px 12px; gap: 8px; border-top: 1px solid rgba(0,0,0,.05);
    align-items: center;
}
.sim-td { height: 8px; border-radius: 3px; background: rgba(0,0,0,.08); }
.sim-badge-sm {
    height: 16px; border-radius: 8px; background: rgba(52,211,153,.2);
    border: 1px solid rgba(52,211,153,.3);
}
.sim-badge-sm.yellow { background: rgba(251,191,36,.2); border-color: rgba(251,191,36,.3); }
.sim-badge-sm.red { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.25); }
.sim-chart {
    background: var(--white); border-radius: 8px; padding: 12px;
    border: 1px solid rgba(0,0,0,.06); margin-bottom: 10px;
}
.sim-chart-bars {
    display: flex; align-items: flex-end; gap: 5px; height: 60px;
}
.sim-bar {
    flex: 1; border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--gold), rgba(201,152,74,.4));
    transition: height .3s;
}
.sim-chart-line { height: 1px; background: rgba(0,0,0,.07); margin-top: 4px; }
.sim-cal { background: var(--white); border-radius: 8px; padding: 10px; border: 1px solid rgba(0,0,0,.06); }
.sim-cal-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.sim-cal-title { height: 9px; width: 80px; border-radius: 3px; background: rgba(0,0,0,.15); }
.sim-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.sim-cal-day { height: 20px; border-radius: 4px; background: rgba(0,0,0,.06); }
.sim-cal-day.active { background: var(--gold); }
.sim-cal-day.marked { background: rgba(201,152,74,.25); }
.sim-form { padding: 4px; }
.sim-field { margin-bottom: 8px; }
.sim-field-label { height: 7px; width: 60px; border-radius: 3px; background: rgba(0,0,0,.15); margin-bottom: 5px; }
.sim-field-input { height: 28px; border-radius: 5px; background: var(--white); border: 1.5px solid rgba(0,0,0,.12); width: 100%; }
.sim-field-input.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,152,74,.12); }
.sim-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim-submit { height: 34px; border-radius: 6px; background: var(--gold); width: 100%; margin-top: 4px; }
.sim-layout { display: grid; grid-template-columns: 52px 1fr; height: 200px; overflow: hidden; }
.sim-sidebar { background: #0D1117; padding: 12px 6px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.sim-side-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.07); }
.sim-side-icon.active { background: var(--gold); }
.sim-main { padding: 14px; background: #f8fafc; }

.screen-caption {
    padding: 14px 16px;
    background: var(--white);
    flex-shrink: 0;
    border-top: 1px solid rgba(0,0,0,.05);
}
.screen-caption h4 { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.screen-caption p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── FEATURES ── */
.features-section {
    background: var(--white); padding: 96px 0;
}
.features-header { text-align: center; margin-bottom: 52px; }
.features-header .divider { margin: 18px auto 0; }
.features-header .section-sub {
    font-size: 15px; color: var(--muted); margin-top: 12px;
}
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
    border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-lg); border-color: var(--gold-border);
    transform: translateY(-4px);
}
.feature-icon {
    width: 46px; height: 46px; border-radius: var(--radius-sm);
    background: var(--gold-pale); display: flex; align-items: center;
    justify-content: center; font-size: 20px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.feature-list { list-style: none; margin-top: 12px; }
.feature-list li {
    font-size: 13px; color: var(--muted); padding: 4px 0;
    display: flex; align-items: flex-start; gap: 8px;
}
.feature-list li::before {
    content: '✓'; color: var(--gold); font-weight: 700;
    font-size: 12px; margin-top: 1px; flex-shrink: 0;
}

/* ── TECH STACK ── */
.tech-section { padding: 96px 0; background: var(--bg); }
.tech-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tech-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--radius-sm); padding: 8px 14px;
    font-size: 13px; font-weight: 600; color: var(--mid);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.tech-pill:hover { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.tech-pill-dot {
    width: 8px; height: 8px; border-radius: 50%;
}

/* Timeline */
.timeline { margin-top: 24px; }
.tl-item {
    display: grid; grid-template-columns: 90px 1fr;
    gap: 20px; padding-bottom: 28px; position: relative;
}
.tl-item::before {
    content: ''; position: absolute;
    left: 88px; top: 20px; bottom: 0;
    width: 1px; background: rgba(0,0,0,.08);
}
.tl-item:last-child::before { display: none; }
.tl-date {
    font-size: 12px; font-weight: 700; color: var(--gold);
    text-align: right; padding-top: 2px;
}
.tl-content {
    background: var(--white); border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-sm); padding: 14px 16px;
    box-shadow: var(--shadow-sm); position: relative;
}
.tl-content::before {
    content: ''; position: absolute;
    left: -8px; top: 10px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--gold); border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold-border);
}
.tl-content h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tl-content p { font-size: 13px; color: var(--muted); }

/* ── STATS ── */
.stats-section {
    background: #0D1117; padding: 96px 0;
    position: relative; overflow: hidden;
}
.stats-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(201,152,74,.10) 0%, transparent 60%),
                radial-gradient(ellipse 40% 60% at 90% 50%, rgba(232,200,122,.07) 0%, transparent 55%);
}
.stats-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
    text-align: center;
}
.stat-num {
    font-size: clamp(32px, 5vw, 52px); font-weight: 800;
    background: linear-gradient(120deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 600; }

/* ── TESTIMONIAL ── */
.testimonial-section { padding: 96px 0; background: var(--bg); }
.testimonial-card {
    max-width: 720px; margin: 0 auto;
    background: var(--white); border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius-lg); padding: 48px 52px;
    box-shadow: var(--shadow-md); text-align: center; position: relative;
}
.testimonial-card::before {
    content: '"'; position: absolute; top: -16px; left: 40px;
    font-size: 120px; line-height: 1; font-family: Georgia, serif;
    color: var(--gold-pale); z-index: 0;
}
.testimonial-card blockquote {
    font-size: 17px; font-style: italic; color: var(--mid);
    line-height: 1.8; margin-bottom: 28px; position: relative; z-index: 1;
}
.testimonial-cite { font-weight: 700; font-size: 15px; color: var(--dark); }
.testimonial-cite span {
    display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px;
}

/* ── CTA ── */
.cta-section {
    background: var(--dark); padding: 96px 0;
}
.cta-inner { text-align: center; }
.cta-inner .section-label {
    background: rgba(201,152,74,.15); border-color: rgba(201,152,74,.3); color: var(--gold-light);
}
.cta-inner h2 { font-size: clamp(22px, 4vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-inner p { font-size: 15px; color: rgba(255,255,255,.5); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; background: var(--gold); color: var(--white);
    font-weight: 700; font-size: 15px; text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
    box-shadow: 0 4px 14px rgba(201,152,74,.35);
}
.btn-primary:hover { background: #b8873e; box-shadow: 0 6px 22px rgba(201,152,74,.45); transform: translateY(-2px); }
.btn-outline-dark {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; background: rgba(255,255,255,.07); color: #fff;
    font-weight: 600; font-size: 15px; text-decoration: none;
    border: 1.5px solid rgba(255,255,255,.2); border-radius: var(--radius-sm);
    transition: border-color var(--transition), background var(--transition);
}
.btn-outline-dark:hover { border-color: var(--gold); background: rgba(201,152,74,.15); }

/* ── FOOTER ── */
footer {
    background: #0B0F17; color: rgba(255,255,255,.4);
    text-align: center; padding: 24px 20px; font-size: 13px;
    border-top: 1px solid rgba(255,255,255,.06);
}
footer a { color: var(--gold-light); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
    transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible, .reveal-left.is-visible,
.reveal-right.is-visible, .reveal-scale.is-visible {
    opacity: 1; transform: translateY(0);
}

/* ── RESPONSIVE: TABLET (≤900px) ── */
@media (max-width: 900px) {
    .nav-inner { padding: 0 32px; }

    .overview-grid { grid-template-columns: 1fr; gap: 32px; }
    .project-sidebar { position: static; }
    .project-hero-image { width: 320px; }
    .project-hero-image img { height: 260px; }

    .tech-inner { grid-template-columns: 1fr; gap: 40px; }

    .features-grid { grid-template-columns: 1fr 1fr; }

    .screen-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-screen-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .mobile-screen-card:nth-child(2) { transform: translateY(-16px); }

    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }

    .meta-strip { flex-wrap: wrap; }
    .meta-item { flex: 1 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .meta-item:last-child { border-bottom: none; }
}

/* ── RESPONSIVE: MOBILE (≤640px) ── */
@media (max-width: 640px) {
    /* Navbar */
    .nav-inner { padding: 0 20px; }
    .nav-back { padding: 6px 10px; font-size: 13px; }
    .nav-back-label { display: none; }

    /* Hero */
    .project-hero { min-height: auto; }
    .project-hero-inner { flex-direction: column; padding: 100px 16px 0; gap: 32px; }
    .project-hero-image { width: 100%; margin-bottom: 0; }
    .project-hero-image img { height: 220px; border-radius: 12px 12px 0 0; }
    .project-hero h1 { font-size: clamp(22px, 7vw, 32px); }
    .project-hero-sub { font-size: 14px; margin-bottom: 28px; }

    /* Meta strip: 1 kolom */
    .meta-strip { flex-direction: column; }
    .meta-item { flex: 1 0 100%; padding: 14px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .meta-item:last-child { border-bottom: none; }

    /* Sections padding */
    .overview-section, .features-section, .tech-section,
    .testimonial-section, .cta-section, .stats-section { padding: 72px 0; }
    .mockup-section { padding: 0 0 72px; }

    /* Overview */
    .container { padding: 0 16px; }

    /* Screen grid: 1 kolom */
    .screen-grid { grid-template-columns: 1fr; }
    .mobile-screen-grid { grid-template-columns: 1fr; }
    .mobile-screen-card:nth-child(2) { transform: none; }
    .mobile-mockup-wrapper { padding: 40px 0 56px; }

    /* Features: 1 kolom */
    .features-grid { grid-template-columns: 1fr; }

    /* Stats: 2 kolom */
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    /* Tech inner: 1 kolom */
    .tech-inner { grid-template-columns: 1fr; }

    /* Timeline: compact */
    .tl-item { grid-template-columns: 70px 1fr; gap: 12px; }
    .tl-item::before { left: 68px; }

    /* Testimonial */
    .testimonial-card { padding: 36px 22px; }
    .testimonial-card blockquote { font-size: 15px; }

    /* CTA buttons */
    .cta-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-outline-dark { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── RESPONSIVE: SMALL MOBILE (≤400px) ── */
@media (max-width: 400px) {
    .stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
    .project-tag { font-size: 10px; padding: 3px 9px; }
}
