/* ========================================
   ERA TECH - Website Services Company
   Custom Styles (Clean consolidated version)
   ======================================== */

/* --- CRITICAL: Bulletproof Header Fix ---
   ONLY target the actual <header> element, NOT .header-container
   because .header-container is also used inside the hero section! */
header.header {
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  transition: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  padding-left: 140px !important;
}

/* Push the welcome section down so it's not hidden behind the fixed header */
.welcome-wrapper[data-welcome-section] {
  padding-top: 80px !important;
}

/* --- Spinning Logo in Nav (1.5x Scaled) --- */
.eratech-logo-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  flex-shrink: 0;
}

.eratech-logo-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.eratech-logo-core svg {
  width: 42px;
  height: 42px;
}

.eratech-logo-ring {
  position: absolute;
  inset: 0;
  animation: eratech-spin 12s linear infinite;
}

.eratech-logo-ring svg {
  width: 100%;
  height: 100%;
}

.eratech-logo-ring text {
  font-family: 'Google Sans Flex', sans-serif;
  font-weight: 500;
  font-size: 8.2px;
  fill: #1a1a1a;
  letter-spacing: 3.5px;
}

@keyframes eratech-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- ERA TECH Nav Overrides --- */
.eratech-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.eratech-nav a {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 16px;
  font-weight: 450;
  color: #4a4d51;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.eratech-nav a:hover,
.eratech-nav a.active {
  background: #f1f3f4;
  color: #1a73e8;
}

.eratech-header-actions { position: absolute; right: 0; display: flex; align-items: center; gap: 12px; }
.eratech-account-menu-wrap { position: relative; }
.eratech-account-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 1100; width: min(260px, calc(100vw - 32px)); padding: 8px; border: 1px solid rgba(30, 74, 130, .14); border-radius: 16px; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 45px rgba(24, 54, 92, .2); backdrop-filter: blur(18px); }
.eratech-account-menu[hidden] { display: none; }
.eratech-account-menu [hidden] { display: none; }
.eratech-account-menu-header { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; border-bottom: 1px solid #e7eef5; }
.eratech-account-menu-header .symbol { color: #1a73e8; font-size: 24px; }
.eratech-account-menu-header strong { display: block; max-width: 190px; overflow: hidden; color: #162238; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.eratech-account-menu-header small { display: block; margin-top: 2px; color: #708092; font-size: 11px; }
.eratech-account-menu a, .eratech-account-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: #26364a; cursor: pointer; font: inherit; font-size: 13px; text-align: left; text-decoration: none; }
.eratech-account-menu a:hover, .eratech-account-menu button:hover { background: #eef5ff; color: #0b57d0; }
.eratech-account-menu .symbol { color: #4d78b8; font-size: 19px; }
.eratech-account-menu [data-signout] { margin-top: 4px; border-top: 1px solid #e7eef5; border-radius: 0 0 10px 10px; color: #b42318; }
@media (min-width: 1025px) { header.header .main-content { padding-right: clamp(320px, 24vw, 360px) !important; box-sizing: border-box; } .eratech-nav { min-width: 0; max-width: calc(100% - 300px); gap: 2px; } .eratech-nav a { padding-inline: clamp(8px, .8vw, 14px); font-size: clamp(14px, 1.05vw, 16px); } }

@media (min-width: 1025px) and (max-width: 1399px) {
  .eratech-nav {
    transform: translateX(-64px);
  }
}

.eratech-quote-btn {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  border: none;
  border-radius: 999px;
  padding:   10px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(26,115,232,0.3);
  white-space: nowrap;
}

.eratech-quote-btn:hover {
  background: linear-gradient(135deg, #1557b0, #0b3d91);
  box-shadow: 0 4px 16px rgba(26,115,232,0.4);
  transform: translateY(-1px);
}

.eratech-quote-btn[data-authenticated="true"] {
  max-width: 240px;
  padding-inline: 16px;
  gap: 8px;
}

.eratech-quote-btn[data-authenticated="true"] span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .eratech-quote-btn[data-authenticated="true"] {
    max-width: 190px;
    padding-inline: 13px;
    font-size: 13px;
  }
}

/* --- Rotating Gemini AI Gradient Words --- */
.eratech-rotating-sub {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-top: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.eratech-rotating-word {
  background: linear-gradient(135deg, #4285f4, #9b72cb, #d96aae, #e2803b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  padding: 6px 20px;
  border-radius: 12px;
  background-size: 200% auto;
  animation: gemini-shine 4s linear infinite;
  backdrop-filter: blur(12px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  display: inline-block;
}

@keyframes gemini-shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Floating Contact Buttons (FAB) --- */
.fab-contact-group {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 14px;
}

.fab-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1a73e8, #0d47a1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26,115,232,0.35);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s;
  position: relative;
  z-index: 10;
}

.fab-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(26,115,232,0.5);
}

.fab-toggle-btn svg {
  width: 28px;
  height: 28px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  transform: rotate(0deg);
}

.fab-contact-group:not(.collapsed) .fab-toggle-btn svg {
  transform: rotate(180deg);
}

.fab-items {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 1;
  transform: translateY(0);
}

.fab-contact-group.collapsed .fab-items {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.fab-item {
  position: relative;
  width: 50px;
  height: 50px;
}

.fab-item-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.25s, box-shadow 0.25s;
}

.fab-item-btn:hover {
  transform: scale(1.12);
}

.fab-item-btn svg,
.fab-item-btn img {
  width: 26px;
  height: 26px;
}

.fab-item-btn.fab-zalo {
  background: #0068FF;
  color: #fff;
  box-shadow: 0 3px 14px rgba(0,104,255,0.35);
}

.fab-item-btn.fab-messenger {
  background: linear-gradient(135deg, #00c6ff, #0078ff, #a259ff);
  color: #fff;
  box-shadow: 0 3px 14px rgba(0,120,255,0.35);
}

.fab-item-btn.fab-chatbot {
  background: linear-gradient(135deg, #34a853, #0d904f);
  color: #fff;
  box-shadow: 0 3px 14px rgba(52,168,83,0.35);
}

.fab-item-btn.fab-hotline {
  background: linear-gradient(135deg, #ea4335, #c5221f);
  color: #fff;
  box-shadow: 0 3px 14px rgba(234,67,53,0.35);
}

/* Pulse ripple effect */
.fab-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.fab-item-btn.fab-zalo ~ .fab-pulse-ring { border-color: #0068FF; }
.fab-item-btn.fab-messenger ~ .fab-pulse-ring { border-color: #0078ff; }
.fab-item-btn.fab-chatbot ~ .fab-pulse-ring { border-color: #34a853; }
.fab-item-btn.fab-hotline ~ .fab-pulse-ring { border-color: #ea4335; }

.fab-item .fab-pulse-ring:nth-child(2) {
  animation: fab-pulse 2.5s ease-out infinite;
}
.fab-item .fab-pulse-ring:nth-child(3) {
  animation: fab-pulse 2.5s ease-out infinite 0.6s;
}

@keyframes fab-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

/* Tooltip on hover */
.fab-item-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1f1f1f;
  color: #fff;
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.fab-item:hover .fab-item-label {
  opacity: 1;
}

.fab-item-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1f1f1f;
}

/* --- Mobile Nav Hamburger & Responsive Overrides --- */
.eratech-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #4a4d51;
}

@media (max-width: 1024px) {
  .eratech-nav {
    display: none;
  }
  .eratech-mobile-menu-btn {
    display: flex;
  }
  header.header {
    padding-left: 0 !important;
  }
  .eratech-sidebar {
    display: none;
  }
}

/* Keep the first-screen hero usable at 100% browser zoom. Chrome stores
   zoom per hostname, so localhost and 127.0.0.1 can have different CSS
   viewport heights even though they serve the same files. */
@media (min-width: 1025px) and (max-height: 750px) {
  .welcome-wrapper[data-welcome-section] {
    padding-top: 56px !important;
  }

  .welcome-section[data-welcome-content] {
    padding-top: 0 !important;
    padding-bottom: 18px !important;
  }

  .welcome-section[data-welcome-content] .logo-container {
    height: 64px !important;
    margin-bottom: 8px !important;
  }

  .welcome-section[data-welcome-content] .logo-container img {
    height: 240px !important;
  }

  .welcome-section[data-welcome-content] .header-container {
    margin-block: 12px 24px !important;
  }

  .welcome-section[data-welcome-content] .header-container > h1 > div:first-child {
    font-size: 54px !important;
    line-height: 1.08 !important;
    margin-bottom: 8px !important;
  }

  .welcome-section[data-welcome-content] .eratech-rotating-sub {
    font-size: 38px !important;
    margin: 6px 0 18px !important;
  }

  .welcome-section[data-welcome-content] .eratech-robot-track {
    height: 48px;
    margin-bottom: 6px;
  }

  .welcome-section[data-welcome-content] .eratech-ai-search {
    margin-bottom: 14px;
  }

  .welcome-section[data-welcome-content] .eratech-ai-search-wrapper,
  .welcome-section[data-welcome-content] .welcome-cta {
    transform: translateY(8px);
  }

  .welcome-section[data-welcome-content] .welcome-cta {
    margin-top: 8px !important;
  }
}

@media (max-width: 768px) {
  .eratech-rotating-sub {
    font-size: 22px;
    margin-top: 12px;
    gap: 8px;
  }
  .eratech-rotating-word {
    padding: 4px 14px;
    border-radius: 8px;
  }
  .fab-contact-group {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .fab-item-btn {
    width: 44px;
    height: 44px;
  }
  .fab-toggle-btn {
    width: 50px;
    height: 50px;
  }
  .fab-item {
    width: 44px;
    height: 44px;
  }
}

/* --- Sidebar Logo & Progress Bar --- */
.eratech-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 128px;
  background: transparent;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  padding-left: 12px;
  pointer-events: none;
}

.eratech-sidebar-interactive {
  pointer-events: auto;
}

.eratech-logo-large {
  position: relative;
  width: 112px;
  height: 112px;
  cursor: pointer;
  margin-top: 16px;
}

.eratech-logo-large-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.eratech-logo-large-core svg {
  width: 60px;
  height: 60px;
}

.eratech-logo-large-core img {
  width: 136px !important;
  height: 136px !important;
}

.eratech-logo-large-ring {
  position: absolute;
  inset: 0;
  animation: eratech-spin 12s linear infinite;
  transform-origin: center;
}

.eratech-logo-large-ring svg {
  width: 100%;
  height: 100%;
}

.eratech-logo-large-ring text {
  font-family: 'Google Sans Flex', sans-serif;
  font-weight: 700;
  font-size: 10px;
  fill: #121317;
  letter-spacing: 5px;
}

.eratech-sidebar.eratech-sidebar-ring-light .eratech-logo-large-ring text {
  fill: #fff !important;
}

.eratech-sidebar.eratech-sidebar-ring-dark .eratech-logo-large-ring text {
  fill: #121317 !important;
}

.eratech-progress-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: auto 0;
}

.eratech-progress-track {
  width: 2px;
  height: 120px;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 2px;
}

.eratech-progress-fill {
  width: 100%;
  height: 0%;
  background: #1a73e8;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 2px;
  transition: height 0.1s ease-out;
}

.eratech-progress-val {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #121317;
}

.eratech-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.eratech-scroll-text {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #121317;
  text-transform: uppercase;
  letter-spacing: 4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.eratech-scroll-arrow {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

.eratech-scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.2);
}

/* AI Search Bar */
.eratech-ai-search {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 12px 8px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 680px;
  width: 100%;
  margin: 0 auto 32px auto;
  border: 1px solid rgba(0,0,0,0.05);
}

.eratech-ai-search-left {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
}

.eratech-ai-search-left svg {
  color: #5f6368;
  width: 22px;
  height: 22px;
}

.eratech-ai-search-input {
  border: none;
  background: transparent;
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 16px;
  color: #3c4043;
  width: 100%;
  outline: none;
}

.eratech-ai-search-input::placeholder {
  color: #9aa0a6;
}

.eratech-ai-search-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.eratech-ai-search-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #5f6368;
}

.eratech-ai-search-icons svg {
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: color 0.2s;
}

.eratech-ai-search-icons svg:hover {
  color: #1a73e8;
}

.eratech-ai-mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f0f4f9;
  color: #1f1f1f;
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.eratech-ai-mode-btn:hover {
  background: #e9eef6;
}

.eratech-ai-mode-btn svg {
  width: 16px;
  height: 16px;
  color: #0b57d0;
}

/* --- Sign in form opened from the NAV CTA --- */
.eratech-signin-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: #1f1f1f;
  background: transparent;
  box-shadow: 0 24px 80px rgba(31, 35, 45, 0.24);
}

.eratech-signin-dialog::backdrop {
  background: rgba(18, 19, 23, 0.45);
  backdrop-filter: blur(4px);
}

.eratech-signin-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
}

.eratech-signin-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #5f6368;
  background: transparent;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.eratech-signin-close:hover {
  background: #f1f3f4;
}

.eratech-signin-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eratech-signin-form h2 {
  margin: 0 32px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.eratech-signin-intro {
  margin: 0 0 10px;
  color: #5f6368;
  font-size: 14px;
}

.eratech-federated-actions {
  display: grid;
  gap: 10px;
}

.eratech-federated-btn,
.eratech-signin-submit {
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.eratech-federated-btn {
  border: 1px solid #dadce0;
  color: #202124;
  background: #fff;
}

.eratech-federated-btn:hover {
  background: #f8fafd;
}

.eratech-signin-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 2px;
  color: #80868b;
  font-size: 13px;
}

.eratech-signin-divider::before,
.eratech-signin-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #dadce0;
}

.eratech-signin-form label {
  color: #3c4043;
  font-size: 13px;
  font-weight: 600;
}

.eratech-signin-form input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 10px 12px;
  color: #202124;
  background: #fff;
  font: inherit;
}

.eratech-signin-form input:focus {
  outline: 2px solid rgba(26, 115, 232, 0.25);
  border-color: #1a73e8;
}

.eratech-password-field {
  position: relative;
}

.eratech-password-field input {
  padding-right: 52px;
}

.eratech-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: 0;
  padding: 8px;
  color: #5f6368;
  background: transparent;
  font-family: 'Material Symbols Outlined', sans-serif;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.eratech-signin-submit {
  margin-top: 8px;
  border: 0;
  color: #fff;
  background: #1a73e8;
}

.eratech-signin-submit:hover {
  background: #1557b0;
}

.eratech-signin-status {
  min-height: 18px;
  margin: 2px 0 0;
  color: #188038;
  font-size: 13px;
}

@media (max-width: 480px) {
  .eratech-signin-card {
    padding: 28px 20px 22px;
  }
}

/* Sign in visual layout: matches the supplied Scholar reference, branded for Era Tech. */
.eratech-signin-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
}

.eratech-signin-card {
  padding: 42px 48px 34px;
  border-radius: 18px;
}

.eratech-signin-form {
  gap: 0;
  color: #1f2d43;
}

.eratech-signin-brand {
  width: 300px;
  height: 74px;
  margin: 0 0 58px;
  overflow: hidden;
}

.eratech-signin-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.eratech-signin-form h2 {
  margin: 0 0 10px;
  color: #15346d;
  font-size: 42px;
  font-weight: 750;
  letter-spacing: -1px;
}

.eratech-signin-intro {
  margin: 0 0 54px;
  color: #52627a;
  font-size: 20px;
  line-height: 1.45;
}

.eratech-signin-form label:not(.eratech-remember-option) {
  margin-top: 22px;
  color: #253247;
  font-size: 18px;
  font-weight: 650;
}

.eratech-signin-form input:not([type="checkbox"]) {
  min-height: 58px;
  margin-top: 10px;
  border: 2px solid #dfe6f0;
  border-radius: 11px;
  padding: 12px 18px;
  color: #253247;
  font-size: 18px;
}

.eratech-signin-form input:not([type="checkbox"])::placeholder {
  color: #9aabc4;
  opacity: 1;
}

.eratech-password-field {
  margin-top: 10px;
}

.eratech-password-field input:not([type="checkbox"]) {
  width: 100%;
  margin-top: 0;
}

.eratech-password-toggle {
  right: 12px;
  color: #6b7d98;
}

.eratech-signin-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  color: #52627a;
  font-size: 17px;
}

.eratech-remember-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  color: #52627a !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  white-space: nowrap;
}

.eratech-remember-option input[type="checkbox"] {
  width: 28px;
  height: 28px;
  margin: 0;
  accent-color: #2c65e8;
}

.eratech-forgot-link,
.eratech-signup-prompt a {
  color: #2d65e8;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.eratech-signin-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 34px;
  border-radius: 11px;
  background: #2e64e8;
  box-shadow: 0 8px 18px rgba(46, 100, 232, 0.2);
  font-size: 20px;
}

.eratech-signin-divider {
  gap: 22px;
  margin: 38px 0 30px;
  color: #97a7c0;
  font-size: 20px;
}

.eratech-signin-divider::before,
.eratech-signin-divider::after {
  background: #d9e1ec;
}

.eratech-federated-actions {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.eratech-federated-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
  border: 2px solid #dfe6f0;
  border-radius: 11px;
  color: #52627a;
  font-size: 18px;
  font-weight: 500;
}

.eratech-social-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.eratech-google-mark {
  color: #4285f4;
  font-family: Arial, sans-serif;
}

.eratech-facebook-mark {
  border-radius: 50%;
  color: #fff;
  background: #2477e8;
  font-family: Arial, sans-serif;
  font-size: 22px;
}

.eratech-signup-prompt {
  margin: 46px 0 0;
  color: #52627a;
  font-size: 18px;
  text-align: center;
}

.eratech-signin-status {
  text-align: center;
}

@media (max-width: 600px) {
  .eratech-signin-card {
    padding: 32px 24px 28px;
  }

  .eratech-signin-brand {
    margin-bottom: 42px;
  }

  .eratech-signin-form h2 {
    font-size: 34px;
  }

  .eratech-signin-intro {
    font-size: 17px;
    margin-bottom: 34px;
  }

  .eratech-signin-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .eratech-federated-actions {
    grid-template-columns: 1fr;
  }
}

/* Keep the complete sign-in form visible in one viewport. */
.eratech-signin-card {
  padding: 28px 32px 22px;
}

.eratech-signin-brand {
  width: 220px;
  height: 54px;
  margin: 0 auto 22px;
}

.eratech-signin-form h2 {
  margin-bottom: 4px;
  font-size: 32px;
}

.eratech-signin-intro {
  margin-bottom: 22px;
  font-size: 16px;
}

.eratech-signin-form label:not(.eratech-remember-option) {
  margin-top: 10px;
  font-size: 15px;
}

.eratech-signin-form input:not([type="checkbox"]) {
  min-height: 42px;
  margin-top: 5px;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 15px;
}

.eratech-password-field {
  margin-top: 5px;
}

.eratech-signin-options {
  margin-top: 14px;
  font-size: 14px;
}

.eratech-remember-option {
  gap: 7px;
  font-size: 14px !important;
}

.eratech-remember-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.eratech-signin-submit {
  min-height: 46px;
  margin-top: 16px;
  border-radius: 9px;
  font-size: 17px;
}

.eratech-signin-divider {
  gap: 14px;
  margin: 18px 0 14px;
  font-size: 16px;
}

.eratech-federated-actions {
  gap: 12px;
}

.eratech-federated-btn {
  min-height: 46px;
  border-radius: 9px;
  gap: 9px;
  font-size: 15px;
}

.eratech-social-mark {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.eratech-facebook-mark {
  font-size: 18px;
}

.eratech-signup-prompt {
  margin-top: 20px;
  font-size: 15px;
}

.eratech-eye-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eratech-password-toggle.is-visible {
  color: #2d65e8;
}

.eratech-signup-form .eratech-signin-brand {
  height: 38px;
  margin-bottom: 8px;
}

.eratech-signup-form .eratech-signin-intro {
  margin-bottom: 4px;
}

.eratech-signup-card {
  padding-top: 14px;
  padding-bottom: 10px;
}

.eratech-signup-form h2 {
  font-size: 25px;
}

.eratech-signup-form label:not(.eratech-remember-option) {
  margin-top: 6px;
}

.eratech-signup-form input:not([type="checkbox"]) {
  min-height: 38px;
  margin-top: 3px;
}

.eratech-password-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 6px 0 0;
  padding: 0;
  color: #7b8ba3;
  font-size: 12px;
  list-style: none;
}

.eratech-password-rules li::before {
  content: '○';
  margin-right: 4px;
}

.eratech-password-rules li.is-valid {
  color: #188038;
}

.eratech-password-rules li.is-valid::before {
  content: '✓';
}

.eratech-otp-methods {
  margin: 8px 0 0;
  border: 1px solid #dfe6f0;
  border-radius: 9px;
  padding: 4px 8px 8px;
}

.eratech-otp-methods legend {
  padding: 0 5px;
  color: #253247;
  font-size: 13px;
  font-weight: 650;
}

.eratech-otp-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d7e0ec;
  border-radius: 8px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.eratech-otp-select-wrap:hover {
  border-color: #aebdd2;
  background: #fbfcff;
}

.eratech-otp-select-wrap:focus-within {
  border-color: #2d65e8;
  box-shadow: 0 0 0 3px rgba(45, 101, 232, 0.12);
}

.eratech-otp-select-wrap select {
  width: 100%;
  min-height: 36px;
  margin: 0;
  border: 0;
  padding: 0 36px 0 10px;
  color: #52627a;
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  outline: none;
  appearance: none;
}

.eratech-otp-select-icon {
  position: absolute;
  right: 11px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #62738c;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: transform 180ms ease, stroke 180ms ease;
}

.eratech-otp-select-wrap:focus-within .eratech-otp-select-icon {
  transform: rotate(180deg);
  stroke: #2d65e8;
}

.eratech-otp-send {
  width: 100%;
  min-height: 32px;
  margin-top: 5px;
  border: 1px solid #2d65e8;
  border-radius: 9px;
  color: #2d65e8;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.eratech-otp-send:hover {
  background: #f1f5ff;
}

.eratech-otp-step[hidden] {
  display: none !important;
}

.eratech-otp-step {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.eratech-otp-step label {
  margin-top: 0 !important;
  font-size: 14px !important;
}

.eratech-otp-step input {
  min-height: 40px !important;
  margin-top: 0 !important;
}

.eratech-signup-form .eratech-signin-submit {
  min-height: 38px;
  margin-top: 6px;
}

.eratech-signup-back {
  margin: 4px 0 0;
  color: #52627a;
  font-size: 13px;
  text-align: center;
}

.eratech-signup-back a {
  color: #2d65e8;
  font-weight: 650;
  text-decoration: none;
}

/* --- Light / Dark appearance --- */
.eratech-theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 1px solid rgba(18, 19, 23, 0.1);
  border-radius: 50%;
  color: #3c4043;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 14px rgba(31, 35, 45, 0.1);
  backdrop-filter: blur(14px);
  cursor: pointer;
  overflow: hidden;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.eratech-theme-toggle:hover {
  color: #1a73e8;
  background: #fff;
  box-shadow: 0 7px 20px rgba(31, 35, 45, 0.15);
  transform: translateY(-1px);
}

.eratech-theme-toggle:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.28);
  outline-offset: 2px;
}

.eratech-theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 240ms ease, transform 320ms cubic-bezier(.2, .8, .2, 1);
}

.eratech-theme-icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.eratech-theme-icon-moon { opacity: 0; transform: rotate(-35deg) scale(.55); }

.main-particles-container canvas {
  transition: filter 320ms ease;
}

:root[data-theme="dark"] {
  --theme-surface-surface: #0f1117;
  --theme-surface-on-surface: #f1f3f4;
  --theme-surface-on-surface-variant: #b8c0cc;
  --theme-surface-surface-container: #171a22;
  --theme-surface-surface-container-high: #20242e;
  --theme-surface-surface-container-higher: #272c37;
  --theme-surface-surface-container-highest: #303642;
  --theme-surface-inverse-surface: #f8f9fc;
  --theme-surface-inverse-on-surface: #171a22;
  --theme-surface-overlay: rgba(15, 17, 23, .95);
  --theme-outline: rgba(232, 234, 237, .18);
  --theme-outline-variant: rgba(232, 234, 237, .11);
  --theme-outline-outline-variant: rgba(232, 234, 237, .11);
  --theme-primary-primary: #8ab4f8;
  --theme-primary-on-primary: #102a4c;
  --theme-tonal-tonal: #20242e;
  --theme-secondary-button: rgba(232, 234, 237, .09);
  --theme-button-secondary-hover: #272c37;
  --theme-button-states-hovered: rgba(232, 234, 237, .08);
  --theme-button-states-disabled: #303642;
  --theme-button-states-on-disabled: #747d8a;
  --theme-nav-button: rgba(232, 234, 237, .08);
  --theme-nav-button-hover: rgba(232, 234, 237, .13);
  --divider: rgba(232, 234, 237, .12);
}

.eratech-theme-ready body,
.eratech-theme-ready #smooth-wrapper,
.eratech-theme-ready #smooth-content,
.eratech-theme-ready .eratech-sidebar,
.eratech-theme-ready .eratech-signin-card,
.eratech-theme-ready .eratech-ai-search {
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] #smooth-wrapper,
:root[data-theme="dark"] #smooth-content {
  color: var(--theme-surface-on-surface);
  background: var(--theme-surface-surface);
}

:root[data-theme="dark"] header.header {
  background: rgba(15, 17, 23, .76) !important;
  border-bottom: 1px solid rgba(232, 234, 237, .08) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .16) !important;
  backdrop-filter: blur(16px);
}

:root[data-theme="dark"] .eratech-nav a,
:root[data-theme="dark"] .eratech-mobile-menu-btn { color: #c6cbd4; }

:root[data-theme="dark"] .eratech-nav a:hover,
:root[data-theme="dark"] .eratech-nav a.active {
  color: #8ab4f8;
  background: rgba(138, 180, 248, .12);
}
:root[data-theme="dark"] .eratech-account-menu { background: rgba(20, 28, 41, .98); border-color: #394150; }
:root[data-theme="dark"] .eratech-account-menu-header { border-color: #394150; }
:root[data-theme="dark"] .eratech-account-menu-header strong,
:root[data-theme="dark"] .eratech-account-menu a,
:root[data-theme="dark"] .eratech-account-menu button { color: #e8eaed; }
:root[data-theme="dark"] .eratech-account-menu a:hover,
:root[data-theme="dark"] .eratech-account-menu button:hover { background: #26364d; color: #8ab4f8; }
:root[data-theme="dark"] .eratech-account-menu [data-signout] { border-color: #394150; color: #f28b82; }

:root[data-theme="dark"] .eratech-theme-toggle {
  color: #f6c453;
  border-color: rgba(232, 234, 237, .15);
  background: rgba(32, 36, 46, .82);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .28);
}

:root[data-theme="dark"] .eratech-theme-toggle:hover { color: #ffd56a; background: #272c37; }
:root[data-theme="dark"] .eratech-theme-icon-sun { opacity: 0; transform: rotate(45deg) scale(.55); }
:root[data-theme="dark"] .eratech-theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
:root[data-theme="dark"] .main-particles-container canvas { filter: invert(1) hue-rotate(180deg) brightness(.88); }

:root[data-theme="dark"] .eratech-sidebar {
  color: #e8eaed;
  background: transparent;
  border-color: rgba(232, 234, 237, .1);
}

:root[data-theme="dark"] .eratech-logo-ring text,
:root[data-theme="dark"] .eratech-logo-large-ring text,
:root[data-theme="dark"] .eratech-progress-val,
:root[data-theme="dark"] .eratech-scroll-text { fill: #e8eaed; color: #e8eaed; }

:root[data-theme="dark"] .eratech-progress-track,
:root[data-theme="dark"] .eratech-scroll-arrow { background: rgba(232, 234, 237, .18); }
:root[data-theme="dark"] .eratech-scroll-arrow::after { border-top-color: rgba(232, 234, 237, .28); }

:root[data-theme="dark"] .welcome-section[data-welcome-content] .header-container > h1 > div:first-child,
:root[data-theme="dark"] .landing-main-header,
:root[data-theme="dark"] .feature-title,
:root[data-theme="dark"] .heading-4,
:root[data-theme="dark"] .heading-5 { color: #f1f3f4 !important; }

:root[data-theme="dark"] .video-header p,
:root[data-theme="dark"] .feature-description,
:root[data-theme="dark"] .landing-use-case-header p { color: #b8c0cc !important; }

:root[data-theme="dark"] .eratech-ai-search {
  background: #191d25;
  border-color: rgba(232, 234, 237, .11);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

:root[data-theme="dark"] .eratech-ai-search-input,
:root[data-theme="dark"] .eratech-ai-search-left svg,
:root[data-theme="dark"] .eratech-ai-search-icons { color: #d7dbe2; }

:root[data-theme="dark"] .eratech-ai-mode-btn { color: #dce7fb; background: #252b36; }
:root[data-theme="dark"] .eratech-ai-mode-btn:hover { background: #303744; }

:root[data-theme="dark"] .slider-control-button:hover:not(:disabled),
:root[data-theme="dark"] .cursor-content,
:root[data-theme="dark"] .button-primary-inverse {
  color: #f1f3f4 !important;
  background: #272c37 !important;
}

:root[data-theme="dark"] .eratech-signin-dialog,
:root[data-theme="dark"] .eratech-signin-card { color: #e8eaed; background: #191d25; }

:root[data-theme="dark"] .eratech-signin-form,
:root[data-theme="dark"] .eratech-signin-form h2,
:root[data-theme="dark"] .eratech-signin-form label:not(.eratech-remember-option),
:root[data-theme="dark"] .eratech-otp-methods legend { color: #e8eaed; }

:root[data-theme="dark"] .eratech-signin-intro,
:root[data-theme="dark"] .eratech-signin-options,
:root[data-theme="dark"] .eratech-remember-option,
:root[data-theme="dark"] .eratech-signup-prompt,
:root[data-theme="dark"] .eratech-signup-back,
:root[data-theme="dark"] .eratech-federated-btn,
:root[data-theme="dark"] .eratech-otp-select-wrap select { color: #b8c0cc !important; }

:root[data-theme="dark"] .eratech-signin-form input:not([type="checkbox"]),
:root[data-theme="dark"] .eratech-federated-btn,
:root[data-theme="dark"] .eratech-otp-select-wrap,
:root[data-theme="dark"] .eratech-otp-send {
  color: #e8eaed;
  border-color: #394150;
  background: #11151c;
}

:root[data-theme="dark"] .eratech-signin-form input:not([type="checkbox"])::placeholder { color: #727d8d; }

:root[data-theme="dark"] .eratech-signin-close,
:root[data-theme="dark"] .eratech-password-toggle,
:root[data-theme="dark"] .eratech-otp-select-icon { color: #aeb7c5; stroke: #aeb7c5; }

:root[data-theme="dark"] .eratech-signin-close:hover,
:root[data-theme="dark"] .eratech-federated-btn:hover,
:root[data-theme="dark"] .eratech-otp-select-wrap:hover,
:root[data-theme="dark"] .eratech-otp-send:hover { background: #202631; }

:root[data-theme="dark"] .eratech-signin-divider::before,
:root[data-theme="dark"] .eratech-signin-divider::after { background: #394150; }
:root[data-theme="dark"] footer svg path[fill="#121317"] { fill: #f1f3f4; }

/* ==============================================================
   Era Tech site footer
   ============================================================== */
.eratech-site-footer {
  --footer-ink: #e4efff;
  --footer-muted: #93a9c8;
  --footer-line: rgba(117, 184, 255, .18);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--footer-ink);
  background:
    radial-gradient(circle at 53% 13%, rgba(48, 132, 255, .29), transparent 29%),
    radial-gradient(circle at 9% 80%, rgba(35, 187, 237, .12), transparent 25%),
    linear-gradient(122deg, #020a16 0%, #061a35 48%, #020a16 100%);
}

.eratech-site-footer::before,
.eratech-site-footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.eratech-site-footer::before {
  opacity: .5;
  background-image:
    linear-gradient(rgba(95, 168, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 168, 255, .11) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, .72), transparent 96%);
}
.eratech-site-footer::after {
  opacity: .76;
  background:
    radial-gradient(circle at 3% 30%, #46d9ff 0 2px, transparent 3px),
    radial-gradient(circle at 18% 8%, #267eff 0 1px, transparent 2px),
    radial-gradient(circle at 68% 16%, #56cdff 0 1px, transparent 2px),
    radial-gradient(circle at 87% 64%, #2b91ff 0 2px, transparent 3px),
    radial-gradient(circle at 96% 26%, #56cdff 0 1px, transparent 2px);
}

.eratech-footer-shell { width: min(100% - 72px, 1540px); margin: 0 auto; padding: clamp(66px, 7vw, 116px) 0 23px; }
.eratech-footer-grid { display: grid; grid-template-columns: minmax(300px, 1.45fr) minmax(165px, .67fr) minmax(175px, .7fr) minmax(300px, 1.08fr); gap: clamp(38px, 5vw, 92px); }
.eratech-footer-brand { max-width: 620px; }
.eratech-footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: "Google Sans Flex", sans-serif; font-size: 25px; font-weight: 760; letter-spacing: .02em; text-decoration: none; }
.eratech-footer-logo .symbol { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(87, 206, 255, .48); border-radius: 12px; color: #68dcff; font-size: 27px; transform: rotate(-10deg); }
.eratech-footer-logo em { color: #69d7ff; font-style: normal; }
.eratech-footer-brand > p { max-width: 620px; margin: 27px 0 0; color: var(--footer-muted); font-size: 17px; line-height: 1.66; }
.eratech-footer-company { margin-top: 38px; padding: 25px 27px; border: 1px solid var(--footer-line); border-radius: 19px; background: rgba(5, 25, 53, .46); box-shadow: inset 0 1px rgba(255, 255, 255, .04); }
.eratech-footer-company h3,
.eratech-footer-nav h3,
.eratech-footer-contact > h3 { margin: 0; color: #e8f2ff; font-family: "Google Sans Code", monospace; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.eratech-footer-company p { margin: 13px 0 0; color: var(--footer-muted); font-size: 14px; line-height: 1.6; }
.eratech-footer-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eratech-footer-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--footer-line); border-radius: 999px; color: #cad9ee; background: rgba(18, 44, 80, .5); font-size: 12px; font-weight: 600; }
.eratech-footer-badges .symbol { color: #55d2ff; font-size: 17px; }

.eratech-footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 5px; }
.eratech-footer-nav a { color: var(--footer-muted); font-size: 16px; line-height: 1.35; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.eratech-footer-nav a:hover,
.eratech-footer-nav a:focus-visible { color: #fff; outline: none; transform: translateX(4px); }

.eratech-footer-contact { padding-top: 5px; }
.eratech-footer-contact > h3 { margin-bottom: 26px; }
.eratech-footer-contact-row { display: grid; grid-template-columns: 50px 1fr; gap: 15px; align-items: center; margin-top: 16px; color: inherit; text-decoration: none; }
.eratech-footer-contact-row > .symbol { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--footer-line); border-radius: 13px; color: #8ca9ce; background: rgba(19, 47, 85, .54); font-size: 23px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
a.eratech-footer-contact-row:hover > .symbol,
a.eratech-footer-contact-row:focus-visible > .symbol { border-color: rgba(93, 214, 255, .65); color: #65dcff; background: rgba(24, 82, 135, .55); }
.eratech-footer-contact-row small { display: block; color: #6883a9; font-family: "Google Sans Code", monospace; font-size: 10px; font-weight: 650; letter-spacing: .1em; }
.eratech-footer-contact-row strong { display: block; margin-top: 5px; color: #dce9fb; font-size: 16px; font-weight: 590; line-height: 1.3; }
.eratech-footer-social { display: flex; gap: 12px; margin-top: 29px; }
.eratech-footer-social a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--footer-line); border-radius: 13px; color: #d8e6fb; background: rgba(19, 47, 85, .54); text-decoration: none; transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.eratech-footer-social a:hover,
.eratech-footer-social a:focus-visible { border-color: rgba(93, 214, 255, .65); color: #65dcff; outline: none; transform: translateY(-3px); }

.eratech-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(52px, 6vw, 104px); padding-top: 22px; border-top: 1px solid rgba(117, 184, 255, .12); color: #7187a6; font-size: 12px; }
.eratech-footer-bottom p,
.eratech-footer-bottom div { display: flex; align-items: center; gap: 10px; margin: 0; }
.eratech-footer-bottom .symbol { color: #59ccfa; font-size: 18px; }
.eratech-footer-bottom a { color: inherit; text-decoration: none; }
.eratech-footer-bottom a:hover,
.eratech-footer-bottom a:focus-visible { color: #dcecff; outline: none; }
.eratech-footer-bottom div a + a { padding-left: 14px; border-left: 1px solid rgba(117, 184, 255, .18); }

@media (max-width: 1120px) {
  .eratech-footer-grid { grid-template-columns: minmax(290px, 1.35fr) minmax(150px, .65fr) minmax(220px, 1fr); }
  .eratech-footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(160px, .42fr) repeat(2, minmax(220px, 1fr)); column-gap: 26px; }
  .eratech-footer-contact > h3 { grid-column: 1 / -1; }
  .eratech-footer-contact-row { margin-top: 0; }
  .eratech-footer-social { margin: 22px 0 0; }
}

@media (max-width: 720px) {
  .eratech-site-footer::before { background-size: 58px 58px; }
  .eratech-footer-shell { width: min(100% - 40px, 560px); padding: 54px 0 20px; }
  .eratech-footer-grid { grid-template-columns: 1fr; gap: 43px; }
  .eratech-footer-brand > p { font-size: 15px; }
  .eratech-footer-company { margin-top: 26px; padding: 20px; }
  .eratech-footer-nav { gap: 16px; }
  .eratech-footer-contact { display: block; }
  .eratech-footer-contact-row { margin-top: 15px; }
  .eratech-footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 48px; }
  .eratech-footer-bottom div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .eratech-theme-ready body,
  .eratech-theme-ready #smooth-wrapper,
  .eratech-theme-ready #smooth-content,
  .eratech-theme-toggle,
  .eratech-theme-icon,
  .main-particles-container canvas { transition-duration: 0.01ms !important; }
}

/* ==============================================================
   Era Tech about showcase
   ============================================================== */
.eratech-about-showcase {
  --about-ink: #12151c;
  --about-muted: #657084;
  --about-line: rgba(30, 91, 184, .16);
  --about-panel: rgba(255, 255, 255, .76);
  --about-blue: #1a73e8;
  --about-cyan: #25b9ed;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(86px, 8vw, 136px) 0;
  color: var(--about-ink);
  background:
    radial-gradient(circle at 78% 20%, rgba(57, 156, 255, .19), transparent 28%),
    radial-gradient(circle at 28% 94%, rgba(60, 204, 240, .13), transparent 32%),
    linear-gradient(145deg, #f8fbff 0%, #edf5ff 52%, #f9fbff 100%);
}

:root[data-theme="dark"] .eratech-about-showcase {
  --about-ink: #f6f9ff;
  --about-muted: #adb9cb;
  --about-line: rgba(127, 193, 255, .2);
  --about-panel: rgba(9, 24, 49, .78);
  --about-blue: #73b2ff;
  --about-cyan: #70e3ff;
  background:
    radial-gradient(circle at 78% 17%, rgba(41, 124, 255, .22), transparent 30%),
    radial-gradient(circle at 22% 95%, rgba(42, 206, 245, .1), transparent 33%),
    linear-gradient(145deg, #071120 0%, #0a1930 53%, #07111f 100%);
}

.eratech-about-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .4;
  background-image: radial-gradient(circle, rgba(45, 117, 221, .22) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(110deg, #000, transparent 82%);
  pointer-events: none;
}

.eratech-about-wrap {
  width: min(1320px, calc(100% - clamp(176px, 14vw, 236px)));
  margin-left: clamp(160px, 12vw, 210px);
  margin-right: auto;
}

.eratech-about-main {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(460px, 1.1fr);
  gap: clamp(46px, 7vw, 118px);
  align-items: center;
}

.eratech-about-intro { max-width: 600px; }

.eratech-about-kicker,
.eratech-about-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--about-blue);
  font-family: "Google Sans Code", monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
}

.eratech-about-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eratech-about-intro h2 {
  margin: 24px 0 0;
  color: var(--about-ink);
  font-family: "Google Sans Flex", sans-serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 540;
  line-height: .91;
  letter-spacing: -.07em;
}

.eratech-about-intro h2 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(96deg, var(--about-blue), var(--about-cyan) 60%, #7c65df);
  -webkit-background-clip: text;
  background-clip: text;
}

.eratech-about-intro p {
  max-width: 550px;
  margin: 28px 0 0;
  color: var(--about-muted);
  font-size: clamp(15px, 1.22vw, 18px);
  line-height: 1.58;
}

.eratech-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #1769d2, #1a73e8 60%, #36adf2);
  box-shadow: 0 14px 32px rgba(26, 115, 232, .22);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease;
}

.eratech-about-cta:hover,
.eratech-about-cta:focus-visible { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(26, 115, 232, .3); outline: none; }

.eratech-about-board {
  position: relative;
  overflow: hidden;
  padding: clamp(23px, 2.2vw, 32px);
  border: 1px solid var(--about-line);
  border-radius: 26px;
  background: var(--about-panel);
  box-shadow: 0 26px 70px rgba(22, 48, 91, .14), inset 0 1px 0 rgba(255, 255, 255, .56);
  backdrop-filter: blur(18px) saturate(1.1);
}

:root[data-theme="dark"] .eratech-about-board { box-shadow: 0 28px 72px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .07); }

.eratech-about-board::before {
  content: "";
  position: absolute;
  top: -52%;
  right: -19%;
  width: 290px;
  aspect-ratio: 1;
  border: 1px solid var(--about-line);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(55, 156, 255, .035), 0 0 0 56px rgba(55, 156, 255, .025);
  pointer-events: none;
}

.eratech-about-board-head,
.eratech-about-board-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.eratech-about-board-index { color: var(--about-muted); font-family: "Google Sans Code", monospace; font-size: 10px; letter-spacing: .12em; }
.eratech-about-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--about-cyan); box-shadow: 0 0 0 5px rgba(37, 185, 237, .12); animation: eratech-about-status 2.8s ease-in-out infinite; }

.eratech-about-steps { display: grid; gap: 0; margin-top: 20px; }

.eratech-about-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--about-line);
}

.eratech-about-step > span { color: var(--about-blue); font-family: "Google Sans Code", monospace; font-size: 11px; font-weight: 650; }
.eratech-about-step h3 { margin: 0; color: var(--about-ink); font-size: 17px; font-weight: 630; letter-spacing: -.02em; }
.eratech-about-step p { margin: 5px 0 0; color: var(--about-muted); font-size: 13px; line-height: 1.42; }

.eratech-about-board-footer { margin-top: 3px; padding-top: 15px; border-top: 1px solid var(--about-line); color: var(--about-muted); font-size: 11px; }
.eratech-about-board-footer span { display: inline-flex; align-items: center; gap: 7px; }
.eratech-about-board-footer span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--about-cyan); }

.eratech-about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(28px, 3vw, 46px);
}

.eratech-about-principle {
  position: relative;
  min-height: 126px;
  padding: 18px 20px;
  border: 1px solid var(--about-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .38);
}

:root[data-theme="dark"] .eratech-about-principle { background: rgba(8, 22, 45, .42); }
.eratech-about-principle > span { color: var(--about-blue); font-family: "Google Sans Code", monospace; font-size: 10px; font-weight: 650; }
.eratech-about-principle h3 { margin: 15px 0 6px; color: var(--about-ink); font-size: 16px; font-weight: 630; letter-spacing: -.025em; }
.eratech-about-principle p { margin: 0; color: var(--about-muted); font-size: 12px; line-height: 1.42; }

.eratech-about-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease var(--about-reveal-delay, 0ms), transform .55s cubic-bezier(.2, .8, .2, 1) var(--about-reveal-delay, 0ms); }
.eratech-about-reveal.is-visible { opacity: 1; transform: translateY(0); }

.eratech-about-orbit { position: absolute; z-index: -1; border: 1px solid var(--about-line); border-radius: 50%; pointer-events: none; }
.eratech-about-orbit-one { width: 440px; height: 440px; right: -11%; top: 6%; animation: eratech-about-orbit 22s linear infinite; }
.eratech-about-orbit-two { width: 170px; height: 170px; left: 12%; bottom: 5%; animation: eratech-about-orbit 13s linear infinite reverse; }

@keyframes eratech-about-orbit { to { transform: rotate(360deg); } }
@keyframes eratech-about-status { 0%, 100% { transform: scale(.85); opacity: .62; } 50% { transform: scale(1.16); opacity: 1; } }

@media (min-width: 1181px) {
  .eratech-about-showcase { box-sizing: border-box; display: flex; align-items: center; min-height: calc(100svh - 80px); padding: clamp(36px, 6vh, 66px) 0; }
  .eratech-about-wrap { width: min(1230px, calc(100% - clamp(292px, 22vw, 330px))); }
  .eratech-about-intro h2 { font-size: clamp(47px, 4.45vw, 68px); }
  .eratech-about-intro p { margin-top: 22px; }
  .eratech-about-cta { margin-top: 22px; }
  .eratech-about-board { padding: 22px 26px; }
  .eratech-about-step { padding: 12px 0; }
  .eratech-about-principles { margin-top: 22px; }
  .eratech-about-principle { min-height: 110px; padding: 15px 18px; }
  .eratech-about-principle h3 { margin-top: 11px; }
}

@media (max-width: 1180px) {
  .eratech-about-wrap { width: min(100% - 72px, 960px); margin-inline: auto; }
  .eratech-about-main { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 700px) {
  .eratech-about-showcase { padding: 74px 0; }
  .eratech-about-wrap { width: min(100% - 40px, 560px); }
  .eratech-about-intro h2 { font-size: clamp(42px, 13vw, 58px); }
  .eratech-about-principles { grid-template-columns: 1fr; }
  .eratech-about-board { padding: 20px; border-radius: 21px; }
  .eratech-about-board-footer { flex-wrap: wrap; justify-content: flex-start; }
}

/* Phase 2: AI recommendation result state. */
.eratech-ai-result {
  width: min(680px, 100%);
  margin: 12px auto 0;
  padding: 12px 16px;
  border: 1px solid rgba(26, 115, 232, .18);
  border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  color: #3c4043;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 8px 24px rgba(60, 64, 67, .08);
}

.eratech-ai-result:empty { display: none; }
.eratech-ai-result > div { display: grid; gap: 2px; margin: 6px 0; }
.eratech-ai-result strong { color: #1a73e8; font-weight: 650; }
.eratech-ai-mode-btn:disabled { cursor: wait; opacity: .65; }

:root[data-theme="dark"] .eratech-ai-result {
  border-color: rgba(138, 180, 248, .3);
  background: rgba(20, 27, 40, .94);
  color: #dce9fb;
}

@media (prefers-reduced-motion: reduce) {
  .eratech-about-reveal { opacity: 1; transform: none; transition: none; }
  .eratech-about-orbit,
  .eratech-about-status i { animation: none; }
}

.eratech-about-leader {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(210px, .87fr);
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--about-line);
  border-radius: 26px;
  background: var(--about-panel);
  box-shadow: 0 26px 70px rgba(22, 48, 91, .14), inset 0 1px 0 rgba(255, 255, 255, .56);
  backdrop-filter: blur(18px) saturate(1.1);
}

:root[data-theme="dark"] .eratech-about-leader { box-shadow: 0 28px 72px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .07); }

.eratech-about-leader-media { position: relative; min-height: 100%; overflow: hidden; background: #0b1e3d; }
.eratech-about-leader-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(5, 14, 30, .86) 100%); pointer-events: none; }
.eratech-about-leader-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.82) contrast(.95); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.eratech-about-leader:hover .eratech-about-leader-media img { transform: scale(1.06); }
.eratech-about-leader-media span { position: absolute; z-index: 1; left: 16px; bottom: 15px; color: rgba(255, 255, 255, .72); font-family: "Google Sans Code", monospace; font-size: 9px; font-weight: 650; letter-spacing: .13em; }

.eratech-about-leader-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 2.1vw, 31px); }
.eratech-about-leader-kicker { color: var(--about-blue); font-family: "Google Sans Code", monospace; font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.eratech-about-leader-copy h3 { margin: 18px 0 0; color: var(--about-ink); font-size: clamp(29px, 2.9vw, 43px); font-weight: 540; line-height: .91; letter-spacing: -.06em; }
.eratech-about-leader-copy p { margin: 18px 0 0; color: var(--about-muted); font-size: 13px; line-height: 1.46; }
.eratech-about-leader-signature { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--about-ink); font-size: 11px; font-weight: 600; }
.eratech-about-leader-signature i { width: 6px; height: 6px; border-radius: 50%; background: var(--about-cyan); box-shadow: 0 0 0 5px rgba(37, 185, 237, .1); }

.eratech-about-timeline { margin-top: clamp(28px, 3vw, 46px); }
.eratech-about-timeline-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.eratech-about-timeline-head p { max-width: 380px; margin: 0; color: var(--about-muted); font-size: 12px; line-height: 1.42; text-align: right; }
.eratech-about-timeline-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 42px); margin: 21px 0 0; padding: 0; list-style: none; }
.eratech-about-timeline-track::before { content: ""; position: absolute; top: 12px; left: 10px; right: 10px; height: 1px; background: linear-gradient(90deg, var(--about-blue), var(--about-cyan), var(--about-line)); }
.eratech-about-timeline-track li { position: relative; padding-top: 34px; }
.eratech-about-timeline-track li > span { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--about-blue); border-radius: 50%; color: var(--about-blue); background: var(--about-panel); font-family: "Google Sans Code", monospace; font-size: 9px; font-weight: 650; }
.eratech-about-timeline-track h3 { margin: 0; color: var(--about-ink); font-size: 16px; font-weight: 630; letter-spacing: -.025em; }
.eratech-about-timeline-track p { margin: 6px 0 0; color: var(--about-muted); font-size: 12px; line-height: 1.42; }

.eratech-about-title [data-about-typing].is-typing::after { content: "|"; display: inline-block; margin-left: .06em; color: var(--about-cyan); font-weight: 400; animation: eratech-about-typing-caret .72s step-end infinite; }
@keyframes eratech-about-typing-caret { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }

@media (min-width: 1181px) {
  .eratech-about-leader { min-height: 350px; }
  .eratech-about-timeline { margin-top: 22px; }
  .eratech-about-timeline-track { margin-top: 16px; }
}

/* Keep the complete About showcase inside short desktop viewports. */
@media (min-width: 1181px) and (max-height: 800px) {
  .eratech-about-showcase {
    height: calc(100svh - 80px);
    min-height: 0;
    padding: 22px 0;
  }

  .eratech-about-intro h2 { font-size: clamp(42px, 4.05vw, 57px); line-height: .9; }
  .eratech-about-intro p { margin-top: 14px; font-size: 14px; line-height: 1.42; }
  .eratech-about-cta { min-height: 42px; margin-top: 14px; padding: 0 17px; font-size: 13px; }

  .eratech-about-leader { min-height: 292px; }
  .eratech-about-leader-copy { padding: 19px; }
  .eratech-about-leader-copy h3 { margin-top: 12px; font-size: clamp(25px, 2.45vw, 34px); }
  .eratech-about-leader-copy p { margin-top: 11px; font-size: 12px; line-height: 1.32; }
  .eratech-about-leader-signature { margin-top: 13px; font-size: 10px; }

  .eratech-about-timeline { margin-top: 10px; }
  .eratech-about-timeline-head p { font-size: 11px; line-height: 1.3; }
  .eratech-about-timeline-track { margin-top: 9px; }
  .eratech-about-timeline-track li { padding-top: 29px; }
  .eratech-about-timeline-track h3 { font-size: 14px; }
  .eratech-about-timeline-track p { margin-top: 4px; font-size: 11px; line-height: 1.28; }
}

@media (max-width: 700px) {
  .eratech-about-leader { grid-template-columns: 1fr; }
  .eratech-about-leader-media { min-height: 270px; }
  .eratech-about-leader-copy { min-height: 250px; }
  .eratech-about-timeline-head { align-items: flex-start; flex-direction: column; }
  .eratech-about-timeline-head p { text-align: left; }
  .eratech-about-timeline-track { grid-template-columns: 1fr; gap: 19px; margin-top: 22px; }
  .eratech-about-timeline-track::before { top: 10px; bottom: 10px; left: 12px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--about-blue), var(--about-cyan), var(--about-line)); }
  .eratech-about-timeline-track li { min-height: 84px; padding: 0 0 0 42px; }
  .eratech-about-timeline-track li > span { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .eratech-about-title [data-about-typing].is-typing::after { animation: none; display: none; }
}

/* Hero title typing entrance */
.eratech-hero-typing.is-typing::after {
  content: '';
  display: inline-block;
  height: .82em;
  margin-left: .08em;
  border-right: .06em solid currentColor;
  vertical-align: -.08em;
  animation: eratech-typing-caret 850ms steps(1, end) infinite;
}

@keyframes eratech-typing-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

/* Google-tone LED gradient flowing around the AI suggestion bar */
.eratech-ai-search {
  border: 2px solid transparent !important;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853, #4285f4) border-box;
  background-size: 100% 100%, 300% 100%;
  background-position: 0 0, 0% 50%;
  animation: eratech-ai-led-flow 4s linear infinite;
  box-shadow: 0 0 12px rgba(66, 133, 244, .2), 0 0 22px rgba(234, 67, 53, .08);
}

@keyframes eratech-ai-led-flow {
  from { background-position: 0 0, 0% 50%; }
  to { background-position: 0 0, 100% 50%; }
}

/* Dark mode keeps the NAV glass-transparent instead of adding a black slab. */
:root[data-theme="dark"] header.header {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] .eratech-ai-search {
  background:
    linear-gradient(#191d25, #191d25) padding-box,
    linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853, #4285f4) border-box;
}

@media (prefers-reduced-motion: reduce) {
  .eratech-hero-typing.is-typing::after,
  .eratech-ai-search { animation: none; }
}

/* ==============================================================
   Scroll-story services gallery
   ============================================================== */
#services { scroll-margin-top: 88px; }

.eratech-services-story {
  --services-ink: #121317;
  --services-muted: #68717f;
  --services-line: rgba(18, 19, 23, .13);
  position: relative;
  padding: clamp(100px, 12vw, 176px) clamp(24px, 6vw, 96px) clamp(92px, 10vw, 150px);
  background: var(--theme-surface-surface, #fff);
  color: var(--services-ink);
  overflow: hidden;
}

.eratech-services-story-heading {
  width: min(1220px, 100%);
  margin: 0 auto clamp(44px, 6vw, 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 44px;
  align-items: end;
}

.eratech-services-kicker {
  color: #1a73e8;
  font: 650 12px/1 'Google Sans Flex', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eratech-services-story-heading h2 {
  max-width: 720px;
  margin: 17px 0 0;
  font: 600 clamp(38px, 5.3vw, 76px)/.98 'Google Sans Flex', sans-serif;
  letter-spacing: -.065em;
}

.eratech-services-story-heading h2[data-service-typing] {
  display: grid;
}

.eratech-services-story-heading h2[data-service-typing]::before,
.eratech-services-title-output {
  grid-area: 1 / 1;
}

.eratech-services-story-heading h2[data-service-typing]::before {
  content: attr(data-service-typing);
  visibility: hidden;
}

.eratech-services-title-output.is-typing::after {
  content: '';
  display: inline-block;
  height: .82em;
  margin-left: .06em;
  border-right: .055em solid currentColor;
  vertical-align: -.06em;
  animation: eratech-typing-caret 850ms steps(1, end) infinite;
}

.eratech-services-story-heading p {
  max-width: 360px;
  margin: 0 0 4px;
  color: var(--services-muted);
  font-size: 16px;
  line-height: 1.5;
}

.eratech-services-story-frame {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.eratech-services-stage {
  min-height: 560px;
  height: clamp(560px, 49vw, 720px);
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--services-line);
  border-bottom: 1px solid var(--services-line);
  overflow: hidden;
}

.eratech-services-stage-grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(18, 19, 23, .18) .7px, transparent .7px);
  background-size: 15px 15px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.eratech-services-stage::before,
.eratech-services-stage::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 115, 232, .25), transparent);
  pointer-events: none;
}
.eratech-services-stage::before { left: 0; }
.eratech-services-stage::after { right: 0; }

.eratech-services-core {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  width: min(320px, 31vw);
  min-height: 214px;
  padding: 27px 28px 24px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(18, 19, 23, .13);
  border-radius: 26px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 22px 54px rgba(44, 55, 75, .12);
  backdrop-filter: blur(18px);
  text-align: left;
}
.eratech-services-core-label { color: #1a73e8; font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.eratech-services-core strong { margin: 23px 0 8px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.04; letter-spacing: -.04em; }
.eratech-services-core p { min-height: 53px; margin: 0; color: var(--services-muted); font-size: 13px; line-height: 1.45; }
.eratech-services-core-meta { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 13px; border-top: 1px solid var(--services-line); color: var(--services-muted); font-size: 11px; }
.eratech-services-core-meta span:first-child { color: var(--services-ink); font-weight: 700; }

.eratech-services-rail { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.eratech-service-card {
  --service-scale: 1;
  position: absolute;
  display: block;
  width: 150px;
  height: 204px;
  margin: 0;
  border-radius: 16px;
  overflow: visible;
  pointer-events: auto;
  animation-duration: 16s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: calc(var(--service-order) * -1.45s);
  will-change: transform, opacity;
}
.eratech-service-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 12px 30px rgba(18, 19, 23, .16);
  filter: saturate(.9);
}
.eratech-service-card-caption {
  position: absolute;
  top: calc(100% + 11px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--services-ink);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.eratech-service-card-caption span { color: var(--services-muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.eratech-service-card-caption strong { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }

.eratech-service-card-l1, .eratech-service-card-r6 { width: 225px; height: 305px; top: 22%; }
.eratech-service-card-l1 { left: -3%; animation-name: eratech-service-spread-left; }
.eratech-service-card-r6 { right: -3%; animation-name: eratech-service-spread-right; }
.eratech-service-card-l2, .eratech-service-card-r5 { width: 205px; height: 278px; top: 16%; }
.eratech-service-card-l2 { left: 11%; animation-name: eratech-service-spread-left; }
.eratech-service-card-r5 { right: 11%; animation-name: eratech-service-spread-right; }
.eratech-service-card-l3, .eratech-service-card-r4 { width: 180px; height: 244px; top: 28%; }
.eratech-service-card-l3 { left: 25%; animation-name: eratech-service-spread-left; }
.eratech-service-card-r4 { right: 25%; animation-name: eratech-service-spread-right; }
.eratech-service-card-l4, .eratech-service-card-r3 { width: 154px; height: 210px; top: 38%; }
.eratech-service-card-l4 { left: 36%; animation-name: eratech-service-spread-left; }
.eratech-service-card-r3 { right: 36%; animation-name: eratech-service-spread-right; }
.eratech-service-card-l5, .eratech-service-card-r2 { width: 124px; height: 168px; top: 44%; }
.eratech-service-card-l5 { left: 44%; animation-name: eratech-service-spread-left; }
.eratech-service-card-r2 { right: 44%; animation-name: eratech-service-spread-right; }
.eratech-service-card-r1 { width: 110px; height: 148px; top: 47%; right: 49%; animation-name: eratech-service-spread-right; }

@keyframes eratech-service-spread-left {
  0%, 8% { opacity: 0; transform: translate3d(86px, 0, 0) scale(.68); }
  20%, 73% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(-64px, 0, 0) scale(.93); }
}
@keyframes eratech-service-spread-right {
  0%, 8% { opacity: 0; transform: translate3d(-86px, 0, 0) scale(.68); }
  20%, 73% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0; transform: translate3d(64px, 0, 0) scale(.93); }
}

.eratech-services-stage.is-paused .eratech-service-card,
.eratech-services-stage:has(.eratech-service-card:hover) .eratech-service-card { animation-play-state: paused; }
.eratech-service-card:hover { z-index: 15; transform: translateY(-14px) scale(1.06) !important; }
.eratech-service-card:hover img { filter: saturate(1.08); box-shadow: 0 22px 40px rgba(18, 19, 23, .24); }
.eratech-services-stage-hint { display: flex; justify-content: center; align-items: center; gap: 9px; margin: 24px 0 0; color: var(--services-muted); font-size: 12px; }
.eratech-services-hint-dot { width: 7px; height: 7px; border-radius: 50%; background: #1a73e8; box-shadow: 0 0 0 5px rgba(26,115,232,.12); }

:root[data-theme="dark"] .eratech-services-story { --services-ink: #f4f7fb; --services-muted: #aab3c2; --services-line: rgba(255,255,255,.15); background: #0f1117; }
:root[data-theme="dark"] .eratech-services-core { background: rgba(24, 28, 37, .82); border-color: rgba(255,255,255,.15); }
:root[data-theme="dark"] .eratech-services-stage-grid { background-image: radial-gradient(rgba(255,255,255,.16) .7px, transparent .7px); }

@media (max-width: 1024px) {
  .eratech-services-story-heading { grid-template-columns: 1fr; gap: 22px; }
  .eratech-services-story-heading p { max-width: 520px; }
  .eratech-services-stage { height: 610px; }
  .eratech-service-card-l1, .eratech-service-card-r6 { width: 190px; height: 258px; }
  .eratech-service-card-l2, .eratech-service-card-r5 { width: 172px; height: 233px; }
  .eratech-service-card-l3, .eratech-service-card-r4 { width: 150px; height: 204px; }
  .eratech-services-core { width: min(300px, 34vw); }
}
@media (max-width: 700px) {
  .eratech-services-story { padding-inline: 18px; }
  .eratech-services-story-heading h2 { font-size: clamp(38px, 12vw, 60px); }
  .eratech-services-stage { min-height: 620px; height: 620px; margin-inline: -18px; }
  .eratech-services-core { top: 48%; width: min(240px, 58vw); min-height: 188px; padding: 20px; }
  .eratech-services-core strong { margin-top: 16px; font-size: 21px; }
  .eratech-services-core p { font-size: 12px; }
  .eratech-service-card-l1, .eratech-service-card-r6 { width: 150px; height: 204px; top: 17%; }
  .eratech-service-card-l1 { left: -12%; }
  .eratech-service-card-r6 { right: -12%; }
  .eratech-service-card-l2, .eratech-service-card-r5 { width: 130px; height: 176px; top: 28%; }
  .eratech-service-card-l2 { left: 2%; }
  .eratech-service-card-r5 { right: 2%; }
  .eratech-service-card-l3, .eratech-service-card-r4 { width: 112px; height: 151px; top: 39%; }
  .eratech-service-card-l3 { left: 18%; }
  .eratech-service-card-r4 { right: 18%; }
  .eratech-service-card-l4, .eratech-service-card-r3 { width: 94px; height: 127px; top: 52%; }
  .eratech-service-card-l4 { left: 29%; }
  .eratech-service-card-r3 { right: 29%; }
  .eratech-service-card-l5, .eratech-service-card-r2, .eratech-service-card-r1 { display: none; }
  .eratech-service-card-caption { top: calc(100% + 7px); font-size: 10px; }
  .eratech-services-stage-hint { max-width: 250px; margin-inline: auto; text-align: center; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  .eratech-service-card { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Horizontal services rail: cards grow through the center point. */
.eratech-services-track-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.eratech-services-track {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  gap: clamp(42px, 4.2vw, 64px);
  width: max-content;
  transform: translate3d(0, -50%, 0);
  animation: eratech-services-track-run 34s linear infinite;
  animation-delay: -12s;
  will-change: transform;
}
.eratech-services-stage.is-paused .eratech-services-track,
.eratech-services-stage:has(.eratech-service-card:hover) .eratech-services-track { animation-play-state: paused; }
.eratech-services-track .eratech-service-card {
  position: relative;
  inset: auto !important;
  flex: 0 0 clamp(154px, 13vw, 208px);
  width: clamp(154px, 13vw, 208px) !important;
  height: clamp(218px, 24vw, 292px) !important;
  opacity: 1 !important;
  z-index: calc(3 + var(--service-depth, 0));
  animation: none !important;
  transform: translate3d(0, var(--service-hover-lift, 0px), 0) scale(var(--service-scale, 1)) !important;
  transform-origin: center center;
  transition: transform .22s cubic-bezier(.2,.75,.25,1), filter .22s ease;
}
.eratech-services-track .eratech-service-card::before {
  content: '';
  position: absolute;
  z-index: 3;
  inset: -2px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(110deg, #4285f4, #ea4335, #fbbc05, #34a853, #4285f4);
  background-size: 300% 100%;
  animation: eratech-service-led-flow 4.6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.eratech-services-track .eratech-service-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -8px;
  border-radius: 24px;
  background: linear-gradient(110deg, rgba(66,133,244,.14), rgba(234,67,53,.12), rgba(251,188,5,.12), rgba(52,168,83,.14));
  filter: blur(12px);
  opacity: .72;
  pointer-events: none;
}
.eratech-services-track .eratech-service-card:hover {
  --service-scale: 1.25 !important;
  --service-hover-lift: -12px;
  filter: saturate(1.08);
}
.eratech-services-track .eratech-service-card-caption {
  top: calc(100% + 14px);
  z-index: 5;
}
@keyframes eratech-services-track-run {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(-50%, -50%, 0); }
}
@keyframes eratech-service-led-flow {
  from { background-position: 0% 50%; }
  to { background-position: 300% 50%; }
}
@media (max-width: 700px) {
  .eratech-services-stage { min-height: 470px; height: 470px; }
  .eratech-services-track .eratech-service-card { flex-basis: 136px; width: 136px !important; height: 192px !important; }
  .eratech-services-track { gap: 32px; animation-duration: 28s; animation-delay: -9s; }
}

/* The horizontal rail is the focus; the old center overlay stays removed. */
.eratech-services-track-viewport { cursor: grab; touch-action: pan-y; user-select: none; }
.eratech-services-track img { -webkit-user-drag: none; user-select: none; }
.eratech-services-stage.is-dragging .eratech-services-track-viewport { cursor: grabbing; }
.eratech-services-core { display: none !important; }

@media (min-width: 1025px) and (max-height: 900px) {
  .eratech-services-story {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .eratech-services-story-heading {
    margin-bottom: 14px;
  }

  .eratech-services-story-heading h2 {
    font-size: clamp(42px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -.055em;
  }

  .eratech-services-stage {
    min-height: 410px;
    height: 410px;
  }

  .eratech-services-track .eratech-service-card {
    height: clamp(210px, 18vw, 236px) !important;
  }

  .eratech-services-stage-hint {
    margin-top: 12px;
  }
}

/* ==============================================================
   Era Tech pricing showcase
   ============================================================== */
.eratech-pricing-showcase {
  --pricing-ink: #111318;
  --pricing-muted: #697487;
  --pricing-line: rgba(26, 115, 232, .16);
  --pricing-surface: rgba(255, 255, 255, .82);
  --pricing-surface-strong: #fff;
  --pricing-blue: #1769d2;
  --pricing-cyan: #13b9e7;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 9vw, 148px) 0 118px;
  color: var(--pricing-ink);
  background:
    radial-gradient(circle at 11% 9%, rgba(75, 195, 255, .2), transparent 28%),
    radial-gradient(circle at 88% 34%, rgba(66, 133, 244, .15), transparent 32%),
    linear-gradient(145deg, #f7fbff 0%, #edf4ff 56%, #f9fbff 100%);
}

:root[data-theme="dark"] .eratech-pricing-showcase {
  --pricing-ink: #f6f8ff;
  --pricing-muted: #aab7ca;
  --pricing-line: rgba(117, 184, 255, .2);
  --pricing-surface: rgba(12, 27, 52, .8);
  --pricing-surface-strong: #0d203e;
  --pricing-blue: #66a8ff;
  --pricing-cyan: #63dcff;
  background:
    radial-gradient(circle at 9% 12%, rgba(44, 127, 255, .19), transparent 28%),
    radial-gradient(circle at 90% 34%, rgba(35, 196, 255, .1), transparent 32%),
    linear-gradient(145deg, #071121 0%, #09182e 57%, #07111f 100%);
}

.eratech-pricing-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .32;
  background-image: radial-gradient(circle, rgba(40, 98, 182, .24) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(135deg, #000, transparent 80%);
  pointer-events: none;
}

.eratech-pricing-wrap {
  width: min(1320px, calc(100% - clamp(176px, 14vw, 236px)));
  margin-left: clamp(160px, 12vw, 210px);
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.eratech-pricing-intro {
  display: grid;
  grid-template-columns: minmax(330px, .82fr) minmax(340px, .72fr);
  align-items: end;
  gap: clamp(34px, 6vw, 96px);
  margin-bottom: clamp(34px, 4vw, 60px);
}

.eratech-pricing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pricing-blue);
  font-family: "Google Sans Code", monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
}

.eratech-pricing-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eratech-pricing-intro h2 {
  margin: 16px 0 0;
  color: var(--pricing-ink);
  font-family: "Google Sans Flex", sans-serif;
  font-size: clamp(58px, 6.4vw, 96px);
  font-weight: 540;
  line-height: .89;
  letter-spacing: -.075em;
}

.eratech-pricing-intro h2 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(95deg, var(--pricing-blue), #0db6df 58%, #6c5ce7);
  -webkit-background-clip: text;
  background-clip: text;
}

.eratech-pricing-intro > p {
  max-width: 470px;
  margin: 0 0 5px;
  color: var(--pricing-muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.58;
}

.eratech-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 20px);
  align-items: stretch;
}

.eratech-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--pricing-line);
  border-radius: 24px;
  color: var(--pricing-ink);
  background: var(--pricing-surface);
  box-shadow: 0 18px 52px rgba(24, 48, 88, .12), inset 0 1px 0 rgba(255, 255, 255, .6);
  backdrop-filter: blur(18px) saturate(1.1);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s ease, box-shadow .28s ease;
}

:root[data-theme="dark"] .eratech-pricing-card {
  box-shadow: 0 22px 64px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.eratech-pricing-card:hover,
.eratech-pricing-card.is-hovered,
.eratech-pricing-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(19, 185, 231, .62);
  box-shadow: 0 26px 68px rgba(26, 115, 232, .2), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.eratech-pricing-card.is-popular {
  border-color: var(--pricing-blue);
  background: linear-gradient(155deg, rgba(26, 115, 232, .96), rgba(15, 157, 220, .91));
  color: #fff;
  box-shadow: 0 24px 72px rgba(26, 115, 232, .28), inset 0 1px 0 rgba(255, 255, 255, .32);
}

.eratech-pricing-card.is-popular:hover,
.eratech-pricing-card.is-popular.is-hovered {
  border-color: #82e9ff;
  box-shadow: 0 30px 80px rgba(26, 115, 232, .38), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.eratech-pricing-popular {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #073a68;
  background: #b6f2ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eratech-pricing-card-head {
  min-height: 205px;
}

.eratech-pricing-eyebrow {
  color: var(--pricing-blue);
  font-family: "Google Sans Code", monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .08em;
}

.is-popular .eratech-pricing-eyebrow {
  color: rgba(255, 255, 255, .78);
}

.eratech-pricing-index {
  float: right;
  color: var(--pricing-muted);
  font-family: "Google Sans Code", monospace;
  font-size: 11px;
}

.is-popular .eratech-pricing-index {
  color: rgba(255, 255, 255, .72);
}

.eratech-pricing-card h3 {
  max-width: 220px;
  margin: 24px 0 14px;
  color: inherit;
  font-size: clamp(20px, 1.65vw, 26px);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.eratech-pricing-price {
  color: inherit;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 650;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.eratech-pricing-card-head p {
  margin: 13px 0 0;
  color: var(--pricing-muted);
  font-size: 13px;
  line-height: 1.45;
}

.is-popular .eratech-pricing-card-head p {
  color: rgba(255, 255, 255, .82);
}

.eratech-pricing-feature-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 20px 0 24px;
  border-top: 1px solid var(--pricing-line);
  list-style: none;
}

.is-popular .eratech-pricing-feature-list {
  border-color: rgba(255, 255, 255, .24);
}

.eratech-pricing-feature-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--pricing-muted);
  font-size: 13px;
  line-height: 1.32;
}

.eratech-pricing-feature-list li span {
  color: var(--pricing-cyan);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.is-popular .eratech-pricing-feature-list li {
  color: rgba(255, 255, 255, .92);
}

.eratech-pricing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #1769d2, #1a73e8 62%, #35a7ff);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}

.eratech-pricing-cta:hover,
.eratech-pricing-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  outline: none;
}

.is-popular .eratech-pricing-cta {
  color: #1262b8;
  background: #fff;
}

.eratech-pricing-addons {
  display: grid;
  grid-template-columns: minmax(240px, .56fr) minmax(0, 1.44fr);
  gap: clamp(30px, 5vw, 78px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--pricing-line);
}

.eratech-pricing-addons-heading h3 {
  margin: 15px 0 10px;
  color: var(--pricing-ink);
  font-size: clamp(28px, 3.3vw, 48px);
  font-weight: 540;
  line-height: .96;
  letter-spacing: -.06em;
}

.eratech-pricing-addons-heading p {
  max-width: 280px;
  margin: 0;
  color: var(--pricing-muted);
  font-size: 14px;
  line-height: 1.5;
}

.eratech-pricing-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.eratech-pricing-addon {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  border: 1px solid var(--pricing-line);
  border-radius: 16px;
  background: var(--pricing-surface);
  transition: transform .22s ease, border-color .22s ease;
}

.eratech-pricing-addon:hover {
  transform: translateY(-3px);
  border-color: rgba(19, 185, 231, .55);
}

.eratech-pricing-addon h4 {
  margin: 0 0 4px;
  color: var(--pricing-ink);
  font-size: 14px;
  font-weight: 650;
}

.eratech-pricing-addon p {
  max-width: 280px;
  margin: 0;
  color: var(--pricing-muted);
  font-size: 12px;
  line-height: 1.38;
}

.eratech-pricing-addon strong {
  flex: 0 0 auto;
  color: var(--pricing-blue);
  font-size: 13px;
  white-space: nowrap;
}

.eratech-pricing-note {
  max-width: 920px;
  margin: 34px 0 0;
  color: var(--pricing-muted);
  font-size: 12px;
  line-height: 1.55;
}

.eratech-pricing-glow {
  position: absolute;
  z-index: -1;
  width: min(38vw, 560px);
  aspect-ratio: 1;
  border: 1px solid var(--pricing-line);
  border-radius: 50%;
  pointer-events: none;
}

.eratech-pricing-glow-one {
  top: 9%;
  right: -18%;
  box-shadow: 0 0 0 70px rgba(66, 133, 244, .025), 0 0 0 140px rgba(66, 133, 244, .02);
}

.eratech-pricing-glow-two {
  bottom: 7%;
  left: 4%;
  width: 180px;
}

@media (max-width: 1180px) {
  .eratech-pricing-wrap {
    width: min(100% - 72px, 960px);
    margin-inline: auto;
  }

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

@media (max-width: 700px) {
  .eratech-pricing-showcase {
    padding: 82px 0 78px;
  }

  .eratech-pricing-wrap {
    width: min(100% - 28px, 620px);
  }

  .eratech-pricing-intro,
  .eratech-pricing-addons {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .eratech-pricing-intro h2 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .eratech-pricing-grid,
  .eratech-pricing-addon-grid {
    grid-template-columns: 1fr;
  }

  .eratech-pricing-card-head {
    min-height: 0;
  }

  .eratech-pricing-card h3 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eratech-pricing-card,
  .eratech-pricing-addon,
  .eratech-pricing-cta {
    transition-duration: .01ms !important;
  }
}

/* Compact desktop spacing for the pricing showcase. */
@media (min-width: 701px) {
  .eratech-pricing-showcase {
    padding: clamp(72px, 6.5vw, 100px) 0 clamp(82px, 7vw, 104px);
  }

  .eratech-pricing-intro {
    grid-template-columns: minmax(360px, .95fr) minmax(300px, .62fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(34px, 5vw, 76px);
    row-gap: 10px;
    margin-bottom: clamp(30px, 3.2vw, 42px);
  }

  .eratech-pricing-intro > .eratech-pricing-kicker {
    grid-column: 1;
    grid-row: 1;
  }

  .eratech-pricing-intro h2 {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
    font-size: clamp(54px, 5.1vw, 76px);
  }

  .eratech-pricing-intro > p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin: 0 0 4px;
  }

  .eratech-pricing-card {
    padding: clamp(18px, 1.55vw, 22px);
    border-radius: 20px;
  }

  .eratech-pricing-card-head {
    min-height: 168px;
  }

  .eratech-pricing-card h3 {
    margin: 18px 0 10px;
    font-size: clamp(19px, 1.42vw, 23px);
  }

  .eratech-pricing-price {
    font-size: clamp(23px, 1.85vw, 29px);
  }

  .eratech-pricing-card-head p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
  }

  .eratech-pricing-feature-list {
    gap: 8px;
    padding: 16px 0 18px;
  }

  .eratech-pricing-feature-list li {
    grid-template-columns: 16px 1fr;
    gap: 7px;
    font-size: 12px;
    line-height: 1.28;
  }

  .eratech-pricing-feature-list li span {
    font-size: 13px;
  }

  .eratech-pricing-cta {
    min-height: 42px;
    font-size: 12px;
  }

  .eratech-pricing-addons {
    margin-top: clamp(46px, 5vw, 68px);
    padding-top: clamp(28px, 3vw, 40px);
  }

  .eratech-pricing-addon {
    padding: 15px 16px;
  }

  .eratech-pricing-note {
    margin-top: 26px;
  }
}

/* Keep the complete four-plan comparison above the fold on desktop. */
@media (min-width: 1181px) {
  .eratech-pricing-wrap {
    width: min(1230px, calc(100% - clamp(250px, 19vw, 300px)));
  }

  .eratech-pricing-showcase {
    padding: 30px 0 88px;
  }

  .eratech-pricing-intro {
    grid-template-columns: minmax(390px, 1fr) minmax(290px, .58fr);
    column-gap: clamp(32px, 4vw, 58px);
    row-gap: 4px;
    margin-bottom: 16px;
  }

  .eratech-pricing-kicker {
    font-size: 10px;
  }

  .eratech-pricing-intro h2 {
    font-size: clamp(42px, 4.1vw, 58px);
    line-height: .88;
  }

  .eratech-pricing-intro > p {
    margin-bottom: 1px;
    font-size: clamp(13px, 1.08vw, 16px);
    line-height: 1.42;
  }

  .eratech-pricing-card {
    min-height: 408px;
    padding: 16px;
    border-radius: 18px;
  }

  .eratech-pricing-card-head {
    min-height: 120px;
  }

  .eratech-pricing-eyebrow,
  .eratech-pricing-index {
    font-size: 10px;
  }

  .eratech-pricing-popular {
    top: 10px;
    right: 11px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .eratech-pricing-card h3 {
    margin: 11px 0 7px;
    font-size: clamp(17px, 1.28vw, 20px);
    line-height: 1.04;
  }

  .eratech-pricing-price {
    font-size: clamp(21px, 1.65vw, 25px);
  }

  .eratech-pricing-card-head p {
    -webkit-line-clamp: 1;
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.28;
  }

  .eratech-pricing-feature-list {
    gap: 5px;
    padding: 12px 0 14px;
  }

  .eratech-pricing-feature-list li {
    grid-template-columns: 14px 1fr;
    gap: 5px;
    font-size: 11px;
    line-height: 1.2;
  }

  .eratech-pricing-feature-list li span {
    font-size: 12px;
  }

  .eratech-pricing-cta {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
  }
}


/* ==============================================================
   Interactive website category showcase
   ============================================================== */
.feature-explorer-section.eratech-portfolio-showcase {
  --portfolio-ink: #111318;
  --portfolio-muted: #656b76;
  --portfolio-line: rgba(18, 19, 23, .12);
  --portfolio-panel: rgba(255, 255, 255, .78);
  --portfolio-blue: #1a73e8;
  --portfolio-cyan: #4bc3ff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 9vw, 150px) 0 !important;
  color: var(--portfolio-ink);
  background:
    radial-gradient(circle at 79% 17%, rgba(75, 195, 255, .2), transparent 31%),
    radial-gradient(circle at 58% 80%, rgba(66, 133, 244, .14), transparent 36%),
    linear-gradient(145deg, #f8fbff 0%, #edf4ff 58%, #f8fbff 100%);
}

:root[data-theme="dark"] .feature-explorer-section.eratech-portfolio-showcase {
  --portfolio-ink: #f7f9ff;
  --portfolio-muted: #aeb8c8;
  --portfolio-line: rgba(157, 191, 255, .18);
  --portfolio-panel: rgba(8, 18, 39, .78);
  --portfolio-blue: #63a4ff;
  --portfolio-cyan: #62dbff;
  background:
    radial-gradient(circle at 78% 18%, rgba(44, 127, 255, .2), transparent 32%),
    radial-gradient(circle at 56% 82%, rgba(35, 196, 255, .11), transparent 36%),
    linear-gradient(145deg, #071121 0%, #09182e 58%, #07111f 100%);
}

.eratech-portfolio-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .38;
  background-image: radial-gradient(circle, rgba(40, 98, 182, .24) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 100%);
  pointer-events: none;
}

.eratech-portfolio-showcase::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(60vw, 980px);
  aspect-ratio: 1;
  right: -20%;
  top: -28%;
  border: 1px solid var(--portfolio-line);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(66, 133, 244, .025), 0 0 0 160px rgba(66, 133, 244, .02);
  pointer-events: none;
}

.eratech-portfolio-shell {
  width: min(1320px, calc(100% - clamp(176px, 14vw, 236px)));
  margin-left: clamp(160px, 12vw, 210px);
  margin-right: auto;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(620px, 1.35fr);
  gap: clamp(56px, 7vw, 128px);
  align-items: center;
}

.eratech-portfolio-intro {
  position: relative;
  z-index: 8;
  max-width: 610px;
}

.eratech-portfolio-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--portfolio-blue);
  font-family: "Google Sans Code", monospace;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .14em;
}

.eratech-portfolio-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eratech-portfolio-intro h2 {
  margin: 0;
  color: var(--portfolio-ink);
  font-family: "Google Sans Flex", sans-serif;
  font-size: clamp(58px, 6.2vw, 102px);
  font-weight: 540;
  line-height: .92;
  letter-spacing: -.07em;
}

.eratech-portfolio-intro h2 em {
  display: inline-block;
  padding-bottom: .1em;
  font-style: normal;
  color: transparent;
  background: linear-gradient(95deg, var(--portfolio-blue), #0db6df 56%, #6c5ce7);
  -webkit-background-clip: text;
  background-clip: text;
}

.eratech-portfolio-intro > p {
  max-width: 570px;
  margin: clamp(28px, 3.4vw, 52px) 0 0;
  color: var(--portfolio-muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.62;
}

.eratech-portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 36px;
}

.eratech-portfolio-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #1769d2, #1a73e8 60%, #35a7ff);
  box-shadow: 0 14px 34px rgba(26, 115, 232, .22);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.eratech-portfolio-primary::before,
.eratech-portfolio-primary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -6px;
  border: 1px solid rgba(92, 187, 255, .28);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: eratech-portfolio-attention-ripple 5.4s ease-out infinite;
}

.eratech-portfolio-primary::after {
  animation-delay: 2.7s;
}

.eratech-portfolio-primary:hover,
.eratech-portfolio-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(26, 115, 232, .3);
  outline: none;
}

.eratech-portfolio-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--portfolio-muted);
  font-size: 13px;
}

.eratech-portfolio-hint i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--portfolio-cyan);
  box-shadow: 0 0 0 5px rgba(75, 195, 255, .14);
  animation: eratech-portfolio-hint-pulse 2.2s ease-in-out infinite;
}

.eratech-portfolio-stage {
  position: relative;
  min-height: clamp(650px, 52vw, 820px);
  perspective: 1400px;
  transform-style: preserve-3d;
}

.eratech-portfolio-stage-grid {
  position: absolute;
  inset: 5% 2% 4% 3%;
  border: 1px solid var(--portfolio-line);
  border-radius: 38px;
  background:
    linear-gradient(var(--portfolio-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--portfolio-line) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .38;
  transform: perspective(900px) rotateX(62deg) translateY(29%);
  transform-origin: center bottom;
  mask-image: linear-gradient(#000, transparent 88%);
  pointer-events: none;
}

.eratech-portfolio-card {
  --portfolio-tilt-x: 0deg;
  --portfolio-tilt-y: 0deg;
  --portfolio-glare-x: 50%;
  --portfolio-glare-y: 50%;
  --portfolio-card-rotate: 0deg;
  position: absolute;
  z-index: 3;
  margin: 0;
  outline: none;
  cursor: default;
  isolation: isolate;
  transform-style: preserve-3d;
  transform: rotateZ(var(--portfolio-card-rotate)) rotateX(var(--portfolio-tilt-x)) rotateY(var(--portfolio-tilt-y)) translateZ(0);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), filter .25s ease, opacity .25s ease;
  will-change: transform;
}

.eratech-portfolio-card::before,
.eratech-portfolio-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -7px;
  border: 1px solid rgba(95, 199, 255, .22);
  border-radius: clamp(20px, 2vw, 30px);
  opacity: 0;
  pointer-events: none;
  animation: eratech-portfolio-attention-ripple 5.4s ease-out infinite;
}

.eratech-portfolio-card::after {
  animation-delay: 2.7s;
}

.eratech-portfolio-card-top-left { --portfolio-ripple-delay: .5s; }
.eratech-portfolio-card-top-right { --portfolio-ripple-delay: 1.1s; }
.eratech-portfolio-card-bottom-left { --portfolio-ripple-delay: 1.7s; }
.eratech-portfolio-card-bottom-center { --portfolio-ripple-delay: 2.3s; }
.eratech-portfolio-card-bottom-right { --portfolio-ripple-delay: 2.9s; }

.eratech-portfolio-card::before {
  animation-delay: var(--portfolio-ripple-delay, 0s);
}

.eratech-portfolio-card::after {
  animation-delay: calc(var(--portfolio-ripple-delay, 0s) + 2.7s);
}

.eratech-portfolio-card-hero {
  z-index: 4;
  width: 58%;
  left: 21%;
  top: 17%;
  --portfolio-card-rotate: -2.2deg;
}

.eratech-portfolio-card-top-left {
  z-index: 6;
  width: 31%;
  left: -2%;
  top: 5%;
  --portfolio-card-rotate: -7deg;
}

.eratech-portfolio-card-top-right {
  z-index: 7;
  width: 29%;
  right: -1%;
  top: 2%;
  --portfolio-card-rotate: 6deg;
}

.eratech-portfolio-card-bottom-left {
  z-index: 8;
  width: 30%;
  left: -3%;
  bottom: 7%;
  --portfolio-card-rotate: 5deg;
}

.eratech-portfolio-card-bottom-center {
  z-index: 7;
  width: 29%;
  left: 37%;
  bottom: -1%;
  --portfolio-card-rotate: -4deg;
}

.eratech-portfolio-card-bottom-right {
  z-index: 8;
  width: 31%;
  right: -3%;
  bottom: 8%;
  --portfolio-card-rotate: 5deg;
}

.eratech-portfolio-card-surface {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: clamp(17px, 1.6vw, 26px);
  background: var(--portfolio-panel);
  box-shadow: 0 22px 62px rgba(24, 48, 88, .24), inset 0 1px 0 rgba(255, 255, 255, .52);
  transform-style: preserve-3d;
  backdrop-filter: blur(18px) saturate(1.12);
}

:root[data-theme="dark"] .eratech-portfolio-card-surface {
  border-color: rgba(136, 182, 255, .18);
  box-shadow: 0 26px 72px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.eratech-portfolio-card-hero .eratech-portfolio-card-surface {
  aspect-ratio: 16 / 10;
}

.eratech-portfolio-card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #dce8f8;
}

.eratech-portfolio-card-media :is(img, video) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.86) contrast(.94);
  transform: scale(1.035);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
  user-select: none;
}

.eratech-portfolio-card-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 14, 30, .02) 35%, rgba(5, 14, 30, .84) 100%);
  pointer-events: none;
}

.eratech-portfolio-card-index,
.eratech-portfolio-card-arrow,
.eratech-portfolio-card-copy {
  position: absolute;
  z-index: 3;
  color: #fff;
  transform: translateZ(35px);
}

.eratech-portfolio-card-index {
  top: 16px;
  left: 17px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(6, 18, 39, .32);
  backdrop-filter: blur(10px);
  font-family: "Google Sans Code", monospace;
  font-size: 10px;
  letter-spacing: .1em;
}

.eratech-portfolio-card-copy {
  left: 18px;
  right: 52px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eratech-portfolio-card-copy span {
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eratech-portfolio-card-copy strong {
  font-size: clamp(15px, 1.4vw, 22px);
  font-weight: 560;
  letter-spacing: -.025em;
}

.eratech-portfolio-card-arrow {
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(6, 18, 39, .32);
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.eratech-portfolio-card-glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(circle at var(--portfolio-glare-x) var(--portfolio-glare-y), rgba(255, 255, 255, .42), transparent 34%);
  mix-blend-mode: screen;
  transition: opacity .2s ease;
  pointer-events: none;
}

.eratech-portfolio-title [data-portfolio-typing].is-typing::after {
  content: "|";
  display: inline-block;
  margin-left: .06em;
  color: var(--portfolio-cyan);
  font-weight: 400;
  animation: eratech-portfolio-typing-caret .72s step-end infinite;
}

.eratech-portfolio-card.is-interacting {
  z-index: 20;
  filter: drop-shadow(0 28px 34px rgba(14, 44, 92, .25));
  transform: rotateZ(var(--portfolio-card-rotate)) rotateX(var(--portfolio-tilt-x)) rotateY(var(--portfolio-tilt-y)) translateZ(42px) scale(1.045);
}

.eratech-portfolio-card.is-interacting .eratech-portfolio-card-media :is(img, video),
.eratech-portfolio-card:focus-visible .eratech-portfolio-card-media :is(img, video) {
  transform: scale(1.1);
  filter: saturate(1.04) contrast(1);
}

.eratech-portfolio-card.is-interacting .eratech-portfolio-card-glare,
.eratech-portfolio-card:focus-visible .eratech-portfolio-card-glare {
  opacity: .7;
}

.eratech-portfolio-card:focus-visible .eratech-portfolio-card-surface {
  outline: 3px solid var(--portfolio-cyan);
  outline-offset: 4px;
}

.eratech-portfolio-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--portfolio-line);
  border-radius: 50%;
  pointer-events: none;
}

.eratech-portfolio-orbit-one {
  width: 420px;
  height: 420px;
  left: 42%;
  top: 19%;
  animation: eratech-portfolio-orbit 18s linear infinite;
}

.eratech-portfolio-orbit-two {
  width: 160px;
  height: 160px;
  right: 5%;
  bottom: 10%;
  animation: eratech-portfolio-orbit 12s linear infinite reverse;
}

@keyframes eratech-portfolio-hint-pulse {
  0%, 100% { transform: scale(.86); opacity: .65; }
  50% { transform: scale(1.16); opacity: 1; }
}

@keyframes eratech-portfolio-orbit {
  to { transform: rotate(360deg); }
}

@keyframes eratech-portfolio-attention-ripple {
  0%, 70%, 100% { opacity: 0; transform: scale(.98); }
  5% { opacity: .34; }
  24% { opacity: 0; transform: scale(1.09); }
}

@keyframes eratech-portfolio-typing-caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .eratech-portfolio-card::before,
  .eratech-portfolio-card::after,
  .eratech-portfolio-primary::before,
  .eratech-portfolio-primary::after,
  .eratech-portfolio-title [data-portfolio-typing].is-typing::after {
    animation: none;
    display: none;
  }
}

@media (min-width: 1181px) {
  .feature-explorer-section.eratech-portfolio-showcase {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: calc(100svh - 80px);
    height: calc(100svh - 80px);
    padding: clamp(28px, 5vh, 64px) 0 !important;
  }

  .eratech-portfolio-shell {
    grid-template-columns: minmax(360px, .9fr) minmax(560px, 1.35fr);
    gap: clamp(36px, 4vw, 64px);
  }

  .eratech-portfolio-stage {
    min-height: clamp(500px, calc(100svh - 150px), 700px);
  }
}

@media (min-width: 1181px) and (max-height: 900px) {
  .feature-explorer-section.eratech-portfolio-showcase {
    padding: clamp(24px, 4vh, 36px) 0 !important;
  }

  .eratech-portfolio-shell {
    grid-template-columns: minmax(350px, .88fr) minmax(560px, 1.32fr);
    gap: clamp(32px, 3.6vw, 52px);
  }

  .eratech-portfolio-kicker {
    margin-bottom: 18px;
  }

  .eratech-portfolio-intro h2 {
    font-size: clamp(58px, 5.2vw, 72px);
    line-height: .9;
  }

  .eratech-portfolio-intro > p {
    margin-top: 20px;
    font-size: clamp(15.5px, 1.2vw, 18px);
    line-height: 1.48;
  }

  .eratech-portfolio-actions {
    margin-top: 24px;
  }

  .eratech-portfolio-primary {
    min-height: 48px;
  }

  .eratech-portfolio-stage {
    min-height: clamp(480px, calc(100svh - 150px), 570px);
  }

  .eratech-portfolio-orbit-one {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 1180px) {
  .eratech-portfolio-shell {
    width: min(100% - 72px, 960px);
    margin-inline: auto;
    grid-template-columns: 1fr;
  }

  .eratech-portfolio-intro {
    max-width: 760px;
  }

  .eratech-portfolio-intro h2 {
    max-width: 920px;
    font-size: clamp(54px, 8vw, 88px);
  }

  .eratech-portfolio-stage {
    width: min(900px, 100%);
    min-height: clamp(620px, 82vw, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .feature-explorer-section.eratech-portfolio-showcase {
    padding: 82px 0 !important;
  }

  .eratech-portfolio-shell {
    width: min(100% - 28px, 620px);
    gap: 50px;
  }

  .eratech-portfolio-intro h2 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .eratech-portfolio-intro > p {
    font-size: 16px;
  }

  .eratech-portfolio-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: 0;
    perspective: 900px;
  }

  .eratech-portfolio-stage-grid {
    display: none;
  }

  .eratech-portfolio-card,
  .eratech-portfolio-card-hero,
  .eratech-portfolio-card-top-left,
  .eratech-portfolio-card-top-right,
  .eratech-portfolio-card-bottom-left,
  .eratech-portfolio-card-bottom-center,
  .eratech-portfolio-card-bottom-right {
    position: relative;
    inset: auto;
    z-index: 1;
    width: auto;
    --portfolio-card-rotate: 0deg;
  }

  .eratech-portfolio-card-hero {
    grid-column: 1 / -1;
  }

  .eratech-portfolio-card-copy {
    left: 12px;
    right: 40px;
    bottom: 12px;
  }

  .eratech-portfolio-card-copy span {
    display: none;
  }

  .eratech-portfolio-card-copy strong {
    font-size: 14px;
  }

  .eratech-portfolio-card-index {
    top: 10px;
    left: 10px;
  }

  .eratech-portfolio-card-arrow {
    right: 10px;
    bottom: 10px;
    width: 27px;
    height: 27px;
  }

  .eratech-portfolio-orbit {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eratech-portfolio-hint i,
  .eratech-portfolio-orbit {
    animation: none !important;
  }

  .eratech-portfolio-card,
  .eratech-portfolio-card-media :is(img, video) {
    transition-duration: .01ms !important;
  }
}
 
/* ==============================================================
   Unified section flow and scroll performance
   ============================================================== */
:root {
  --eratech-flow-edge: #f8fbff;
  --eratech-flow-mid: #eef5ff;
  --eratech-flow-accent: rgba(70, 154, 255, .14);
  --eratech-flow-cyan: rgba(56, 203, 239, .09);
  --eratech-flow-edge-rgb: 248, 251, 255;
}

:root[data-theme="dark"] {
  --eratech-flow-edge: #07111f;
  --eratech-flow-mid: #09182e;
  --eratech-flow-accent: rgba(45, 125, 255, .17);
  --eratech-flow-cyan: rgba(52, 202, 242, .07);
  --eratech-flow-edge-rgb: 7, 17, 31;
}

html {
  background: var(--eratech-flow-edge);
  scrollbar-gutter: stable;
}

body,
#smooth-wrapper,
#smooth-content,
#smooth-content > main {
  background-color: var(--eratech-flow-edge) !important;
}

:is(#home, #services, #portfolio, #pricing, #about, #blog) {
  --eratech-flow-x: 72%;
  --eratech-flow-y: 46%;
  contain: paint;
  background-color: transparent !important;
  background-image:
    radial-gradient(circle at var(--eratech-flow-x) var(--eratech-flow-y), var(--eratech-flow-accent), transparent 34%),
    radial-gradient(circle at calc(100% - var(--eratech-flow-x)) calc(100% - var(--eratech-flow-y)), var(--eratech-flow-cyan), transparent 31%),
    linear-gradient(180deg, var(--eratech-flow-edge) 0%, var(--eratech-flow-mid) 48%, var(--eratech-flow-edge) 100%) !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

#home { --eratech-flow-x: 64%; --eratech-flow-y: 28%; }
#services { --eratech-flow-x: 32%; --eratech-flow-y: 48%; }
#portfolio { --eratech-flow-x: 76%; --eratech-flow-y: 38%; }
#pricing { --eratech-flow-x: 22%; --eratech-flow-y: 44%; }
#about { --eratech-flow-x: 78%; --eratech-flow-y: 36%; }
#blog { --eratech-flow-x: 42%; --eratech-flow-y: 50%; }

.eratech-site-footer {
  border-top: 1px solid rgba(117, 184, 255, .1);
}

.eratech-site-footer::after {
  opacity: .76;
  background:
    linear-gradient(180deg, var(--eratech-flow-edge) 0, rgba(var(--eratech-flow-edge-rgb), .62) 34px, transparent 88px),
    radial-gradient(circle at 3% 30%, #46d9ff 0 2px, transparent 3px),
    radial-gradient(circle at 18% 8%, #267eff 0 1px, transparent 2px),
    radial-gradient(circle at 68% 16%, #56cdff 0 1px, transparent 2px),
    radial-gradient(circle at 87% 64%, #2b91ff 0 2px, transparent 3px),
    radial-gradient(circle at 96% 26%, #56cdff 0 1px, transparent 2px);
}

.eratech-flow-section:not(.is-flow-active) :is(
  .eratech-ai-search,
  .eratech-services-track,
  .eratech-services-track .eratech-service-card::before,
  .eratech-about-orbit,
  .eratech-about-status i,
  .eratech-portfolio-orbit,
  .eratech-portfolio-hint i,
  .eratech-portfolio-card::after
),
.eratech-flow-section:not(.is-flow-active) .eratech-walking-robot,
.eratech-flow-section:not(.is-flow-active) .eratech-walking-robot * {
  animation-play-state: paused !important;
}

.eratech-flow-section:not(.is-flow-active) .eratech-services-track {
  will-change: auto;
}

.eratech-flow-section.is-flow-active .eratech-services-track {
  will-change: transform;
}

@media (max-width: 720px) {
  :is(#home, #services, #portfolio, #pricing, #about, #blog) {
    background-image:
      radial-gradient(circle at var(--eratech-flow-x) var(--eratech-flow-y), var(--eratech-flow-accent), transparent 42%),
      linear-gradient(180deg, var(--eratech-flow-edge) 0%, var(--eratech-flow-mid) 50%, var(--eratech-flow-edge) 100%) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(#home, #services, #portfolio, #pricing, #about, #blog) *,
  :is(#home, #services, #portfolio, #pricing, #about, #blog)::before,
  :is(#home, #services, #portfolio, #pricing, #about, #blog)::after {
    scroll-behavior: auto !important;
  }
}

/* ==============================================================
   Section breathing rhythm
   ============================================================== */
:is(#home, #services, #portfolio, #pricing, #about, #blog) {
  background-image:
    radial-gradient(circle at var(--eratech-flow-x) var(--eratech-flow-y), var(--eratech-flow-accent), transparent 34%),
    radial-gradient(circle at calc(100% - var(--eratech-flow-x)) calc(100% - var(--eratech-flow-y)), var(--eratech-flow-cyan), transparent 31%),
    linear-gradient(
      180deg,
      var(--eratech-flow-edge) 0%,
      var(--eratech-flow-edge) 9%,
      var(--eratech-flow-mid) 43%,
      var(--eratech-flow-mid) 57%,
      var(--eratech-flow-edge) 91%,
      var(--eratech-flow-edge) 100%
    ) !important;
}

#blog {
  box-sizing: border-box;
  padding-bottom: clamp(48px, 5vw, 72px);
}

@media (min-width: 1181px) and (max-height: 900px) {
  .eratech-services-story {
    box-sizing: border-box;
    min-height: calc(100svh - 80px);
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .eratech-services-story-heading {
    margin-bottom: 16px;
  }

  .eratech-services-story-heading h2 {
    font-size: clamp(40px, 3.7vw, 50px);
  }

  .eratech-services-stage {
    min-height: 370px;
    height: 370px;
  }

  .eratech-services-track .eratech-service-card {
    height: clamp(198px, 16.8vw, 218px) !important;
  }

  .feature-explorer-section.eratech-portfolio-showcase {
    padding: clamp(44px, 7vh, 60px) 0 !important;
  }

  .eratech-portfolio-stage {
    width: 95%;
    min-height: clamp(455px, calc(100svh - 200px), 525px);
    margin-inline: auto;
  }

  .eratech-portfolio-intro h2 {
    font-size: clamp(55px, 4.9vw, 68px);
  }

  .eratech-portfolio-intro > p {
    max-width: 520px;
    margin-top: 22px;
    line-height: 1.54;
  }

  .eratech-pricing-addons {
    margin-top: 76px;
    padding-top: 44px;
  }
}

@media (max-width: 700px) {
  :is(#home, #services, #portfolio, #pricing, #about, #blog) {
    background-image:
      radial-gradient(circle at var(--eratech-flow-x) var(--eratech-flow-y), var(--eratech-flow-accent), transparent 42%),
      linear-gradient(
        180deg,
        var(--eratech-flow-edge) 0%,
        var(--eratech-flow-edge) 9%,
        var(--eratech-flow-mid) 43%,
        var(--eratech-flow-mid) 57%,
        var(--eratech-flow-edge) 91%,
        var(--eratech-flow-edge) 100%
      ) !important;
  }

#blog {
  padding-bottom: 64px;
}
}
/* AI chatbot: full floating consultation experience. */
.eratech-chat-dialog {
  position: fixed;
  inset: auto 24px 24px auto;
  width: min(440px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: #172033;
  overflow: visible;
}
.eratech-chat-dialog[open] { animation: eratech-chat-in .24s cubic-bezier(.2,.8,.2,1); }
.eratech-chat-dialog::backdrop { background: rgba(7, 18, 34, .32); backdrop-filter: blur(5px); }
@keyframes eratech-chat-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.eratech-chat-card {
  display: flex;
  flex-direction: column;
  height: min(680px, calc(100vh - 48px));
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(29, 78, 134, .14);
  border-radius: 28px;
  background: linear-gradient(180deg, #f8fbff 0, #fff 24%);
  box-shadow: 0 28px 80px rgba(8, 42, 82, .3);
}
.eratech-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(135deg, #126fe5 0%, #0e4fa9 58%, #082d68 100%);
}
.eratech-chat-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.eratech-chat-brand-mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 15px;
  background: rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.eratech-chat-brand-mark svg { width: 27px; height: 27px; fill: #fff; }
.eratech-chat-eyebrow { display: block; color: #b9ddff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eratech-chat-header h2 { margin: 3px 0 2px; overflow: hidden; font-size: 18px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.eratech-chat-online { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.78); font-size: 11px; }
.eratech-chat-online i { width: 7px; height: 7px; border-radius: 50%; background: #5ee790; box-shadow: 0 0 0 3px rgba(94,231,144,.15); }
.eratech-chat-close { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.eratech-chat-close:hover { background: rgba(255,255,255,.22); }
.eratech-chat-close .symbol { font-size: 21px; }
.eratech-chat-messages { display: flex; flex: 1; flex-direction: column; gap: 14px; min-height: 220px; padding: 18px 18px 10px; overflow-y: auto; overscroll-behavior: contain; }
.eratech-chat-day { align-self: center; padding: 4px 10px; border-radius: 999px; background: #edf3fa; color: #738296; font-size: 10px; font-weight: 700; }
.eratech-chat-row { display: flex; align-items: flex-end; gap: 8px; }
.eratech-chat-row-user { flex-direction: row-reverse; }
.eratech-chat-message-avatar { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 10px; background: linear-gradient(145deg,#237eef,#0b4b9d); color: #fff; font-size: 9px; font-weight: 800; box-shadow: 0 4px 10px rgba(20,111,232,.22); }
.eratech-chat-row-user .eratech-chat-message-avatar { background: #e8edf4; color: #596a7f; box-shadow: none; }
.eratech-chat-message { max-width: 82%; padding: 11px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.eratech-chat-message-assistant { display: grid; gap: 9px; border-bottom-left-radius: 5px; background: #edf5ff; color: #223044; white-space: normal; }
.eratech-chat-message-assistant p { margin: 0; }
.eratech-chat-message-assistant ul,
.eratech-chat-message-assistant ol { display: grid; gap: 7px; margin: 0; padding-left: 20px; }
.eratech-chat-message-assistant li { padding-left: 2px; }
.eratech-chat-message-assistant strong,
.eratech-chat-message-assistant .eratech-chat-section-title { color: inherit; font-weight: 700; }
.eratech-chat-message-user { border-bottom-right-radius: 5px; background: linear-gradient(135deg,#146fe8,#0b51ae); color: #fff; }
.eratech-chat-suggestions { display: flex; gap: 7px; padding: 4px 18px 12px; overflow-x: auto; scrollbar-width: none; }
.eratech-chat-suggestions::-webkit-scrollbar { display: none; }
.eratech-chat-suggestions[hidden] { display: none; }
.eratech-chat-suggestions button { flex: 0 0 auto; padding: 8px 11px; border: 1px solid #cfe0f5; border-radius: 999px; background: #fff; color: #1559a5; cursor: pointer; font: inherit; font-size: 11px; font-weight: 650; }
.eratech-chat-suggestions button:hover { border-color: #74aef2; background: #f1f7ff; }
.eratech-chat-status { min-height: 0; margin: 0; padding: 0 20px; color: #6c7c90; font-size: 11px; }
.eratech-chat-status:empty { display: none; }
.eratech-chat-status.is-typing { display: flex; align-items: center; gap: 4px; padding-bottom: 9px; }
.eratech-chat-status.is-typing span { width: 5px; height: 5px; border-radius: 50%; background: #1a73e8; animation: eratech-chat-dot .9s infinite alternate; }
.eratech-chat-status.is-typing span:nth-child(2) { animation-delay: .15s; }
.eratech-chat-status.is-typing span:nth-child(3) { animation-delay: .3s; }
.eratech-chat-status.is-typing em { margin-left: 5px; font-style: normal; }
@keyframes eratech-chat-dot { to { transform: translateY(-4px); opacity: .45; } }
.eratech-chat-form { display: flex; align-items: center; gap: 8px; margin: 0 16px; padding: 7px 7px 7px 13px; border: 1px solid #d4dfeb; border-radius: 18px; background: #fff; box-shadow: 0 5px 18px rgba(20,55,90,.08); }
.eratech-chat-input-icon { color: #7b8998; font-size: 19px; }
.eratech-chat-form input { min-width: 0; flex: 1; padding: 7px 2px; border: 0; outline: 0; background: transparent; color: #172033; font: inherit; font-size: 13px; }
.eratech-chat-form button { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; padding: 0; border: 0; border-radius: 13px; background: linear-gradient(135deg,#1674ee,#0a4ea8); color: #fff; cursor: pointer; box-shadow: 0 6px 14px rgba(20,111,232,.28); }
.eratech-chat-form button .symbol { font-size: 20px; }
.eratech-chat-form button:disabled { cursor: wait; opacity: .55; }
.eratech-chat-note { margin: 8px 20px 13px; color: #8794a5; font-size: 9.5px; line-height: 1.35; text-align: center; }
:root[data-theme="dark"] .eratech-chat-card { border-color: rgba(255,255,255,.13); background: linear-gradient(180deg,#101c2e,#0b1321 28%); color: #f8fafc; }
:root[data-theme="dark"] .eratech-chat-day { background: #1d2b3e; color: #aebed2; }
:root[data-theme="dark"] .eratech-chat-message-assistant { background: #182c47; color: #eef6ff; }
:root[data-theme="dark"] .eratech-chat-message-assistant strong,
:root[data-theme="dark"] .eratech-chat-message-assistant .eratech-chat-section-title { color: inherit; }
:root[data-theme="dark"] .eratech-chat-row-user .eratech-chat-message-avatar { background: #27364a; color: #cbd8e7; }
:root[data-theme="dark"] .eratech-chat-suggestions button { border-color: #2f4766; background: #111f32; color: #a9d1ff; }
:root[data-theme="dark"] .eratech-chat-form { border-color: #2c3d55; background: #101b2c; }
:root[data-theme="dark"] .eratech-chat-form input { color: #f8fafc; }
:root[data-theme="dark"] .eratech-chat-note,
:root[data-theme="dark"] .eratech-chat-status { color: #91a4bb; }
@media (max-width: 560px) {
  .eratech-chat-dialog { inset: auto 10px 10px; width: auto; max-height: calc(100vh - 20px); }
  .eratech-chat-card { height: min(650px, calc(100vh - 20px)); min-height: 480px; border-radius: 23px; }
  .eratech-chat-header { padding: 15px 16px; }
  .eratech-chat-messages { padding-inline: 14px; }
  .eratech-chat-suggestions { padding-inline: 14px; }
}

/* Lead form and Era Tech Zalo contact opened by the three requested CTAs. */
.eratech-lead-dialog,
.eratech-zalo-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(780px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 26px;
  background: transparent;
  color: #172033;
  overflow: visible;
}
.eratech-zalo-dialog { width: min(430px, calc(100% - 28px)); }
.eratech-lead-dialog::backdrop,
.eratech-zalo-dialog::backdrop { background: rgba(5, 16, 33, .62); backdrop-filter: blur(7px); }
.eratech-lead-card,
.eratech-zalo-card {
  position: relative;
  box-sizing: border-box;
  max-height: min(780px, calc(100vh - 28px));
  overflow-y: auto;
  border: 1px solid rgba(25, 84, 145, .16);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(4, 29, 59, .35);
}
.eratech-lead-card { padding: 34px; }
.eratech-zalo-card { padding: 42px 36px 36px; text-align: center; }
.eratech-contact-close {
  position: absolute;
  top: 15px;
  right: 17px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf3f9;
  color: #41566d;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
}
.eratech-contact-eyebrow { color: #146fe8; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.eratech-lead-header h2,
.eratech-zalo-card h2 { margin: 8px 42px 7px 0; color: #10233a; font-size: clamp(28px, 4.5vw, 40px); line-height: 1.08; }
.eratech-lead-header p,
.eratech-zalo-card p { margin: 0; color: #68798c; font-size: 14px; line-height: 1.6; }
.eratech-lead-form { margin-top: 26px; }
.eratech-lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.eratech-lead-form label { display: grid; gap: 7px; color: #4d6075; font-size: 12px; font-weight: 750; }
.eratech-lead-form label > span { color: #d24536; }
.eratech-lead-form input,
.eratech-lead-form select,
.eratech-lead-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 13px;
  border: 1px solid #d6e0ea;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 14px;
}
.eratech-lead-form :is(input, select, textarea):focus { border-color: #146fe8; box-shadow: 0 0 0 3px rgba(20, 111, 232, .13); }
.eratech-lead-message { margin-top: 14px; }
.eratech-lead-form textarea { min-height: 96px; resize: vertical; }
.eratech-lead-consent { display: flex !important; align-items: flex-start; gap: 9px !important; margin-top: 14px; font-weight: 500 !important; line-height: 1.45; }
.eratech-lead-consent input { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; padding: 0; }
.eratech-lead-consent span { color: #607185 !important; }
.eratech-lead-submit,
.eratech-zalo-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  box-sizing: border-box;
  margin-top: 20px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1875ec, #0b4caa);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 111, 232, .25);
}
.eratech-lead-submit:disabled { cursor: wait; opacity: .62; }
.eratech-lead-status { min-height: 20px; margin: 12px 0 0; color: #50647a; font-size: 13px; }
.eratech-lead-status.is-error { color: #bf3327; }
.eratech-lead-status.is-success { color: #16814a; }
.eratech-zalo-mark { display: grid; width: 76px; height: 76px; margin: 0 auto 20px; place-items: center; border-radius: 24px; background: linear-gradient(145deg, #2489ff, #0768df); color: #fff; font-size: 20px; font-weight: 850; box-shadow: 0 15px 32px rgba(20, 111, 232, .28); }
.eratech-zalo-card h2 { margin-right: 0; }
.eratech-zalo-card strong { display: block; margin-top: 16px; color: #0f2947; font-size: 20px; }
:root[data-theme="dark"] .eratech-lead-card,
:root[data-theme="dark"] .eratech-zalo-card { border-color: rgba(255,255,255,.12); background: #0d1929; color: #f4f8fd; }
:root[data-theme="dark"] .eratech-lead-header h2,
:root[data-theme="dark"] .eratech-zalo-card h2,
:root[data-theme="dark"] .eratech-zalo-card strong { color: #f4f8fd; }
:root[data-theme="dark"] .eratech-lead-header p,
:root[data-theme="dark"] .eratech-zalo-card p,
:root[data-theme="dark"] .eratech-lead-consent span { color: #aebdd0 !important; }
:root[data-theme="dark"] .eratech-contact-close { background: #1d2c40; color: #d8e4f1; }
:root[data-theme="dark"] .eratech-lead-form label { color: #c2d0df; }
:root[data-theme="dark"] .eratech-lead-form :is(input, select, textarea) { border-color: #2c4059; background: #111f31; color: #f4f8fd; }
@media (max-width: 640px) {
  .eratech-lead-card { padding: 28px 20px 22px; }
  .eratech-zalo-card { padding: 38px 22px 26px; }
  .eratech-lead-grid { grid-template-columns: 1fr; gap: 12px; }
  .eratech-lead-header h2 { margin-right: 34px; }
  .eratech-lead-submit { width: 100%; }
}
.eratech-federated-btn[data-oauth-deferred] { cursor: not-allowed; opacity: .68; }
.eratech-federated-btn[data-oauth-deferred] small { margin-left: 4px; font-size: 11px; }

/* Account workspace: scoped to Profile, orders, rewards and settings only. */
.eratech-account-dialog {
  width: min(900px, calc(100% - 32px));
  max-width: 900px;
  max-height: min(720px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  color: #15243a;
  box-shadow: 0 36px 110px rgba(7, 32, 67, .34);
}
.eratech-account-dialog::backdrop { background: rgba(5, 18, 38, .62); backdrop-filter: blur(8px); }
.eratech-account-dialog[open] { animation: eratech-account-enter .2s ease-out; }
@keyframes eratech-account-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.eratech-account-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-template-rows: auto minmax(330px, auto);
  box-sizing: border-box;
  max-height: min(720px, calc(100dvh - 32px));
  overflow: auto;
  border: 1px solid rgba(24, 89, 158, .15);
  border-radius: 28px;
  background: linear-gradient(135deg, #f5f9fd 0, #fff 42%, #f8fbff 100%);
}
.eratech-account-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 88% 7%, rgba(37, 133, 255, .13), transparent 29%); }
.eratech-account-close { position: absolute; z-index: 2; top: 20px; right: 22px; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid #dce7f2; border-radius: 50%; background: rgba(255,255,255,.82); color: #41566d; cursor: pointer; font: inherit; font-size: 25px; line-height: 1; box-shadow: 0 8px 22px rgba(24,67,112,.1); transition: transform .16s ease, background .16s ease; }
.eratech-account-close:hover { transform: rotate(5deg); background: #edf5fd; }
.eratech-account-header { position: relative; grid-column: 1 / -1; padding: 30px 76px 24px 32px; border-bottom: 1px solid #e5edf5; }
.eratech-account-eyebrow { color: #1670e8; font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.eratech-account-header h2 { margin: 8px 0 5px; color: #10233b; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -.035em; }
.eratech-account-header p { max-width: 580px; margin: 0; color: #64758a; font-size: 14px; line-height: 1.55; }
.eratech-account-tabs { position: relative; display: grid; align-content: start; gap: 8px; margin: 0; padding: 24px 18px 28px; border-right: 1px solid #e5edf5; background: rgba(238, 245, 252, .62); }
.eratech-account-tabs button { position: relative; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; min-height: 48px; padding: 8px 13px; border: 0; border-radius: 14px; background: transparent; color: #596b80; cursor: pointer; font: inherit; font-size: 13px; font-weight: 720; text-align: left; transition: background .16s ease, color .16s ease, transform .16s ease; }
.eratech-account-tabs button::before { content: "01"; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #d6e2ef; border-radius: 10px; background: rgba(255,255,255,.72); color: #6a7e94; font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.eratech-account-tabs button[data-account-tab="orders"]::before { content: "02"; }
.eratech-account-tabs button[data-account-tab="rewards"]::before { content: "03"; }
.eratech-account-tabs button[data-account-tab="settings"]::before { content: "04"; }
.eratech-account-tabs button:hover { background: rgba(255,255,255,.72); color: #184d88; transform: translateX(2px); }
.eratech-account-tabs button.is-active { background: linear-gradient(135deg, #1675ed, #0b4fae); color: #fff; box-shadow: 0 12px 24px rgba(19, 100, 208, .24); }
.eratech-account-tabs button.is-active::before { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.16); color: #fff; }
.eratech-account-panel { position: relative; min-width: 0; min-height: 330px; padding: 28px 30px 30px; }
.eratech-account-panel[hidden] { display: none; }
.eratech-account-panel::before { content: "Thông tin cá nhân"; display: block; margin: 0 0 20px; color: #17304d; font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.eratech-account-panel[data-account-panel="orders"]::before { content: "Lịch sử mua hàng"; }
.eratech-account-panel[data-account-panel="rewards"]::before { content: "Điểm thưởng của bạn"; }
.eratech-account-panel[data-account-panel="settings"]::before { content: "Tùy chọn tài khoản"; }
.eratech-account-form { margin: 0; }
.eratech-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eratech-account-form label { display: grid; gap: 8px; color: #536579; font-size: 12px; font-weight: 760; }
.eratech-account-form input,
.eratech-account-form select { width: 100%; min-height: 48px; box-sizing: border-box; padding: 12px 14px; border: 1px solid #d6e1ec; border-radius: 13px; outline: 0; background: rgba(255,255,255,.94); color: #17263a; font: inherit; font-size: 14px; box-shadow: 0 5px 14px rgba(27, 67, 110, .045); }
.eratech-account-form input:focus,
.eratech-account-form select:focus { border-color: #1672ea; box-shadow: 0 0 0 3px rgba(22,114,234,.13); }
.eratech-account-form input[readonly] { background: #eef3f8; color: #6d7d8f; box-shadow: none; }
.eratech-account-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 22px; padding: 0 24px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #1777ef, #0b4da9); color: #fff; cursor: pointer; font: inherit; font-size: 13px; font-weight: 780; box-shadow: 0 11px 24px rgba(19, 97, 201, .24); }
.eratech-account-submit:hover { filter: brightness(1.05); }
.eratech-account-status { min-height: 18px; margin: 10px 0 0; color: #176dcf; font-size: 12px; }
.eratech-account-check { display: flex !important; align-items: center; gap: 11px !important; margin-top: 12px; padding: 13px 14px; border: 1px solid #dce6f0; border-radius: 13px; background: rgba(255,255,255,.7); color: #4f6175 !important; font-size: 13px !important; font-weight: 580 !important; }
.eratech-account-check input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #146fe8; box-shadow: none; }
.eratech-account-empty { display: grid; min-height: 215px; box-sizing: border-box; place-items: center; align-content: center; gap: 14px; padding: 30px 24px; border: 1px dashed #c7d7e7; border-radius: 20px; background: linear-gradient(145deg, rgba(240,247,255,.9), rgba(255,255,255,.8)); color: #687a8e; font-size: 14px; line-height: 1.55; text-align: center; }
.eratech-account-empty::before { content: "✓"; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 17px; background: #e2efff; color: #146fe8; font-size: 22px; font-weight: 800; }
.eratech-account-order-list { display: grid; width: 100%; gap: 10px; }
.eratech-account-order { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid #dbe5ef; border-radius: 14px; background: rgba(255,255,255,.88); text-align: left; }
.eratech-account-order strong { color: #1b3552; font-size: 14px; }
.eratech-account-order span { color: #6b7d90; font-size: 12px; }
.eratech-rewards-card { position: relative; min-height: 215px; box-sizing: border-box; padding: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: linear-gradient(135deg, #071d3b, #0b5fc7 64%, #2987f5); color: #fff; box-shadow: 0 18px 40px rgba(8, 70, 145, .25); }
.eratech-rewards-card::after { content: "ERA TECH"; position: absolute; right: -10px; bottom: -12px; color: rgba(255,255,255,.08); font-size: 54px; font-weight: 900; letter-spacing: -.05em; }
.eratech-rewards-card span { position: relative; z-index: 1; color: #c5ddfb; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eratech-rewards-card strong { position: relative; z-index: 1; display: block; margin-top: 12px; font-size: 44px; line-height: 1; letter-spacing: -.035em; }
.eratech-rewards-card small { position: relative; z-index: 1; display: block; max-width: 390px; margin-top: 18px; color: #c5ddfb; font-size: 12px; line-height: 1.55; }
:root[data-theme="dark"] .eratech-account-card { border-color: rgba(255,255,255,.11); background: linear-gradient(135deg, #101d2f, #0b1524 60%, #0f1c2e); color: #f5f9ff; }
:root[data-theme="dark"] .eratech-account-header,
:root[data-theme="dark"] .eratech-account-tabs { border-color: rgba(255,255,255,.1); }
:root[data-theme="dark"] .eratech-account-header h2,
:root[data-theme="dark"] .eratech-account-panel::before { color: #f5f9ff; }
:root[data-theme="dark"] .eratech-account-header p,
:root[data-theme="dark"] .eratech-account-form label,
:root[data-theme="dark"] .eratech-account-status { color: #aebdd0; }
:root[data-theme="dark"] .eratech-account-close { border-color: rgba(255,255,255,.12); background: #1a2a40; color: #eef5ff; }
:root[data-theme="dark"] .eratech-account-tabs { background: rgba(255,255,255,.035); }
:root[data-theme="dark"] .eratech-account-tabs button { color: #aebdd0; }
:root[data-theme="dark"] .eratech-account-tabs button::before { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #aebdd0; }
:root[data-theme="dark"] .eratech-account-tabs button.is-active { color: #fff; }
:root[data-theme="dark"] .eratech-account-form input,
:root[data-theme="dark"] .eratech-account-form select { border-color: #2b405a; background: #101e30; color: #f5f9ff; }
:root[data-theme="dark"] .eratech-account-form input[readonly] { background: #18283d; color: #a9b9cc; }
:root[data-theme="dark"] .eratech-account-check { border-color: #2b4058; background: rgba(17,32,51,.72); color: #bcc9d8 !important; }
:root[data-theme="dark"] .eratech-account-empty { border-color: #304965; background: rgba(18,35,56,.72); color: #aebdd0; }
:root[data-theme="dark"] .eratech-account-empty::before { background: #16375d; color: #78b9ff; }
:root[data-theme="dark"] .eratech-account-order { border-color: #2b4058; background: #112035; }
:root[data-theme="dark"] .eratech-account-order strong { color: #eff6ff; }
:root[data-theme="dark"] .eratech-account-order span { color: #9eafc2; }
@media (max-width: 700px) {
  .eratech-account-dialog { width: min(620px, calc(100% - 20px)); max-height: calc(100dvh - 20px); border-radius: 22px; }
  .eratech-account-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; max-height: calc(100dvh - 20px); border-radius: 22px; }
  .eratech-account-header { padding: 24px 60px 20px 20px; }
  .eratech-account-close { top: 15px; right: 15px; width: 38px; height: 38px; }
  .eratech-account-tabs { display: flex; gap: 7px; padding: 12px 14px; border-right: 0; border-bottom: 1px solid #e5edf5; overflow-x: auto; scrollbar-width: none; }
  .eratech-account-tabs::-webkit-scrollbar { display: none; }
  .eratech-account-tabs button { flex: 0 0 auto; grid-template-columns: auto 1fr; min-height: 42px; padding: 6px 11px; }
  .eratech-account-tabs button::before { width: 28px; height: 28px; border-radius: 9px; }
  .eratech-account-tabs button:hover { transform: none; }
  .eratech-account-panel { min-height: 300px; padding: 22px 18px 24px; }
}
@media (max-width: 520px) {
  .eratech-account-grid { grid-template-columns: 1fr; gap: 12px; }
  .eratech-account-header h2 { font-size: 29px; }
  .eratech-account-header p { font-size: 13px; }
  .eratech-account-panel { min-height: 0; }
  .eratech-account-submit { width: 100%; }
  .eratech-account-order { align-items: flex-start; flex-direction: column; }
  .eratech-rewards-card strong { font-size: 38px; }
}
