:root {
  --background: #ffffff;
  --surface: #f6f8fb;
  --surface-dark: #111827;
  --text: #111827;
  --text-secondary: #5f6b7a;
  --border: #e3e8ef;
  --primary: #2457d6;
  --primary-dark: #1d46ae;
  --white: #ffffff;
  --container: 1180px;
  --radius-small: 12px;
  --radius-medium: 18px;
  --radius-large: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--surface);
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

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

.brand {
  text-decoration: none;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

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

.nav-links a {
  color: #344054;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

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

.nav-login {
  padding: 10px 16px;
  color: var(--white) !important;
  background: var(--surface-dark);
  border-radius: 10px;
}

.nav-login:hover {
  background: #263244;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

/* Hero */

.hero {
  padding: 112px 0 96px;
  overflow: hidden;
}

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

.hero-copy h1 {
  max-width: 800px;
  margin: 0 0 24px;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 680px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--primary);
}

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

.button-secondary {
  color: var(--text);
  background: var(--white);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: #bcc7d5;
}

.hero-services {
  margin-top: 28px;
  color: #667085;
  font-size: 14px;
  font-weight: 600;
}

.hero-panel {
  position: relative;
  padding: 32px;
  background: var(--surface-dark);
  border-radius: var(--radius-large);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

.hero-panel::before {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 140px;
  height: 140px;
  background: rgba(36, 87, 214, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-panel-label {
  margin: 0 0 20px;
  color: #aebbd0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.process-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  color: #dce7ff;
  background: rgba(36, 87, 214, 0.34);
  border-radius: 9px;
  font-weight: 800;
}

/* Cards */

.solution-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.solution-card,
.value-card {
  height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
}

.solution-card h3,
.value-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.solution-card p,
.value-card p {
  margin: 0;
  color: var(--text-secondary);
}

.solution-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary);
  background: #edf3ff;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 800;
}

/* XiRepair */

.product-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
  padding: 54px;
  background: var(--surface-dark);
  border-radius: var(--radius-large);
}

.product-copy h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.product-copy p {
  margin: 0;
  color: #bac4d2;
  font-size: 18px;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: #dce7ff;
  background: rgba(36, 87, 214, 0.24);
  border: 1px solid rgba(108, 149, 255, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.product-status::before {
  width: 7px;
  height: 7px;
  background: #79a1ff;
  border-radius: 50%;
  content: "";
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.product-actions .button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

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

.product-feature {
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  font-weight: 650;
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: start;
}

.about-title h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 18px;
}

/* CTA */

.cta-panel {
  padding: 64px;
  text-align: center;
  background: #edf3ff;
  border: 1px solid #d7e3ff;
  border-radius: var(--radius-large);
}

.cta-panel h2 {
  max-width: 760px;
  margin: 0 auto 16px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.cta-panel p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 18px;
}

.cta-panel .button {
  margin-top: 28px;
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: var(--surface-dark);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.footer-copy {
  margin-top: 4px;
  color: #9ca8b8;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: #c8d0dc;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

/* Responsive */

@media (max-width: 980px) {
  .hero-layout,
  .product-panel,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 48px;
  }

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

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

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

  .section {
    padding: 72px 0;
  }

  .navbar {
    min-height: 66px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  }

  .nav-links.is-open {
    display: grid;
    gap: 6px;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-login {
    margin-top: 6px;
    text-align: center;
  }

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

  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-copy > p {
    font-size: 18px;
  }

  .product-panel,
  .cta-panel {
    padding: 34px 24px;
  }

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

@media (max-width: 560px) {
  .solution-grid,
  .value-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-actions .button,
  .product-actions .button {
    width: 100%;
  }

  .hero-panel {
    padding: 24px;
  }

  .solution-card,
  .value-card {
    padding: 24px;
  }

  .section-heading {
    margin-bottom: 34px;
  }
}