/*
Theme Name: Laksana Website
Theme URI: https://laksanawebsite.id
Author: Laksana Website
Author URI: https://laksanawebsite.id
Description: Theme WordPress ringan untuk landing page digital agency Laksana Website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: laksana-website
*/

:root {
  --navy-950: #041326;
  --navy-900: #071d3a;
  --navy-700: #104f9c;
  --navy-600: #0f66d0;
  --navy-500: #1877f2;
  --navy-100: #d8eaff;
  --navy-50: #eef6ff;
  --mist: #f5f8fc;
  --white: #ffffff;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --shadow-soft: 0 18px 50px rgba(7, 29, 58, 0.1);
  --shadow-lift: 0 24px 70px rgba(7, 29, 58, 0.16);
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy-900);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.is-dark {
  --white: #071d3a;
  --mist: #041326;
  --navy-950: #eef6ff;
  --navy-900: #d8eaff;
  --slate-700: #d8eaff;
  --slate-600: #cbd5e1;
  --slate-500: #94a3b8;
  --slate-200: rgba(255, 255, 255, 0.14);
  --slate-100: rgba(255, 255, 255, 0.08);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.76);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

body.admin-bar .site-header {
  top: 32px;
}

body.is-dark .site-header {
  background: rgba(4, 19, 38, 0.88);
}

.navbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.brand-fallback {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--navy-950);
  color: #fff;
  font-weight: 900;
}

.brand-title {
  display: block;
  color: var(--navy-950);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-primary {
  background: var(--navy-600);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-light {
  background: #fff;
  color: #071d3a;
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-900);
}

.icon-btn {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900);
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.mobile-panel {
  display: none;
}

.hero {
  overflow: hidden;
  padding: 128px 0 86px;
  background: radial-gradient(circle at top right, #d8eaff, transparent 34%), linear-gradient(180deg, #fff 0%, var(--mist) 100%);
}

body.is-dark .hero {
  background: radial-gradient(circle at top right, rgba(24, 119, 242, 0.24), transparent 34%), linear-gradient(180deg, #041326 0%, #071d3a 100%);
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 126px);
  align-items: center;
  gap: 56px;
  grid-template-columns: 1.02fr 0.98fr;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 9px 15px;
  color: var(--navy-700);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

body.is-dark .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 950;
  line-height: 1.05;
  text-wrap: balance;
}

.hero-lead,
.page-hero p,
.section-lead {
  max-width: 690px;
  color: var(--slate-600);
  font-size: 18px;
  line-height: 1.85;
}

.hero-lead {
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.stats {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.is-dark .stat {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.stat strong {
  display: block;
  margin-top: 6px;
  color: var(--navy-950);
  font-size: 14px;
  line-height: 1.25;
}

.mockup-wrap {
  position: relative;
}

.speed-card {
  position: absolute;
  top: 34px;
  right: -20px;
  z-index: 2;
  border-radius: var(--radius-xl);
  background: var(--white);
  padding: 15px;
  box-shadow: var(--shadow-soft);
}

.mockup-shell {
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  background: var(--white);
  padding: 16px;
  box-shadow: var(--shadow-lift);
}

.mockup {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.28);
  border-radius: 24px;
  background: #041326;
}

.mockup-bar {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #38bdf8;
}

.dot:nth-child(2) {
  background: #34d399;
}

.dot:nth-child(3) {
  background: #facc15;
}

.mockup-content {
  display: grid;
  gap: 20px;
  grid-template-columns: 0.85fr 1.15fr;
  padding: 24px;
}

.skeleton {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.skeleton.gradient {
  background: linear-gradient(135deg, var(--navy-500), #7dd3fc);
}

.mock-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 18px;
}

.line {
  display: block;
  height: 11px;
  border-radius: 999px;
  background: #e2e8f0;
}

.line.dark {
  height: 24px;
  background: #071d3a;
}

.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--mist);
}

.section-dark {
  background: #041326;
  color: #fff;
}

.section-header {
  max-width: 760px;
}

.section-kicker {
  margin: 0;
  color: var(--navy-500);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  margin: 14px 0 0;
  color: var(--navy-950);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 950;
  line-height: 1.12;
  text-wrap: balance;
}

.section-dark .section-title,
.section-dark .section-kicker {
  color: #fff;
}

.section-dark .section-lead {
  color: var(--slate-300);
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  background: var(--white);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 119, 242, 0.28);
  box-shadow: var(--shadow-soft);
}

.icon-box {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: var(--navy-50);
  color: var(--navy-600);
  font-size: 24px;
}

.card h3 {
  margin: 20px 0 10px;
  color: var(--navy-950);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.22;
}

.card p {
  margin: 0;
  color: var(--slate-600);
}

.card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--navy-600);
  font-weight: 900;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.portfolio-card {
  overflow: hidden;
  padding: 0;
}

.portfolio-thumb {
  min-height: 220px;
  padding: 22px;
  background: linear-gradient(135deg, var(--thumb-a), var(--thumb-b));
}

.portfolio-preview {
  margin-top: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.portfolio-body {
  padding: 26px;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  background: var(--navy-50);
  padding: 5px 10px;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 900;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.about-grid,
.contact-grid {
  display: grid;
  align-items: center;
  gap: 42px;
  grid-template-columns: 0.9fr 1.1fr;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-item {
  display: flex;
  gap: 12px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  background: var(--mist);
  padding: 16px;
  color: var(--slate-700);
  font-weight: 800;
}

.dark-card {
  border-radius: var(--radius-2xl);
  background: #071d3a;
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.dark-card p {
  color: var(--slate-300);
}

.cta-panel {
  border-radius: 32px;
  background: linear-gradient(135deg, #071d3a 0%, #104f9c 100%);
  padding: clamp(38px, 7vw, 72px);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 950;
  line-height: 1.08;
}

.cta-panel p {
  max-width: 690px;
  margin: 18px auto 0;
  color: #e2e8f0;
}

.page-hero {
  padding: 136px 0 68px;
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.filter-btn {
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 18px;
  color: var(--slate-600);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.filter-btn.is-active {
  border-color: var(--navy-600);
  background: var(--navy-600);
  color: #fff;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  padding: 15px;
  color: #fff;
  font-weight: 900;
}

.contact-form {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-2xl);
  background: var(--white);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--navy-950);
  font-weight: 900;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  background: var(--white);
  padding: 13px 15px;
  color: var(--slate-700);
  outline: none;
}

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

.site-footer {
  border-top: 1px solid var(--slate-200);
  background: var(--white);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.2fr 0.75fr 0.9fr;
}

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

.footer-title {
  margin: 0 0 15px;
  color: var(--navy-950);
  font-weight: 950;
}

.copyright {
  margin-top: 36px;
  border-top: 1px solid var(--slate-100);
  padding-top: 22px;
  color: var(--slate-500);
  font-size: 14px;
}

.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-panel {
    border-top: 1px solid var(--slate-100);
    background: var(--white);
    padding: 16px 20px 22px;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .mobile-panel a {
    display: block;
    border-radius: 16px;
    padding: 12px 14px;
    color: var(--slate-700);
    font-weight: 900;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .speed-card {
    right: 10px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-actions,
  .section-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats,
  .grid-4,
  .grid-3,
  .grid-2,
  .form-grid,
  .mockup-content {
    grid-template-columns: 1fr;
  }

  .speed-card {
    display: none;
  }

  .brand-title {
    font-size: 16px;
  }
}
