:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef5f3;
  --text: #18212f;
  --muted: #687385;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #f59e0b;
  --line: #dfe7ef;
  --shadow: 0 24px 60px rgba(24, 33, 47, 0.12);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 249, 252, 0.9);
  border-bottom: 1px solid rgba(223, 231, 239, 0.8);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(100% - 32px, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 78px;
  height: 38px;
  flex: 0 0 78px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav-menu a {
  transition: color 180ms ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.section {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 88px 0;
  scroll-margin-top: 90px;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - var(--max-width)) / 2));
  background: var(--surface-soft);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 56px;
  padding-top: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.trust-text {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions,
.project-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  box-shadow: 0 12px 24px rgba(24, 33, 47, 0.08);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -4% -8% 12%;
  background: #dbeafe;
  border-radius: 40px;
  transform: rotate(-4deg);
  z-index: -1;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(223, 231, 239, 0.9);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: #172033;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
}

.window-bar span:nth-child(2) {
  background: #fbbf24;
}

.window-bar span:nth-child(3) {
  background: #34d399;
}

.app-layout {
  min-height: 390px;
  display: grid;
  grid-template-columns: 92px 1fr;
  background: #f8fafc;
}

.mock-sidebar {
  padding: 24px 18px;
  background: #0f172a;
}

.mock-sidebar div {
  height: 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-content {
  padding: 26px;
}

.mock-topline {
  width: 58%;
  height: 16px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #cbd5e1;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.metric-card,
.chart-card,
.task-list {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: #ffffff;
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.chart-card {
  height: 128px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  margin-bottom: 18px;
}

.chart-card span {
  flex: 1;
  min-width: 20px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.task-list {
  padding: 16px;
}

.task-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.task-list div:last-child {
  margin-bottom: 0;
}

.task-list span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
}

.task-list b {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.layanan-section .section-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.layanan-grid {
  grid-template-columns: repeat(4, 1fr);
}

.maintenance-card {
  border-color: rgba(15, 118, 110, 0.32);
  background: linear-gradient(180deg, #ffffff, #f3fbf9);
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card,
.step-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(24, 33, 47, 0.06);
}

.service-card {
  padding: 24px;
}

.service-card p,
.price-card p,
.step-card p,
.portfolio-copy p,
.about-copy p,
.contact-panel p {
  color: var(--muted);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.idea-grid,
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.idea-grid span,
.tech-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 700;
}

.solution-grid span {
  background: #ffffff;
}

.scope-grid {
  grid-template-columns: repeat(3, 1fr);
}

.scope-grid .service-card:last-child {
  grid-column: span 3;
}

.portfolio-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
}

.portfolio-copy h3 {
  color: var(--primary);
  font-size: 26px;
}

.feature-card {
  padding: 28px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

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

.step-card {
  padding: 24px;
}

.step-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.price-card {
  position: relative;
  padding: 28px;
}

.price-card strong {
  display: block;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 24px;
  line-height: 1.2;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.42);
  transform: translateY(-8px);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
}

.price-note {
  max-width: 720px;
  margin: 26px auto 0;
  color: var(--muted);
  text-align: center;
}

.about-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 42px;
  align-items: start;
}

.about-copy {
  font-size: 17px;
}

.contact-section {
  padding-top: 48px;
}

.contact-panel {
  padding: 52px;
  border-radius: 16px;
  background: #172033;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.contact-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.footer {
  padding: 26px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 84px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu a {
    padding: 13px 12px;
    border-radius: 6px;
  }

  .nav-menu a:hover {
    background: var(--surface-soft);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero,
  .portfolio-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
  }

  .service-grid,
  .layanan-grid,
  .pricing-grid,
  .steps,
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-grid .service-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .navbar,
  .section {
    width: min(100% - 24px, var(--max-width));
  }

  .brand {
    max-width: calc(100vw - 92px);
  }

  .section {
    padding: 64px 0;
  }

  .section-muted {
    width: 100%;
    padding-inline: 12px;
  }

  .hero {
    gap: 40px;
    padding-top: 54px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions,
  .project-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .app-layout {
    grid-template-columns: 64px 1fr;
    min-height: 330px;
  }

  .mock-content {
    padding: 18px;
  }

  .metric-row,
  .service-grid,
  .layanan-grid,
  .pricing-grid,
  .steps,
  .scope-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .scope-grid .service-card:last-child {
    grid-column: span 1;
  }

  .price-card.featured {
    transform: none;
  }

  .contact-panel {
    padding: 34px 22px;
  }
}
