:root {
  --green: #0d9488;
  --teal: #0f766e;
  --mint: #2dd4bf;
  --green-deep: #115e59;
  --ink: #042f2e;
  --text: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --line-soft: #f8fafc;
  --paper: #ffffff;
  --mist: #f0fdfa;
  --nav-h: 68px;
  --shadow: 0 20px 45px rgba(13, 148, 136, 0.18);
  --font: "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: var(--font);
  background: var(--paper);
  overflow-x: hidden;
}

body.client-open {
  overflow: hidden;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 10000;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
}

.ico-14 {
  width: 14px;
  height: 14px;
}
.ico-15 {
  width: 15px;
  height: 15px;
}
.ico-16 {
  width: 16px;
  height: 16px;
}
.ico-17 {
  width: 17px;
  height: 17px;
}
.ico-18 {
  width: 18px;
  height: 18px;
}
.ico-22 {
  width: 22px;
  height: 22px;
}
.ico-26 {
  width: 26px;
  height: 26px;
}
.ico-27 {
  width: 27px;
  height: 27px;
}

.ico-green {
  color: var(--mint);
}
.ico-teal {
  color: var(--teal);
}
.ico-white {
  color: #fff;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--nav-h);
  padding: 14px 6%;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #115e59 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.navbar :focus-visible {
  outline-color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 10px;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.brand em {
  font-style: normal;
  color: #5eead4;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-panel {
  display: contents;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-trigger:hover,
.nav-link:hover {
  color: #ccfbf1;
}

.nav-item {
  position: relative;
}

.nav-item.is-open .chev {
  transform: rotate(180deg);
}

.chev {
  transition: transform 0.2s;
}

.language-picker {
  position: relative;
  display: flex;
  align-items: center;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 64px;
  height: 38px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"],
.language-toggle:focus-visible {
  border-color: var(--green);
  background: var(--green);
}

.language-toggle[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.language-flag {
  display: block;
  width: 30px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14);
}

.language-toggle [data-current-flag]:not(.is-current) {
  display: none;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  display: flex;
  min-width: 160px;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.language-option:hover,
.language-option:focus-visible {
  border-color: var(--green);
  background: var(--mist);
}

.language-option.is-selected {
  font-weight: 700;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

.login-wrap {
  position: relative;
}

.login-wrap.is-open .chev {
  transform: rotate(180deg);
}

.login-menu {
  position: absolute;
  right: 0;
  top: 48px;
  width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  z-index: 120;
}

.login-label {
  margin: 0 0 8px;
  padding-left: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.login-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: background 0.15s;
}

.login-item + .login-item {
  margin-top: 4px;
}

.login-item.is-muted,
.login-item:hover {
  background: var(--mist);
  color: var(--teal);
}

/* ========== MEGA MENU ========== */
.mega {
  position: fixed;
  top: var(--nav-h);
  left: 6%;
  right: 6%;
  z-index: 1000;
  overflow: auto;
  max-height: calc(100vh - var(--nav-h) - 24px);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.mega-body {
  display: flex;
  min-height: 380px;
}

.mega-body.tall {
  min-height: 410px;
}

.mega-tabs {
  width: 230px;
  flex-shrink: 0;
  padding: 16px 0;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
}

.mega-tabs.wide {
  width: 240px;
}

.mega-tab {
  display: block;
  width: 100%;
  padding: 12px 24px;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: all 0.15s;
}

.mega-tabs.wide .mega-tab {
  padding: 14px 24px;
}

.mega-tab:hover {
  color: var(--teal);
  background: rgba(13, 148, 136, 0.04);
}

.mega-tab.is-active {
  border-left-color: var(--green);
  background: #f0fdfa;
  color: var(--teal);
}

.mega-content {
  flex: 1;
  padding: 24px 32px;
}

.mega-content.pad {
  padding: 28px 36px 36px;
}

.mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.mega-head h3,
.mega-content > h3 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.mega-head h3 {
  margin: 0;
  font-size: 18px;
}

.mega-content.pad > h3 {
  font-size: 18px;
  margin-bottom: 24px;
}

.more-link {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.more-link:hover {
  text-decoration: underline;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mega-grid.loose {
  gap: 20px;
}

.mega-card {
  display: flex;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-card:hover {
  border-color: var(--mint);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.1);
  transform: translateY(-2px);
}

.mega-card.roomy {
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
}

.mega-card p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.mega-card h4,
.card-name {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.badge-hot {
  background: #fee2e2;
  color: #dc2626;
}

.badge-new {
  background: #ccfbf1;
  color: #0f766e;
}

.mega-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
  border-top: 1px solid #ccfbf1;
}

.mega-banner.pad {
  padding: 24px 36px;
}

.mega-banner-copy strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.mega-banner-copy p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  max-width: 700px;
}

.banner-btn {
  padding: 10px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
  transition:
    background 0.2s,
    transform 0.15s;
}

.banner-btn:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.banner-btn.dark {
  background: var(--ink);
  color: #fff;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 80px 8% 90px;
  background: linear-gradient(145deg, #042f2e 0%, #0f766e 55%, #115e59 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(45, 212, 191, 0.25) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  color: #ccfbf1;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-lead {
  margin: 0 0 24px;
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1.6;
}

.checks {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-green {
  background: #2dd4bf;
  color: #042f2e;
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.35);
}

.btn-green:hover {
  background: #5eead4;
  transform: translateY(-2px);
}

.btn-green-main {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn-green-main:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  transform: translateY(-2px);
}

.btn-teal {
  background: #0f766e;
  color: #fff;
  width: 100%;
}

.btn-teal:hover {
  background: #115e59;
}

/* RACK VISUAL */
.rack-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.rack {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(4, 47, 46, 0.85);
  border: 1px solid rgba(45, 212, 191, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.rack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #5eead4;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

.blade {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blade strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 2px;
}

.blade span {
  color: #94a3b8;
  font-size: 11px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 16px #2dd4bf;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* ========== FEATURE SECTION ========== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
  background: #f8fafc;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.console-wrap {
  width: 100%;
  max-width: 440px;
}

.console {
  padding: 28px;
  border-radius: 16px;
  background: #0f172a;
  border: 1px solid #334155;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  color: #fff;
}

.dots {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
}
.dots i:nth-child(2) {
  background: #f59e0b;
}
.dots i:nth-child(3) {
  background: #10b981;
}

.console-label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.pkg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.pkg {
  padding: 12px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.pkg.is-on {
  background: rgba(13, 148, 136, 0.2);
  border-color: var(--mint);
  color: #5eead4;
}

.console-price {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.console-price span {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

.feature-copy h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.feature-copy p {
  margin: 0 0 24px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

/* ========== GPU SECTION ========== */
.gpu {
  padding: 100px 8%;
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f0fdfa;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid #ccfbf1;
}

.section-head h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-head p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.gpu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gpu-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gpu-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(13, 148, 136, 0.12);
}

.gpu-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.gpu-card h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.gpu-name {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.gpu-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.gpu-price span {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.gpu-specs {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.gpu-specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: 13px;
  line-height: 1.4;
}

/* ========== CALCULATOR SECTION ========== */
.calc {
  padding: 100px 8%;
  background: #f8fafc;
  text-align: center;
}

.calc h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 800;
}

.calc > p {
  margin: 0 auto 50px;
  color: #64748b;
  font-size: 15px;
  max-width: 600px;
}

.calc-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  text-align: left;
  align-items: center;
}

.sliders {
  display: grid;
  gap: 24px;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.sliders input[type="range"] {
  width: 100%;
  accent-color: var(--green);
  cursor: pointer;
}

.estimate {
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 100%);
  border: 1px solid #ccfbf1;
  text-align: center;
}

.estimate-label {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.estimate-month {
  font-size: 30px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.estimate-month .per {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.estimate-hour {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ========== CHAT / FLOATING BTN ========== */
.chat-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
  transition:
    transform 0.2s,
    background 0.2s;
}

.chat-btn:hover {
  transform: scale(1.08);
}

/* ========== CLIENT PORTAL MODAL ========== */
.client {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f8fafc;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.client-header {
  padding: 16px 6%;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.client-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.client-header .brand {
  color: var(--ink);
}

.client-header .brand em {
  color: var(--teal);
}

.client-header .brand-mark {
  background: var(--mist);
  border-color: #ccfbf1;
}

.client-header .brand-mark .ico {
  color: var(--teal);
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s;
}

.back-btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
}

.client-view {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.client-hero {
  position: relative;
  padding: 80px 6%;
  background: linear-gradient(145deg, #042f2e 0%, #0f766e 60%, #115e59 100%);
  color: #fff;
  overflow: hidden;
}

.client-hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ccfbf1;
}

.client-hero h1 {
  margin: 0 0 16px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
}

.client-hero h1 span {
  color: #5eead4;
}

.client-hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.portal-note {
  padding: 24px;
  border-radius: 16px;
  background: rgba(4, 47, 46, 0.75);
  border: 1px solid rgba(45, 212, 191, 0.3);
  backdrop-filter: blur(10px);
}

.portal-note-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.portal-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-note strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.portal-note small {
  color: #94a3b8;
  font-size: 12px;
}

.portal-note hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}

.portal-note ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.portal-note li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #e2e8f0;
}

.portal-cards {
  max-width: 1200px;
  width: 100%;
  margin: -40px auto 60px;
  padding: 0 6%;
  position: relative;
  z-index: 3;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.choice {
  padding: 36px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.choice-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.choice-ico.green {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
}

.choice-ico.teal {
  background: #f0fdfa;
  border: 1px solid #ccfbf1;
}

.choice h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--ink);
  font-weight: 800;
}

.choice p {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1.5px solid var(--green);
  border-radius: 10px;
  background: #fff;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #f0fdfa;
}

.quick-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 700;
  padding: 0;
}

.text-btn:hover {
  text-decoration: underline;
}

.dot-sep {
  color: #cbd5e1;
}

/* LOGIN SCREEN */
.login-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

#client.is-authenticated > .client-header,
#client.is-authenticated > .client-footer {
  display: none;
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 0 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.dashboard-header-inner {
  display: flex;
  align-items: center;
  gap: 44px;
  width: min(100%, 1200px);
  min-height: 68px;
  margin: 0 auto;
}

.dashboard-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -1.1px;
  text-decoration: none;
}

.dashboard-brand em {
  color: var(--teal);
  font-style: normal;
  font-weight: 500;
}

.dashboard-brand-mark {
  display: grid;
  width: 43px;
  height: 32px;
  place-items: center;
  border-radius: 18px 18px 14px 14px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0;
}

.dashboard-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 24px;
  min-width: 0;
}

.dashboard-nav a {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: #475569;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.dashboard-nav a:hover,
.dashboard-nav a.is-active {
  border-bottom-color: var(--green);
  color: var(--text);
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.dashboard-order-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-order-btn:hover {
  border-color: var(--green-deep);
  background: var(--green-deep);
}

.dashboard-order-btn > span {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}

.dashboard-profile {
  position: relative;
}

.dashboard-profile-toggle {
  display: inline-flex;
  min-width: 70px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
}

.dashboard-profile-toggle[aria-expanded="true"],
.dashboard-profile-toggle:hover {
  border-color: #94a3b8;
}

.dashboard-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e8f5f3;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.dashboard-profile-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-profile-identity > span:last-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.dashboard-profile-identity strong,
.dashboard-account strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-profile-identity small,
.dashboard-account small {
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  text-overflow: ellipsis;
}

.dashboard-account {
  display: grid;
  gap: 6px;
  padding: 12px 12px 8px;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-account > span {
  padding: 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-account-card {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #f8fafc;
}

.dashboard-account-card strong {
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
}

.dashboard-account-card small {
  color: #64748b;
  font-size: 12px;
}

.dashboard-profile-links {
  display: grid;
  gap: 0;
  padding: 4px 8px;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-profile-item {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  color: #1e293b;
  font-size: 14px;
}

.dashboard-profile-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #64748b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.dashboard-preferences {
  display: grid;
  gap: 8px;
  padding: 12px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-preference-row {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

.dashboard-segmented-control {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 7px;
  background: #eef2f6;
}

.dashboard-segmented-control button {
  display: inline-flex;
  min-width: 40px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
}

.dashboard-segmented-control button[aria-pressed="true"] {
  background: #fff;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.dashboard-segmented-control button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.dashboard-segmented-control svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.dashboard-theme-control button {
  min-width: auto;
  padding: 0 9px;
}

.dashboard-logout-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  background: #fff;
  color: #b91c1c;
  font-size: 14px;
  text-align: left;
}

.dashboard-logout-btn:hover {
  background: #fef2f2;
}

.dashboard-logout-btn:disabled {
  cursor: wait;
  opacity: 0.6;
}

.client-home {
  flex: 1;
  min-height: calc(100vh - 68px);
  padding: 32px 24px;
  background: #f3f6fa;
}

.dashboard-content {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.dashboard-welcome h1 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.dashboard-welcome > p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.dashboard-alert {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  margin: 26px 0 24px;
  padding: 12px 18px;
  border: 1px solid #bcebd2;
  border-radius: 11px;
  background: #eaf8f0;
  color: #1e293b;
  font-size: 14px;
}

.dashboard-alert svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: #16845b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-stat {
  display: grid;
  min-height: 128px;
  align-content: start;
  gap: 7px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
}

.dashboard-stat > span,
.dashboard-stat > small {
  color: #64748b;
  font-size: 13px;
}

.dashboard-stat > strong {
  color: #0f172a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.dashboard-stat strong small {
  margin-left: 8px;
  color: #475569;
  font-size: 14px;
  font-weight: 400;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: start;
  gap: 24px;
}

.dashboard-panel {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
}

.dashboard-panel h2 {
  margin: 0;
  padding: 15px 24px;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 700;
}

.dashboard-empty {
  display: flex;
  min-height: 225px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  text-align: center;
}

.dashboard-empty-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  fill: none;
  stroke: #94a3b8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dashboard-domain-check {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  fill: none;
  stroke: #16845b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dashboard-empty h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

.dashboard-empty p {
  max-width: 420px;
  margin: 0 0 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.dashboard-domains .dashboard-empty {
  min-height: 225px;
}

.dashboard-domains .dashboard-empty p {
  margin-bottom: 0;
}

.dashboard-logout-status {
  width: min(100%, 500px);
  margin: 18px auto 0;
}

.dashboard-help-anchor {
  display: block;
  height: 1px;
}

#client-home[data-theme="dark"] .client-home,
#client-home[data-theme="dark"] .dashboard-header,
#client-home[data-theme="dark"] .dashboard-profile-menu,
#client-home[data-theme="dark"] .dashboard-account-card,
#client-home[data-theme="dark"] .dashboard-logout-btn {
  background: #111827;
}

#client-home[data-theme="dark"] .client-home {
  background: #0b1220;
}

#client-home[data-theme="dark"] .dashboard-header,
#client-home[data-theme="dark"] .dashboard-profile-menu,
#client-home[data-theme="dark"] .dashboard-profile-identity,
#client-home[data-theme="dark"] .dashboard-account,
#client-home[data-theme="dark"] .dashboard-account-card,
#client-home[data-theme="dark"] .dashboard-profile-links,
#client-home[data-theme="dark"] .dashboard-preferences {
  border-color: #334155;
}

#client-home[data-theme="dark"] .dashboard-profile-menu,
#client-home[data-theme="dark"] .dashboard-stat,
#client-home[data-theme="dark"] .dashboard-panel,
#client-home[data-theme="dark"] .dashboard-profile-toggle {
  background: #111827;
}

#client-home[data-theme="dark"] .dashboard-brand,
#client-home[data-theme="dark"] .dashboard-nav a,
#client-home[data-theme="dark"] .dashboard-profile-identity strong,
#client-home[data-theme="dark"] .dashboard-account-card strong,
#client-home[data-theme="dark"] .dashboard-profile-item,
#client-home[data-theme="dark"] .dashboard-stat > strong,
#client-home[data-theme="dark"] .dashboard-panel h2,
#client-home[data-theme="dark"] .dashboard-empty h3,
#client-home[data-theme="dark"] .dashboard-profile-toggle {
  color: #e2e8f0;
}

#client-home[data-theme="dark"] .dashboard-account > span,
#client-home[data-theme="dark"] .dashboard-account-card small,
#client-home[data-theme="dark"] .dashboard-profile-identity small,
#client-home[data-theme="dark"] .dashboard-preference-row,
#client-home[data-theme="dark"] .dashboard-stat > span,
#client-home[data-theme="dark"] .dashboard-stat > small,
#client-home[data-theme="dark"] .dashboard-empty p {
  color: #94a3b8;
}

#client-home[data-theme="dark"] .dashboard-panel h2 {
  border-color: #334155;
}

#client-home[data-theme="dark"] .dashboard-segmented-control {
  background: #1f2937;
}

#client-home[data-theme="dark"] .dashboard-segmented-control button[aria-pressed="true"] {
  background: #334155;
  color: #f8fafc;
}

.register-card {
  max-width: 700px;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.register-screen {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr);
  align-items: stretch;
  justify-content: initial;
  min-height: calc(100vh - 68px);
  padding: 0;
  gap: 0;
}

.register-promo {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 64px clamp(40px, 4.2vw, 80px);
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
}

.register-promo-content {
  width: 100%;
  max-width: 560px;
  margin: 0;
}

.register-promo h1 {
  margin: 0 0 36px;
  color: var(--text);
  font-size: clamp(32px, 2.5vw, 46px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.register-benefits {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.5;
  list-style: none;
}

.register-benefits li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.register-benefit-check {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.register-certification {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 10px 16px;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 14px;
}

.register-certification .ico {
  color: #64748b;
}

.register-panel {
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 48px clamp(28px, 5.5vw, 96px);
  background: #fff;
}

.register-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.register-section-title,
.register-section-note,
.register-field-full {
  grid-column: 1 / -1;
}

.register-section-title {
  margin: 4px 0 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.register-section-title:not(:first-child) {
  margin-top: 8px;
}

.register-section-note {
  margin: -4px 0 14px;
  color: #64748b;
  font-size: 12px;
}

.field b {
  color: #dc2626;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.register-turnstile {
  margin: 0 0 16px;
}

.register-turnstile-note {
  margin: 8px 0 0;
  color: #b91c1c;
  font-size: 12px;
}

#turnstile-widget {
  min-height: 65px;
}

.login-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.login-card-head {
  margin-bottom: 24px;
}

.login-kicker {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.login-card h1 {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--ink);
  font-weight: 800;
}

.login-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field span {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.forgot {
  display: block;
  margin: -8px 0 20px auto;
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.btn-gradient {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.3);
  transition: opacity 0.2s;
}

.btn-gradient:hover {
  opacity: 0.92;
}

.btn-gradient:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.login-card hr {
  border: 0;
  border-top: 1px solid #f1f5f9;
  margin: 24px 0;
}

.signup {
  text-align: center;
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
}

.signup button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-weight: 700;
  padding: 0;
}

.register-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .register-screen {
    grid-template-columns: 1fr;
  }

  .register-promo {
    position: static;
    min-height: auto;
    padding: 48px 7%;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .register-promo-content {
    max-width: 720px;
    margin: 0 auto;
  }

  .register-promo h1 {
    max-width: 560px;
    margin-bottom: 24px;
  }

  .register-benefits {
    gap: 14px;
    font-size: 16px;
  }

  .register-certification {
    margin-top: 28px;
  }

  .register-panel {
    padding: 40px 7%;
  }
}

@media (max-width: 640px) {
  .register-fields {
    grid-template-columns: 1fr;
  }

  .register-section-title,
  .register-section-note,
  .register-field-full {
    grid-column: auto;
  }

  .register-promo {
    padding: 36px 24px;
  }

  .register-promo h1 {
    font-size: 30px;
  }

  .register-benefits {
    font-size: 15px;
  }

  .register-panel {
    padding: 32px 24px;
  }

  .register-card {
    padding: 0;
  }
}

.register-terms input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.register-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  background: var(--mist);
  color: var(--green-deep);
  font-size: 13px;
  line-height: 1.5;
}

.register-status.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.btn-ghost {
  width: 100%;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--text);
}

.client-footer {
  padding: 24px 6%;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}

.client-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 12px;
}

.secure {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
}

@media (max-width: 1050px) {
  .dashboard-header {
    padding: 0 18px;
  }

  .dashboard-header-inner {
    gap: 22px;
  }

  .dashboard-nav {
    gap: 16px;
  }

  .dashboard-nav a {
    font-size: 13px;
  }

  .dashboard-brand {
    font-size: 20px;
  }
}

@media (max-width: 820px) {
  .dashboard-header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
    padding-top: 10px;
  }

  .dashboard-header {
    min-height: 104px;
  }

  .dashboard-header-inner {
    min-height: 104px;
  }

  .dashboard-nav {
    order: 3;
    width: 100%;
    height: 42px;
    overflow-x: auto;
    gap: 22px;
  }

  .dashboard-actions {
    margin-left: auto;
  }

  .client-home {
    min-height: calc(100vh - 104px);
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .dashboard-header {
    padding: 0 14px;
  }

  .dashboard-brand {
    gap: 6px;
    font-size: 17px;
  }

  .dashboard-brand-mark {
    width: 36px;
    height: 28px;
    font-size: 12px;
  }

  .dashboard-header-inner {
    gap: 0 10px;
  }

  .dashboard-actions {
    gap: 8px;
  }

  .dashboard-order-btn {
    min-height: 38px;
    gap: 5px;
    padding: 0 10px;
    font-size: 12px;
  }

  .dashboard-profile-toggle {
    min-width: 60px;
    min-height: 38px;
    gap: 5px;
    padding: 3px 6px;
  }

  .dashboard-avatar {
    width: 29px;
    height: 29px;
  }

  .dashboard-nav {
    gap: 18px;
  }

  .client-home {
    padding: 26px 16px;
  }

  .dashboard-welcome h1 {
    font-size: 25px;
  }

  .dashboard-alert {
    align-items: flex-start;
    margin: 20px 0;
    padding: 12px;
    font-size: 13px;
  }

  .dashboard-stats {
    gap: 10px;
    margin-bottom: 18px;
  }

  .dashboard-stat {
    min-height: 112px;
    gap: 6px;
    padding: 16px 14px;
  }

  .dashboard-stat > span,
  .dashboard-stat > small {
    font-size: 12px;
  }

  .dashboard-stat > strong {
    font-size: 21px;
  }

  .dashboard-panel h2 {
    padding: 14px 16px;
  }

  .dashboard-empty {
    padding: 24px 16px;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }
  .nav-panel {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #0f766e;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  }
  .navbar.is-open .nav-panel {
    display: flex;
  }
  .nav-center {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
  }
  .nav-actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    justify-content: space-between;
  }
  .hero,
  .feature,
  .gpu-grid,
  .calc-card,
  .card-grid,
  .client-hero-grid {
    grid-template-columns: 1fr;
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .mega-body {
    flex-direction: column;
  }
  .mega-tabs {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }
}
