/*
 * ark.co.id theme — main stylesheet.
 * Converted 1:1 from the original static page. Additions are marked
 * with "WordPress addition" comments.
 */

:root{
  --slate:#10151C;
  --steel:#1B2733;
  --steel-soft:#1F2E3B;
  --paper:#EEE9DD;
  --ink:#1B1B18;
  --bone-dim:#C9C2AE;
  --fog:#AEBAC4;
  --brass:#B08D57;
  --brass-soft:#CBA972;
  --teal:#3E7C6E;
  --line: rgba(174,186,196,0.16);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--slate);
  color:var(--fog);
  font-family:'IBM Plex Sans', sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}
a{color:inherit;}
.wrap{max-width:1120px; margin:0 auto; padding:0 32px;}
h1,h2,h3{font-family:'Space Grotesk', sans-serif; font-weight:600; letter-spacing:-0.01em;}

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--brass-soft);
}

/* grid paper texture on dark sections */
.grid-bg{
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:56px 56px;
}

/* ---------- NAV ---------- */
nav{
  position:sticky; top:0; z-index:50;
  background:rgba(16,21,28,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
/* WordPress addition: keep the sticky nav below the WP admin bar when logged in */
.admin-bar nav{top:32px;}
@media screen and (max-width:782px){
  .admin-bar nav{top:46px;}
}
nav .wrap{display:flex; align-items:center; justify-content:space-between; height:76px;}
.brand{display:flex; align-items:center; gap:10px; font-family:'Space Grotesk',sans-serif; font-size:18px; font-weight:600; color:#EDEAE1;}
.brand svg{width:22px; height:22px; flex-shrink:0;}
.nav-cta{
  font-family:'IBM Plex Sans',sans-serif; font-weight:700; font-size:14px;
  color:var(--slate); background:var(--brass);
  padding:10px 20px; border-radius:6px; text-decoration:none;
  transition:transform .2s ease, background .2s ease;
  white-space:nowrap;
}
.nav-cta:hover{background:var(--brass-soft); transform:translateY(-1px);}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height:92vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  overflow:hidden;
  background:radial-gradient(ellipse 800px 480px at 50% 0%, rgba(176,141,87,0.10), transparent 62%), var(--slate);
  padding:110px 24px 90px;
}

.seal{position:relative; z-index:1; margin-bottom:34px;}
.seal svg{filter:drop-shadow(0 0 40px rgba(176,141,87,0.18));}
.seal-ring{animation:spin 34s linear infinite;}
@keyframes spin{ from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.hero-eyebrow{
  position:relative; z-index:1;
  display:inline-block; border:1px solid var(--line); border-radius:6px;
  padding:7px 16px; font-family:'IBM Plex Mono',monospace; font-size:11.5px;
  letter-spacing:0.1em; text-transform:uppercase; color:var(--fog); margin-bottom:26px;
}
.hero-eyebrow span{color:var(--brass-soft);}

.hero h1{
  position:relative; z-index:1;
  font-size:clamp(46px, 9vw, 96px);
  line-height:0.98;
  color:#EDEAE1;
}
.hero h1 .ext{color:var(--bone-dim); font-weight:500;}

.hero p.sub{
  position:relative; z-index:1;
  max-width:560px; margin:22px auto 0; font-size:17.5px; color:var(--fog);
}

.hero-actions{
  position:relative; z-index:1; margin-top:38px;
  display:flex; gap:14px; flex-wrap:wrap; justify-content:center;
}
.btn-primary{
  background:var(--brass); color:var(--slate); font-weight:700; font-size:15px;
  padding:15px 30px; border-radius:6px; text-decoration:none;
  transition:transform .2s ease, background .2s ease;
}
.btn-primary:hover{background:var(--brass-soft); transform:translateY(-2px);}
.btn-ghost{
  border:1px solid var(--line); color:#EDEAE1; font-weight:600; font-size:15px;
  padding:15px 26px; border-radius:6px; text-decoration:none;
  transition:border-color .2s ease, background .2s ease;
}
.btn-ghost:hover{border-color:var(--brass); background:rgba(176,141,87,0.06);}

.hero-stats{
  position:relative; z-index:1; margin-top:56px;
  display:flex; gap:0; border:1px solid var(--line); border-radius:10px; overflow:hidden;
}
.hero-stats div{
  padding:16px 26px; border-right:1px solid var(--line);
  font-family:'IBM Plex Mono',monospace; text-align:left;
}
.hero-stats div:last-child{border-right:none;}
.hero-stats .n{font-size:20px; color:var(--brass-soft); font-weight:600;}
.hero-stats .l{font-size:11px; color:var(--fog); letter-spacing:0.06em; text-transform:uppercase; margin-top:4px;}

/* ---------- SECTION HEAD ---------- */
section.panel{padding:96px 0;}
.bg-steel{background:var(--steel);}
.bg-slate{background:var(--slate);}
.bg-paper{background:var(--paper); color:var(--ink);}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,4vw,40px); margin-top:10px;}
.bg-slate .section-head h2, .bg-steel .section-head h2{color:#EDEAE1;}
.section-head p{margin-top:14px; font-size:16px;}
.bg-paper .section-head p{color:#4A463C;}

/* ---------- WHY GRID ---------- */
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.card{background:var(--slate); padding:32px 28px;}
.card .num{font-family:'IBM Plex Mono',monospace; color:var(--brass-soft); font-size:12.5px; margin-bottom:16px; display:block;}
.card h3{font-size:18px; color:#EDEAE1; margin-bottom:10px; font-weight:600; font-family:'Space Grotesk',sans-serif;}
.card p{color:var(--fog); font-size:14.5px;}

/* ---------- PANDI / CERTIFICATE PANEL ---------- */
.cert-grid{display:grid; grid-template-columns:1.1fr 1fr; gap:44px; align-items:start;}
.cert-card{
  background:#F7F4EB; border:1px solid #D9D0B8; border-radius:14px;
  padding:36px; position:relative;
}
.cert-card::before{
  content:'';
  position:absolute; inset:8px; border:1px solid #D9D0B8; border-radius:8px; pointer-events:none;
}
.cert-kicker{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--teal); margin-bottom:14px;}
.cert-card h3{font-family:'Space Grotesk',sans-serif; font-size:22px; color:var(--ink); margin-bottom:16px;}
.cert-list{list-style:none;}
.cert-list li{
  display:flex; gap:12px; padding:13px 0; border-top:1px solid #E2DCC7; font-size:14.5px; color:#3D3A31;
}
.cert-list li:first-child{border-top:none;}
.cert-list li svg{flex-shrink:0; margin-top:2px; width:16px; height:16px; stroke:var(--teal);}

.paper-copy h2{color:var(--ink);}
.paper-copy p{color:#4A463C; font-size:15.5px; margin-bottom:16px;}
.paper-copy p:last-child{margin-bottom:0;}
.paper-copy strong{color:var(--ink);}

/* ---------- USE CASE CHIPS ---------- */
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.chip{background:var(--slate); border:1px solid var(--line); border-radius:12px; padding:26px 22px; text-align:left;}
.chip svg{width:24px; height:24px; margin-bottom:16px; stroke:var(--brass-soft);}
.chip h4{font-size:15.5px; font-weight:700; margin-bottom:8px; color:#EDEAE1; font-family:'Space Grotesk',sans-serif;}
.chip p{font-size:13.5px; color:var(--fog);}

/* ---------- SPEC TABLE ---------- */
.spec{border:1px solid var(--line); border-radius:14px; overflow:hidden;}
.spec-row{display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--line);}
.spec-row:last-child{border-bottom:none;}
.spec-row div{padding:20px 26px;}
.spec-row .k{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--fog);
  letter-spacing:0.04em; background:rgba(255,255,255,0.015); border-right:1px solid var(--line);
}
.spec-row .v{font-size:15px; color:#EDEAE1; font-weight:500;}

/* ---------- INQUIRY ---------- */
.inquiry-wrap{background:linear-gradient(180deg, var(--steel) 0%, var(--slate) 100%); padding:110px 0 100px;}
.inquiry-card{
  max-width:680px; margin:0 auto;
  background:rgba(27,39,51,0.55); border:1px solid rgba(176,141,87,0.35);
  border-radius:18px; padding:48px;
  box-shadow:0 40px 80px -40px rgba(0,0,0,0.6);
}
.inquiry-card .eyebrow{margin-bottom:14px; display:block;}
.inquiry-card h2{font-size:clamp(24px,4vw,32px); color:#EDEAE1; margin-bottom:10px;}
.inquiry-card > p{color:var(--fog); margin-bottom:34px; font-size:15px;}

.field{margin-bottom:18px;}
.field label{display:block; font-size:12px; font-family:'IBM Plex Mono',monospace; letter-spacing:0.06em; text-transform:uppercase; color:var(--fog); margin-bottom:8px;}
.field input, .field textarea{
  width:100%; background:rgba(16,21,28,0.6); border:1px solid var(--line); border-radius:8px;
  padding:13px 15px; color:#EDEAE1; font-family:'IBM Plex Sans',sans-serif; font-size:14.5px;
  transition:border-color .2s ease;
}
.field input:focus, .field textarea:focus{outline:none; border-color:var(--brass);}
.field textarea{min-height:110px; resize:vertical;}
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:16px;}

.submit-row{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:26px; flex-wrap:wrap;}
.submit-btn{
  background:var(--brass); color:var(--slate); border:none; font-family:'IBM Plex Sans',sans-serif;
  font-weight:700; font-size:14.5px; padding:15px 30px; border-radius:6px; cursor:pointer;
  transition:transform .2s ease, background .2s ease;
}
.submit-btn:hover{background:var(--brass-soft); transform:translateY(-2px);}
.submit-btn:disabled{opacity:0.6; cursor:not-allowed;}
.submit-btn.error{background:#a15c47;}
.direct-email{font-size:13.5px; color:var(--fog);}
.direct-email button{
  background:none; border:none; color:var(--brass-soft); font-weight:600; cursor:pointer;
  font-size:13.5px; text-decoration:underline; text-underline-offset:3px; font-family:'IBM Plex Sans',sans-serif; padding:0;
}
.form-note{font-size:12px; color:var(--fog); margin-top:16px; opacity:0.85;}
.form-note.error-note{color:#e0a48e;}

/* ---------- MODAL ---------- */
.modal-overlay{
  position:fixed; inset:0; z-index:100; background:rgba(6,9,13,0.72); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.modal-overlay.open{opacity:1; pointer-events:auto;}
.modal-card{
  position:relative; background:linear-gradient(180deg, var(--steel-soft) 0%, var(--slate) 120%);
  border:1px solid rgba(176,141,87,0.35); border-radius:16px; max-width:420px; width:100%;
  padding:44px 34px 34px; text-align:center; box-shadow:0 40px 90px -30px rgba(0,0,0,0.7);
  transform:translateY(14px) scale(0.97); transition:transform .25s ease;
}
.modal-overlay.open .modal-card{transform:translateY(0) scale(1);}
.modal-close{position:absolute; top:14px; right:16px; background:none; border:none; color:var(--fog); font-size:22px; line-height:1; cursor:pointer; padding:4px;}
.modal-close:hover{color:#EDEAE1;}
.modal-card svg{margin:0 auto 18px; display:block;}
.modal-card h3{font-family:'Space Grotesk',sans-serif; font-size:22px; font-weight:600; color:#EDEAE1; margin-bottom:10px;}
.modal-card p{color:var(--fog); font-size:14.5px; margin-bottom:28px;}
@media (prefers-reduced-motion: reduce){ .modal-overlay,.modal-card,.seal-ring{transition:none; animation:none;} }

/* ---------- FOOTER ---------- */
footer{padding:48px 0 60px; border-top:1px solid var(--line); text-align:center;}
footer p{font-size:13px; color:var(--fog);}
footer .domain-name{font-family:'Space Grotesk',sans-serif; color:#EDEAE1; font-size:15px; margin-bottom:6px; font-weight:600;}
footer a{color:var(--brass-soft); text-decoration:none;}
footer a:hover{text-decoration:underline; text-underline-offset:3px;}

/* WordPress addition: Arkhea promo block + backlink in the footer */
.arkhea-promo{
  max-width:560px; margin:34px auto 0; padding:26px 28px;
  border:1px solid rgba(176,141,87,0.28); border-radius:12px;
  background:rgba(27,39,51,0.45);
}
.arkhea-promo .promo-kicker{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--brass-soft); margin-bottom:10px;
}
.arkhea-promo p.promo-text{font-size:13.5px; color:var(--fog); line-height:1.7;}
.arkhea-promo .promo-logo{display:inline-block; margin-top:18px; opacity:0.9; transition:opacity .2s ease;}
.arkhea-promo .promo-logo:hover{opacity:1;}
.arkhea-promo .promo-logo img{height:22px; width:auto; display:block;}

@media (max-width: 860px){
  .grid-3{grid-template-columns:1fr;}
  .grid-4{grid-template-columns:1fr 1fr;}
  .two-col{grid-template-columns:1fr;}
  .spec-row{grid-template-columns:1fr;}
  .spec-row .k{border-right:none; border-bottom:1px solid var(--line);}
  .inquiry-card{padding:30px 22px;}
  .cert-grid{grid-template-columns:1fr; gap:32px;}
  .hero-stats{flex-wrap:wrap;}
  .hero-stats div{border-bottom:1px solid var(--line);}
}
@media (max-width: 520px){
  .grid-4{grid-template-columns:1fr;}
  .wrap{padding:0 20px;}
  .cert-card{padding:26px;}
}
