:root {
  --bg: #f6f8fb;
  --ink: #0b1220;
  --muted: #64748b;
  --muted-dark: #94a3b8;
  --line: rgba(15, 23, 42, 0.09);
  --blue: #2563eb;
  --cyan: #06b6d4;
  --violet: #7c3aed;
  --dark: #09111f;
  --dark-soft: #111c2f;
  --card: rgba(255, 255, 255, 0.76);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 12%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(6, 182, 212, 0.14), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 48%, #eef4ff 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 251, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.25);
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  padding: 92px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 62px;
  align-items: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.26);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #172033;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-visual::before {
  position: absolute;
  inset: 54px -34px 46px 34px;
  content: "";
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.11));
  transform: rotate(5deg);
}

.hero-visual::after {
  position: absolute;
  inset: 0 40px auto auto;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(6, 182, 212, 0.22));
  filter: blur(8px);
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, #101d32, #07101f);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
}

.visual-main {
  top: 70px;
  right: 10px;
  width: min(100%, 470px);
  min-height: 360px;
  padding: 28px;
  border-radius: 32px;
}

.visual-header {
  display: flex;
  gap: 8px;
  margin-bottom: 46px;
}

.visual-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.visual-header span:nth-child(1) {
  background: #fb7185;
}

.visual-header span:nth-child(2) {
  background: #fbbf24;
}

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

.dashboard-line {
  width: 66%;
  height: 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.46), rgba(148, 163, 184, 0.08));
}

.dashboard-line.large {
  width: 84%;
  height: 26px;
  background: linear-gradient(90deg, #e2e8f0, rgba(226, 232, 240, 0.16));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 44px;
}

.dashboard-grid div {
  min-height: 96px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.2), transparent),
    rgba(255, 255, 255, 0.045);
}

.dashboard-grid div:nth-child(1) {
  grid-row: span 2;
}

.dashboard-grid div:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(6, 182, 212, 0.22), transparent),
    rgba(255, 255, 255, 0.045);
}

.dashboard-grid div:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.2), transparent),
    rgba(255, 255, 255, 0.045);
}

.floating-card {
  position: absolute;
  z-index: 2;
  min-width: 150px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(16px);
}

.floating-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.floating-card strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.card-a {
  top: 24px;
  left: 18px;
}

.card-b {
  right: 0;
  bottom: 56px;
}

.card-c {
  left: 56px;
  bottom: 116px;
}

.section {
  padding: 78px 0;
}

.compact-stats {
  padding: 20px 0 72px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stats-grid div {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 24px;
}

.stats-grid span {
  color: #334155;
  font-weight: 800;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .kicker {
  margin-bottom: 0;
}

.section-heading.narrow {
  display: block;
  max-width: 720px;
}

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

.service-card {
  min-height: 286px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.12);
}

.service-card.featured {
  grid-row: span 2;
  background: linear-gradient(145deg, #0d1728, #111f35);
  color: white;
}

.service-card.featured p {
  color: var(--muted-dark);
}

.service-card span,
.workflow-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-weight: 900;
}

.service-card.featured span {
  background: rgba(255, 255, 255, 0.1);
  color: #67e8f9;
}

.platform {
  background: #0b1220;
  color: white;
}

.platform .kicker {
  color: #67e8f9;
}

.platform-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.section-text {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted-dark);
  font-size: 17px;
}

.capability-list {
  display: grid;
  gap: 16px;
}

.capability-item {
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
}

.capability-item p {
  color: var(--muted-dark);
}

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

.workflow-grid > div {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
}

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

.contact-box {
  padding: 52px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 16%, rgba(6, 182, 212, 0.18), transparent 26%),
    linear-gradient(135deg, #0b1220, #111c2f);
  color: white;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.22);
}

.contact-box .kicker {
  color: #67e8f9;
}

.contact-box h2 {
  max-width: 820px;
  margin-bottom: 28px;
}

.mail-link {
  display: inline-flex;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #e0faff;
  font-weight: 800;
}

.site-footer {
  padding: 28px 0 38px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .platform-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-visual {
    min-height: 470px;
  }

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

  .service-card.featured {
    grid-row: auto;
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

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

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding: 58px 0 34px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-actions,
  .stats-grid,
  .service-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    min-height: 420px;
  }

  .visual-main {
    top: 58px;
    right: 0;
  }

  .floating-card {
    min-width: 132px;
  }

  .card-a {
    left: 0;
  }

  .card-c {
    left: 16px;
    bottom: 74px;
  }

  .service-card.featured {
    grid-column: auto;
  }

  .contact-box {
    padding: 34px 24px;
  }

  .mail-link {
    width: 100%;
    overflow-wrap: anywhere;
  }
}
