:root {
  --white: #ffffff;
  --canvas: #f4f7fb;
  --surface: #f8fafc;
  --surface-strong: #eef3f9;
  --border: #d9e2ee;
  --border-strong: #c8d3e1;
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --blue-soft: rgba(29, 78, 216, 0.08);
  --green: #15803d;
  --green-soft: #effcf3;
  --amber: #c2410c;
  --amber-soft: #fff7ed;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  color: var(--text);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.eyebrow,
.section-label,
.category-label,
.hero-panel-label {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--blue);
  margin-bottom: 16px;
}

.section-label,
.category-label,
.hero-panel-label {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

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

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 15px;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(29, 78, 216, 0.18);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(100, 116, 139, 0.2);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(71, 85, 105, 0.3);
}

.btn:focus-visible,
.menu-btn:focus-visible,
.demo-reload:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.18);
  outline-offset: 3px;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 226, 238, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-wrap.nav-shadow {
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

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

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

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

.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  padding: 18px 24px 28px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(217, 226, 238, 0.94);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
  gap: 0;
}

.nav-links.open a {
  width: 100%;
  padding: 14px 0;
  font-size: 15px;
  border-bottom: 1px solid #edf2f7;
}

.nav-links.open a:last-child {
  border-bottom: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 84px;
  border-bottom: 1px solid rgba(217, 226, 238, 0.9);
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.16), transparent 32%),
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0) 0%, rgba(244, 247, 251, 0.92) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-desc {
  max-width: 58ch;
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

.hero-panel {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -62px;
  right: -54px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.14) 0%, rgba(29, 78, 216, 0) 70%);
  pointer-events: none;
}

.hero-panel-list {
  display: grid;
  gap: 18px;
}

.hero-panel-item {
  position: relative;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(217, 226, 238, 0.92);
}

.hero-panel-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hero-panel-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-panel-item p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.section {
  padding: 92px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.9) 0%, rgba(248, 250, 252, 1) 100%);
  border-top: 1px solid rgba(217, 226, 238, 0.9);
  border-bottom: 1px solid rgba(217, 226, 238, 0.9);
}

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

.section-header-narrow {
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-header p,
.category-note {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.project-category + .project-category {
  margin-top: 84px;
}

.category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.category-header h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.project-list {
  display: grid;
  gap: 28px;
}

.project {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 30px;
  padding: 32px;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project::before {
  content: "";
  position: absolute;
  top: -92px;
  right: -66px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.85;
}

.project-concept::before {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 70%);
}

.project-real::before {
  background: radial-gradient(circle, rgba(29, 78, 216, 0.16) 0%, rgba(29, 78, 216, 0) 70%);
}

.project-info,
.project-demo {
  position: relative;
  z-index: 1;
}

.project-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.project-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #94a3b8;
}

.project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-concept {
  background: var(--amber-soft);
  border-color: rgba(194, 65, 12, 0.16);
  color: var(--amber);
}

.badge-accent {
  background: var(--blue-soft);
  border-color: rgba(29, 78, 216, 0.14);
  color: var(--blue);
}

.badge-neutral {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(100, 116, 139, 0.18);
  color: var(--text);
}

.badge-live {
  background: var(--green-soft);
  border-color: rgba(21, 128, 61, 0.16);
  color: var(--green);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.project-info h4 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.project-info > p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

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

.project-note {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-soft);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-demo {
  position: sticky;
  top: 104px;
  align-self: start;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #0f172a;
  box-shadow: var(--shadow-lg);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dots span:nth-child(1) {
  background: #ff5f57;
}

.demo-dots span:nth-child(2) {
  background: #febc2e;
}

.demo-dots span:nth-child(3) {
  background: #28c840;
}

.demo-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 12px;
}

.demo-reload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.demo-reload:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  transform: rotate(18deg);
}

.demo-frame {
  width: 100%;
  background: var(--white);
}

.demo-frame-site {
  height: 760px;
  overflow: hidden;
}

.demo-frame-app {
  height: 660px;
  overflow: auto;
}

.demo-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.96);
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.65;
}

.demo-notice svg {
  margin-top: 1px;
  flex-shrink: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(217, 226, 238, 0), rgba(200, 211, 225, 0.9), rgba(217, 226, 238, 0));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 34px;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-soft);
}

.about-steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.08);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
}

.step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
}

.step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-card ul {
  display: grid;
  gap: 10px;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.5);
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at right top, rgba(29, 78, 216, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
  box-shadow: var(--shadow);
}

.cta-info h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cta-info p {
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
}

.cta-action {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.contact-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.footer {
  padding: 24px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 226, 238, 0.92);
}

.footer-name {
  font-size: 14px;
  font-weight: 700;
}

.footer-sub {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .hero-grid,
  .project,
  .about-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero h1,
  .hero-desc {
    max-width: none;
  }

  .project-demo {
    position: static;
  }

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

  .cta-action {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
  }

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

  .hero {
    padding: 72px 0 64px;
  }

  .section {
    padding: 76px 0;
  }

  .category-header {
    grid-template-columns: 1fr;
  }

  .project,
  .cta-box {
    padding: 24px;
  }

  .demo-frame-site {
    height: 620px;
  }

  .demo-frame-app {
    height: 540px;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .hero-desc,
  .section-header p,
  .about-copy p,
  .cta-info p {
    font-size: 15px;
  }

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

  .project-actions .btn,
  .hero-actions .btn,
  .cta-action .btn {
    width: 100%;
  }

  .project {
    padding: 22px;
    border-radius: 28px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .demo-frame-site {
    height: 520px;
  }

  .demo-frame-app {
    height: 420px;
  }

  .demo-frame-app iframe {
    width: 960px;
    min-width: 960px;
  }

  .demo-url {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
