/* =========================================================
   Albisoft — Company Profile
   Warna brand diambil langsung dari logo.
   ========================================================= */
:root {
  --plum: #3c2137;
  --plum-900: #26141f;
  --plum-700: #4e2c48;
  --teal: #23787b;
  --teal-600: #1c6265;
  --teal-50: #e9f4f4;
  --magenta: #b02798;
  --magenta-50: #fbeef8;
  --ink: #2a1a26;
  --muted: #6b5a67;
  --line: #ece4ea;
  --bg: #ffffff;
  --bg-soft: #faf7f9;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(60, 33, 55, .22);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--magenta); }
h1, h2, h3, h4 { color: var(--plum); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 12px;
}
.lead { font-size: 1.125rem; color: var(--muted); max-width: 680px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .lead { margin: 0 auto; }

/* ---------- Draft banner & placeholder ---------- */
.draft-banner {
  background: #fff6d6; color: #6b5200; font-size: .85rem; text-align: center;
  padding: 8px 20px; border-bottom: 1px solid #f1e2a6;
}
.ph {
  background: #fff3c4; border-bottom: 1px dashed #c9a400; padding: 0 3px; border-radius: 3px;
}
.ph-block { outline: 2px dashed #e0c25a; outline-offset: 4px; border-radius: var(--radius); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(35,120,123,.6); }
.btn-primary:hover { background: var(--teal-600); color: #fff; }
.btn-accent { background: var(--magenta); color: #fff; }
.btn-accent:hover { background: #961f81; color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--plum); }
.btn-outline { border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--plum); font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 10px;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--magenta); }
.nav-links a.active { color: var(--teal); }
.nav-links .btn { margin-left: 8px; padding: 10px 20px; color: #fff; }
.nav-links .btn:hover { color: #fff; background: var(--teal-600); }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 10px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--plum); margin: 5px auto; transition: .2s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); gap: 2px;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-links .btn { margin: 10px 0 0; justify-content: center; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(176,39,152,.45), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(35,120,123,.55), transparent 60%),
    linear-gradient(135deg, var(--plum-900), var(--plum) 60%, var(--plum-700));
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #6fd0cf, #f08ad9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,.82); }
.hero .eyebrow { color: #f3a6e3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art img { width: min(200px, 60%); filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%);
}
@keyframes float { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } }

.page-hero { padding: 72px 0 64px; }
.page-hero .container { display: block; padding-top: 0; padding-bottom: 0; }
.page-hero .lead { max-width: 720px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; text-align: left; }
  .hero-art { order: -1; }
  .hero-art img { width: 150px; }
  .page-hero .container { padding: 0 20px; }
}

/* ---------- Stats strip ---------- */
.stats { margin-top: -44px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.05rem; color: var(--plum); }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 880px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { font-weight: 700; font-size: .92rem; }
.icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--teal-50); color: var(--teal);
}
.icon.m { background: var(--magenta-50); color: var(--magenta); }
.icon svg { width: 28px; height: 28px; }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.panel {
  border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--teal), var(--teal-600) 55%, var(--plum));
}
.panel h3 { color: #fff; }
.panel p { color: rgba(255,255,255,.85); }
.panel .logo-mark { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .14; }

/* ---------- Values ---------- */
.value { text-align: left; }
.value .num { font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--teal), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Process ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--plum); color: #fff; font-weight: 800; font-size: .9rem;
}
.step::after { content: ""; position: absolute; top: 22px; left: 54px; right: -10px; height: 2px; background: linear-gradient(90deg, var(--teal), transparent); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: .94rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-box {
  height: 84px; border: 1px dashed #d8c9d4; border-radius: 12px; display: grid; place-items: center;
  color: #a8949f; font-weight: 700; font-size: .85rem; background: #fff; text-align: center; padding: 6px;
}
@media (max-width: 880px) { .logos { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Product detail ---------- */
.product { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.product:last-of-type { border-bottom: 0; }
.product .split { align-items: start; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.feature {
  background: var(--bg-soft); border-radius: 12px; padding: 16px 18px; border: 1px solid var(--line);
}
.feature strong { display: block; color: var(--plum); font-size: .98rem; margin-bottom: 2px; }
.feature span { font-size: .88rem; color: var(--muted); }
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--teal-50); color: var(--teal); margin: 0 6px 8px 0; }
.tag.m { background: var(--magenta-50); color: var(--magenta); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.subnav a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); color: var(--plum); font-weight: 600; font-size: .92rem; background: #fff; }
.subnav a:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- CTA ---------- */
.cta {
  border-radius: 24px; padding: 56px; display: flex; gap: 32px; align-items: center; justify-content: space-between;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(176,39,152,.5), transparent 60%),
    linear-gradient(120deg, var(--plum), var(--plum-700));
  color: #fff;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta .btn { flex-shrink: 0; }
@media (max-width: 780px) { .cta { flex-direction: column; align-items: flex-start; padding: 36px 26px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .icon { margin: 0; flex-shrink: 0; width: 48px; height: 48px; }
.contact-item h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--muted); }
form.card:hover { transform: none; box-shadow: var(--shadow); }
form.card { box-shadow: var(--shadow); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--plum); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; padding: 12px 14px; border: 1px solid #ddd0d9; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(35,120,123,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; background: var(--teal-50); color: var(--teal-600); padding: 14px 16px; border-radius: 10px; margin-top: 14px; font-weight: 600; }
.map {
  margin-top: 8px; height: 220px; border-radius: var(--radius); background:
  repeating-linear-gradient(45deg, #f4eef2 0 12px, #faf7f9 12px 24px);
  display: grid; place-items: center; color: #a8949f; font-weight: 600; border: 1px dashed #d8c9d4; text-align: center; padding: 10px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer img { height: 48px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.site-footer .ph { background: rgba(255,243,196,.15); border-bottom-color: #c9a400; color: #ffe9a3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Cover foto (Beranda) ---------- */
.hero-cover {
  background:
    linear-gradient(90deg, rgba(38,20,31,.94) 0%, rgba(60,33,55,.86) 38%, rgba(60,33,55,.35) 70%, rgba(60,33,55,.15) 100%),
    url("../img/cover.jpg") center right / cover no-repeat;
}
.hero-cover .container { grid-template-columns: minmax(0, 620px); min-height: 600px; padding-bottom: 120px; }
@media (max-width: 880px) {
  .hero-cover {
    background:
      linear-gradient(180deg, rgba(38,20,31,0) 0px, rgba(38,20,31,.1) 170px, var(--plum-900) 300px),
      url("../img/cover-mobile.jpg") 56% top / auto 300px no-repeat,
      var(--plum-900);
  }
  .hero-cover .container { min-height: 0; padding-top: 250px; }
}
