/* ==========================================================================
   Utsman — utsman.works
   Desain: tenang, berwibawa, gampang dibaca. Navy + emas, latar krem.
   Font: sistem (euweuh undeuran) → gancang tur SEO-friendly.
   ========================================================================== */

:root {
  --ink:        #101c33;
  --ink-soft:   #22304d;
  --muted:      #5b6880;
  --line:       #e3ddd0;
  --gold:       #b98b1e;
  --gold-soft:  #e3c675;
  --gold-wash:  #f6efdd;
  --cream:      #fbf8f2;
  --card:       #ffffff;
  --shadow-sm:  0 1px 2px rgba(16, 28, 51, .06), 0 4px 14px rgba(16, 28, 51, .05);
  --shadow-md:  0 2px 6px rgba(16, 28, 51, .07), 0 18px 40px rgba(16, 28, 51, .08);
  --radius:     16px;
  --radius-lg:  24px;
  --maxw:       1120px;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: #fff; padding: 12px 16px;
  border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 242, .86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; }
.brand-mark {
  width: 30px; height: 30px; flex: none;
}
.brand-name { font-family: var(--font-serif); font-size: 20px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15.5px; color: var(--ink-soft); }
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--gold); }
.nav .nav-cta {
  border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm); font-weight: 600;
}
@media (max-width: 780px) { .nav a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 650; font-size: 16px;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #1c2c4d, #101c33);
  color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { color: var(--ink); transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #2a1f04; box-shadow: var(--shadow-md);
}
.btn-gold:hover { color: #2a1f04; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-wash);
  border: 1px solid #efe2c2; border-radius: 999px; padding: 7px 14px;
}
h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(38px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.02em;
  margin: 22px 0 18px;
}
h1 .accent { color: var(--gold); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.hero-note strong { color: var(--ink); font-weight: 650; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

@media (max-width: 940px) {
  .hero { padding: 52px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; max-width: 520px; }
}

/* ---------- Sections ---------- */
section { padding: 68px 0; }
.section-head { max-width: 42em; margin-bottom: 40px; }
h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px); line-height: 1.16; letter-spacing: -.015em;
  margin: 0 0 14px;
}
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }

/* pain points */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; margin-top: 8px; }
.pair { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.pair:last-child, .pair:nth-last-child(2) { border-bottom: 0; }
.pair-x { color: #b0463a; font-weight: 700; flex: none; width: 22px; text-align: center; }
.pair-check { color: #1f7a52; font-weight: 700; flex: none; width: 22px; text-align: center; }
.pair p { margin: 0; }
.pair .before { color: var(--muted); }
.pair .after { color: var(--ink); }

@media (max-width: 780px) { .pairs { grid-template-columns: 1fr; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-photo { border-radius: 14px; overflow: hidden; background: #ecebe6; box-shadow: 0 1px 3px rgba(16, 28, 51, .07); }
.card-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; }

/* ikon ilustrasi kartu */
.card-illustration { height: 118px; display: flex; align-items: center; }
.card-illustration img { height: 100%; width: auto; }

/* avatar leutik di gigireun judul kartu */
.card-head { display: flex; align-items: center; gap: 14px; }
.card-avatar {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  object-fit: cover; object-position: 50% 14%;
  border: 2px solid var(--gold-soft); box-shadow: 0 2px 8px rgba(16, 28, 51, .14);
}
.card h3 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.card > p { margin: 0; color: var(--muted); font-size: 16px; }
.card ul { margin: 2px 0 0; padding-left: 0; list-style: none; color: var(--ink-soft); font-size: 15.6px; }
.card ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.card ul li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
@media (max-width: 940px) { .cards { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step-num {
  font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--gold);
  border: 1px solid #ecd9a8; background: var(--gold-wash);
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18.5px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 940px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* contoh tugas */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 18px; font-size: 15.5px; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}

/* trust */
.trust { background: linear-gradient(180deg, #101c33, #16233f); color: #eef1f7; border-radius: var(--radius-lg); padding: 52px 48px; }
.trust h2 { color: #fff; }
.trust p { color: #c3cbdb; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 34px; }
.trust-item h3 { color: #fff; font-size: 17.5px; margin: 0 0 8px; }
.trust-item p { margin: 0; font-size: 15.6px; color: #b9c3d6; }
.trust-item .tick { color: var(--gold-soft); font-weight: 700; }
@media (max-width: 940px) { .trust { padding: 40px 26px; } .trust-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta-inner {
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius-lg);
  padding: 56px 32px; box-shadow: var(--shadow-md);
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); max-width: 40em; margin: 0 auto 26px; }
.cta .email { display: block; margin-top: 20px; font-size: 15px; color: var(--muted); }
.cta .email a { color: var(--ink); border-bottom: 1px solid var(--gold-soft); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; background: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; color: var(--muted); font-size: 15px; }
.site-footer .foot-links { display: flex; gap: 20px; font-size: 15px; }

/* ---------- Pemilih bahasa ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.lang-btn {
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1;
  color: var(--muted); background: transparent; border: 0; cursor: pointer;
  padding: 7px 11px; border-radius: 999px; transition: background .18s ease, color .18s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-on { background: var(--ink); color: #fff; }

/* ---------- Kartu profil (foto Utsman) ---------- */
.profile-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 16px 16px 20px; max-width: 420px; margin-left: auto;
}
.profile-photo { position: relative; border-radius: 18px; overflow: hidden; background: #ecebe6; }
.profile-photo img {
  width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: 50% 16%;
}
.profile-badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(16, 28, 51, .92); color: var(--gold-soft);
  font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.profile-meta { padding: 16px 6px 0; }
.profile-name { font-family: var(--font-serif); font-size: 26px; margin: 0 0 4px; letter-spacing: -.01em; }
.profile-role { margin: 0 0 14px; color: var(--muted); font-size: 15.5px; }
.profile-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.profile-chips li {
  font-size: 13.5px; color: var(--ink-soft); border: 1px solid var(--line);
  background: var(--cream); border-radius: 999px; padding: 5px 12px;
}

/* ---------- Teknologi ---------- */
.tech-intro {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center;
  margin-bottom: 44px;
}
.tech-note {
  margin: 18px 0 0; padding-left: 14px; border-left: 3px solid var(--gold-soft);
  color: var(--ink-soft); font-size: 15.6px;
}
.tech-art { max-width: 520px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tech-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tech-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px;
  background: var(--gold-wash); color: var(--gold); border: 1px solid #efe2c2;
}
.tech-icon svg { width: 22px; height: 22px; }
.tech-item h3 { margin: 0 0 8px; font-size: 17.5px; letter-spacing: -.01em; }
.tech-item p { margin: 0; color: var(--muted); font-size: 15.4px; }

@media (max-width: 940px) {
  .tech-intro { grid-template-columns: 1fr; gap: 32px; }
  .tech-art { order: -1; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .profile-card { margin: 0 auto; }
}
@media (max-width: 640px) { .tech-grid { grid-template-columns: 1fr; } }

/* Layar keleutik: rapetkeun header supaya pemilih basa jeung CTA tetep muat */
@media (max-width: 680px) {
  .site-header .wrap { height: 62px; gap: 10px; padding: 0 16px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: 17px; }
  .nav { gap: 8px; }
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 6px 9px; font-size: 12px; }
  .nav .nav-cta { padding: 8px 12px; font-size: 13.5px; white-space: nowrap; }
}
@media (max-width: 430px) {
  .brand-name { display: none; }
}

/* ---------- Animasi halus (hormat kana prefers-reduced-motion) ---------- */
/* Eusi salawasna katingali sacara default (aman upami JS pareum).
   Animasi ukur dihurungkeun nalika JS jalan: <html class="js-anim">. */
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* print */
@media print {
  .site-header, .hero-art, .cta .btn { display: none; }
  body { background: #fff; }
}
