:root {
  --bg: #f4f7fb;
  --bg-soft: #edf3f9;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --text: #162236;
  --muted: #5d6c80;
  --line: #d8e2ef;
  --primary: #1c4e8f;
  --primary-dark: #153b6b;
  --accent: #e8f1fb;
  --shadow: 0 18px 45px rgba(17, 33, 58, 0.08);
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f7f9fc 0%, #edf3f9 100%);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(22, 34, 54, 0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #4870a8);
  color: #fff;
  font-size: 0.95rem;
}

.logo-text {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 16px;
  background: var(--surface);
  border-top: 1px solid rgba(22, 34, 54, 0.08);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--muted);
}

.hero,
.page-hero {
  padding: 90px 0 64px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
}

.section-label {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(28, 78, 143, 0.08);
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.hero-text,
.hero-subtext {
  color: var(--muted);
  max-width: 760px;
}

.hero-text {
  margin-top: 18px;
  font-size: 1.05rem;
}

.hero-subtext {
  margin-top: 12px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: #b9c8da;
}

.hero-visual,
.page-hero-side {
  display: flex;
  justify-content: center;
}

.visual-card,
.side-note-card,
.content-card,
.service-card,
.support-card,
.timeline,
.cta-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.large-card {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.visual-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.visual-top span {
  color: var(--muted);
  font-size: 0.95rem;
}

.visual-top strong {
  font-size: 1.1rem;
}

.diagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.diagram-box {
  min-height: 108px;
  border-radius: 18px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid #e4edf7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.diagram-box span {
  color: var(--muted);
  font-size: 0.9rem;
}

.diagram-box strong {
  font-size: 1rem;
}

.visual-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.metric {
  border-radius: 18px;
  padding: 16px 18px;
  background: #f9fbfe;
  border: 1px solid #e4edf7;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.metric strong {
  font-size: 1rem;
}

.side-note-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  max-width: 420px;
}

.side-note-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.side-note-card p {
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.soft-section {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(22, 34, 54, 0.05);
  border-bottom: 1px solid rgba(22, 34, 54, 0.05);
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin-top: 12px;
  color: var(--muted);
}

.content-grid,
.cards-grid,
.feature-layout,
.contact-layout {
  display: grid;
  gap: 20px;
}

.two-equal {
  grid-template-columns: repeat(2, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.content-card {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.content-card h2,
.content-card h3 {
  margin-bottom: 12px;
  line-height: 1.2;
}

.content-card p + p {
  margin-top: 12px;
}

.content-card p,
.service-card p,
.image-caption,
.timeline-item p {
  color: var(--muted);
}

.image-card {
  overflow: hidden;
}

.image-caption {
  margin-top: 16px;
  font-size: 0.95rem;
}

.illustration {
  min-height: 250px;
  border-radius: 20px;
  background: linear-gradient(180deg, #eef5fc 0%, #e4eef9 100%);
  border: 1px solid #dbe8f5;
  display: grid;
  place-items: center;
  padding: 20px;
}

.ill-window,
.screen-shell {
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dbe5f2;
  box-shadow: 0 14px 34px rgba(24, 42, 68, 0.08);
  overflow: hidden;
}

.ill-bar,
.screen-top {
  height: 42px;
  background: linear-gradient(90deg, #eef4fb, #e3edf8);
  border-bottom: 1px solid #dce6f1;
}

.ill-lines,
.screen-main {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.ill-lines span,
.screen-main span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #dde8f4;
}

.ill-lines span:nth-child(1),
.screen-main span:nth-child(1) {
  width: 85%;
}

.ill-lines span:nth-child(2),
.screen-main span:nth-child(2) {
  width: 70%;
}

.ill-lines span:nth-child(3),
.screen-main span:nth-child(3) {
  width: 60%;
}

.ill-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 18px 18px;
}

.ill-panels div,
.screen-col {
  min-height: 90px;
  border-radius: 14px;
  background: #edf4fb;
  border: 1px solid #dde8f4;
}

.screen-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 18px;
}

.illustration-process {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.process-stage {
  width: 120px;
  min-height: 130px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #dce6f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(25, 43, 71, 0.06);
}

.process-stage span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(28, 78, 143, 0.12);
}

.service-card {
  border-radius: 22px;
  padding: 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(17, 33, 58, 0.11);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.cta-strip {
  margin-top: 28px;
  border-radius: 24px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-strip h3 {
  margin-bottom: 8px;
}

.cta-strip p {
  color: var(--muted);
  max-width: 720px;
}

.feature-layout {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.feature-copy h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.feature-copy p {
  color: var(--muted);
}

.feature-copy p + p {
  margin-top: 12px;
}

.support-card {
  border-radius: 26px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

.support-item {
  border-radius: 18px;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #e4edf7;
}

.support-item span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline {
  border-radius: 26px;
  padding: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-item + .timeline-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e6edf6;
}

.timeline-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(28, 78, 143, 0.1);
  color: var(--primary);
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.center-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-layout {
  grid-template-columns: 1fr 1fr;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.large-list {
  gap: 18px;
}

.contact-item {
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf5;
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-item strong,
.contact-item a {
  color: var(--text);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--primary);
}

.mini-info-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #e2ebf6;
}

.mini-info-box span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.site-footer {
  background: #f0f5fa;
  border-top: 1px solid rgba(22, 34, 54, 0.08);
  padding-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
  gap: 20px;
  padding-bottom: 24px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-heading {
  font-weight: 700;
  color: var(--text);
}

.site-footer p,
.footer-links a,
.footer-links span,
.footer-bottom {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(22, 34, 54, 0.08);
  padding: 16px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .two-equal,
  .cards-2,
  .cards-3,
  .feature-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .page-hero {
    padding: 74px 0 50px;
  }

  .section {
    padding: 64px 0;
  }

  .content-card,
  .service-card,
  .large-card,
  .timeline,
  .side-note-card,
  .support-card {
    padding: 22px;
  }

  .diagram-grid,
  .visual-footer {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .nav {
    min-height: 74px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-strip .btn {
    width: 100%;
  }

  .process-stage {
    width: 100px;
    min-height: 118px;
  }

  .illustration-process {
    gap: 12px;
  }
}