@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  --blue: #0755f5;
  --blue2: #0c3ca8;
  --ink: #07101f;
  --muted: #687386;
  --line: #e5eaf2;
  --paper: #f7f9fc;
  --white: #ffffff;
  --radius: 24px;
  --header-h: 82px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 44px));
  margin: auto;
}

/* Include elements */
site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 100;
}

site-footer {
  display: block;
}

/* ==========================================================================
   Typography & General Utilities
   ========================================================================== */
.mono {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.99;
  letter-spacing: -0.075em;
  margin: 22px 0;
}

h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.06em;
  line-height: 1.04;
  margin: 15px 0 22px;
}

h3 {
  letter-spacing: -0.035em;
}

.muted {
  color: var(--muted);
  line-height: 1.8;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 15px 21px;
  font-weight: 800;
  font-size: 13px;
  transition: 0.25s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 10px 28px #0755f52c;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px #0755f540;
}

.btn-ghost {
  border-color: #d8dfeb;
  background: #ffffff;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.arrow {
  font-size: 18px;
}

/* ==========================================================================
   Navigation Bar (Header)
   ========================================================================== */
.nav-wrap {
  position: relative;
  width: 100%;
  background: rgba(247, 249, 252, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid #e7ebf2;
  box-shadow: 0 2px 14px rgba(7, 16, 31, 0.04);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 175px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  font-weight: 800;
  color: #5e687a;
}

.nav-links a {
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-cta {
  padding: 12px 17px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Homepage)
   ========================================================================== */
.hero {
  padding: 88px 0 76px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #d6e5ff 0%, #edf3ff 50%, transparent 100%),
              linear-gradient(180deg, #edf3ff 0%, transparent 85%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 .blue {
  color: var(--blue);
}

.hero-desc {
  max-width: 510px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.micro-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  color: #687386;
  font-size: 12px;
}

.micro-proof .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23c58b;
  box-shadow: 0 0 0 5px #23c58b20;
}

/* ==========================================================================
   3D Animated Stage (Hero)
   ========================================================================== */
.stage {
  height: 460px;
  position: relative;
  perspective: 1000px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.stage:before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, #dce7ff 0%, #edf2ff 48%, transparent 72%);
  filter: blur(8px);
}

.orbit {
  position: absolute;
  border: 1px solid #cbd8f4;
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-20deg);
  animation: orbit 18s linear infinite;
}

.orbit.one {
  width: 420px;
  height: 420px;
}

.orbit.two {
  width: 330px;
  height: 330px;
  animation-duration: 13s;
  animation-direction: reverse;
  border-style: dashed;
}

.orbit.three {
  width: 245px;
  height: 245px;
  animation-duration: 24s;
}

.orb-dot {
  position: absolute;
  width: 13px;
  height: 13px;
  background: var(--blue);
  border-radius: 4px;
  box-shadow: 0 0 25px #0755f57a;
}

.dot-a { top: 18%; left: 21%; }
.dot-b { right: 15%; top: 45%; width: 9px; height: 9px; background: #7da6ff; }
.dot-c { bottom: 18%; left: 25%; width: 7px; height: 7px; }

.core {
  width: 190px;
  height: 190px;
  position: relative;
  transform-style: preserve-3d;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}

.core-face {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(145deg, #2670ff, #0343d2 70%);
  box-shadow: inset 1px 1px 0 #ffffff70, 25px 28px 50px #073fba40;
  transform: rotateX(58deg) rotateZ(45deg);
  display: grid;
  place-items: center;
}

.core-face:before,
.core-face:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid #ffffff6b;
  border-radius: 24px;
}

.core-face:after {
  inset: 39px;
  border-color: #ffffff45;
}

.core-letter {
  color: white;
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -0.12em;
  transform: rotateZ(-45deg) rotateX(-58deg);
  text-shadow: 0 5px 20px #001c7755;
}

.float-card {
  position: absolute;
  z-index: 3;
  padding: 16px 18px;
  background: #ffffffd9;
  backdrop-filter: blur(14px);
  border: 1px solid #fff;
  border-radius: 17px;
  box-shadow: 0 20px 50px #18396f13;
  animation: float 6s ease-in-out infinite;
}

.float-card strong {
  display: block;
  font-size: 13px;
}

.float-card small {
  font-size: 10px;
  color: var(--muted);
}

.fc-one { left: 0; top: 22%; animation-delay: -1s; }
.fc-two { right: 0; bottom: 20%; animation-delay: -3s; }

.mini-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 24px;
  margin-top: 10px;
}

.mini-bars i {
  display: block;
  width: 7px;
  border-radius: 4px;
  background: var(--blue);
}

.mini-bars i:nth-child(1) { height: 9px; }
.mini-bars i:nth-child(2) { height: 15px; }
.mini-bars i:nth-child(3) { height: 12px; }
.mini-bars i:nth-child(4) { height: 23px; }
.mini-bars i:nth-child(5) { height: 18px; }

/* ==========================================================================
   Sections & Layout Grids
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: #f1f5fa;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-cta {
  background: #f1f5fa;
  border-top: 1px solid #e2e8f0;
  padding: 85px 0 95px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.section-head > div:first-child {
  max-width: 650px;
}

.section-head .muted {
  max-width: 380px;
  margin-bottom: 5px;
}

.section-head-side {
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 14px;
  margin-left: auto;
}

.section-head-side .muted {
  margin-bottom: 0;
  max-width: 100%;
  font-size: 13.5px;
  line-height: 1.65;
}

.section-head-side .btn-ghost {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  border-color: #d8dfeb;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(16, 45, 100, 0.04);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-head-side .btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 10px 24px rgba(7, 85, 245, 0.1);
}

/* ==========================================================================
   Service Grid & Cards
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  display: block;
  cursor: pointer;
  padding: 30px 28px;
  border: 1px solid #dce4ef;
  border-radius: 22px;
  background: #ffffff;
  min-height: 240px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10, 25, 50, 0.04);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: #9cbdf8;
  box-shadow: 0 20px 48px rgba(7, 85, 245, 0.12);
}

.service-card:hover h3 {
  color: var(--blue);
}

.service-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid #e7edfb;
  border-radius: 50%;
  right: -50px;
  bottom: -60px;
  transition: 0.4s;
}

.service-card:hover:after {
  transform: scale(1.35);
  border-color: #a9c2ff;
}

.service-num {
  font: 11px "DM Mono", monospace;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.service-symbol {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #edf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin: 24px 0 20px;
  transition: 0.25s;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  transition: 0.2s;
}

.service-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.section-action {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-action .btn-ghost {
  padding: 15px 32px;
  font-size: 13px;
  font-weight: 800;
  border-color: #d8dfeb;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 45, 100, 0.05);
  transition: all 0.25s ease;
}

.section-action .btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(7, 85, 245, 0.12);
}

/* ==========================================================================
   Service Detail Items (Layanan Hub)
   ========================================================================== */
.service-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.service-detail + .service-detail {
  margin-top: 12px;
}

.service-detail:hover {
  transform: translateY(-4px);
  border-color: #b7caff;
  box-shadow: 0 18px 45px #102d6412;
}

.service-detail:hover .service-symbol {
  background: var(--blue);
  color: #fff;
  transform: scale(1.05);
}

.service-detail:hover h3 {
  color: var(--blue);
}

.service-detail .service-symbol {
  margin: 0;
  transition: all 0.25s ease;
}

.service-detail h3 {
  font-size: 21px;
  margin: 0 0 9px;
  transition: 0.2s;
}

.service-detail p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   Service Sub-Navbar (Apple/Stripe Style Tab Bar)
   ========================================================================== */
.service-subnav {
  background: #ffffff;
  border-block: 1px solid #e2e8f0;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 16px rgba(10, 25, 50, 0.03);
}

.service-subnav-inner {
  display: flex;
  align-items: center;
  min-height: 58px;
}

.service-subnav-list {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.service-subnav-list::-webkit-scrollbar {
  display: none;
}

.service-subnav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  background: #ffffff;
  border: 1px solid #dce4ef;
  box-shadow: 0 1px 3px rgba(10, 25, 50, 0.03);
}

.service-subnav-item .nav-dot,
.service-subnav-item span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
  padding: 0;
  transition: all 0.2s ease;
}

.service-subnav-item:hover {
  background: #f8faff;
  border-color: #9cbef8;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(7, 85, 245, 0.08);
  transform: translateY(-1px);
}

.service-subnav-item:hover .nav-dot,
.service-subnav-item:hover span {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(7, 85, 245, 0.45);
}

.service-subnav-item.active {
  background: #edf3ff;
  color: var(--blue);
  font-weight: 700;
  border-color: #8bb3f8;
  box-shadow: 0 2px 10px rgba(7, 85, 245, 0.12);
}

.service-subnav-item.active .nav-dot,
.service-subnav-item.active span {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(7, 85, 245, 0.65);
}

@media (max-width: 992px) {
  .service-subnav-inner {
    padding: 6px 0;
  }
}

/* Category Filter Pills (Legacy / Fallback) */
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: 0.2s;
}

.service-pill:hover,
.service-pill.active {
  border-color: var(--blue);
  color: var(--blue);
  background: #edf3ff;
}

/* ==========================================================================
   Dark Band & Metrics
   ========================================================================== */
.dark-band {
  background: #07101f;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dark-band:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  right: -180px;
  top: -300px;
  box-shadow: 0 0 0 60px #ffffff05, 0 0 0 120px #ffffff03;
}

.dark-band .muted {
  color: #a7b2c5;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric {
  padding: 25px;
  border: 1px solid #ffffff1b;
  border-radius: 18px;
  background: #ffffff08;
}

.metric strong {
  font-size: 31px;
  letter-spacing: -0.06em;
  display: block;
}

.metric span {
  font-size: 12px;
  color: #a7b2c5;
}

/* ==========================================================================
   Vision & Mission Grid
   ========================================================================== */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vision-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 38px 34px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.vision-card:hover {
  border-color: rgba(134, 170, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.vision-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.vision-badge {
  font: 700 11px/1 "DM Mono", monospace;
  color: #86aaff;
  background: rgba(134, 170, 255, 0.12);
  border: 1px solid rgba(134, 170, 255, 0.24);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
}

.vision-symbol {
  font-size: 20px;
  color: #86aaff;
  line-height: 1;
  opacity: 0.8;
}

.vision-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 14px;
}

.vision-card p {
  font-size: 14.5px;
  color: #a7b2c5;
  line-height: 1.75;
  margin: 0;
}

/* ==========================================================================
   Process Cards & Steps
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 25, 50, 0.03);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #6ba2ff);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 85, 245, 0.1);
  border-color: #bcd4ff;
}

.process-card:hover::before {
  opacity: 1;
}

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-card-top .process-icon {
  margin-bottom: 0;
}

.process-badge {
  font: 700 11px/1 "DM Mono", monospace;
  color: var(--blue);
  background: #edf3ff;
  border: 1px solid #d3e2ff;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
}

.process-num {
  font: 700 17px/1 "DM Mono", monospace;
  color: #a4b5cc;
  letter-spacing: -0.02em;
  transition: color 0.25s ease;
}

.process-card:hover .process-num {
  color: var(--blue);
}

.process-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f4f7fc;
  border: 1px solid #e5ecf6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 18px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.process-card:hover .process-icon {
  background: var(--blue);
  color: #ffffff;
  transform: scale(1.05);
}

.process-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.process-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.process-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

/* Legacy fallback for process-step */
.process-step {
  border-top: 1px solid #dce3ee;
  padding: 22px 12px 0 0;
}

.process-step .step {
  font: 11px "DM Mono", monospace;
  color: var(--blue);
}

.process-step h3 {
  font-size: 17px;
  margin: 18px 0 8px;
}

.process-step p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

/* ==========================================================================
   Call to Action (CTA) Panel
   ========================================================================== */
.cta-panel {
  padding: 52px;
  border-radius: 28px;
  background: linear-gradient(120deg, #0755f5, #103db6);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.cta-panel:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  right: 15%;
  top: -190px;
  box-shadow: 0 0 0 35px #ffffff0d, 0 0 0 70px #ffffff08;
}

.cta-panel h2 {
  max-width: 650px;
  margin: 12px 0 0;
}

.cta-panel .btn {
  background: #fff;
  color: var(--blue);
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #07101f;
  color: #fff;
  padding: 62px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 45px;
}

.footer-logo {
  width: 170px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer p,
.footer a {
  color: #9da9bc;
  font-size: 12px;
  line-height: 1.9;
}

.footer h4 {
  font-size: 12px;
  margin: 0 0 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: white;
}

.footer .btn,
.footer .btn-primary {
  color: #ffffff !important;
  font-size: 13px;
  line-height: 1.2;
}

.footer .btn-primary:hover {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid #ffffff16;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #78869b;
  font-size: 11px;
}

/* ==========================================================================
   Sub-page Hero & Info Panels
   ========================================================================== */
.page-hero {
  padding: 82px 0 60px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #d6e5ff 0%, #edf3ff 50%, transparent 100%),
              linear-gradient(180deg, #edf3ff 0%, transparent 100%);
  border-bottom: 1px solid #e2e8f0;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero .muted {
  max-width: 650px;
  font-size: 15px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-panel {
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
}

.info-panel h3 {
  font-size: 22px;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}

.list-check li {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #536074;
  line-height: 1.6;
}

.list-check li:before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
}

/* ==========================================================================
   Contact Page Grid & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.contact-card {
  background: #07101f;
  color: white;
  padding: 32px;
  border-radius: 24px;
}

.contact-item {
  padding: 20px 0;
  border-bottom: 1px solid #ffffff18;
}

.contact-item:last-child {
  border: 0;
}

.contact-item span {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  margin-bottom: 7px;
}

.contact-item strong,
.contact-item a {
  font-size: 14px;
  line-height: 1.7;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
}

.field label {
  font-size: 12px;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dce3ed;
  background: #fbfcfe;
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #0755f514;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-item summary {
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary:after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 20px;
}

.faq-item[open] summary:after {
  content: "−";
}

.faq-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 15px 0 0;
}

/* ==========================================================================
   Effects, Ticker, Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.cursor-glow {
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: #0755f508;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* Seamless Continuous Ticker Ribbon */
.ticker {
  overflow: hidden;
  border-block: 1px solid #1a273b;
  padding: 18px 0;
  color: #cbd5e1;
  background: #091322;
  display: flex;
  user-select: none;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group span {
  font: 600 11.5px/1 "DM Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 28px;
  white-space: nowrap;
  color: #cbd5e1;
}

.ticker-group i {
  font-style: normal;
  color: #38bdf8;
  font-size: 11px;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@keyframes orbit {
  to {
    transform: rotateX(66deg) rotateZ(340deg);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotateX(0);
  }
  50% {
    transform: translateY(-12px) rotateX(3deg);
  }
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(18, 140, 126, 0.45), 0 4px 12px rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

.wa-float-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
}

.wa-float-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2.2s infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(0.96);
    opacity: 0;
  }
}

/* ==========================================================================
   Project & Portfolio Page
   ========================================================================== */


.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 18px rgba(7, 16, 31, 0.04);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(7, 16, 31, 0.09);
  border-color: #bcd4ff;
}

/* Browser Window Mockup Frame */
.browser-mockup {
  background: #edf2f7;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.browser-chrome {
  background: #f1f5f9;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  gap: 10px;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address {
  background: #ffffff;
  border: 1px solid #d8e2ec;
  border-radius: 7px;
  padding: 4px 10px;
  font: 500 11.5px/1.3 "DM Mono", monospace;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 260px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.browser-address svg {
  width: 11px;
  height: 11px;
  stroke: #10b981;
  flex-shrink: 0;
}

.browser-action-icon {
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.browser-action-icon:hover {
  color: var(--blue);
}

/* Viewport with live iframe & auto-scroll */
.browser-viewport {
  position: relative;
  width: 100%;
  height: 230px;
  background: #f8fafc;
  overflow: hidden;
}

.browser-scroll-track {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  animation: autoScrollWeb 16s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.project-card:hover .browser-scroll-track {
  animation-play-state: paused;
}

/* Stagger animation timing across cards for a natural, organic feel */
.project-card:nth-child(3n+1) .browser-scroll-track {
  animation-duration: 17s;
  animation-delay: 0.5s;
}

.project-card:nth-child(3n+2) .browser-scroll-track {
  animation-duration: 19s;
  animation-delay: 3s;
}

.project-card:nth-child(3n+3) .browser-scroll-track {
  animation-duration: 15s;
  animation-delay: 5.5s;
}

.browser-iframe {
  width: var(--iframe-base-w, 1200px);
  height: 2800px;
  border: none;
  transform: scale(var(--iframe-scale, 0.308));
  transform-origin: 0 0;
  pointer-events: none;
  display: block;
}

@keyframes autoScrollWeb {
  0%, 14% {
    transform: translateY(0);
  }
  48%, 62% {
    transform: translateY(-520px);
  }
  92%, 100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .browser-scroll-track {
    animation: none;
  }
}

.browser-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 31, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
  z-index: 5;
  text-decoration: none;
  padding: 12px;
}

.project-card:hover .browser-overlay {
  opacity: 1;
}

.btn-preview {
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-align: center;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn-preview:hover {
  background: var(--blue);
  color: #ffffff;
  transform: scale(1.04);
}

/* Project Body Content */
.project-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.project-tag {
  font: 700 10px/1 "DM Mono", monospace;
  color: var(--blue);
  background: #edf3ff;
  border: 1px solid #d6e4ff;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.project-tag.muted-tag {
  color: #64748b;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.project-title {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 5px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.project-subtitle {
  font-size: 12.5px;
  font-weight: 600;
  color: #3b506d;
  margin: 0 0 10px;
  line-height: 1.35;
}

.project-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tech {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tech-pill {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f4f7fa;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 5px;
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #edf2f7;
  gap: 12px;
}

.project-url {
  font: 500 11.5px/1 "DM Mono", monospace;
  color: #64748b;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-url:hover {
  color: var(--blue);
}

.btn-visit {
  background: #edf3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid #d4e3ff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-visit:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(7, 85, 245, 0.22);
}

/* Tablet: 2 per row */
@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .browser-viewport {
    height: 240px;
  }
  .browser-iframe {
    transform: scale(var(--iframe-scale, 0.34));
    height: 2800px;
  }
  @keyframes autoScrollWeb {
    0%, 14% {
      transform: translateY(0);
    }
    48%, 62% {
      transform: translateY(-560px);
    }
    92%, 100% {
      transform: translateY(0);
    }
  }
}

/* HP / Mobile: 1 per row */
@media (max-width: 680px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .project-card {
    border-radius: 18px;
  }
  .browser-chrome {
    padding: 10px 14px;
    gap: 8px;
  }
  .browser-dots {
    display: flex;
  }
  .browser-address {
    padding: 4px 8px;
    font-size: 11px;
    max-width: 220px;
  }
  .browser-viewport {
    height: 210px;
  }
  .browser-iframe {
    transform: scale(var(--iframe-scale, 0.29));
    height: 2600px;
  }
  @keyframes autoScrollWeb {
    0%, 14% {
      transform: translateY(0);
    }
    48%, 62% {
      transform: translateY(-460px);
    }
    92%, 100% {
      transform: translateY(0);
    }
  }
  .btn-preview {
    font-size: 11.5px;
    padding: 8px 16px;
  }
  .project-body {
    padding: 18px 16px 20px;
  }
  .project-title {
    font-size: 17.5px;
  }
  .project-subtitle {
    font-size: 12px;
  }
  .project-desc {
    font-size: 12.5px;
    -webkit-line-clamp: 3;
  }
  .project-footer {
    padding-top: 14px;
  }
  .btn-visit {
    font-size: 11.5px;
    padding: 7px 14px;
  }
}

@media (max-width: 640px) {
  .wa-float {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
  }
  .wa-float span {
    display: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .vision-grid {
    gap: 20px;
  }
  .vision-card {
    padding: 30px 24px;
  }
  .hero {
    padding-top: 58px;
  }
  .stage {
    height: 390px;
    max-width: 600px;
    width: 100%;
    margin: auto;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .section-head-side {
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
  .cta-panel {
    padding: 36px;
    align-items: flex-start;
    flex-direction: column;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 70px;
  }
  .container {
    width: min(100% - 32px, 1160px);
  }
  .nav {
    height: 70px;
  }
  .brand img {
    width: 145px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    padding: 20px 22px 24px;
    background: #f7f9fc;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 13px 0;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding: 50px 0 45px;
  }
  .hero-grid {
    gap: 0;
  }
  .hero-desc {
    font-size: 14px;
  }
  .stage {
    height: 340px;
    transform: scale(0.91);
    margin: -5px auto;
  }
  .orbit.one { width: 330px; height: 330px; }
  .orbit.two { width: 270px; height: 270px; }
  .orbit.three { width: 210px; height: 210px; }
  .core { width: 145px; height: 145px; }
  .core-letter { font-size: 64px; }
  .fc-one { left: -2px; }
  .fc-two { right: -2px; }
  .float-card { padding: 12px; }
  .section { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .process { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .page-hero { padding: 55px 0 35px; }
  .content-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 50px 1fr; padding: 20px; }
  .service-detail .service-symbol { width: 42px; height: 42px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .contact-card { padding: 24px; }
  .cta-panel { padding: 28px; }
  .cta-panel h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
