:root {
  --software-gradient: radial-gradient(circle at 20% -10%, rgba(56, 189, 248, 0.45), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(139, 92, 246, 0.35), transparent 50%),
    #0f172a;
}

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

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background: var(--software-gradient);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 96px;
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 10vw, 96px);
  width: 100%;
  box-sizing: border-box;
}

.header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 36px);
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: clamp(16px, 4vw, 36px);
}

.nav a {
  color: rgba(203, 213, 225, 0.8);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus {
  color: white;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  padding-top: clamp(24px, 8vw, 80px);
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(59, 130, 246, 0.9));
  color: white;
  box-shadow: 0 20px 40px -20px rgba(59, 130, 246, 0.8);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -20px rgba(56, 189, 248, 0.9);
}

.ghost-button {
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(226, 232, 240, 0.88);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
}

.ghost-button:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 232, 240, 0.5);
  color: white;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
}

.hero-metrics li {
  padding: 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(226, 232, 240, 0.85);
}

.hero-metrics strong {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: white;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.glass-panel {
  position: relative;
  padding: clamp(24px, 5vw, 36px);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(22px);
  box-shadow: 0 45px 90px -50px rgba(15, 23, 42, 0.8);
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.8);
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-tags span {
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(30, 64, 175, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: rgba(226, 232, 240, 0.95);
  font-size: 0.85rem;
  font-weight: 500;
}

.panel-footer {
  font-size: 0.9rem;
  color: rgba(203, 213, 225, 0.82);
  line-height: 1.6;
}

.glow {
  position: absolute;
  inset: 12% -20% -25% -20%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.38), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}

.solutions {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 4vw, 30px);
  width: 100%;
  box-sizing: border-box;
}

.cases {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4.4vw, 36px);
}

.case-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4.6vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(260px, 1fr);
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px -48px rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(18px);
  transition: transform 200ms ease, border-color 200ms ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.35);
}

.case-media {
  position: relative;
  min-height: clamp(220px, 32vw, 320px);
  background-size: cover;
  background-position: center;
}

.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.65));
}

.case-media-infal {
  background-image: url("img/infallogo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(15, 23, 42, 0.6);
}

.case-media-infal::after {
  background: linear-gradient(160deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.15));
}

.case-media-intag {
  background-image: url("img/intag.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(15, 23, 42, 0.6);
}

.case-media-intag::after {
  background: linear-gradient(160deg, rgba(2, 6, 23, 0.02), rgba(2, 6, 23, 0.15));
}

.case-content {
  padding: clamp(26px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: rgba(226, 232, 240, 0.88);
}

.case-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(148, 163, 184, 0.78);
}

.case-content h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.case-content p {
  margin: 0;
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.7;
}

.case-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.95rem;
}

.case-highlights li::before {
  content: "•";
  color: rgba(59, 130, 246, 0.85);
  margin-right: 8px;
}

.case-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  gap: 6px;
  color: rgba(96, 165, 250, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.case-link:hover {
  color: white;
  transform: translateX(2px);
}

.solution-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 32px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
}

.solution-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-content: center;
  background: rgba(139, 92, 246, 0.22);
  color: rgba(226, 232, 240, 0.92);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.solution-card p {
  margin: 0;
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.7;
}

.solution-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.95rem;
}

.solution-card ul li::before {
  content: "•";
  color: rgba(139, 92, 246, 0.8);
  margin-right: 8px;
}

.services,
.process,
.showcase,
.cta {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.section-heading {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.section-lead {
  color: rgba(203, 213, 225, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 4vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.service-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 32px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-content: center;
  background: rgba(59, 130, 246, 0.2);
  color: rgba(226, 232, 240, 0.9);
  font-weight: 600;
}

.service-card p {
  margin: 0;
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.7;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: "•";
  color: rgba(56, 189, 248, 0.8);
  margin-right: 8px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
}

.process-steps li {
  background: rgba(15, 23, 42, 0.54);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 30px);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: rgba(59, 130, 246, 0.24);
  color: white;
  font-weight: 600;
}

.process-steps p {
  color: rgba(203, 213, 225, 0.76);
  line-height: 1.65;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 4vw, 28px);
  width: 100%;
  box-sizing: border-box;
}

.showcase-grid article {
  padding: clamp(22px, 4vw, 32px);
  border-radius: 22px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.showcase-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
}

.showcase-grid p {
  color: rgba(203, 213, 225, 0.78);
  line-height: 1.7;
}

.cta {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(139, 92, 246, 0.18));
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: clamp(32px, 6vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 36px);
  align-items: center;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px -40px rgba(15, 23, 42, 0.9);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cta-content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.cta-content p {
  margin: 0;
  color: rgba(203, 213, 225, 0.8);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cta-actions .primary-button,
.cta-actions .ghost-button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 720px) {
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .page {
    padding: 0 20px 72px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header {
    flex-wrap: wrap;
    gap: 18px;
    padding: 24px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .glass-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
  }

  .solutions {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cases {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .case-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .case-card {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .case-media {
    min-height: clamp(200px, 50vw, 280px);
    width: 100%;
    max-width: 100%;
  }

  .case-content {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .services,
  .process,
  .showcase {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-heading {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .service-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .process-steps {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 24px 20px;
    grid-template-columns: 1fr;
  }

  .cta-actions {
    align-items: stretch;
    width: 100%;
  }
}

