/* DeviSuite home — ritmo corporativo igrtec.com */

.ds-corp-hero {
  --navy: #06152d;
  --blue: #0b7ebd;
  --cyan: #7dd3fc;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 10rem 0 4.75rem;
  color: #fff;
  background: linear-gradient(155deg, #04101f 0%, #06152d 38%, #082a52 72%, #0b3c78 100%);
}

.ds-corp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.ds-corp-hero__bg--grid {
  background-image:
    linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: .7;
}

.ds-corp-hero__bg--radial {
  background:
    radial-gradient(circle at 20% 25%, rgba(11, 126, 189, .35), transparent 22rem),
    radial-gradient(circle at 80% 20%, rgba(125, 211, 252, .18), transparent 20rem);
}

.ds-corp-hero__bg--glow {
  background: radial-gradient(ellipse at 50% 110%, rgba(11, 126, 189, .45), transparent 55%);
  animation: dsGlowPulse 7s ease-in-out infinite;
}

@keyframes dsGlowPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.ds-corp-hero__frame {
  position: absolute;
  inset: 18px;
  z-index: 0;
  pointer-events: none;
}

.ds-corp-hero__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(125, 211, 252, .45);
  animation: dsCornerIn .9s ease both;
}
.ds-corp-hero__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.ds-corp-hero__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; animation-delay: .08s; }
.ds-corp-hero__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; animation-delay: .16s; }
.ds-corp-hero__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; animation-delay: .24s; }

@keyframes dsCornerIn {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}

.ds-hero-enter > * {
  animation: dsHeroUp .7s cubic-bezier(.22, 1, .36, 1) both;
}
.ds-hero-enter > *:nth-child(1) { animation-delay: .05s; }
.ds-hero-enter > *:nth-child(2) { animation-delay: .14s; }
.ds-hero-enter > *:nth-child(3) { animation-delay: .22s; }
.ds-hero-enter > *:nth-child(4) { animation-delay: .3s; }
.ds-hero-enter > *:nth-child(5) { animation-delay: .38s; }
.ds-hero-enter > *:nth-child(6) { animation-delay: .46s; }

@keyframes dsHeroUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.ds-corp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(226, 236, 248, .92);
  border: 1px solid rgba(125, 211, 252, .28);
  background: rgba(4, 16, 31, .45);
  border-radius: 999px;
  padding: .45rem .9rem;
  margin-bottom: 1.25rem;
}

.ds-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dff9a;
  box-shadow: 0 0 0 0 rgba(61, 255, 154, .5);
  animation: dsPulse 1.8s infinite;
}

@keyframes dsPulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 255, 154, .5); }
  70% { box-shadow: 0 0 0 10px rgba(61, 255, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0); }
}

.ds-brand-mark {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  margin: 0 0 1rem;
  text-transform: uppercase;
  color: #fff;
}

.ds-title {
  font-size: clamp(1.55rem, 3.4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  max-width: 22ch;
  margin: 0 auto 1.15rem;
  color: #fff;
}

.ds-title span {
  color: #7dd3fc;
}

.ds-lead {
  max-width: 58ch;
  margin: 0 auto 1.75rem;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.6;
  color: rgba(226, 236, 248, .85);
}

.ds-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2rem;
}

.ds-btn-primary,
.ds-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 12px;
  font-weight: 800;
  padding: .85rem 1.35rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.ds-btn-primary {
  background: #fff;
  color: #06152d !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  position: relative;
  overflow: hidden;
}
.ds-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(11, 126, 189, .18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.ds-btn-primary:hover::after { transform: translateX(120%); }
.ds-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(11, 126, 189, .3);
  color: #06152d !important;
}

.ds-btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff !important;
  background: transparent;
}
.ds-btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
  color: #fff !important;
}

.ds-hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}

.ds-hero-chip {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(226, 236, 248, .9) !important;
  border: 1px solid rgba(125, 211, 252, .25);
  border-radius: 999px;
  padding: .4rem .75rem;
  background: rgba(4, 16, 31, .35);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.ds-hero-chip:hover {
  background: rgba(11, 126, 189, .35);
  border-color: rgba(125, 211, 252, .55);
  color: #fff !important;
}

/* Validation */
.ds-validation {
  padding: 72px 0 80px;
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, .06);
}

.ds-validation__title {
  text-align: center;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: #06152d;
  letter-spacing: .02em;
  margin-bottom: 36px;
}

.ds-logos-slider {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ds-logos-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: dsScrollLogos 28s linear infinite;
  align-items: center;
}

.ds-logos-track img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
  opacity: .88;
  transition: filter .3s ease, transform .3s ease, opacity .3s ease;
}

.ds-logos-track img:hover {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.06);
}

@keyframes dsScrollLogos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Metrics */
.ds-metrics {
  padding: 100px 0;
  background: linear-gradient(155deg, #06152d 0%, #082a52 45%, #0b3c78 100%);
  color: #fff;
  overflow: hidden;
}

.ds-metrics__eyebrow {
  display: inline-block;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ds-metrics__title {
  font-weight: 800;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  margin-bottom: 22px;
}

.ds-metrics__text {
  color: rgba(226, 236, 248, .82);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 48ch;
  margin: 0;
}

.ds-metrics__stage {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.ds-metrics__stage::before {
  content: "";
  position: absolute;
  width: min(70%, 280px);
  height: 42px;
  bottom: 14%;
  left: 50%;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .5), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

/* Logo-like isometric cubes */
.ds-cube-cluster {
  position: relative;
  z-index: 2;
  width: 260px;
  height: 250px;
  display: grid;
  place-items: center;
}

.ds-cubes {
  position: relative;
  width: 1px;
  height: 1px;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(45deg);
  animation: dsCubeSpin 14s ease-in-out infinite;
  margin-top: -1.5rem;
}

@keyframes dsCubeSpin {
  0%, 100% { transform: rotateX(58deg) rotateZ(45deg) translateY(0); }
  50% { transform: rotateX(58deg) rotateZ(52deg) translateY(-6px); }
}

.ds-cube {
  --s: 70px;
  position: absolute;
  left: 0;
  top: 0;
  width: var(--s);
  height: var(--s);
  transform-style: preserve-3d;
}

.ds-cube--top {
  transform: translate3d(calc(var(--s) / -2), calc(var(--s) / -2), calc(var(--s) * .92));
  z-index: 3;
  --c1: #7dd3fc;
  --c2: #0b7ebd;
  --c3: #1545b1;
}

.ds-cube--bl {
  transform: translate3d(calc(var(--s) * -.95), calc(var(--s) / -2), 0);
  z-index: 2;
  --c1: #f1f5f9;
  --c2: #b0bccb;
  --c3: #6b7a8d;
}

.ds-cube--br {
  transform: translate3d(calc(var(--s) / -2), calc(var(--s) * .05), 0);
  z-index: 1;
  --c1: #e8eef5;
  --c2: #9aa8ba;
  --c3: #5c6b7e;
}

.ds-cube__face {
  position: absolute;
  width: var(--s);
  height: var(--s);
  border: 1px solid rgba(255, 255, 255, .18);
}

.ds-cube__face--front {
  background: linear-gradient(160deg, var(--c2), color-mix(in srgb, var(--c3) 80%, #000));
  transform: translateZ(calc(var(--s) / 2));
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .18);
}

.ds-cube__face--right {
  background: linear-gradient(200deg, color-mix(in srgb, var(--c2) 70%, #02264c), var(--c3));
  transform: rotateY(90deg) translateZ(calc(var(--s) / 2));
  box-shadow: inset 0 0 16px rgba(0, 0, 0, .25);
}

.ds-cube__face--top {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  transform: rotateX(90deg) translateZ(calc(var(--s) / 2));
  box-shadow: inset 0 0 12px rgba(255, 255, 255, .2);
}

.ds-cube--top .ds-cube__face--top {
  box-shadow:
    inset 0 0 14px rgba(255, 255, 255, .35),
    0 0 28px rgba(94, 184, 240, .35);
}

.ds-cube-orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 210px;
  height: 78px;
  margin-left: -105px;
  margin-top: -39px;
  border: 2px solid rgba(11, 126, 189, .55);
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 0 18px rgba(11, 126, 189, .25);
}

.ds-cube-orbit--a {
  transform: rotate(-18deg);
  border-color: rgba(125, 211, 252, .55);
  animation: dsOrbitPulse 5s ease-in-out infinite;
}

.ds-cube-orbit--b {
  width: 240px;
  height: 90px;
  margin-left: -120px;
  margin-top: -45px;
  transform: rotate(22deg);
  border-color: rgba(11, 126, 189, .35);
  opacity: .75;
  animation: dsOrbitPulse 6.5s ease-in-out infinite reverse;
}

@keyframes dsOrbitPulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.ds-cube-caption {
  position: absolute;
  bottom: -6px;
  left: 50%;
  translate: -50% 0;
  text-align: center;
  z-index: 5;
}

.ds-cube-caption span {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}

.ds-cube-caption em {
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7dd3fc;
  font-weight: 700;
}

.ds-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05));
  border: 1px solid rgba(125, 211, 252, .35);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: .9rem 1.05rem;
  min-width: 150px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 18px 36px rgba(0, 0, 0, .35),
    0 6px 0 rgba(4, 16, 31, .28);
  animation: dsFloat 4.5s ease-in-out infinite;
}

.ds-pill--a { left: 0; top: 10%; animation-delay: 0s; }
.ds-pill--b { right: 0; top: 6%; animation-delay: .7s; }
.ds-pill--c { left: 2%; bottom: 12%; animation-delay: 1.3s; }
.ds-pill--d { right: 0; bottom: 8%; animation-delay: 2s; }

@keyframes dsFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.ds-pill:hover {
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    0 24px 44px rgba(0, 0, 0, .4),
    0 8px 0 rgba(4, 16, 31, .32);
}

.ds-pill strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.ds-pill span {
  font-size: .82rem;
  color: rgba(226, 236, 248, .78);
}

/* Suites */
.ds-suites {
  padding: 96px 0;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, .06);
}

.ds-suites__title {
  font-weight: 800;
  color: #06152d;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.ds-suites__lead {
  max-width: 54ch;
  margin: 0 auto;
  color: #64748b;
  font-size: 1.05rem;
}

.ds-suite-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ds-suite-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 1.25rem 1.2rem 1.3rem;
  height: 100%;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
  --suite: #0b7ebd;
  position: relative;
  overflow: hidden;
}

.ds-suite-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, color-mix(in srgb, var(--suite) 12%, transparent) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .7s ease;
  pointer-events: none;
}

.ds-suite-card:hover::before { transform: translateX(130%); }

.ds-suite-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--suite) 45%, white);
  box-shadow: 0 24px 48px rgba(6, 21, 45, .14);
  background: #fff;
}

.ds-suite-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  background: linear-gradient(145deg, var(--suite), #0b3c78);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--suite) 35%, transparent);
  transition: transform .35s ease, box-shadow .35s ease;
}

.ds-suite-card:hover .ds-suite-card__icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--suite) 45%, transparent);
}

.ds-suite-card__icon i {
  display: block;
  line-height: 1;
  font-size: 1.35rem;
}

.ds-suite-card__top {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: center;
  margin-bottom: .85rem;
}

.ds-suite-card__code {
  font-size: .72rem;
  font-weight: 700;
  color: #0b7ebd;
  letter-spacing: .02em;
}

.ds-suite-card__status {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0a7a45;
}

.ds-suite-card__status i {
  font-size: .45rem;
  vertical-align: middle;
  margin-right: .25rem;
  color: #22c55e;
  animation: dsStatusBlink 2s ease-in-out infinite;
}

.ds-suite-card__status--demo {
  color: #b45309;
}

.ds-suite-card__status--demo i {
  color: #f59e0b;
}

@keyframes dsStatusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.ds-suite-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #06152d;
  margin: 0 0 .35rem;
}

.ds-suite-card > p {
  color: #64748b;
  font-size: .92rem;
  margin-bottom: .75rem;
}

.ds-suite-card ul {
  margin: 0 0 1rem;
  padding-left: 1.05rem;
  color: #475569;
  font-size: .88rem;
}

.ds-suite-card li { margin-bottom: .28rem; }

.ds-suite-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.ds-suite-card__actions a {
  font-size: .82rem;
  font-weight: 800;
  color: #0b7ebd !important;
}

.ds-suite-card__actions a:hover {
  color: #06152d !important;
}

/* Closing */
.ds-closing {
  padding: 96px 0;
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, .06);
  text-align: center;
}

.ds-closing__eyebrow {
  display: inline-block;
  color: #0b7ebd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ds-closing__title {
  font-weight: 800;
  color: #06152d;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.ds-closing p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: #64748b;
  font-size: 1.05rem;
}

.ds-closing__cta {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: linear-gradient(135deg, #0b7ebd, #0b3c78);
  color: #fff !important;
  font-weight: 800;
  border-radius: 12px;
  padding: .95rem 1.45rem;
  box-shadow: 0 16px 36px rgba(11, 126, 189, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ds-closing__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(11, 126, 189, .38);
  color: #fff !important;
}

/* Scroll reveal */
.ds-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--d, 0ms);
}

.ds-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ds-reveal,
  .ds-hero-enter > *,
  .ds-corp-hero__corner,
  .ds-corp-hero__bg--glow,
  .ds-cubes,
  .ds-cube-orbit,
  .ds-pill,
  .ds-suite-card__status i,
  .ds-logos-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1199px) {
  .ds-suite-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .ds-corp-hero { min-height: auto; padding-top: 8.75rem; }
  .ds-metrics__stage { min-height: 340px; margin-top: 1rem; }
  .ds-pill { min-width: 130px; padding: .7rem .85rem; }
}

@media (max-width: 575px) {
  .ds-suite-grid { grid-template-columns: 1fr; }
  .ds-metrics__stage { min-height: 360px; }
  .ds-cubes { animation: none; }
  .ds-cube { --s: 56px; }
  .ds-pill--a { top: 0; left: 0; }
  .ds-pill--b { top: 0; right: 0; }
  .ds-pill--c { bottom: 0; left: 0; }
  .ds-pill--d { bottom: 0; right: 0; }
}
