:root {
  --bg: #070b14;
  --bg-elevated: #0c1220;
  --bg-card: #111a2b;
  --bg-header: rgba(7, 11, 20, 0.78);
  --text: #f3f6fb;
  --muted: #9aa8bc;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #3b82f6;
  --accent-2: #22d3ee;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --ok: #34d399;
  --danger: #f87171;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --container: 1120px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: var(--bg-header);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 11, 20, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.custom-logo-link img {
  height: 44px;
  width: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
  box-shadow: inset 0 0 18px rgba(59, 130, 246, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-list a:hover,
.nav-list .current-menu-item a,
.nav-list .current_page_item a {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.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);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 22px;
}

.btn-primary {
  background: linear-gradient(180deg, #5b9cff, var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.28);
}

.btn-outline,
.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.btn-ghost {
  color: var(--muted);
  font-size: 13px;
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: var(--accent-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.12), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.16), transparent 32%),
    linear-gradient(180deg, #070b14 0%, #0a1222 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 10%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.28), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent-2);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

.lede,
.section-head p,
.prose p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats dt {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.pc-frame {
  position: relative;
  width: min(100%, 360px);
}

.pc-case {
  position: relative;
  height: 380px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1a2438, #0b101b 55%, #151c2d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow), 0 0 80px rgba(34, 211, 238, 0.12);
  overflow: hidden;
}

.pc-glass {
  position: absolute;
  inset: 18px 18px 18px 72px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.08), transparent 40%),
    #070b14;
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.pc-fan {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 8px solid #1b2740;
  background:
    repeating-conic-gradient(from 0deg, #22d3ee 0 12deg, transparent 12deg 28deg),
    #0b1220;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
  animation: spin 4.5s linear infinite;
}

.pc-fan-a { top: 28px; left: 28px; }
.pc-fan-b { top: 118px; left: 28px; animation-duration: 3.6s; }
.pc-fan-c { top: 208px; left: 28px; animation-duration: 5s; }

.pc-board {
  position: absolute;
  right: 18px;
  top: 36px;
  width: 92px;
  height: 210px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 8px, rgba(59, 130, 246, 0.35) 8px 10px, transparent 10px 18px),
    linear-gradient(#12203a, #0c1528);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.pc-front {
  position: absolute;
  left: 18px;
  top: 28px;
  bottom: 28px;
  width: 38px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-front span {
  flex: 1;
  border-radius: 8px;
  background: #0a101c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 12px rgba(59, 130, 246, 0.2);
}

.pc-base {
  width: 70%;
  height: 10px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes spin {
  to { transform: rotate(1turn); }
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.info-card,
.aside-card,
.contact-form-wrap,
.why-panel,
.why-item {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius);
}

.card {
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-2);
  margin-bottom: 18px;
}

.card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.why-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.why-panel {
  padding: 8px;
}

.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
}

.why-item:last-child {
  border-bottom: 0;
}

.why-item strong {
  font-size: 1.4rem;
  color: var(--accent);
}

.why-item p {
  margin: 0;
  color: var(--muted);
}

.about-teaser {
  padding-top: 0;
}

.about-layout,
.about-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
}

.about-page .about-layout {
  gap: 48px;
  align-items: stretch;
}

.about-teaser-inner {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-elevated);
}

.about-media {
  position: relative;
  margin: 0;
  min-height: 420px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a101c;
}

.about-teaser-inner .about-media {
  border: 0;
  border-radius: 0;
  min-height: 100%;
}

.about-media picture,
.about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-media img {
  object-fit: cover;
  object-position: 55% center;
}

.about-media-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.about-page .about-copy {
  padding: 8px 0 8px 8px;
}

.about-copy h2 {
  max-width: 16ch;
}

.about-copy > p,
.about-copy .prose {
  max-width: 42ch;
}

.about-copy .prose p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.about-copy img,
.about-copy figure,
.about-copy picture,
.about-copy .sow-image-container,
.about-copy .so-widget-sow-image,
.about-copy .widget_sow-image,
.about-copy .panel-grid {
  display: none !important;
}

.about-copy .prose {
  display: block !important;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 28px;
}

.about-stats div {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.about-stats strong {
  display: block;
  font-size: 1.05rem;
}

.about-stats span {
  color: var(--muted);
  font-size: 12px;
}

.about-actions {
  margin: 0;
}

.cta-band {
  padding-top: 0;
}

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.cta-band-inner .hero-actions {
  margin: 0;
}

.page-hero {
  padding: 72px 0 24px;
  background:
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.18), transparent 36%),
    var(--bg);
}

.page-hero h1 {
  max-width: 18ch;
}

.prose {
  max-width: 68ch;
}

.prose a {
  color: var(--accent-2);
}

.aside-card {
  padding: 24px;
  margin-bottom: 16px;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.info-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  color: inherit;
  transition: border-color 0.2s ease;
}

a.info-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
}

.contact-form-wrap {
  padding: 28px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0a101c;
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-notice {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 600;
}

.form-notice-success {
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok);
}

.form-notice-error {
  background: rgba(248, 113, 113, 0.12);
  color: var(--danger);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(0.4) contrast(1.05);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 56px;
  background: #060910;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p,
.footer-contact {
  color: var(--muted);
}

.footer-col h3 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links,
.footer-contact,
.footer-col .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col .nav-list {
  flex-direction: column;
}

.footer-col .nav-list a {
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 500;
  background: none;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--text);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #22c55e;
  color: #052e16;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.wa-float:hover {
  transform: translateY(-2px);
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .hero-grid,
  .card-grid,
  .why-grid,
  .about-teaser-inner,
  .contact-layout,
  .about-layout,
  .footer-grid,
  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .about-teaser-inner .about-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .about-copy,
  .about-page .about-copy {
    padding: 28px 24px 32px;
  }

  .about-copy h2 {
    max-width: none;
  }

  .about-copy > p,
  .about-copy .prose {
    max-width: none;
  }

  .hero-visual {
    min-height: 280px;
    order: -1;
  }

  .pc-frame {
    width: 260px;
  }

  .pc-case {
    height: 280px;
  }

  .cta-band-inner,
  .about-teaser-inner {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 16px 20px 24px;
    background: rgba(7, 11, 20, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .form-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .wa-float span {
    display: none;
  }

  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pc-fan,
  .btn,
  .card,
  .wa-float {
    animation: none;
    transition: none;
  }
}
