/* =====================================================================
 *  KAIZEN TECH — STYLESHEET
 *  Warna utama diatur lewat variabel di :root (lihat --brand-*).
 *  Tema "blue" aktif bila config.theme = "blue" di data.js.
 * ===================================================================== */

:root {
  --brand-50: #ecfdf3;
  --brand-100: #d1fae1;
  --brand-200: #a6f0c6;
  --brand-300: #6ee0a3;
  --brand-400: #34c77c;
  --brand-500: #16a861;
  --brand-600: #0f8f50;
  --brand-700: #0c7242;
  --brand-800: #0b5a36;
  --brand-900: #073f27;
  --brand-950: #052b1b;

  --bg: #f7f9f8;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f5f4;
  --border: #e3e8e6;
  --border-strong: #d2d9d6;
  --text: #0e1726;
  --text-2: #475467;
  --text-3: #7a8699;
  --dot: rgba(15, 23, 42, 0.07);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 10px 30px -12px rgba(16, 24, 40, 0.14);
  --shadow-lg: 0 30px 60px -20px rgba(16, 24, 40, 0.22);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 4.75rem;
  color-scheme: light;
}

:root[data-brand="blue"] {
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #2f7cf6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #172f6e;
  --brand-950: #0f1d45;
}

:root[data-theme="dark"] {
  --bg: #0a100e;
  --bg-soft: #0d1512;
  --surface: #111a17;
  --surface-2: #16211d;
  --border: #22302b;
  --border-strong: #2d3d37;
  --text: #eef3f1;
  --text-2: #a9b6b1;
  --text-3: #7d8b86;
  --dot: rgba(255, 255, 255, 0.06);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { font-size: clamp(15.5px, 0.45vw + 9.5px, 19px); scroll-behavior: smooth; scroll-padding-top: 6.875rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 1.375rem 1.375rem;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 0.1875rem; border-radius: 0.375rem; }
.hl { color: var(--brand-500); }
.container { width: 100%; max-width: 77.5rem; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 62.4375rem;
  border: 1.5px solid var(--brand-200);
  background: color-mix(in srgb, var(--brand-50) 70%, transparent);
  color: var(--brand-600);
  font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
:root[data-theme="dark"] .eyebrow { background: color-mix(in srgb, var(--brand-500) 10%, transparent); border-color: color-mix(in srgb, var(--brand-500) 35%, transparent); color: var(--brand-300); }
.eyebrow i { font-size: 0.75rem; }
.eyebrow.plain { border: 0; background: none; padding: 0; }
.section-head { margin-bottom: 2.75rem; }
.section-head.center { text-align: center; max-width: 47.5rem; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-top: 1rem; }
.section-head p { color: var(--text-2); font-size: 1.0625rem; margin-top: 0.875rem; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  padding: 0.875rem 1.625rem; border-radius: 0.625rem;
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.btn i { font-size: 0.875rem; transition: transform .2s; }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-chevron-right { transform: translateX(0.1875rem); }
.btn-primary {
  background: var(--brand-600); color: #fff;
  box-shadow: 0 4px 0 var(--brand-800), 0 10px 24px -8px color-mix(in srgb, var(--brand-600) 70%, transparent);
}
.btn-primary:hover { background: var(--brand-500); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0.1875rem); box-shadow: 0 1px 0 var(--brand-800); }
.btn-outline { background: var(--surface); color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-600); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }
.btn-white { background: #fff; color: var(--brand-700); box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.btn-white:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; border-radius: 0.5625rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--brand-600); }
.link-arrow i { transition: transform .2s; font-size: 0.8125rem; }
.link-arrow:hover i { transform: translateX(0.25rem); }
:root[data-theme="dark"] .link-arrow { color: var(--brand-400); }

/* ---------- Navbar ---------- */
.nav-wrap { position: fixed; inset: 0.875rem 0 auto; z-index: 60; padding: 0 clamp(1rem, 2.6vw, 3.5rem); transition: inset .25s; }
.nav {
  max-width: 115rem; margin: 0 auto; height: 3.75rem;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0 0.75rem 0 1.375rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}
.nav-wrap.scrolled .nav { box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.01em; flex-shrink: 0; }
.brand-mark { width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; }
.brand-mark img { width: 1.375rem; height: auto; }
.brand span b { color: var(--brand-600); font-weight: 700; }
:root[data-theme="dark"] .brand span b { color: var(--brand-400); }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; margin: 0 auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 0.875rem; border-radius: 0.625rem; font-weight: 500; font-size: 0.9375rem; color: var(--text);
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--brand-600); background: var(--brand-50); }
:root[data-theme="dark"] .nav-link:hover, :root[data-theme="dark"] .nav-link.active { background: var(--surface-2); color: var(--brand-400); }
.nav-link i { font-size: 0.625rem; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item:hover .nav-link i, .nav-item:focus-within .nav-link i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 0.625rem); left: 50%; transform: translate(-50%, 0.375rem);
  min-width: 14.375rem; padding: 0.5rem; border-radius: 1rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 0.75rem; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem; border-radius: 0.625rem; font-size: 0.875rem; font-weight: 500; }
.dropdown a i { width: 1.875rem; height: 1.875rem; border-radius: 0.5rem; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 0.8125rem; }
:root[data-theme="dark"] .dropdown a i { background: var(--surface-2); color: var(--brand-400); }
.dropdown a:hover { background: var(--surface-2); }
.nav-tools { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.icon-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: grid; place-items: center;
  color: var(--text-2); transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn.boxed { background: var(--surface-2); border: 1px solid var(--border); }
.lang-switch { display: flex; padding: 0.1875rem; border-radius: 62.4375rem; background: var(--surface-2); border: 1px solid var(--border); }
.lang-switch button { padding: 0.375rem 0.75rem; border-radius: 62.4375rem; font-size: 0.75rem; font-weight: 600; color: var(--text-3); display: flex; align-items: center; gap: 0.375rem; }
.lang-switch button.active { background: var(--surface); color: var(--brand-600); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .lang-switch button.active { background: var(--border); color: var(--brand-300); }
.lang-switch small { font-size: 0.5625rem; font-weight: 700; opacity: .7; }
.nav-cta { margin-left: 0.25rem; }
.burger { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 5.375rem 1rem auto; z-index: 59;
  background: var(--surface); border: 1px solid var(--border); border-radius: 1.25rem; box-shadow: var(--shadow-lg);
  padding: 0.75rem; max-height: calc(100vh - 6.875rem); overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: flex; align-items: center; gap: 0.625rem; padding: 0.75rem 0.875rem; border-radius: 0.75rem; font-weight: 500; }
.mobile-menu a:hover { background: var(--surface-2); }
.mobile-menu .sub { padding-left: 1.125rem; font-size: 0.875rem; color: var(--text-2); }
.mobile-menu .sub i { color: var(--brand-500); width: 1.125rem; }
.mobile-menu .row { display: flex; gap: 0.625rem; align-items: center; justify-content: space-between; padding: 0.75rem 0.375rem 0.25rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }

/* ---------- Hero ---------- */
.hero { padding: 8.5rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -10%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-300) 28%, transparent), transparent);
  filter: blur(20px); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 2.5rem; align-items: center; position: relative; }
.hero-dots { display: flex; gap: 0.375rem; margin: 1.125rem 0 0.875rem; }
.hero-dots button { width: 0.5rem; height: 0.5rem; border-radius: 6.1875rem; background: var(--border-strong); transition: width .3s, background-color .3s; }
.hero-dots button.active { width: 2rem; background: var(--brand-500); }
.hero h1 {
  font-size: clamp(2.125rem, 4.4vw, 3.375rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  min-height: 3.3em;
}
.hero h1 .hl { color: var(--brand-500); }
.hero h1 .swap { display: inline; animation: heroIn .6s cubic-bezier(.2,.7,.2,1); }
@keyframes heroIn { from { opacity: 0; filter: blur(6px); transform: translateY(10px); } to { opacity: 1; filter: none; transform: none; } }
.hero-desc { font-size: 1.125rem; color: var(--text-2); max-width: 33.75rem; margin-top: 1.375rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 1.875rem; }
.hero-actions .btn { padding: 1rem 1.75rem; font-size: 1.0625rem; }
.slot-badge {
  display: inline-flex; align-items: center; gap: 0.625rem; margin-top: 1.375rem;
  padding: 0.5rem 1.125rem; border-radius: 62.4375rem; font-size: 0.875rem; font-weight: 500;
  background: var(--brand-50); color: var(--brand-700); border: 1.5px solid var(--brand-100);
}
:root[data-theme="dark"] .slot-badge { background: color-mix(in srgb, var(--brand-500) 12%, transparent); border-color: color-mix(in srgb, var(--brand-500) 30%, transparent); color: var(--brand-300); }
.pulse-dot { width: 0.5625rem; height: 0.5625rem; border-radius: 50%; background: var(--brand-500); position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brand-500); animation: ping 1.6s infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.625rem; margin-top: 2.125rem; max-width: 35rem; }
.hero-stats div { padding: 0.75rem 0.375rem; border-radius: 0.875rem; text-align: center; background: var(--surface); border: 1px solid var(--border); }
.hero-stats strong { display: block; font-size: 1.375rem; font-weight: 800; color: var(--brand-600); letter-spacing: -0.02em; }
:root[data-theme="dark"] .hero-stats strong { color: var(--brand-400); }
.hero-stats span { font-size: 0.75rem; color: var(--text-3); }

/* Hero visual */
.hv { position: relative; container-type: inline-size; width: 100%; height: 0; padding-bottom: 78%; }
.hv-frame {
  position: absolute; inset: 2cqw 15cqw 5cqw 22cqw;
  border-radius: 6.5cqw; border: 1px solid var(--border);
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 92%, var(--brand-100)), color-mix(in srgb, var(--surface-2) 85%, var(--brand-50)));
  box-shadow: var(--shadow-lg), inset 0 0 0 1.4cqw color-mix(in srgb, var(--surface) 60%, transparent);
  perspective: 1200px; overflow: hidden;
}
.hv-window {
  position: absolute; inset: 7cqw 4.5cqw 8cqw 5cqw;
  border-radius: 2.6cqw; overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transform: rotateY(-8deg) rotateX(4deg); transform-origin: left center;
}
.hv-bar { height: 5cqw; display: flex; align-items: center; gap: 1cqw; padding: 0 2cqw; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.hv-bar span { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: var(--border-strong); }
.hv-bar span:nth-child(1) { background: #ff5f57; } .hv-bar span:nth-child(2) { background: #febc2e; } .hv-bar span:nth-child(3) { background: #28c840; }
.hv-bar em { margin-left: 1.6cqw; font-style: normal; font-size: 1.85cqw; color: var(--text-3); background: var(--surface); border: 1px solid var(--border); border-radius: 1cqw; padding: .3cqw 1.6cqw; flex: 1; max-width: 36cqw; }
.hv-shot { position: absolute; inset: 5cqw 0 0; }
.hv-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.hv-shot img.show { opacity: 1; }
.hv-tabs { position: absolute; left: 0; top: 17cqw; min-width: 31cqw; display: flex; flex-direction: column; gap: 2cqw; z-index: 3; }
.hv-tab {
  position: relative; display: flex; align-items: center; gap: 2cqw; padding: 2.7cqw 3cqw; border-radius: 2.4cqw;
  background: color-mix(in srgb, var(--surface-2) 85%, transparent); border: 1.5px solid transparent;
  font-weight: 500; font-size: 2.55cqw; text-align: left; color: var(--text-2); white-space: nowrap;
  backdrop-filter: blur(8px); transition: all .25s;
}
.hv-tab i { color: var(--text-3); width: 3cqw; text-align: center; }
.hv-tab.active { background: var(--surface); border-color: var(--brand-500); color: var(--text); box-shadow: var(--shadow); }
.hv-tab.active i { color: var(--brand-500); }
.hv-tab .tag { position: absolute; top: -2cqw; left: 4.3cqw; padding: .5cqw 1.6cqw; font-size: 1.85cqw; font-weight: 600; background: var(--brand-600); color: #fff; border-radius: 1cqw; opacity: 0; transform: translateY(0.25rem); transition: all .25s; }
.hv-tab.active .tag { opacity: 1; transform: none; }
.hv-tab.active::after { content: ""; position: absolute; right: -6cqw; top: 50%; width: 5.6cqw; border-top: 2px dashed var(--brand-400); }
.hv-cards { position: absolute; right: -2cqw; top: 5cqw; bottom: 10cqw; width: 37cqw; display: flex; flex-direction: column; justify-content: space-between; z-index: 3; }
.hv-card {
  display: flex; gap: 2cqw; padding: 2.7cqw; border-radius: 2.7cqw;
  background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--border); box-shadow: var(--shadow);
  backdrop-filter: blur(8px); animation: floaty 6s ease-in-out infinite;
}
.hv-card:nth-child(2) { animation-delay: -2s; } .hv-card:nth-child(3) { animation-delay: -4s; }
.hv-card i { font-size: 3.3cqw; margin-top: .3cqw; }
.hv-card strong { display: block; font-weight: 600; font-size: 2.55cqw; }
.hv-card span { font-size: 2.1cqw; color: var(--text-3); line-height: 1.45; display: block; margin-top: .3cqw; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hv-greet {
  position: absolute; left: 18cqw; bottom: 1cqw; z-index: 4;
  display: flex; align-items: center; gap: 2cqw; padding: 1.7cqw 3cqw 1.7cqw 1.7cqw; border-radius: 2.7cqw;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.hv-greet .av { width: 7cqw; height: 7cqw; border-radius: 2cqw; background: var(--surface-2); display: grid; place-items: center; border: 1px solid var(--border); }
.hv-greet .av img { width: 4.4cqw; }
.hv-greet strong { display: block; font-size: 2.3cqw; font-weight: 600; }
.hv-greet span { font-size: 2cqw; color: var(--brand-600); }
.hv-cursor { position: absolute; left: 19cqw; top: 13cqw; color: var(--brand-600); font-size: 3.7cqw; transform: rotate(-20deg); z-index: 4; animation: floaty 5s ease-in-out infinite; }

/* ---------- Trusted band (marquee) ---------- */
.trusted { background: var(--brand-950); padding: 1.625rem 0 1.875rem; position: relative; overflow: hidden; }
:root[data-brand="blue"] .trusted { background: #0b1736; }
.trusted-label { display: flex; align-items: center; gap: 0.875rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-200); margin-bottom: 1.25rem; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.trusted-label::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--brand-400); }
.trusted-label::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee + .marquee { margin-top: 0.875rem; }
.marquee-track { display: flex; gap: 0.875rem; padding-right: 0.875rem; flex-shrink: 0; animation: scrollX var(--dur, 50s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-100%); } }
.chip-card {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 1.125rem 0.625rem 0.75rem; border-radius: 0.75rem;
  background: #fff; color: #0e1726; min-width: 13.125rem; flex-shrink: 0;
}
.chip-card .lg { width: 2.5rem; height: 2.5rem; border-radius: 0.625rem; display: grid; place-items: center; flex-shrink: 0; background: #f4f6f5; overflow: hidden; }
.chip-card .lg img { width: 100%; height: 100%; object-fit: contain; }
.chip-card .lg i { font-size: 1.5rem; }
.chip-card strong { display: block; font-size: 0.9062rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.chip-card span { font-size: 0.75rem; color: var(--brand-700); white-space: nowrap; }
.chip-card.tech span { color: #7a8699; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.about-grid p { color: var(--text-2); font-size: 1.0625rem; margin-top: 1rem; }
.skills { margin-top: 1.875rem; display: grid; gap: 1.125rem; }
.skill-top { display: flex; justify-content: space-between; font-weight: 500; font-size: 0.9375rem; margin-bottom: 0.5rem; }
.skill-top b { color: var(--brand-600); font-weight: 600; }
.skill-bar { height: 0.5rem; border-radius: 6.1875rem; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.skill-bar span { display: block; height: 100%; width: 0; border-radius: 6.1875rem; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.about-visual { position: relative; }
.about-visual img { border-radius: 1.75rem; box-shadow: var(--shadow-lg); border: 6px solid var(--surface); width: 100%; aspect-ratio: 4/4.3; object-fit: cover; }
.about-float {
  position: absolute; left: -28px; bottom: 2.25rem; padding: 1rem 1.25rem; border-radius: 1.125rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.875rem; animation: floaty 6s ease-in-out infinite;
}
.about-float i { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 1.125rem; }
.about-float strong { display: block; font-size: 1.375rem; font-weight: 800; }
.about-float span { font-size: 0.8125rem; color: var(--text-3); }
.about-float.two { left: auto; right: -20px; top: 1.875rem; bottom: auto; animation-delay: -3s; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0.375rem 2px 1.5rem;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.swipe-hint { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: var(--text-3); }
.swipe-hint i { animation: nudge 1.6s ease-in-out infinite; color: var(--brand-500); }
@keyframes nudge { 50% { transform: translateX(6px); } }
.carousel-btns { display: flex; gap: 0.625rem; }
.carousel-btns button { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; border: 1.5px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; transition: all .2s; }
.carousel-btns button:hover:not(:disabled) { border-color: var(--brand-500); color: var(--brand-600); }
.carousel-btns button:disabled { opacity: .4; cursor: default; }
.carousel-progress { flex: 1; max-width: 15rem; height: 0.25rem; border-radius: 0.5625rem; background: var(--border); overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 25%; background: var(--brand-500); border-radius: 0.5625rem; transition: transform .2s, width .2s; }

/* ---------- Service card ---------- */
.svc-card {
  display: flex; flex-direction: column; padding: 1.625rem; border-radius: 1.25rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s; min-height: 16.875rem;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.svc-emoji { width: 3.5rem; height: 3.5rem; border-radius: 1rem; display: grid; place-items: center; font-size: 1.75rem; background: var(--brand-50); border: 1px solid var(--brand-100); margin-bottom: 1.25rem; }
:root[data-theme="dark"] .svc-emoji { background: var(--surface-2); border-color: var(--border); }
.svc-card h3 { font-size: 1.25rem; font-weight: 700; }
.svc-card p { color: var(--text-2); font-size: 0.9375rem; margin-top: 0.625rem; flex: 1; }
.svc-card .link-arrow { margin-top: 1.25rem; font-size: 0.9375rem; }
.svc-cta { display: flex; justify-content: center; margin-top: 1.125rem; }

/* ---------- Portfolio (home) ---------- */
.proj-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.375rem; }
.proj-card {
  display: grid; grid-template-columns: 44% 1fr; border-radius: 1.375rem; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s; cursor: pointer; text-align: left;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.proj-media { position: relative; background: var(--surface-2); overflow: hidden; min-height: 14.375rem; }
.proj-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .6s; }
.proj-card:hover .proj-media img { transform: scale(1.05); }
.proj-body { padding: 1.375rem 1.5rem; display: flex; flex-direction: column; }
.proj-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.625rem; border-radius: 0.4375rem; font-size: 0.7188rem; font-weight: 600; letter-spacing: .02em; }
.chip.type { background: var(--text); color: var(--surface); text-transform: uppercase; }
.chip.ok { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
:root[data-theme="dark"] .chip.ok { background: color-mix(in srgb, var(--brand-500) 14%, transparent); color: var(--brand-300); border-color: transparent; }
.chip.soft { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); font-weight: 500; }
.proj-body h3 { font-size: 1.1875rem; margin-top: 0.875rem; }
.proj-body p { color: var(--text-2); font-size: 0.9062rem; margin-top: 0.5rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.proj-meta { display: flex; flex-wrap: wrap; gap: 0.375rem 1rem; margin-top: 0.875rem; font-size: 0.8125rem; color: var(--text-3); }
.proj-meta i { color: var(--brand-500); margin-right: 0.3125rem; }
.proj-body .link-arrow { margin-top: 0.875rem; font-size: 0.9062rem; }

/* ---------- Industry ---------- */
.industry { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-50) 70%, transparent) 30%, transparent); }
:root[data-theme="dark"] .industry { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-900) 25%, transparent) 30%, transparent); }
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 3rem; }
.ind-grid h2 { font-size: clamp(1.75rem, 3.6vw, 2.625rem); font-weight: 800; margin-top: 1rem; }
.ind-grid > div > p { color: var(--text-2); font-size: 1.0625rem; margin-top: 1rem; }
.ind-grid .hero-actions { margin-top: 1.625rem; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feat {
  padding: 1.375rem; border-radius: 1.125rem; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .25s, border-color .25s;
}
.feat:hover { transform: translateY(-4px); border-color: var(--brand-300); }
.feat i { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; display: grid; place-items: center; background: var(--brand-600); color: #fff; font-size: 1.125rem; margin-bottom: 0.875rem; }
.feat h4 { font-size: 1.0312rem; font-weight: 600; }
.feat p { font-size: 0.875rem; color: var(--text-2); margin-top: 0.375rem; }
.mod-card { border-radius: 1.25rem; overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.mod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mod-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.mod-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.mod-media .chip { position: absolute; top: 0.75rem; left: 0.75rem; background: rgba(255,255,255,.95); color: var(--brand-700); }
.mod-media .yr { position: absolute; top: 0.75rem; left: auto; right: 0.75rem; background: rgba(14,23,38,.8); color: #fff; }
.mod-body { padding: 1.125rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.mod-body small { font-size: 0.75rem; color: var(--brand-600); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.mod-body h4 { font-size: 1.0312rem; margin-top: 0.375rem; font-weight: 600; line-height: 1.3; }
.mod-body p { font-size: 0.8438rem; color: var(--text-2); margin-top: 0.5rem; flex: 1; }
.mod-body .btn { margin-top: 1rem; width: 100%; }
.ind-cta {
  margin-top: 2.5rem; border-radius: 1.75rem; padding: 2.75rem; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0%, var(--brand-500), var(--brand-800) 55%, var(--brand-950));
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.875rem; align-items: center;
}
.ind-cta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px); background-size: 1.125rem 1.125rem; pointer-events: none; }
.ind-cta h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.ind-cta ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem 1.125rem; margin-top: 1.25rem; }
.ind-cta li { display: flex; gap: 0.625rem; font-size: 0.9375rem; color: rgba(255,255,255,.9); }
.ind-cta li i { color: var(--brand-200); margin-top: 0.25rem; }
.ind-cta .actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; position: relative; z-index: 1; max-width: 21.25rem; justify-self: end; width: 100%; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.375rem; border-radius: 1.375rem; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.step-num { display: flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; font-weight: 600; color: var(--brand-600); }
.step-num b { width: 1.875rem; height: 1.875rem; border-radius: 0.5625rem; background: var(--brand-600); color: #fff; display: grid; place-items: center; font-size: 0.875rem; }
.step h4 { font-size: 1.125rem; margin-top: 0.875rem; }
.step p { font-size: 0.875rem; color: var(--text-2); margin-top: 0.375rem; }
.mock { margin-top: 1.125rem; border-radius: 0.875rem; background: var(--surface-2); border: 1px solid var(--border); padding: 0.875rem; height: 9.375rem; overflow: hidden; font-size: 0.7188rem; position: relative; }
.mock .bubble { padding: 0.4375rem 0.625rem; border-radius: 0.625rem; background: var(--surface); border: 1px solid var(--border); max-width: 80%; margin-bottom: 0.5rem; }
.mock .bubble.me { margin-left: auto; background: var(--brand-600); color: #fff; border-color: transparent; }
.mock .wire { display: grid; grid-template-columns: 1fr 2fr; gap: 0.5rem; height: 100%; }
.mock .wire div { border-radius: 0.5rem; background: var(--surface); border: 1px dashed var(--border-strong); }
.mock .wire .col { display: grid; gap: 0.5rem; background: none; border: 0; }
.mock .wire .acc { background: var(--brand-100); border: 1px solid var(--brand-300); }
:root[data-theme="dark"] .mock .wire .acc { background: color-mix(in srgb, var(--brand-500) 20%, transparent); }
.mock.code { background: #0d1b16; color: #c8e6d6; font-family: ui-monospace, Menlo, monospace; border-color: #0d1b16; line-height: 1.7; }
:root[data-brand="blue"] .mock.code { background: #0f172a; border-color: #0f172a; }
.mock.code .k { color: #7dd3fc; } .mock.code .s { color: #86efac; } .mock.code .c { color: #64748b; }
.mock.launch { display: flex; flex-direction: column; justify-content: center; gap: 0.625rem; }
.mock .bar-row { display: flex; align-items: center; gap: 0.5rem; }
.mock .bar-row span { flex: 1; height: 0.5rem; border-radius: 0.5625rem; background: var(--border); overflow: hidden; }
.mock .bar-row span i { display: block; height: 100%; background: var(--brand-500); border-radius: 0.5625rem; }
.mock .live { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.625rem; border-radius: 6.1875rem; background: var(--brand-600); color: #fff; font-weight: 600; width: max-content; }

/* ---------- Founder ---------- */
.founder-card {
  display: grid; grid-template-columns: 23.75rem 1fr; gap: 3rem; align-items: center;
  padding: 2.5rem; border-radius: 2rem; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1.5rem; }
.founder-photo::before { content: ""; position: absolute; inset: -12px 0.75rem 0.75rem -12px; border-radius: 1.625rem; background: var(--brand-100); z-index: -1; }
:root[data-theme="dark"] .founder-photo::before { background: color-mix(in srgb, var(--brand-500) 20%, transparent); }
.founder-photo .badge { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); white-space: nowrap; padding: 0.5625rem 1.125rem; border-radius: 6.1875rem; background: var(--brand-600); color: #fff; font-weight: 600; font-size: 0.8125rem; box-shadow: var(--shadow); }
.founder-card h3 { font-size: 1.875rem; font-weight: 800; margin-top: 1rem; }
.founder-card .role { color: var(--brand-600); font-weight: 600; margin-top: 0.25rem; }
.quote { margin-top: 1.25rem; padding-left: 1.25rem; border-left: 3px solid var(--brand-400); }
.quote p { color: var(--text-2); font-size: 1rem; line-height: 1.8; }
.quote p + p { margin-top: 0.75rem; }
.quote i.fa-quote-left { color: var(--brand-300); font-size: 1.375rem; margin-bottom: 0.5rem; display: block; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.tags span { padding: 0.375rem 0.75rem; border-radius: 6.1875rem; font-size: 0.8125rem; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-weight: 400; }
.founder-card h5 { margin: 1.375rem 0 0; font-size: 0.9375rem; font-weight: 600; }
.socials { display: flex; gap: 0.625rem; margin-top: 1.25rem; }
.socials a { width: 2.625rem; height: 2.625rem; border-radius: 0.75rem; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); transition: all .2s; }
.socials a:hover { background: var(--brand-600); color: #fff; border-color: var(--brand-600); transform: translateY(-2px); }

/* ---------- Tech ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.875rem; }
.tech-item { padding: 1.125rem 0.625rem; border-radius: 1.125rem; background: var(--surface); border: 1px solid var(--border); text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tech-item:hover { transform: translateY(-5px); border-color: var(--brand-300); box-shadow: var(--shadow); }
.tech-item .ic { width: 3.25rem; height: 3.25rem; margin: 0 auto 0.625rem; display: grid; place-items: center; }
.tech-item .ic i { font-size: 2.375rem; }
.tech-item .ic img { max-width: 2.75rem; max-height: 2.75rem; object-fit: contain; }
.tech-item strong { display: block; font-size: 0.8438rem; font-weight: 600; }
.tech-item span { font-size: 0.7188rem; color: var(--text-3); }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.125rem; margin-top: 2.5rem; }
.stack { padding: 1.375rem; border-radius: 1.25rem; background: var(--surface); border: 1px solid var(--border); }
.stack h4 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.875rem; }
.stack h4 i { width: 2.375rem; height: 2.375rem; border-radius: 0.625rem; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 0.9375rem; }
:root[data-theme="dark"] .stack h4 i, :root[data-theme="dark"] .about-float i { background: var(--surface-2); color: var(--brand-400); }
.stack .tags span { font-size: 0.7812rem; }
:root[data-theme="dark"] .tech-item .ic .fa-linux { color: #e5e7eb !important; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.125rem; }
.member { border-radius: 1.375rem; overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--surface-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s; }
.member:hover .member-photo img { transform: scale(1.06); }
.member-social { position: absolute; left: 0; right: 0; bottom: 0.75rem; display: flex; justify-content: center; gap: 0.5rem; opacity: 0; transform: translateY(0.625rem); transition: all .3s; }
.member:hover .member-social { opacity: 1; transform: none; }
.member-social a { width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; display: grid; place-items: center; background: rgba(255,255,255,.95); color: #0e1726; font-size: 0.875rem; }
.member-social a:hover { background: var(--brand-600); color: #fff; }
.member-info { padding: 1rem 1rem 1.125rem; }
.member-info h4 { font-size: 0.9688rem; font-weight: 600; line-height: 1.3; }
.member-info p { font-size: 0.8125rem; color: var(--brand-600); margin-top: 0.25rem; font-weight: 500; }
:root[data-theme="dark"] .member-info p, :root[data-theme="dark"] .founder-card .role, :root[data-theme="dark"] .mod-body small, :root[data-theme="dark"] .skill-top b { color: var(--brand-400); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3.5rem; align-items: start; }
.faq-side { position: sticky; top: 6.875rem; }
.faq-side h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-top: 1rem; }
.faq-side p { color: var(--text-2); margin-top: 0.875rem; }
.faq-side .btn { margin-top: 1.5rem; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border-radius: 1.125rem; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--brand-300); box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 0.875rem; padding: 1.25rem 1.375rem; text-align: left; font-weight: 500; font-size: 1.0312rem; }
.faq-q .hot { font-size: 0.6875rem; font-weight: 600; padding: 0.1875rem 0.5625rem; border-radius: 6.1875rem; background: #fff1e6; color: #c2410c; flex-shrink: 0; }
:root[data-theme="dark"] .faq-q .hot { background: rgba(251,146,60,.15); color: #fdba74; }
.faq-q .pm { margin-left: auto; width: 1.875rem; height: 1.875rem; border-radius: 0.5625rem; display: grid; place-items: center; background: var(--surface-2); flex-shrink: 0; transition: transform .3s, background-color .2s; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--brand-600); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 1.375rem 1.25rem; color: var(--text-2); font-size: 0.9375rem; }

/* ---------- Closing banner ---------- */
.closing { padding: 2.5rem 0 6rem; }
.closing-box {
  border-radius: 2rem; padding: 4rem 2.5rem; text-align: center; position: relative; overflow: hidden;
  background: var(--brand-950); color: #fff;
}
:root[data-brand="blue"] .closing-box { background: #0b1736; }
.closing-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--brand-500) 55%, transparent), transparent 70%); }
.closing-box::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 1.25rem 1.25rem; }
.closing-box > * { position: relative; z-index: 1; }
.closing-box h2 { color: #fff; font-size: clamp(1.75rem, 4.4vw, 3.125rem); font-weight: 800; max-width: 51.25rem; margin: 0 auto; }
.closing-box h2 .hl { color: var(--brand-300); }
.closing-box p { color: rgba(255,255,255,.78); font-size: 1.125rem; margin-top: 1rem; }
.closing-box .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; }
.info-list { display: grid; gap: 0.875rem; margin-top: 1.75rem; }
.info { display: flex; gap: 1rem; padding: 1.125rem; border-radius: 1.125rem; background: var(--surface); border: 1px solid var(--border); }
.info > i { width: 2.875rem; height: 2.875rem; border-radius: 0.8125rem; display: grid; place-items: center; background: var(--brand-600); color: #fff; font-size: 1.0625rem; flex-shrink: 0; }
.info h4 { font-size: 0.9375rem; font-weight: 600; }
.info p, .info a { font-size: 0.9062rem; color: var(--text-2); margin-top: 0.1875rem; display: block; }
.info a:hover { color: var(--brand-600); }
.form-card { padding: 2rem; border-radius: 1.625rem; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.8125rem; font-weight: 500; margin-bottom: 0.375rem; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8125rem 0.9375rem; border-radius: 0.75rem; border: 1.5px solid var(--border);
  background: var(--bg-soft); color: var(--text); font: inherit; font-weight: 400; font-size: 0.9375rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 15%, transparent); }
.form-card .btn { width: 100%; margin-top: 1.125rem; }
.form-msg { margin-top: 0.875rem; padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; font-weight: 500; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-200); }
.form-msg.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer p.desc { color: var(--text-2); font-size: 0.9062rem; margin-top: 1rem; max-width: 20rem; }
.footer address { font-style: normal; color: var(--text-3); font-size: 0.8438rem; margin-top: 0.875rem; max-width: 20rem; }
.footer h5 { font-size: 0.9375rem; font-weight: 600; margin: 0 0 1rem; }
.footer li + li { margin-top: 0.625rem; }
.footer li a, .footer li span { color: var(--text-2); font-size: 0.9062rem; transition: color .2s; display: inline-flex; gap: 0.625rem; align-items: baseline; }
.footer li a:hover { color: var(--brand-600); }
.footer li i { color: var(--brand-500); width: 1rem; }
.status { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.125rem; padding: 0.375rem 0.75rem; border-radius: 6.1875rem; border: 1px solid var(--border); font-size: 0.7812rem; color: var(--text-2); }
.status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.footer-bottom { margin-top: 3rem; padding-top: 1.375rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; font-size: 0.8438rem; color: var(--text-3); }

/* ---------- Floating ---------- */
.fab-wa {
  position: fixed; right: 1.375rem; bottom: 1.375rem; z-index: 55; display: flex; align-items: center; gap: 0.75rem;
}
.fab-wa .bubble { padding: 0.625rem 1rem; border-radius: 0.875rem 0.875rem 0.25rem 0.875rem; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 0.8438rem; font-weight: 500; opacity: 0; transform: translateX(0.625rem); transition: all .3s; pointer-events: none; }
.fab-wa.hint .bubble, .fab-wa:hover .bubble { opacity: 1; transform: none; }
.fab-wa .btn-round { width: 3.875rem; height: 3.875rem; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.875rem; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7); position: relative; transition: transform .2s; }
.fab-wa .btn-round:hover { transform: scale(1.06); }
.fab-wa .btn-round::after { content: ""; position: absolute; top: 2px; right: 2px; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.to-top {
  position: fixed; right: 1.875rem; bottom: 6.125rem; z-index: 55; width: 2.875rem; height: 2.875rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); color: var(--text);
  opacity: 0; visibility: hidden; transform: translateY(0.625rem); transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.to-top .trk { stroke: var(--border); }
.to-top .prg { stroke: var(--brand-500); stroke-linecap: round; transition: stroke-dashoffset .1s; }
.to-top i { font-size: 0.875rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1.25rem; opacity: 0; visibility: hidden; transition: all .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(5, 15, 12, .6); backdrop-filter: blur(4px); }
.modal-box { position: relative; width: 100%; max-width: 51.25rem; max-height: calc(100vh - 2.5rem); overflow: auto; border-radius: 1.625rem; background: var(--surface); box-shadow: var(--shadow-lg); transform: translateY(1rem) scale(.98); transition: transform .25s; }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 0.875rem; right: 0.875rem; z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(255,255,255,.92); color: #0e1726; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.modal-img { aspect-ratio: 16/8.5; background: var(--surface-2); overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.modal-body { padding: 1.75rem 2rem 2rem; }
.modal-body h3 { font-size: 1.625rem; font-weight: 800; margin-top: 0.875rem; }
.modal-body > p { color: var(--text-2); margin-top: 0.75rem; font-size: 0.9688rem; line-height: 1.8; }
.modal-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.375rem; }
.modal-meta div { padding: 0.875rem; border-radius: 0.875rem; background: var(--surface-2); border: 1px solid var(--border); }
.modal-meta small { display: block; font-size: 0.75rem; color: var(--text-3); }
.modal-meta strong { font-size: 0.875rem; font-weight: 600; }
.modal-body .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.svc-modal { padding: 2.25rem; }
.svc-modal .svc-emoji { margin-bottom: 1rem; }
.svc-modal ul { display: grid; gap: 0.625rem; margin-top: 0.75rem; }
.svc-modal li { display: flex; gap: 0.75rem; align-items: center; padding: 0.75rem 0.875rem; border-radius: 0.75rem; background: var(--surface-2); border: 1px solid var(--border); font-weight: 400; }
.svc-modal li i { color: var(--brand-500); }
.svc-modal h5 { margin: 1.375rem 0 0; font-size: 0.875rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Portfolio page ---------- */
.page-hero { padding: 9.375rem 0 2.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.125rem, 5vw, 3.625rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 1.125rem; }
.page-hero p { color: var(--text-2); font-size: 1.125rem; max-width: 40rem; margin: 1rem auto 0; }
.crumbs { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.875rem; color: var(--text-3); margin-top: 1.125rem; }
.crumbs a:hover { color: var(--brand-600); }
.toolbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.875rem; padding: 0.75rem; border-radius: 1.125rem; background: var(--surface); border: 1px solid var(--border); position: sticky; top: 5.625rem; z-index: 20; box-shadow: var(--shadow-sm); }
.filters { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.filters button { padding: 0.5625rem 1rem; border-radius: 0.6875rem; font-size: 0.875rem; font-weight: 500; color: var(--text-2); transition: all .2s; display: inline-flex; gap: 0.5rem; align-items: center; }
.filters button small { font-size: 0.6875rem; padding: 1px 0.4375rem; border-radius: 6.1875rem; background: var(--surface-2); color: var(--text-3); }
.filters button:hover { color: var(--text); background: var(--surface-2); }
.filters button.active { background: var(--brand-600); color: #fff; }
.filters button.active small { background: rgba(255,255,255,.2); color: #fff; }
.search { position: relative; flex: 1; max-width: 21.25rem; min-width: 13.75rem; }
.search i { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 0.875rem; }
.search input { width: 100%; padding: 0.6875rem 0.875rem 0.6875rem 2.5rem; border-radius: 0.75rem; border: 1.5px solid var(--border); background: var(--bg-soft); color: var(--text); font: inherit; font-size: 0.875rem; }
.search input:focus { outline: none; border-color: var(--brand-500); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.375rem; }
.result-count { font-size: 0.875rem; color: var(--text-3); margin-bottom: 1rem; }
.empty { text-align: center; padding: 4.375rem 1.25rem; border-radius: 1.375rem; border: 1.5px dashed var(--border-strong); display: none; }
.empty.show { display: block; }
.empty i { font-size: 2.25rem; color: var(--text-3); }
.empty h4 { margin-top: 0.875rem; font-size: 1.1875rem; }
.empty p { color: var(--text-2); margin-top: 0.375rem; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(1.625rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-menu .nav-link { padding: 0.5rem 0.625rem; font-size: 0.9062rem; }
  .carousel-track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); }
  .tech-grid { grid-template-columns: repeat(6, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .proj-list { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .nav-menu, .nav-tools .lang-switch, .nav-tools .nav-cta, .nav-tools .theme-btn { display: none; }
  .burger { display: grid; }
  .nav { justify-content: space-between; }
  .hero-grid, .about-grid, .ind-grid, .contact-grid, .faq-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 8.125rem; }
  .hero h1 { min-height: 0; }
  .hv { max-width: 42.5rem; margin: 0.625rem auto 0; }
  .process-grid, .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 1fr; padding: 1.75rem; }
  .founder-photo { max-width: 21.25rem; margin: 0 auto 0.625rem; }
  .faq-side { position: static; }
  .ind-cta { grid-template-columns: 1fr; }
  .ind-cta .actions { justify-self: start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-float { left: 0.625rem; } .about-float.two { right: 0.625rem; }
}
@media (max-width: 720px) {
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1rem; }
  .nav-wrap { inset: 0.625rem 0 auto; padding: 0 0.625rem; }
  .nav { padding: 0 0.5rem 0 0.875rem; height: 3.5rem; }
  .mobile-menu { inset: 4.75rem 0.625rem auto; }
  .hero { padding: 7rem 0 3.5rem; }
  .hero-desc { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hv { height: auto; padding-bottom: 0; display: flex; flex-direction: column; gap: 0.75rem; }
  .hv-frame { position: relative; inset: auto; height: 62vw; border-radius: 1.625rem; order: 2; }
  .hv-window { inset: 1rem; transform: none; border-radius: 0.75rem; }
  .hv-bar { height: 1.5rem; } .hv-shot { inset: 1.5rem 0 0; } .hv-bar span { width: 0.5rem; height: 0.5rem; } .hv-bar em { font-size: 0.625rem; }
  .hv-tabs { position: static; width: auto; flex-direction: row; gap: 0.5rem; order: 1; overflow-x: auto; padding-top: 0.875rem; }
  .hv-tab { padding: 0.625rem 0.875rem; font-size: 0.8125rem; white-space: nowrap; flex-shrink: 0; border-radius: 0.75rem; gap: 0.5rem; }
  .hv-tab i { width: 1rem; }
  .hv-card { padding: 0.875rem; gap: 0.75rem; border-radius: 0.875rem; }
  .hv-card i { font-size: 1.125rem; } .hv-card strong { font-size: 0.9375rem; } .hv-card span { font-size: 0.7812rem; }
  .hv-tab.active::after { display: none; }
  .hv-tab .tag { display: none; }
  .hv-cards { position: static; width: auto; order: 3; display: grid; grid-template-columns: 1fr; gap: 0.625rem; }
  .hv-card { animation: none; }
  .hv-greet, .hv-cursor { display: none; }
  .carousel-track { grid-auto-columns: 82%; gap: 0.875rem; }
  .carousel-btns { display: none; }
  .proj-card { grid-template-columns: 1fr; }
  .proj-media { min-height: 0; aspect-ratio: 16/9; }
  .feat-grid, .process-grid, .stack-grid, .grid-3, .form-grid, .ind-cta ul { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .member-social { opacity: 1; transform: none; }
  .ind-cta { padding: 1.75rem 1.375rem; border-radius: 1.375rem; }
  .closing-box { padding: 2.75rem 1.375rem; border-radius: 1.5rem; }
  .form-card { padding: 1.375rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.875rem; }
  .modal-body { padding: 1.375rem; }
  .modal-meta { grid-template-columns: 1fr; }
  .svc-modal { padding: 1.625rem 1.375rem; }
  .about-float { display: none; }
  .toolbar { top: 4.75rem; }
  .search { max-width: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; }
  .filters button { flex-shrink: 0; }
  .fab-wa .bubble { display: none; }
  .fab-wa { right: 1rem; bottom: 1rem; } .to-top { right: 1.5rem; bottom: 5.625rem; }
  .page-hero { padding-top: 7.5rem; }
}

/* Bendera kecil di tombol bahasa */
.flag { width: 0.875rem; height: 0.625rem; border-radius: 2px; display: inline-block; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag.id { background: linear-gradient(#e11d2a 50%, #fff 50%); }
.flag.en { background:
  linear-gradient(90deg, transparent 42%, #c8102e 42%, #c8102e 58%, transparent 58%),
  linear-gradient(transparent 38%, #c8102e 38%, #c8102e 62%, transparent 62%),
  linear-gradient(90deg, transparent 36%, #fff 36%, #fff 64%, transparent 64%),
  linear-gradient(transparent 30%, #fff 30%, #fff 70%, transparent 70%),
  #012169; }

/* Kolom grid boleh menyusut (mencegah konten melebar di HP) */
.hero-grid > *, .about-grid > *, .ind-grid > *, .contact-grid > *, .faq-wrap > *, .founder-card > *, .ind-cta > * { min-width: 0; }
.q-text { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.75rem; }

/* Statistik di bagian Tentang */
.about-stats { margin-top: 2rem; max-width: none; }
