/* =====================================================================
   KREATOR SOLUSI INOVASI TEKNOLOGI — Landing Page
   Custom CSS, no framework. Signature motif: nested squares (from logo).
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --bg-bright:   #F4FAFF;
  --bg-panel:    #FFFFFF;
  --blue-navy:   #082A47;
  --blue-deep:   #0B3D66;
  --blue-mid:    #1668B0;
  --blue-bright: #14A8E8;
  --blue-pale:   #DCF0FC;
  --ink:         #0C2A44;
  --slate:       #56728C;
  --slate-light: #8AA3B8;
  --line:        #D7E7F3;
  --radius:      14px;
  --shadow-sm:   0 2px 10px rgba(11,61,102,0.06);
  --shadow-md:   0 12px 32px rgba(8,42,71,0.12);
  --ease:        cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg-bright);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4{
  font-family:'Space Grotesk', 'Inter', sans-serif;
  margin:0;
  color: var(--blue-navy);
  letter-spacing: -0.01em;
}
p{ margin:0; color: var(--slate); line-height:1.65; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
.mono{ font-family:'IBM Plex Mono', monospace; }

.container{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding:0 24px;
}
.section{ padding:96px 0; position:relative; }
.section--tight{ padding:72px 0; }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  font-weight:500;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color: var(--blue-mid);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:9px; height:9px;
  border:2px solid var(--blue-bright);
  display:inline-block;
  transform: rotate(45deg);
}
.section-head{ max-width: 640px; margin-bottom:48px; }
.section-head h2{ font-size: clamp(28px,3.4vw,38px); font-weight:700; margin-bottom:14px; }
.section-head p{ font-size:16.5px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Reveal-on-scroll (JS toggles .is-visible) */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------------------------------------------------------------------
   Nested-square motif (signature element, echoes the logo construction)
   --------------------------------------------------------------------- */
.motif-squares{ position:absolute; pointer-events:none; z-index:0; }
.motif-squares span{
  position:absolute;
  border:2px solid rgba(255,255,255,0.16);
}
.motif-squares.dark span{ border-color: rgba(11,61,102,0.08); }

/* =====================================================================
   NAVBAR
   ===================================================================== */
.navbar{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:12px 0;
  background: rgba(244,250,255,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(8,42,71,0.06);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar.is-scrolled{
  padding:10px 0;
  box-shadow: 0 1px 0 var(--line), 0 10px 28px rgba(8,42,71,0.09);
}
.navbar .container{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand__mark{
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.brand__mark img{ width:100%; height:100%; object-fit:contain; }
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__text strong{
  font-family:'Space Grotesk', sans-serif; font-weight:700; font-size:16.5px;
  color: var(--blue-navy);
}
.navbar.is-scrolled .brand__text strong,
.navbar:not(.is-scrolled) .brand__text strong{ color: var(--blue-navy); }
.brand__text span{ font-size:10.5px; letter-spacing:.08em; color: var(--slate); text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; gap:36px; }
.nav-links a{
  font-size:14.5px; font-weight:500; color: var(--blue-deep);
  position:relative; padding:4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0;
  background: var(--blue-bright); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after{ width:100%; }
.nav-cta {
  background: var(--blue-navy); 
  color: #fff !important; 
  font-weight: 600 !important;
  font-size: 13.5px !important;
  
  /* PENGATURAN BENTUK & JARAK (PADDING) */
  display: inline-block; /* Memastikan dimensi kotak terbentuk sempurna */
  padding: 16px 40px; /* Atas-Bawah 16px, Kiri-Kanan 40px (Bentuk horizontal & lega) */
  border-radius: 0px; /* Ubah ke 0px jika ingin sudut yang benar-benar lancip/kotak */
  text-align: center; /* Memastikan tulisan berada di tengah */
  
  transition: transform .25s var(--ease), background .25s var(--ease);
}

.nav-cta::after { 
  display: none; 
}

.nav-cta:hover { 
  background: var(--blue-mid); 
  transform: translateY(-2px); 
}

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;
}
.nav-toggle span{ width:24px; height:2px; background: var(--blue-navy); transition: all .3s var(--ease); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero{
  position:relative;
  padding:180px 0 140px;
  background: linear-gradient(150deg, var(--blue-navy) 0%, var(--blue-deep) 38%, var(--blue-mid) 72%, var(--blue-bright) 130%);
  overflow:hidden;
}
.hero .motif-squares{ inset:0; }
.hero__grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns: 1.15fr 0.85fr; gap:48px; align-items:center;
}
.hero__eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono', monospace; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase;
  color: var(--blue-pale); margin-bottom:22px;
}
.hero__eyebrow::before{ content:""; width:9px; height:9px; border:2px solid #fff; transform:rotate(45deg); display:inline-block; }
.hero h1{
  color:#fff; font-size: clamp(34px, 4.6vw, 54px); font-weight:700; line-height:1.12;
  letter-spacing:-0.02em; max-width: 620px;
}
.hero h1 em{ font-style:normal; color: var(--blue-bright); }
.hero__lead{
  margin-top:22px; color: rgba(255,255,255,0.78); font-size:17px; max-width:520px; line-height:1.7;
}
.hero__actions{ display:flex; gap:14px; margin-top:36px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px; border-radius:9px; font-weight:600; font-size:14.5px;
  border:1.5px solid transparent; transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn--primary{ background: var(--blue-bright); color: var(--blue-navy); }
.btn--primary:hover{ transform: translateY(-2px); background:#fff; }
.btn--ghost{ border-color: rgba(255,255,255,0.35); color:#fff; }
.btn--ghost:hover{ border-color:#fff; background: rgba(255,255,255,0.08); }
.btn--dark{ background: var(--blue-navy); color:#fff; }
.btn--dark:hover{ background: var(--blue-mid); transform: translateY(-2px); }

.hero__stats{ display:flex; gap:28px; margin-top:52px; flex-wrap:wrap; }
.hero__stats div strong{ display:block; font-family:'Space Grotesk',sans-serif; font-size:26px; color:#fff; font-weight:700; }
.hero__stats div span{ font-size:12.5px; color: rgba(255,255,255,0.62); letter-spacing:.03em; }

/* Hero logo panel: nested-square composition mirroring the brand mark */
.hero__panel{
  position:relative; z-index:2;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:20px;
  padding:44px;
  backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  aspect-ratio: 1/1;
  max-width:380px; margin-left:auto;
}
.hero__panel-inner{
  position:relative; width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
}
.hero__logo-slot{
  width:62%; aspect-ratio:1/1;
  background: rgba(255,255,255,0.96);
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
  padding:18%;
}
.hero__logo-slot img{ width:100%; height:100%; object-fit:contain; }
.hero__ring{
  position:absolute; border:2px solid rgba(255,255,255,0.22); border-radius:16px;
}
.hero__ring--1{ inset:-18px; transform: rotate(8deg); }
.hero__ring--2{ inset:-38px; transform: rotate(-6deg); border-color: rgba(20,168,232,0.35); }

/* =====================================================================
   CLIENTS MARQUEE / TRUST STRIP
   ===================================================================== */
.trust-strip{ background: var(--blue-navy); padding:16px 0; overflow:hidden; }
.trust-strip p{ text-align:center; color: rgba(255,255,255,0.55); font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; font-family:'IBM Plex Mono',monospace; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services-grid{
  display:grid; grid-template-columns: repeat(2, 1fr); gap:20px;
}
.service-card{
  background: var(--bg-panel);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:32px;
  position:relative;
  overflow:hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card__num{
  font-family:'IBM Plex Mono', monospace; font-size:12px; color: var(--slate-light); letter-spacing:.08em;
}
.service-card__icon{
  width:46px; height:46px; margin:18px 0 20px;
  position:relative;
}
.service-card__icon span{
  position:absolute; border:2.5px solid var(--blue-bright); border-radius:6px;
}
.service-card__icon span:first-child{ inset:0 14px 14px 0; }
.service-card__icon span:last-child{ inset:14px 0 0 14px; background: var(--blue-navy); border-color: var(--blue-navy); }
.service-card h3{ font-size:19px; font-weight:700; margin-bottom:10px; }
.service-card p{ font-size:14.5px; }
.service-card__sub{ margin-top:16px; display:flex; flex-direction:column; gap:7px; }
.service-card__sub li{
  font-size:13.5px; color: var(--slate); display:flex; gap:8px; align-items:flex-start; line-height:1.5;
}
.service-card__sub li::before{
  content:""; width:5px; height:5px; margin-top:7px; flex-shrink:0;
  background: var(--blue-mid); transform: rotate(45deg);
}
.service-card--wide{ grid-column: span 2; display:grid; grid-template-columns: 1fr 1.4fr; gap:32px; align-items:flex-start; }

/* =====================================================================
   ABOUT / PROFILE STRIP
   ===================================================================== */
.about{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap:64px; align-items:center;
}
.about__tag{
  font-family:'Space Grotesk', sans-serif; font-size: clamp(22px,2.6vw,30px);
  font-weight:600; color: var(--blue-navy); line-height:1.4;
}
.about__tag span{ color: var(--blue-mid); }
.about__points{ margin-top:28px; display:flex; flex-direction:column; gap:16px; }
.about__points li{ display:flex; gap:12px; font-size:14.5px; color: var(--slate); }
.about__points li b{ color: var(--ink); }
.about__points li::before{
  content:""; width:7px; height:7px; margin-top:6px; flex-shrink:0;
  border:2px solid var(--blue-bright); transform:rotate(45deg);
}
.about__panel{
  background: linear-gradient(160deg, var(--blue-deep), var(--blue-mid));
  border-radius:20px; padding:40px; color:#fff; position:relative; overflow:hidden;
}
.about__panel h3{ color:#fff; font-size:20px; margin-bottom:18px; }
.about__panel .legal-row{
  display:flex; justify-content:space-between; gap:16px;
  padding:13px 0; border-bottom:1px solid rgba(255,255,255,0.14); font-size:13.5px;
}
.about__panel .legal-row:last-child{ border-bottom:none; }
.about__panel .legal-row span:first-child{ color: rgba(255,255,255,0.6); }
.about__panel .legal-row span:last-child{ font-family:'IBM Plex Mono',monospace; text-align:right; color:#fff; }

/* =====================================================================
   CLIENTS
   ===================================================================== */
.clients-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:16px;
}
.client-card{
  background: var(--bg-panel);
  border:1px solid var(--line);
  border-radius:12px;
  padding:22px 16px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px;
  text-align:center;
  min-height:130px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.client-card:hover{ box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--blue-pale); }
.client-card__logo{
  width:64px; height:64px; border-radius:10px;
  background: var(--blue-pale);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.client-card__logo img{ width:100%; height:100%; object-fit:contain; }
.client-card__fallback{
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:16px; color: var(--blue-mid);
}
.client-card__name{ font-size:11.5px; color: var(--slate); font-weight:600; line-height:1.4; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact{
  background: var(--blue-navy);
  border-radius:24px;
  padding:64px;
  position:relative; overflow:hidden;
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap:56px;
}
.contact .motif-squares{ inset:0; }
.contact__info{ position:relative; z-index:1; }
.contact__info h2{ color:#fff; font-size: clamp(26px,3vw,32px); margin-bottom:16px; }
.contact__info p{ color: rgba(255,255,255,0.68); font-size:15px; max-width:380px; }
.contact__list{ margin-top:32px; display:flex; flex-direction:column; gap:18px; }
.contact__list li{ display:flex; gap:14px; align-items:flex-start; }
.contact__list .ico{
  width:38px; height:38px; border-radius:9px; flex-shrink:0;
  background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.16);
  display:flex; align-items:center; justify-content:center;
  color: var(--blue-bright); font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:700;
}
.contact__list div p{ color:#fff; font-size:14.5px; font-weight:500; }
.contact__list div span{ display:block; color: rgba(255,255,255,0.55); font-size:12.5px; margin-top:2px; }

.contact-form{ position:relative; z-index:1; background:#fff; border-radius:16px; padding:32px; box-shadow: var(--shadow-md); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:12.5px; font-weight:600; color: var(--blue-deep); margin-bottom:7px; letter-spacing:.02em; }
.field input, .field textarea{
  width:100%; border:1.5px solid var(--line); border-radius:9px; padding:12px 14px;
  font-family:'Inter',sans-serif; font-size:14.5px; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  background: #FBFDFF;
}
.field input:focus, .field textarea:focus{
  outline:none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(20,168,232,0.14); background:#fff;
}
.field textarea{ resize:vertical; min-height:110px; }
.field-error{ font-size:12px; color:#D14343; margin-top:6px; display:none; }
.field.has-error input, .field.has-error textarea{ border-color:#D14343; }
.field.has-error .field-error{ display:block; }

.submit-row{ display:flex; align-items:center; gap:16px; margin-top:6px; }
.submit-row .btn{ width:100%; justify-content:center; }
.form-status{ font-size:13.5px; margin-top:14px; padding:12px 14px; border-radius:9px; display:none; }
.form-status.show{ display:block; }
.form-status.success{ background:#E4F7EA; color:#1E7A3C; display:block; }
.form-status.error{ background:#FBE7E7; color:#B23A3A; display:block; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer{ background: var(--blue-navy); padding:56px 0 28px; border-top:1px solid rgba(255,255,255,0.06); }
.footer__top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer__brand{ max-width:320px; }
.footer__brand .brand{ margin-bottom:14px; }
.footer__brand .brand__text strong{ color:#fff; }
.footer__brand p{ color: rgba(255,255,255,0.5); font-size:13.5px; }
.footer__cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer__col h4{ color:#fff; font-size:13px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:16px; }
.footer__col ul{ display:flex; flex-direction:column; gap:10px; }
.footer__col a{ color: rgba(255,255,255,0.55); font-size:14px; transition: color .2s; }
.footer__col a:hover{ color: var(--blue-bright); }
.footer__bottom{ padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer__bottom p{ color: rgba(255,255,255,0.4); font-size:12.5px; }

/* Back to top */
.to-top{
  position:fixed; right:24px; bottom:24px; z-index:90;
  width:46px; height:46px; border-radius:50%;
  background: var(--blue-navy); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
  opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .3s var(--ease);
}
.to-top.show{ opacity:1; visibility:visible; transform:none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__panel{ margin: 40px auto 0; }
  .about{ grid-template-columns:1fr; }
  .services-grid{ grid-template-columns:1fr; }
  .service-card--wide{ grid-column:span 1; grid-template-columns:1fr; }
  .clients-grid{ grid-template-columns: repeat(3,1fr); }
  .contact{ grid-template-columns:1fr; padding:40px 28px; }
}
@media (max-width: 720px){
  .nav-links{
    position:fixed; top:0; right:0; height:100vh; width:78%; max-width:320px;
    background: var(--bg-panel); flex-direction:column; align-items:flex-start;
    padding:100px 32px 32px; gap:26px; box-shadow: var(--shadow-md);
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav-links.is-open{ transform:none; }
  .nav-toggle{ display:flex; }
  .clients-grid{ grid-template-columns: repeat(2,1fr); }
  .form-row{ grid-template-columns:1fr; }
  .hero{ padding:150px 0 100px; }
  .footer__top{ flex-direction:column; }
}
