/*
|--------------------------------------------------------------------------
| HIDRO Foundation
|--------------------------------------------------------------------------
| Wajib berada sebelum HIDRO Landing Page V2
*/

:root {
  --hidro-white: #ffffff;
  --hidro-surface: #f5f5f7;
  --hidro-surface-soft: #fafafa;
  --hidro-surface-blue: #f2f8fb;

  --hidro-ink: #1d1d1f;
  --hidro-heading: #152b3a;
  --hidro-muted: #6e6e73;
  --hidro-muted-light: #86868b;

  --hidro-navy: #0b3553;
  --hidro-navy-dark: #06243a;
  --hidro-blue: #0874a6;
  --hidro-blue-hover: #06658f;
  --hidro-sea: #168996;
  --hidro-cyan: #32aab5;

  --hidro-gold: #b18b36;
  --hidro-gold-soft: #fbf7ed;

  --hidro-border: #e5e5e7;
  --hidro-border-dark: #d2d2d7;

  --hidro-radius-sm: 12px;
  --hidro-radius-md: 18px;
  --hidro-radius-lg: 26px;
  --hidro-radius-xl: 34px;

  --hidro-shadow-xs:
    0 1px 2px rgba(0, 0, 0, 0.02), 0 4px 14px rgba(0, 0, 0, 0.025);

  --hidro-shadow-sm: 0 8px 30px rgba(6, 36, 58, 0.06);

  --hidro-shadow-md: 0 22px 60px rgba(6, 36, 58, 0.09);

  --hidro-transition: 180ms ease;

  --hidro-font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--hidro-ink);
  background: var(--hidro-white);
  font-family: var(--hidro-font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  transition:
    color var(--hidro-transition),
    background-color var(--hidro-transition),
    border-color var(--hidro-transition),
    box-shadow var(--hidro-transition),
    transform var(--hidro-transition);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

::selection {
  color: var(--hidro-white);
  background: var(--hidro-blue);
}

/* Skip link */

.hidro-skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 10px 17px;
  color: var(--hidro-white);
  background: var(--hidro-navy);
  border-radius: 10px;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: var(--hidro-shadow-sm);
  transition: top 180ms ease;
}

.hidro-skip-link:hover {
  color: var(--hidro-white);
}

.hidro-skip-link:focus {
  top: 20px;
  color: var(--hidro-white);
}

/* Navbar */

.hidro-navbar {
  z-index: 1030;
  padding: 13px 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(210, 210, 215, 0.65);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.hidro-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--hidro-ink);
  text-decoration: none;
}

.hidro-brand:hover,
.hidro-brand:focus {
  color: var(--hidro-ink);
  text-decoration: none;
}

.hidro-brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: var(--hidro-white);
  background: var(--hidro-navy);
  border-radius: 13px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hidro-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hidro-brand-name {
  color: var(--hidro-ink);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.hidro-brand-description {
  margin-top: 5px;
  color: var(--hidro-muted-light);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hidro-navbar .nav-link {
  position: relative;
  padding: 10px 14px !important;
  color: #515154;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.hidro-navbar .nav-link:hover,
.hidro-navbar .nav-link:focus {
  color: var(--hidro-blue);
}

.hidro-navbar .navbar-toggler {
  padding: 8px 10px;
  color: var(--hidro-ink);
  border: 1px solid var(--hidro-border-dark);
  border-radius: 10px;
  box-shadow: none;
}

.hidro-navbar .navbar-toggler:focus {
  border-color: var(--hidro-blue);
  box-shadow: 0 0 0 3px rgba(8, 116, 166, 0.12);
}

/* Buttons */

.hidro-btn-primary,
.hidro-btn-secondary,
.hidro-btn-light {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--hidro-font);
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition:
    color var(--hidro-transition),
    background-color var(--hidro-transition),
    border-color var(--hidro-transition),
    box-shadow var(--hidro-transition),
    transform var(--hidro-transition);
}

.hidro-btn-primary {
  color: var(--hidro-white);
  background: var(--hidro-blue);
  border: 1px solid var(--hidro-blue);
}

.hidro-btn-primary:hover,
.hidro-btn-primary:focus {
  color: var(--hidro-white);
  background: var(--hidro-blue-hover);
  border-color: var(--hidro-blue-hover);
  box-shadow: 0 8px 22px rgba(8, 116, 166, 0.18);
  transform: translateY(-1px);
}

.hidro-btn-secondary {
  color: var(--hidro-ink);
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border-dark);
}

.hidro-btn-secondary:hover,
.hidro-btn-secondary:focus {
  color: var(--hidro-blue);
  background: var(--hidro-surface);
  border-color: var(--hidro-border-dark);
  transform: translateY(-1px);
}

.hidro-btn-light {
  color: var(--hidro-white);
  background: var(--hidro-blue);
  border: 1px solid var(--hidro-blue);
}

.hidro-btn-light:hover,
.hidro-btn-light:focus {
  color: var(--hidro-white);
  background: var(--hidro-blue-hover);
  border-color: var(--hidro-blue-hover);
  transform: translateY(-1px);
}

/* Shared sections */

.hidro-section {
  position: relative;
  padding: 110px 0;
}

.hidro-section-soft {
  background: var(--hidro-surface);
}

.hidro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--hidro-blue);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hidro-eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  background: var(--hidro-blue);
  border-radius: 999px;
}

.hidro-section-title {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--hidro-ink);
  font-size: clamp(2.25rem, 4.5vw, 3.8rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hidro-section-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--hidro-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Footer */

.hidro-footer {
  padding: 65px 0 28px;
  color: var(--hidro-muted);
  background: var(--hidro-white);
  border-top: 1px solid var(--hidro-border);
}

.hidro-footer-description {
  max-width: 460px;
  margin-top: 18px;
  color: var(--hidro-muted);
  font-size: 0.82rem;
  line-height: 1.72;
}

.hidro-footer-title {
  margin-bottom: 17px;
  color: var(--hidro-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hidro-footer-link {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--hidro-muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.hidro-footer-link:hover,
.hidro-footer-link:focus {
  color: var(--hidro-blue);
}

.hidro-footer-bottom {
  margin-top: 43px;
  padding-top: 23px;
  color: var(--hidro-muted-light);
  border-top: 1px solid var(--hidro-border);
  font-size: 0.74rem;
}

/* Foundation responsive */

@media (max-width: 991.98px) {
  .hidro-navbar .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    background: rgba(245, 245, 247, 0.97);
    border: 1px solid var(--hidro-border);
    border-radius: 17px;
  }

  .hidro-navbar .nav-link {
    padding: 10px 2px !important;
  }
}

@media (max-width: 767.98px) {
  .hidro-section {
    padding: 80px 0;
  }

  .hidro-brand-description {
    display: none;
  }
}
/* ==========================================================================
   HIDRO Landing Page V2
   Dribbble-inspired layout and interaction
========================================================================== */

/* Scroll reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 750ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 750ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */

.hidro-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 155px 0 80px;
  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(8, 116, 166, 0.075),
      transparent 31%
    ),
    linear-gradient(180deg, #ffffff 0%, #ffffff 72%, #f8fafb 100%);
  isolation: isolate;
}

.hidro-hero-heading {
  position: relative;
  z-index: 4;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  animation: hidroHeroEnter 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hidro-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  padding: 8px 14px;
  color: var(--hidro-blue);
  background: rgba(8, 116, 166, 0.065);
  border: 1px solid rgba(8, 116, 166, 0.12);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hidro-badge-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--hidro-sea);
  border-radius: 50%;
}

.hidro-badge-pulse::after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid rgba(22, 137, 150, 0.35);
  border-radius: 50%;
  animation: hidroPulse 2s ease-out infinite;
}

.hidro-hero-heading h1 {
  max-width: 900px;
  margin: 0 auto 25px;
  color: var(--hidro-ink);
  font-size: clamp(3.1rem, 6.7vw, 6.4rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hidro-hero-heading h1 span {
  display: inline-block;
  color: var(--hidro-blue);
}

.hidro-hero-heading > p {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--hidro-muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hidro-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hidro-hero-primary {
  min-width: 172px;
}

.hidro-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 23px;
  margin-top: 30px;
  color: var(--hidro-muted-light);
  font-size: 0.77rem;
}

.hidro-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hidro-hero-trust svg {
  color: var(--hidro-sea);
}

.hidro-hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -2;
  width: 800px;
  height: 480px;
  background: rgba(8, 116, 166, 0.055);
  border-radius: 50%;
  filter: blur(120px);
  transform: translateX(-50%);
}

.hidro-hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(8, 116, 166, 0.065);
  border-radius: 50%;
  pointer-events: none;
}

.hidro-hero-orbit--one {
  top: 145px;
  left: -310px;
  width: 620px;
  height: 620px;
}

.hidro-hero-orbit--two {
  top: 65px;
  right: -370px;
  width: 760px;
  height: 760px;
}

/* Product showcase */

.hidro-product-stage {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  min-height: 750px;
  margin: 45px auto 0;
  padding: 72px 72px 110px;
  animation: hidroStageEnter 1100ms 180ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hidro-app-window {
  position: relative;
  z-index: 2;
  max-width: 980px;
  min-height: 550px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border);
  border-radius: 24px;
  box-shadow:
    0 35px 90px rgba(6, 36, 58, 0.13),
    0 5px 20px rgba(6, 36, 58, 0.045);
}

.hidro-window-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 51px;
  align-items: center;
  padding: 0 17px;
  background: #fbfbfc;
  border-bottom: 1px solid var(--hidro-border);
}

.hidro-window-dots {
  display: flex;
  gap: 6px;
}

.hidro-window-dots span {
  width: 9px;
  height: 9px;
  background: #d7d7da;
  border-radius: 50%;
}

.hidro-window-dots span:first-child {
  background: #ef9b92;
}

.hidro-window-dots span:nth-child(2) {
  background: #e6c56e;
}

.hidro-window-dots span:last-child {
  background: #75c89b;
}

.hidro-window-address {
  min-width: 240px;
  padding: 7px 18px;
  color: var(--hidro-muted-light);
  background: #f1f1f3;
  border-radius: 999px;
  font-size: 0.65rem;
  text-align: center;
}

.hidro-window-secure {
  justify-self: end;
  color: var(--hidro-muted-light);
}

.hidro-app-layout {
  display: grid;
  min-height: 500px;
  grid-template-columns: 165px minmax(0, 1fr);
}

.hidro-preview-sidebar {
  padding: 24px 17px;
  background: #fafafb;
  border-right: 1px solid var(--hidro-border);
}

.hidro-preview-logo {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 35px;
  place-items: center;
  color: var(--hidro-white);
  background: var(--hidro-navy);
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 700;
}

.hidro-preview-navigation {
  display: grid;
  gap: 7px;
}

.hidro-preview-navigation > span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  color: #929297;
  border-radius: 9px;
  font-size: 0.66rem;
}

.hidro-preview-navigation > span.active {
  color: var(--hidro-blue);
  background: rgba(8, 116, 166, 0.075);
}

.hidro-preview-navigation b {
  font-weight: 550;
}

.hidro-preview-content {
  min-width: 0;
  padding: 28px;
  background: var(--hidro-white);
}

.hidro-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.hidro-preview-overline {
  display: block;
  margin-bottom: 4px;
  color: var(--hidro-muted-light);
  font-size: 0.61rem;
}

.hidro-preview-header h2 {
  margin: 0;
  color: var(--hidro-ink);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hidro-preview-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hidro-preview-user > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 50%;
  font-size: 0.64rem;
  font-weight: 600;
}

.hidro-preview-user strong,
.hidro-preview-user small {
  display: block;
}

.hidro-preview-user strong {
  color: var(--hidro-ink);
  font-size: 0.66rem;
  font-weight: 600;
}

.hidro-preview-user small {
  margin-top: 2px;
  color: var(--hidro-muted-light);
  font-size: 0.56rem;
}

.hidro-application-progress {
  padding: 20px;
  background: var(--hidro-surface);
  border: 1px solid var(--hidro-border);
  border-radius: 15px;
}

.hidro-progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hidro-progress-heading span,
.hidro-progress-heading strong {
  display: block;
}

.hidro-progress-heading span {
  color: var(--hidro-muted-light);
  font-size: 0.59rem;
}

.hidro-progress-heading strong {
  margin-top: 4px;
  color: var(--hidro-ink);
  font-size: 0.73rem;
  font-weight: 600;
}

.hidro-progress-value {
  padding: 6px 9px;
  color: var(--hidro-blue) !important;
  background: var(--hidro-surface-blue);
  border-radius: 999px;
  font-weight: 550;
}

.hidro-progress-track {
  height: 5px;
  margin: 17px 0;
  overflow: hidden;
  background: #e3e5e7;
  border-radius: 999px;
}

.hidro-progress-track span {
  display: block;
  width: 48%;
  height: 100%;
  background: linear-gradient(90deg, var(--hidro-blue), var(--hidro-cyan));
  border-radius: inherit;
  transform-origin: left;
  animation: hidroProgressLoad 1.6s 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hidro-progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hidro-progress-steps span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a2a2a7;
  font-size: 0.57rem;
}

.hidro-progress-steps i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  background: #e6e6e8;
  border-radius: 50%;
  font-size: 0.52rem;
  font-style: normal;
}

.hidro-progress-steps .complete,
.hidro-progress-steps .active {
  color: var(--hidro-blue);
}

.hidro-progress-steps .complete i,
.hidro-progress-steps .active i {
  color: var(--hidro-white);
  background: var(--hidro-blue);
}

.hidro-preview-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  grid-template-columns: 1.25fr 0.75fr;
}

.hidro-preview-card {
  padding: 18px;
  border: 1px solid var(--hidro-border);
  border-radius: 14px;
}

.hidro-preview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

.hidro-preview-card-head small,
.hidro-preview-card-head strong {
  display: block;
}

.hidro-preview-card-head small {
  color: var(--hidro-muted-light);
  font-size: 0.56rem;
}

.hidro-preview-card-head strong {
  margin-top: 3px;
  color: var(--hidro-ink);
  font-size: 0.7rem;
  font-weight: 600;
}

.hidro-mini-status {
  padding: 5px 8px;
  color: var(--hidro-sea);
  background: rgba(22, 137, 150, 0.08);
  border-radius: 999px;
  font-size: 0.52rem;
}

.hidro-document-list,
.hidro-activity-list {
  display: grid;
  gap: 9px;
}

.hidro-document-list > div,
.hidro-activity-list > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px;
  background: #fafafb;
  border-radius: 9px;
}

.hidro-document-list > div > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  color: var(--hidro-muted-light);
  background: #ececef;
  border-radius: 7px;
  font-size: 0.52rem;
}

.hidro-document-list > div > span.complete {
  color: var(--hidro-sea);
  background: rgba(22, 137, 150, 0.08);
}

.hidro-document-list p,
.hidro-activity-list p {
  min-width: 0;
  margin: 0;
}

.hidro-document-list strong,
.hidro-document-list small,
.hidro-activity-list strong,
.hidro-activity-list small {
  display: block;
}

.hidro-document-list strong,
.hidro-activity-list strong {
  color: var(--hidro-ink);
  font-size: 0.6rem;
  font-weight: 550;
}

.hidro-document-list small,
.hidro-activity-list small {
  margin-top: 2px;
  color: var(--hidro-muted-light);
  font-size: 0.51rem;
}

.hidro-activity-list > div {
  position: relative;
  align-items: flex-start;
  background: transparent;
}

.hidro-activity-list > div > span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 4px;
  background: var(--hidro-cyan);
  border-radius: 50%;
}

.hidro-window-scan {
  position: absolute;
  top: 51px;
  right: 0;
  left: 0;
  z-index: 5;
  height: 90px;
  opacity: 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(8, 116, 166, 0.025),
    transparent
  );
  pointer-events: none;
  animation: hidroScan 7s 2s ease-in-out infinite;
}

/* Floating cards */

.hidro-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--hidro-border);
  border-radius: 15px;
  box-shadow: 0 18px 55px rgba(6, 36, 58, 0.12);
  backdrop-filter: blur(16px);
}

.hidro-floating-card small,
.hidro-floating-card strong {
  display: block;
}

.hidro-floating-card small {
  color: var(--hidro-muted-light);
  font-size: 0.58rem;
}

.hidro-floating-card strong {
  margin-top: 3px;
  color: var(--hidro-ink);
  font-size: 0.68rem;
  font-weight: 600;
}

.hidro-floating-upload {
  top: 195px;
  left: 0;
  min-width: 245px;
  animation: hidroFloat 5s ease-in-out infinite;
}

.hidro-floating-certificate {
  top: 120px;
  right: 0;
  min-width: 220px;
  animation: hidroFloatReverse 5.8s ease-in-out infinite;
}

.hidro-floating-license {
  right: 105px;
  bottom: 48px;
  min-width: 255px;
  animation: hidroFloat 6.5s 700ms ease-in-out infinite;
}

.hidro-floating-icon,
.hidro-certificate-seal {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 11px;
}

.hidro-certificate-seal {
  color: #8a6a24;
  background: var(--hidro-gold-soft);
}

.hidro-floating-check {
  display: grid;
  width: 21px;
  height: 21px;
  margin-left: auto;
  place-items: center;
  color: var(--hidro-white);
  background: var(--hidro-sea);
  border-radius: 50%;
  font-size: 0.6rem;
}

.hidro-license-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  background: var(--hidro-sea);
  border-radius: 50%;
}

.hidro-license-indicator::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(22, 137, 150, 0.25);
  border-radius: 50%;
  animation: hidroPulse 2s ease-out infinite;
}

/* Role flow strip */

.hidro-role-flow {
  padding: 24px 0;
  background: var(--hidro-white);
  border-top: 1px solid var(--hidro-border);
  border-bottom: 1px solid var(--hidro-border);
}

.hidro-role-flow-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
}

.hidro-flow-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hidro-flow-item > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
}

.hidro-flow-item small,
.hidro-flow-item strong {
  display: block;
}

.hidro-flow-item small {
  color: var(--hidro-muted-light);
  font-size: 0.65rem;
}

.hidro-flow-item strong {
  margin-top: 2px;
  color: var(--hidro-ink);
  font-size: 0.83rem;
  font-weight: 600;
}

.hidro-flow-arrow {
  color: var(--hidro-border-dark);
}

/* Bento section */

.hidro-platform-section {
  overflow: hidden;
}

.hidro-bento-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.hidro-bento-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border);
  border-radius: 24px;
  transition:
    border-color var(--hidro-transition),
    box-shadow var(--hidro-transition),
    transform var(--hidro-transition);
}

.hidro-bento-card:hover {
  border-color: var(--hidro-border-dark);
  box-shadow: var(--hidro-shadow-sm);
  transform: translateY(-3px);
}

.hidro-bento-card h3 {
  margin: 0 0 12px;
  color: var(--hidro-ink);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hidro-bento-card p {
  margin: 0;
  color: var(--hidro-muted);
  font-size: 0.87rem;
  line-height: 1.67;
}

.hidro-bento-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--hidro-blue);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hidro-bento-workspace {
  min-height: 535px;
  color: var(--hidro-white);
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(50, 170, 181, 0.18),
      transparent 30%
    ),
    var(--hidro-navy);
  border-color: var(--hidro-navy);
  grid-column: span 7;
  grid-row: span 2;
}

.hidro-bento-workspace:hover {
  border-color: var(--hidro-navy);
}

.hidro-bento-workspace h3 {
  max-width: 440px;
  color: var(--hidro-white);
  font-size: 2rem;
}

.hidro-bento-workspace p {
  max-width: 490px;
  color: rgba(255, 255, 255, 0.62);
}

.hidro-bento-workspace .hidro-bento-label {
  color: #72d4db;
}

.hidro-bento-upload,
.hidro-bento-validity {
  min-height: 258px;
  grid-column: span 5;
}

.hidro-bento-registry {
  grid-column: span 12;
}

.hidro-role-tabs {
  display: inline-flex;
  gap: 5px;
  margin-top: 24px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.hidro-role-tabs span {
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 0.63rem;
}

.hidro-role-tabs span.active {
  color: var(--hidro-navy);
  background: var(--hidro-white);
}

.hidro-workspace-preview {
  display: grid;
  min-height: 225px;
  margin-top: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 17px;
  grid-template-columns: 90px 1fr;
  transform: rotate(-1deg);
  transition: transform 300ms ease;
}

.hidro-bento-workspace:hover .hidro-workspace-preview {
  transform: rotate(0deg) translateY(-2px);
}

.hidro-workspace-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 14px;
  background: #f5f5f7;
}

.hidro-workspace-sidebar span {
  height: 10px;
  background: #dfe2e5;
  border-radius: 999px;
}

.hidro-workspace-sidebar span:first-child {
  background: rgba(8, 116, 166, 0.35);
}

.hidro-workspace-body {
  padding: 22px;
}

.hidro-workspace-line {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.hidro-workspace-line span {
  display: block;
  width: 40%;
  height: 10px;
  background: #dfe2e5;
  border-radius: 999px;
}

.hidro-workspace-line span:last-child {
  width: 18%;
}

.hidro-workspace-panels {
  display: grid;
  gap: 9px;
  margin-top: 25px;
  grid-template-columns: repeat(3, 1fr);
}

.hidro-workspace-panels span {
  height: 64px;
  background: var(--hidro-surface-blue);
  border: 1px solid rgba(8, 116, 166, 0.08);
  border-radius: 10px;
}

.hidro-workspace-table {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.hidro-workspace-table i {
  height: 17px;
  background: #f0f1f2;
  border-radius: 5px;
}

.hidro-bento-icon {
  display: grid;
  width: 47px;
  height: 47px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 14px;
}

.hidro-mini-dropzone {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
  padding: 14px;
  background: var(--hidro-surface);
  border: 1px dashed var(--hidro-border-dark);
  border-radius: 13px;
}

.hidro-mini-dropzone > span {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-white);
  border-radius: 10px;
}

.hidro-mini-dropzone strong,
.hidro-mini-dropzone small {
  display: block;
}

.hidro-mini-dropzone strong {
  color: var(--hidro-ink);
  font-size: 0.7rem;
  font-weight: 600;
}

.hidro-mini-dropzone small {
  margin-top: 3px;
  color: var(--hidro-muted-light);
  font-size: 0.58rem;
}

.hidro-validity-preview {
  display: grid;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 15px;
  background: var(--hidro-gold-soft);
  border: 1px solid rgba(177, 139, 54, 0.13);
  border-radius: 13px;
  grid-template-columns: 1fr 1px 1fr;
}

.hidro-validity-preview > span {
  width: 1px;
  height: 35px;
  background: rgba(177, 139, 54, 0.18);
}

.hidro-validity-preview small,
.hidro-validity-preview strong {
  display: block;
}

.hidro-validity-preview small {
  color: #977d43;
  font-size: 0.55rem;
}

.hidro-validity-preview strong {
  margin-top: 4px;
  color: #6f551e;
  font-size: 0.65rem;
  font-weight: 600;
}

.hidro-registry-preview {
  overflow: hidden;
  border: 1px solid var(--hidro-border);
  border-radius: 15px;
}

.hidro-registry-head,
.hidro-registry-row {
  display: grid;
  align-items: center;
  gap: 15px;
  padding: 12px 14px;
  grid-template-columns: minmax(0, 1.6fr) 0.6fr 0.6fr;
}

.hidro-registry-head {
  color: var(--hidro-muted-light);
  background: var(--hidro-surface);
  font-size: 0.59rem;
}

.hidro-registry-row {
  color: var(--hidro-ink);
  background: var(--hidro-white);
  border-top: 1px solid var(--hidro-border);
  font-size: 0.65rem;
}

.hidro-registry-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hidro-registry-row i {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 50%;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 600;
}

.hidro-registry-row b {
  padding: 5px 8px;
  color: var(--hidro-sea);
  background: rgba(22, 137, 150, 0.08);
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 550;
}

/* Workflow timeline */

.hidro-sticky-heading {
  position: sticky;
  top: 130px;
}

.hidro-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.hidro-timeline::before {
  position: absolute;
  top: 45px;
  bottom: 45px;
  left: 30px;
  width: 1px;
  content: "";
  background: var(--hidro-border-dark);
}

.hidro-timeline-item {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding: 27px;
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border);
  border-radius: 19px;
  grid-template-columns: 46px minmax(0, 1fr);
  transition:
    border-color var(--hidro-transition),
    box-shadow var(--hidro-transition),
    transform var(--hidro-transition);
}

.hidro-timeline-item:hover {
  border-color: rgba(8, 116, 166, 0.22);
  box-shadow: var(--hidro-shadow-sm);
  transform: translateX(4px);
}

.hidro-timeline-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border: 5px solid var(--hidro-white);
  border-radius: 14px;
  font-size: 0.68rem;
  font-weight: 600;
}

.hidro-timeline-owner {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--hidro-blue);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hidro-timeline-item h3 {
  margin: 0 0 8px;
  color: var(--hidro-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.hidro-timeline-item p {
  margin: 0;
  color: var(--hidro-muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

/* Role cards V2 */

.hidro-new-role-card {
  height: 100%;
  padding: 30px;
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border);
  border-radius: 22px;
  transition:
    border-color var(--hidro-transition),
    box-shadow var(--hidro-transition),
    transform var(--hidro-transition);
}

.hidro-new-role-card:hover {
  border-color: var(--hidro-border-dark);
  box-shadow: var(--hidro-shadow-sm);
  transform: translateY(-4px);
}

.hidro-new-role-card--primary {
  color: var(--hidro-white);
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(50, 170, 181, 0.17),
      transparent 30%
    ),
    var(--hidro-navy);
  border-color: var(--hidro-navy);
}

.hidro-new-role-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.hidro-new-role-number {
  color: var(--hidro-muted-light);
  font-size: 0.7rem;
  font-weight: 600;
}

.hidro-new-role-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 14px;
}

.hidro-new-role-card--primary .hidro-new-role-number {
  color: rgba(255, 255, 255, 0.45);
}

.hidro-new-role-card--primary .hidro-new-role-icon {
  color: #75d3da;
  background: rgba(255, 255, 255, 0.09);
}

.hidro-new-role-card h3 {
  margin: 0 0 8px;
  color: var(--hidro-ink);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hidro-new-role-card > p {
  min-height: 52px;
  margin-bottom: 24px;
  color: var(--hidro-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.hidro-new-role-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hidro-new-role-card li {
  position: relative;
  padding-left: 18px;
  color: var(--hidro-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hidro-new-role-card li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--hidro-blue);
  border-radius: 50%;
}

.hidro-new-role-card--primary h3 {
  color: var(--hidro-white);
}

.hidro-new-role-card--primary > p,
.hidro-new-role-card--primary li {
  color: rgba(255, 255, 255, 0.62);
}

.hidro-new-role-card--primary li::before {
  background: #75d3da;
}

/* CTA V2 */

.hidro-new-cta {
  position: relative;
  overflow: hidden;
  padding: 78px 30px;
  background:
    radial-gradient(
      circle at 50% 110%,
      rgba(8, 116, 166, 0.12),
      transparent 42%
    ),
    var(--hidro-surface);
  border: 1px solid var(--hidro-border);
  border-radius: 30px;
  text-align: center;
}

.hidro-new-cta-content {
  position: relative;
  z-index: 2;
}

.hidro-cta-badge {
  display: inline-flex;
  margin-bottom: 21px;
  padding: 7px 11px;
  color: var(--hidro-blue);
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
}

.hidro-new-cta h2 {
  margin: 0 0 18px;
  color: var(--hidro-ink);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hidro-new-cta p {
  margin: 0 auto 29px;
  color: var(--hidro-muted);
}

.hidro-cta-orbit {
  position: absolute;
  right: -230px;
  bottom: -420px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(8, 116, 166, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(8, 116, 166, 0.018),
    0 0 0 140px rgba(8, 116, 166, 0.012);
}

/* Animations */

@keyframes hidroHeroEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hidroStageEnter {
  from {
    opacity: 0;
    transform: translateY(45px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hidroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }

  50% {
    transform: translateY(-10px) rotate(0.5deg);
  }
}

@keyframes hidroFloatReverse {
  0%,
  100% {
    transform: translateY(0) rotate(0.5deg);
  }

  50% {
    transform: translateY(9px) rotate(-0.5deg);
  }
}

@keyframes hidroPulse {
  0% {
    opacity: 0.7;
    transform: scale(0.65);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes hidroProgressLoad {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes hidroScan {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }

  10% {
    opacity: 1;
  }

  45% {
    opacity: 0.7;
  }

  55%,
  100% {
    opacity: 0;
    transform: translateY(500px);
  }
}

/* Responsive */

@media (max-width: 1199.98px) {
  .hidro-product-stage {
    padding-right: 45px;
    padding-left: 45px;
  }

  .hidro-floating-upload {
    left: 3px;
  }

  .hidro-floating-certificate {
    right: 3px;
  }

  .hidro-floating-license {
    right: 70px;
  }
}

@media (max-width: 991.98px) {
  .hidro-hero-v2 {
    padding-top: 135px;
  }

  .hidro-product-stage {
    display: grid;
    min-height: auto;
    gap: 13px;
    padding: 50px 0 20px;
  }

  .hidro-app-window {
    order: 1;
    width: 100%;
  }

  .hidro-floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    animation: none;
  }

  .hidro-floating-upload {
    order: 2;
  }

  .hidro-floating-certificate {
    order: 3;
  }

  .hidro-floating-license {
    order: 4;
  }

  .hidro-role-flow-inner {
    gap: 22px;
  }

  .hidro-bento-workspace,
  .hidro-bento-upload,
  .hidro-bento-validity,
  .hidro-bento-registry {
    grid-column: span 12;
  }

  .hidro-bento-workspace {
    min-height: auto;
  }

  .hidro-sticky-heading {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .hidro-hero-v2 {
    padding-top: 120px;
  }

  .hidro-hero-heading h1 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
    letter-spacing: -0.065em;
  }

  .hidro-window-toolbar {
    grid-template-columns: auto 1fr;
  }

  .hidro-window-address {
    min-width: 0;
    margin-left: 12px;
  }

  .hidro-window-secure {
    display: none;
  }

  .hidro-app-layout {
    grid-template-columns: 1fr;
  }

  .hidro-preview-sidebar {
    display: none;
  }

  .hidro-preview-content {
    padding: 20px;
  }

  .hidro-preview-grid {
    grid-template-columns: 1fr;
  }

  .hidro-progress-steps {
    gap: 7px;
  }

  .hidro-progress-steps span {
    align-items: flex-start;
    flex-direction: column;
  }

  .hidro-role-flow-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hidro-flow-arrow {
    margin-left: 12px;
    transform: rotate(90deg);
  }

  .hidro-bento-card {
    padding: 27px;
  }

  .hidro-bento-workspace h3 {
    font-size: 1.65rem;
  }

  .hidro-workspace-preview {
    min-height: 210px;
    grid-template-columns: 70px 1fr;
  }

  .hidro-registry-preview {
    margin-top: 10px;
  }

  .hidro-timeline-item {
    padding: 23px;
  }

  .hidro-new-cta {
    padding: 60px 24px;
    border-radius: 24px;
  }
}

@media (max-width: 575.98px) {
  .hidro-hero-heading h1 span {
    display: inline;
  }

  .hidro-hero-buttons > * {
    width: 100%;
  }

  .hidro-hero-trust {
    align-items: center;
    flex-direction: column;
    gap: 11px;
  }

  .hidro-product-stage {
    margin-top: 30px;
  }

  .hidro-app-window {
    border-radius: 17px;
  }

  .hidro-preview-user {
    display: none;
  }

  .hidro-progress-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hidro-progress-steps span {
    font-size: 0.5rem;
  }

  .hidro-progress-steps i {
    width: 18px;
    height: 18px;
  }

  .hidro-activity-card {
    display: none;
  }

  .hidro-role-tabs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .hidro-role-tabs span {
    padding-inline: 5px;
    text-align: center;
  }

  .hidro-workspace-preview {
    grid-template-columns: 50px 1fr;
  }

  .hidro-workspace-body {
    padding: 15px;
  }

  .hidro-workspace-panels {
    grid-template-columns: 1fr 1fr;
  }

  .hidro-workspace-panels span:last-child {
    display: none;
  }

  .hidro-validity-preview {
    grid-template-columns: 1fr;
  }

  .hidro-validity-preview > span {
    width: 100%;
    height: 1px;
  }

  .hidro-registry-head,
  .hidro-registry-row {
    grid-template-columns: minmax(0, 1.5fr) 0.7fr;
  }

  .hidro-registry-head span:nth-child(2),
  .hidro-registry-row > span:nth-child(2) {
    display: none;
  }

  .hidro-timeline::before {
    left: 25px;
  }

  .hidro-timeline-item {
    gap: 15px;
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .hidro-timeline-number {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hidro-hero-heading,
  .hidro-product-stage,
  .hidro-floating-card,
  .hidro-badge-pulse::after,
  .hidro-license-indicator::after,
  .hidro-progress-track span,
  .hidro-window-scan {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   HIDRO Authentication Layout
========================================================================== */

.hidro-auth-body {
  min-height: 100vh;
  color: var(--hidro-ink);
  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(8, 116, 166, 0.045),
      transparent 25%
    ),
    var(--hidro-surface-soft);
}

.hidro-auth-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.hidro-auth-header {
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
  padding: 19px 34px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--hidro-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hidro-auth-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hidro-muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
}

.hidro-auth-home-link:hover {
  color: var(--hidro-blue);
}

.hidro-auth-main {
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  padding: 42px;
}

.hidro-auth-shell {
  display: grid;
  width: min(100%, 1160px);
  min-height: 690px;
  overflow: hidden;
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border);
  border-radius: 30px;
  box-shadow:
    0 30px 85px rgba(6, 36, 58, 0.09),
    0 6px 20px rgba(6, 36, 58, 0.035);
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(440px, 0.92fr);
  animation: hidroAuthEnter 750ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Visual panel */

.hidro-auth-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 48px;
  background:
    radial-gradient(
      circle at 70% 45%,
      rgba(8, 116, 166, 0.09),
      transparent 35%
    ),
    linear-gradient(145deg, #f1f7fa, #f8fafb 55%, #edf5f7);
  border-right: 1px solid var(--hidro-border);
  isolation: isolate;
}

.hidro-auth-visual-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(8, 116, 166, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 116, 166, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

.hidro-auth-visual-glow {
  position: absolute;
  top: 37%;
  left: 50%;
  z-index: -1;
  width: 400px;
  height: 400px;
  background: rgba(8, 116, 166, 0.08);
  border-radius: 50%;
  filter: blur(85px);
  transform: translate(-50%, -50%);
}

.hidro-auth-visual-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.hidro-auth-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 21px;
  padding: 7px 11px;
  color: var(--hidro-blue);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(8, 116, 166, 0.12);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hidro-auth-visual-badge > span {
  position: relative;
  width: 6px;
  height: 6px;
  background: var(--hidro-sea);
  border-radius: 50%;
}

.hidro-auth-visual-badge > span::after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid rgba(22, 137, 150, 0.3);
  border-radius: 50%;
  animation: hidroAuthPulse 2s ease-out infinite;
}

.hidro-auth-visual h1 {
  max-width: 520px;
  margin: 0 0 17px;
  color: var(--hidro-ink);
  font-size: clamp(2.2rem, 3.7vw, 3.7rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hidro-auth-visual-content > div:first-child > p {
  max-width: 480px;
  margin: 0;
  color: var(--hidro-muted);
  font-size: 0.92rem;
  line-height: 1.68;
}

/* Illustration */

.hidro-auth-illustration {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  margin: 12px 0;
}

.hidro-auth-shield {
  position: relative;
  z-index: 3;
  width: 220px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  box-shadow:
    0 25px 65px rgba(6, 36, 58, 0.13),
    inset 0 0 0 1px rgba(8, 116, 166, 0.04);
  text-align: center;
  backdrop-filter: blur(18px);
  animation: hidroAuthFloat 5.5s ease-in-out infinite;
}

.hidro-auth-shield-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 17px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 22px;
}

.hidro-auth-shield small,
.hidro-auth-shield strong {
  display: block;
}

.hidro-auth-shield small {
  color: var(--hidro-muted-light);
  font-size: 0.66rem;
}

.hidro-auth-shield strong {
  margin-top: 5px;
  color: var(--hidro-ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.hidro-auth-progress {
  height: 5px;
  margin-top: 18px;
  overflow: hidden;
  background: #e4e7e9;
  border-radius: 999px;
}

.hidro-auth-progress span {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--hidro-blue), var(--hidro-cyan));
  border-radius: inherit;
  transform-origin: left;
  animation: hidroAuthProgress 1.4s 450ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hidro-auth-orbit {
  position: absolute;
  border: 1px solid rgba(8, 116, 166, 0.11);
  border-radius: 50%;
}

.hidro-auth-orbit.orbit-one {
  width: 265px;
  height: 265px;
  animation: hidroAuthOrbit 24s linear infinite;
}

.hidro-auth-orbit.orbit-two {
  width: 340px;
  height: 340px;
  opacity: 0.52;
  animation: hidroAuthOrbitReverse 30s linear infinite;
}

.hidro-auth-orbit::before {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--hidro-sea);
  border: 3px solid #eef6f8;
  border-radius: 50%;
}

.hidro-auth-float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.87);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(6, 36, 58, 0.1);
  backdrop-filter: blur(15px);
}

.auth-float-left {
  bottom: 38px;
  left: 0;
  animation: hidroAuthFloatReverse 6s ease-in-out infinite;
}

.auth-float-right {
  top: 37px;
  right: 0;
  animation: hidroAuthFloat 6.5s 600ms ease-in-out infinite;
}

.hidro-auth-float-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 10px;
}

.hidro-auth-float-card small,
.hidro-auth-float-card strong {
  display: block;
}

.hidro-auth-float-card small {
  color: var(--hidro-muted-light);
  font-size: 0.55rem;
}

.hidro-auth-float-card strong {
  margin-top: 3px;
  color: var(--hidro-ink);
  font-size: 0.65rem;
  font-weight: 600;
}

.hidro-auth-float-card > i {
  display: grid;
  width: 19px;
  height: 19px;
  margin-left: auto;
  place-items: center;
  color: var(--hidro-white);
  background: var(--hidro-sea);
  border-radius: 50%;
  font-size: 0.54rem;
  font-style: normal;
}

.hidro-auth-role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hidro-auth-role-list > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--hidro-muted);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(8, 116, 166, 0.09);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 500;
}

.hidro-auth-role-list i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 50%;
  font-size: 0.52rem;
  font-style: normal;
}

/* Form panel */

.hidro-auth-panel {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 50px 55px;
  background: var(--hidro-white);
}

.hidro-auth-panel-inner {
  width: 100%;
  max-width: 410px;
}

.hidro-login-heading {
  margin-bottom: 29px;
}

.hidro-login-icon {
  display: grid;
  width: 47px;
  height: 47px;
  margin-bottom: 21px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-surface-blue);
  border-radius: 14px;
}

.hidro-login-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--hidro-blue);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.hidro-login-heading h2 {
  margin: 0 0 10px;
  color: var(--hidro-ink);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.hidro-login-heading p {
  margin: 0;
  color: var(--hidro-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* Alerts */

.hidro-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  padding: 13px;
  border-radius: 13px;
  font-size: 0.76rem;
  line-height: 1.5;
}

.hidro-auth-alert--success {
  color: #176b49;
  background: #effaf5;
  border: 1px solid #cceede;
}

.hidro-auth-alert--danger {
  color: #a03a42;
  background: #fff4f4;
  border: 1px solid #f2d1d3;
}

.hidro-auth-alert-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
}

.hidro-auth-alert strong,
.hidro-auth-alert div > span {
  display: block;
}

.hidro-auth-alert strong {
  margin-bottom: 2px;
  font-weight: 600;
}

.hidro-auth-alert div > span + span {
  margin-top: 3px;
}

/* Form fields */

.hidro-login-form {
  display: grid;
  gap: 18px;
}

.hidro-auth-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--hidro-ink);
  font-size: 0.78rem;
  font-weight: 550;
}

.hidro-auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.hidro-auth-label-row a {
  margin-bottom: 8px;
  color: var(--hidro-blue);
  font-size: 0.71rem;
  font-weight: 500;
  text-decoration: none;
}

.hidro-auth-label-row a:hover {
  color: var(--hidro-blue-hover);
}

.hidro-auth-input-wrapper {
  position: relative;
  display: flex;
  min-height: 51px;
  align-items: center;
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border-dark);
  border-radius: 13px;
  transition:
    border-color var(--hidro-transition),
    box-shadow var(--hidro-transition),
    background-color var(--hidro-transition);
}

.hidro-auth-input-wrapper:focus-within {
  background: var(--hidro-white);
  border-color: var(--hidro-blue);
  box-shadow: 0 0 0 4px rgba(8, 116, 166, 0.09);
}

.hidro-auth-input-wrapper.has-error {
  border-color: #d46b72;
  box-shadow: 0 0 0 3px rgba(212, 107, 114, 0.08);
}

.hidro-auth-input-icon {
  display: grid;
  width: 49px;
  height: 49px;
  flex: 0 0 49px;
  place-items: center;
  color: var(--hidro-muted-light);
}

.hidro-auth-input-wrapper:focus-within .hidro-auth-input-icon {
  color: var(--hidro-blue);
}

.hidro-auth-input-wrapper input {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 13px 0 0;
  color: var(--hidro-ink);
  background: transparent;
  border: 0;
  outline: none;
  font-size: 0.84rem;
}

.hidro-auth-input-wrapper input::placeholder {
  color: #a1a1a6;
}

.hidro-password-toggle {
  display: grid;
  width: 45px;
  height: 49px;
  flex: 0 0 45px;
  place-items: center;
  padding: 0;
  color: var(--hidro-muted-light);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hidro-password-toggle:hover {
  color: var(--hidro-blue);
}

.password-eye-closed {
  display: none;
}

.hidro-password-toggle.is-visible .password-eye-open {
  display: none;
}

.hidro-password-toggle.is-visible .password-eye-closed {
  display: block;
}

/* OTP information */

.hidro-otp-information {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  color: var(--hidro-muted);
  background: var(--hidro-surface);
  border: 1px solid var(--hidro-border);
  border-radius: 13px;
}

.hidro-otp-information > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  color: var(--hidro-blue);
  background: var(--hidro-white);
  border-radius: 9px;
}

.hidro-otp-information p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.55;
}

/* Submit button */

.hidro-login-submit {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  color: var(--hidro-white);
  background: var(--hidro-blue);
  border: 1px solid var(--hidro-blue);
  border-radius: 13px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--hidro-transition),
    border-color var(--hidro-transition),
    box-shadow var(--hidro-transition),
    transform var(--hidro-transition);
}

.hidro-login-submit:hover {
  background: var(--hidro-blue-hover);
  border-color: var(--hidro-blue-hover);
  box-shadow: 0 10px 25px rgba(8, 116, 166, 0.19);
  transform: translateY(-1px);
}

.hidro-login-submit:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.hidro-login-submit-arrow {
  position: absolute;
  right: 17px;
}

.hidro-login-spinner {
  display: none;
}

.hidro-login-submit.is-loading .hidro-login-spinner {
  display: inline-block;
}

.hidro-login-submit.is-loading .hidro-login-submit-arrow {
  display: none;
}

/* Register section */

.hidro-auth-divider {
  position: relative;
  margin: 26px 0 17px;
  color: var(--hidro-muted-light);
  font-size: 0.69rem;
  text-align: center;
}

.hidro-auth-divider::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--hidro-border);
}

.hidro-auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 11px;
  background: var(--hidro-white);
}

.hidro-register-link {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--hidro-ink);
  background: var(--hidro-white);
  border: 1px solid var(--hidro-border-dark);
  border-radius: 13px;
  font-size: 0.82rem;
  font-weight: 550;
  text-decoration: none;
}

.hidro-register-link:hover {
  color: var(--hidro-blue);
  background: var(--hidro-surface);
  border-color: var(--hidro-border-dark);
}

.hidro-auth-help {
  margin: 20px 0 0;
  color: var(--hidro-muted-light);
  font-size: 0.67rem;
  line-height: 1.5;
  text-align: center;
}

/* Auth footer */

.hidro-auth-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 34px;
  color: var(--hidro-muted-light);
  font-size: 0.66rem;
}

/* Animations */

@keyframes hidroAuthEnter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hidroAuthFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes hidroAuthFloatReverse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes hidroAuthPulse {
  0% {
    opacity: 0.8;
    transform: scale(0.7);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes hidroAuthProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes hidroAuthOrbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes hidroAuthOrbitReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* Responsive */

@media (max-width: 991.98px) {
  .hidro-auth-main {
    padding: 30px 24px;
  }

  .hidro-auth-shell {
    width: min(100%, 620px);
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hidro-auth-visual {
    min-height: 270px;
    padding: 35px;
    border-right: 0;
    border-bottom: 1px solid var(--hidro-border);
  }

  .hidro-auth-visual-content {
    min-height: 200px;
  }

  .hidro-auth-visual h1 {
    max-width: 460px;
    font-size: 2.35rem;
  }

  .hidro-auth-visual-content > div:first-child > p {
    max-width: 480px;
  }

  .hidro-auth-illustration,
  .hidro-auth-role-list {
    display: none;
  }

  .hidro-auth-panel {
    padding: 45px;
  }
}

@media (max-width: 575.98px) {
  .hidro-auth-header {
    padding: 15px 18px;
  }

  .hidro-auth-home-link span {
    display: none;
  }

  .hidro-auth-main {
    display: block;
    padding: 18px 12px 30px;
  }

  .hidro-auth-shell {
    border-radius: 22px;
  }

  .hidro-auth-visual {
    min-height: 220px;
    padding: 28px 24px;
  }

  .hidro-auth-visual h1 {
    font-size: 1.95rem;
  }

  .hidro-auth-visual-content > div:first-child > p {
    font-size: 0.8rem;
  }

  .hidro-auth-panel {
    padding: 35px 23px;
  }

  .hidro-login-heading h2 {
    font-size: 1.75rem;
  }

  .hidro-auth-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hidro-auth-shell,
  .hidro-auth-shield,
  .hidro-auth-float-card,
  .hidro-auth-visual-badge > span::after,
  .hidro-auth-progress span,
  .hidro-auth-orbit {
    animation: none !important;
  }
}

/* ==========================================================================
   Auth Layout — No Navbar
========================================================================== */

.hidro-auth-header {
  display: none;
}

.hidro-auth-main {
  padding: 30px 42px;
}

.hidro-auth-shell {
  min-height: min(700px, calc(100vh - 105px));
}

.hidro-auth-inside-brand {
  width: fit-content;
  margin-bottom: 44px;
}

.hidro-auth-inside-brand .hidro-brand-mark {
  box-shadow: 0 10px 25px rgba(11, 53, 83, 0.14);
}

.hidro-auth-inside-brand:hover {
  transform: translateY(-1px);
}

.hidro-auth-panel {
  position: relative;
  padding-top: 78px;
}

.hidro-auth-panel-back {
  position: absolute;
  top: 30px;
  right: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hidro-muted);
  font-size: 0.73rem;
  font-weight: 500;
  text-decoration: none;
}

.hidro-auth-panel-back:hover {
  color: var(--hidro-blue);
}

.hidro-auth-footer {
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (max-width: 991.98px) {
  .hidro-auth-main {
    padding: 24px;
  }

  .hidro-auth-shell {
    min-height: auto;
  }

  .hidro-auth-inside-brand {
    margin-bottom: 34px;
  }

  .hidro-auth-panel {
    padding-top: 75px;
  }
}

@media (max-width: 575.98px) {
  .hidro-auth-main {
    padding: 12px;
  }

  .hidro-auth-inside-brand {
    margin-bottom: 27px;
  }

  .hidro-auth-inside-brand .hidro-brand-description {
    display: block;
  }

  .hidro-auth-panel {
    padding-top: 70px;
  }

  .hidro-auth-panel-back {
    top: 23px;
    right: 23px;
  }

  .hidro-auth-footer {
    display: none;
  }
}
