/* ================================================================
   SEEN TECH - PROFESSIONAL CORPORATE STYLESHEET
   Clean, modern technology company design
   ================================================================ */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --space-void: #09090b;
  --space-mid: #111318;
  --space-lighter: #1a1d24;
  --nebula-purple: #0f1117;

  --cyan: #3b82f6;
  --cyan-20: rgba(59, 130, 246, 0.2);
  --cyan-10: rgba(59, 130, 246, 0.1);
  --cyan-05: rgba(59, 130, 246, 0.05);
  --purple: #6366f1;
  --purple-20: rgba(99, 102, 241, 0.2);
  --purple-10: rgba(99, 102, 241, 0.1);
  --magenta: #0d9488;
  --magenta-20: rgba(13, 148, 136, 0.2);
  --green: #10b981;
  --green-20: rgba(16, 185, 129, 0.12);
  --amber: #f59e0b;
  --amber-20: rgba(245, 158, 11, 0.12);
  --red: #ef4444;
  --red-20: rgba(239, 68, 68, 0.12);

  --text-primary: #f8fafc;
  --text-secondary: rgba(248, 250, 252, 0.62);
  --text-muted: rgba(248, 250, 252, 0.34);

  --glass: rgba(17, 19, 24, 0.72);
  --glass-solid: rgba(13, 15, 19, 0.94);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(59, 130, 246, 0.2);
  --glass-glow: rgba(59, 130, 246, 0.06);

  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", monospace;

  --nav-h: 64px;
  --max-w: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.2s;
  --dur-slow: 0.35s;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--space-void);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

#main-content {
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease),
    filter var(--dur-slow) var(--ease);
}
body.page-leaving #main-content {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(1px);
}
html.js-ui body:not(.page-ready) #main-content {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(1px);
}
body.page-leaving .nav {
  opacity: 0.78;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 60% 40% at 50% 0%,
    rgba(59, 130, 246, 0.03),
    transparent 60%
  );
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  position: relative;
  z-index: 2;
}
a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--text-primary);
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--cyan-20);
  color: var(--text-primary);
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--space-void);
}
::-webkit-scrollbar-thumb {
  background: var(--space-lighter);
  border-radius: 3px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all var(--dur) var(--ease);
}
.nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--glass-border);
  opacity: 0;
  transition: opacity var(--dur);
}
.nav.scrolled {
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(20px) saturate(1.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.nav.nav-compact {
  --nav-h: 58px;
}
.nav.scrolled::after {
  opacity: 1;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}
.logo-bracket {
  color: var(--text-muted);
  font-weight: 400;
  transition: color var(--dur);
}
.logo:hover .logo-bracket {
  color: var(--cyan);
}
.logo-name {
  color: var(--text-primary);
}
.logo-dot {
  color: var(--cyan);
  font-size: 1.6rem;
  line-height: 0;
  margin: 0 1px;
}
.logo-tech {
  color: var(--cyan);
  font-weight: 500;
}
.logo::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.logo:hover::after {
  transform: scaleX(1);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
@media (min-width: 769px) {
  .nav-links {
    padding: 4px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(12px);
  }
}
.nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition:
    color var(--dur) var(--ease),
    background var(--dur) var(--ease);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active {
  background: rgba(59, 130, 246, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #main-content,
  .nav,
  .nav-links a {
    transition: none !important;
  }
}

.nav-cta {
  padding: 8px 20px !important;
  background: var(--cyan) !important;
  color: #fff !important;
  border: none !important;
}
.nav-cta:hover {
  background: #2563eb !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
  color: #fff;
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary span {
  position: relative;
  z-index: 1;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
  color: var(--text-primary);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  position: relative;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.05;
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.12),
    transparent 72%
  );
  top: -15%;
  right: -8%;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.08),
    transparent 74%
  );
  bottom: -10%;
  left: -5%;
}

.hero-content {
  text-align: left;
  max-width: none;
  position: relative;
  z-index: 3;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 40px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 12px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 14ch;
}
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--cyan),
    var(--purple) 60%,
    var(--cyan)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiftGradient 6s ease-in-out infinite;
}
.hero-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 0 36px;
  line-height: 1.75;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.hero-metric {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.hero-metric:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.15);
}
.hero-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}
.hero-metric span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.hero-panel {
  padding: 28px;
  background: rgba(17, 19, 24, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}
.hero-panel-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.hero-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.38;
  margin-bottom: 20px;
}
.hero-panel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-panel-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}
.hero-panel-index {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
}
.hero-panel-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.hero-panel-item p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}
.hero-panel-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.hero-panel-metric {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
}
.hero-panel-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
}
.hero-panel-metric span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-tag::before,
.section-tag::after {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--cyan-20);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.service-card {
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:nth-child(2) {
  --card-accent: var(--purple);
}
.service-card:nth-child(3) {
  --card-accent: var(--green);
}
.service-card:nth-child(4) {
  --card-accent: var(--amber);
}
.service-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  color: var(--cyan);
  position: relative;
  z-index: 1;
  transition: all var(--dur);
}
.service-card:nth-child(2) .service-icon-wrap {
  background: var(--purple-10);
  border-color: rgba(99, 102, 241, 0.12);
  color: var(--purple);
}
.service-card:nth-child(3) .service-icon-wrap {
  background: var(--green-20);
  border-color: rgba(16, 185, 129, 0.15);
  color: var(--green);
}
.service-card:nth-child(4) .service-icon-wrap {
  background: var(--amber-20);
  border-color: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  position: relative;
  z-index: 1;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
.about-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.stat-item {
  text-align: center;
  padding: 18px 10px;
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all var(--dur);
}
.stat-item:hover {
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}
.stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.stat-lbl {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 28px 22px;
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--dur) var(--ease);
}
.feature-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  color: var(--cyan);
}
.feature-icon i {
  font-size: 1.15rem;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* ===== INSIGHT GRID ===== */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.insight-card {
  padding: 28px;
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.insight-card:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
}
.insight-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  margin-bottom: 12px;
}
.insight-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}
.inline-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.inline-link-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-size: 0.82rem;
}
.inline-link-pill:hover {
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}
.cta-actions,
.contact-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  min-height: 100%;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
}
.team-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
}
.team-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.65;
}
.team-media {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--space-mid), var(--space-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-avatar {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-primary);
}
.team-role {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.team-links {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.team-links a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.team-links a:hover {
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}

/* ===== TESTIMONIALS ===== */
.testimonials-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}
.testimonials-track::-webkit-scrollbar {
  height: 3px;
}
.testimonials-track::-webkit-scrollbar-thumb {
  background: var(--space-lighter);
  border-radius: 2px;
}
.testimonial-card {
  min-width: 320px;
  max-width: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card blockquote {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-card blockquote::before {
  content: "\201C";
  font-size: 1.8rem;
  color: var(--cyan-20);
  font-style: normal;
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan-05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--cyan);
}
.testimonial-author strong {
  font-family: var(--font-display);
  font-size: 0.86rem;
  display: block;
}
.testimonial-author small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
}
.cta-box {
  background: rgba(59, 130, 246, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  text-align: center;
  position: relative;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-20), transparent);
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto 28px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: calc(var(--nav-h) + 48px) 0 48px;
  text-align: center;
}
.page-hero-compact {
  padding-bottom: 20px;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding-bottom: 40px;
}
.product-card {
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.product-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}
.product-img {
  height: 180px;
  background: linear-gradient(135deg, var(--space-mid), var(--space-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img i {
  font-size: 2rem;
  color: var(--text-muted);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body {
  padding: 20px;
}
.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.product-body p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.product-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
  font-weight: 600;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.product-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 2px 7px;
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  border-radius: var(--radius-xs);
  color: var(--cyan);
}
.product-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.product-kind,
.product-availability {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}
.product-kind {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.1);
  color: var(--text-secondary);
}
.product-availability {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.1);
  color: var(--green);
}
.product-price-note {
  color: var(--magenta);
}
.product-actions-row {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Portal Products Empty State */
.portal-products-empty {
  text-align: center;
  padding: 48px 24px;
}
.portal-products-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  font-size: 1.5rem;
  color: var(--cyan);
}
.portal-products-empty h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.portal-products-empty p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto 20px;
  line-height: 1.7;
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 60px 24px;
  grid-column: 1 / -1;
}
.empty-state .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.3;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--text-secondary);
  max-width: 360px;
  margin: 0 auto;
  font-size: 0.9rem;
}

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 60px;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card {
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.contact-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.contact-card-note {
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.identity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.identity-list li {
  display: grid;
  grid-template-columns: minmax(90px, 110px) 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--glass-border);
}
.identity-list li:first-child {
  border-top: 0;
  padding-top: 0;
}
.identity-list strong {
  color: var(--text-primary);
  font-size: 0.78rem;
  font-family: var(--font-display);
}
.identity-list span {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}
.identity-list.compact {
  gap: 0;
  margin-bottom: 18px;
}
.identity-list.compact li {
  grid-template-columns: minmax(80px, 100px) 1fr;
  padding: 8px 0;
}

.form-box {
  background: rgba(17, 19, 24, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.form-intro {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 0.9rem;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--dur);
  outline: none;
}
.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-10);
}
.form-group.focused label {
  color: var(--cyan);
}
.form-control::placeholder {
  color: var(--text-muted);
}
textarea.form-control {
  min-height: 110px;
  resize: vertical;
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff30' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-decoration: none;
}
.topbar-btn:hover {
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}

/* ===== ADMIN CARD ===== */
.admin-card {
  background: rgba(17, 19, 24, 0.72);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.admin-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}
.admin-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-card-header h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}
.admin-card-body {
  padding: 20px;
}
.admin-card-body.no-pad {
  padding: 0;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.86rem;
}
.admin-table thead th {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-table tbody tr {
  transition: background var(--dur) var(--ease);
}
.admin-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.03);
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  color: var(--cyan);
}
.badge-portal-status {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.1);
  color: var(--text-secondary);
}

/* ===== PORTAL ===== */
.portal-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.portal-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.portal-summary-card {
  padding: 22px;
  background: rgba(17, 19, 24, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.portal-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-accent, var(--cyan));
  opacity: 0;
  transition: opacity var(--dur);
}
.portal-summary-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}
.portal-summary-card:hover::before {
  opacity: 1;
}
.portal-summary-card:nth-child(1) {
  --card-accent: var(--cyan);
}
.portal-summary-card:nth-child(2) {
  --card-accent: var(--amber);
}
.portal-summary-card:nth-child(3) {
  --card-accent: var(--green);
}
.portal-summary-card:nth-child(4) {
  --card-accent: var(--purple);
}
.portal-summary-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-primary);
}
.portal-summary-card span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.portal-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.portal-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
  gap: 20px;
}

.license-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.license-card {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  transition: all var(--dur) var(--ease);
}
.license-card:hover {
  border-color: var(--glass-border-hover);
}
.license-card strong {
  display: block;
  font-size: 0.92rem;
}
.license-card small {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.license-card code {
  display: block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  color: var(--cyan);
  font-family: var(--font-mono);
  overflow-x: auto;
  border: 1px solid rgba(59, 130, 246, 0.06);
  font-size: 0.84rem;
}
.license-card p {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

/* ===== AUTH ===== */
.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  padding-bottom: 60px;
}
.auth-box {
  min-height: 100%;
}
.auth-box .form-box {
  background: rgba(17, 19, 24, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.auth-box .form-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}
.auth-box .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 13px 28px;
  font-size: 0.92rem;
  margin-top: 8px;
}
.auth-form-header {
  text-align: center;
  margin-bottom: 28px;
}
.auth-form-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.auth-form-header p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}
.auth-icon-wrap {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  font-size: 1.1rem;
  color: var(--cyan);
}
.auth-alt-link {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.84rem;
}
.auth-alt-link a {
  color: var(--cyan);
  font-weight: 600;
  margin-left: 4px;
}
.auth-alt-link a:hover {
  color: var(--text-primary);
}

.portal-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.portal-side-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 6px 0 16px;
}
.portal-side-card {
  padding: 28px;
  background: rgba(17, 19, 24, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.portal-side-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.portal-side-subtitle {
  margin: 4px 0 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.portal-intro-card {
  padding: 18px 20px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  position: relative;
  overflow: hidden;
}
.portal-intro-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cyan);
  border-radius: 3px;
}
.portal-intro-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.portal-intro-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 0.88rem;
}

.portal-request-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.portal-request-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.portal-request-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.portal-request-card:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
}
.portal-request-card:hover::after {
  transform: scaleX(1);
}
.portal-request-card i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  color: var(--cyan);
  font-size: 1rem;
}
.portal-request-card strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.portal-request-card span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ===== TICKET THREAD ===== */
.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ticket-message {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  position: relative;
  animation: fadeSlideUp 0.3s var(--ease) backwards;
}
.ticket-message:nth-child(1) {
  animation-delay: 0s;
}
.ticket-message:nth-child(2) {
  animation-delay: 0.04s;
}
.ticket-message:nth-child(3) {
  animation-delay: 0.08s;
}
.ticket-message:nth-child(4) {
  animation-delay: 0.12s;
}
.ticket-message:nth-child(5) {
  animation-delay: 0.16s;
}
.ticket-message-admin {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.1);
}
.ticket-message-admin::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--purple);
  border-radius: 3px;
}
.ticket-message-customer {
  background: rgba(59, 130, 246, 0.04);
  border-color: rgba(59, 130, 246, 0.08);
}
.ticket-message-customer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--cyan);
  border-radius: 3px;
}
.ticket-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.ticket-message-head strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.ticket-message-head span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}
.ticket-message-body {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.9rem;
}
.ticket-reply-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
}
.ticket-reply-section h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.portal-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 24px;
}
.portal-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
}
.portal-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
}

/* ===== CONTENT ===== */
.content-article {
  padding: clamp(24px, 4vw, 40px);
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.content-article h2,
.content-article h3,
.content-article h4 {
  font-family: var(--font-display);
  margin: 0 0 12px;
}
.content-article p,
.content-article li {
  color: var(--text-secondary);
  line-height: 1.75;
}
.content-article p,
.content-article ul,
.content-article ol {
  margin: 0 0 16px;
}
.content-article ul,
.content-article ol {
  padding-left: 20px;
}
.content-article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== ALERTS ===== */
.alert {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-success {
  background: var(--green-20);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--green);
}
.alert-error {
  background: var(--red-20);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--red);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  padding-top: 64px;
  border-top: 1px solid var(--glass-border);
  z-index: 2;
}
.footer-glow {
  display: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand .logo {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.social-link:hover {
  border-color: var(--glass-border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  transition: all var(--dur);
}
.footer-col a:hover {
  color: var(--cyan);
}
.footer-col p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  margin-bottom: 4px;
}
.footer-legal-meta {
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.footer-icon {
  color: var(--text-muted);
  margin-right: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.76rem;
}

/* ===== SCROLL REVEAL ===== */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
html.js-reveal .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
html.js-reveal .reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
html.js-reveal .reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
html.js-reveal .reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
html.js-reveal .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
html.js-reveal .stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
html.js-reveal .stagger.visible > *:nth-child(1) {
  transition-delay: 0.03s;
}
html.js-reveal .stagger.visible > *:nth-child(2) {
  transition-delay: 0.06s;
}
html.js-reveal .stagger.visible > *:nth-child(3) {
  transition-delay: 0.09s;
}
html.js-reveal .stagger.visible > *:nth-child(4) {
  transition-delay: 0.12s;
}
html.js-reveal .stagger.visible > *:nth-child(5) {
  transition-delay: 0.15s;
}
html.js-reveal .stagger.visible > *:nth-child(6) {
  transition-delay: 0.18s;
}
html.js-reveal .stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== KEYFRAMES ===== */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes shiftGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ===== HERO INTRO ===== */
.hero-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--space-void);
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 0.1s linear;
}
.hero-intro-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(59, 130, 246, 0.04),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-intro-overlay.intro-glow::before {
  opacity: 1;
}
.hero-intro-text {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 14vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-align: center;
  will-change: transform, opacity;
  position: relative;
  z-index: 1;
}
.hero-intro-text .intro-seen {
  display: block;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(30px);
  animation: introWordReveal 0.8s var(--ease) 0.3s forwards;
}
.hero-intro-text .intro-tech {
  display: block;
  background: linear-gradient(
    135deg,
    var(--cyan),
    var(--purple) 60%,
    var(--magenta)
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(30px);
  animation:
    introWordReveal 0.8s var(--ease) 0.6s forwards,
    shiftGradient 5s ease-in-out 1.4s infinite;
}
.hero-intro-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.1vw, 0.84rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: introWordReveal 0.6s var(--ease) 1s forwards;
  position: relative;
  z-index: 1;
}
.hero-intro-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: introWordReveal 0.6s var(--ease) 1.6s forwards;
  z-index: 1;
}
.hero-intro-scroll span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-intro-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-intro-overlay.intro-done {
  opacity: 0;
  pointer-events: none;
}
@keyframes introWordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}
body.intro-active {
  overflow: hidden;
}
body.intro-active .nav {
  opacity: 0;
  transform: translateY(-100%);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
body.intro-scrolling .nav {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTENT UNAVAILABLE ===== */
.content-unavailable {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 24px 60px;
}
.content-unavailable-box {
  text-align: center;
  max-width: 440px;
  padding: 48px 36px;
  background: rgba(17, 19, 24, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  animation: fadeSlideUp 0.5s var(--ease);
}
.content-unavailable-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--cyan-05);
  border: 1px solid rgba(59, 130, 246, 0.08);
  font-size: 1.5rem;
  color: var(--text-muted);
}
.content-unavailable-box h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.content-unavailable-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
  font-size: 0.9rem;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toast {
  padding: 12px 18px;
  background: var(--glass-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.toast-success {
  border-left: 3px solid var(--green);
  color: var(--green);
}
.toast-error {
  border-left: 3px solid var(--red);
  color: var(--red);
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.btn:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--cyan-20);
}
.form-control:focus-visible {
  outline: none;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 10px 20px;
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.02) 25%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.02) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  z-index: 1001;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--cyan);
}
.page-content {
  animation: pageIn 0.4s var(--ease);
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--glass-border);
}
.process-step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--glass-solid);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
  z-index: 2;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.process-step p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.55;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-shell,
  .insight-grid,
  .portal-columns,
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .about-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .process-steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 36px;
    gap: 4px;
    transition: right var(--dur-slow) var(--ease);
    border-left: 1px solid var(--glass-border);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 12px 18px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .hero-content {
    text-align: center;
  }
  .hero-title {
    max-width: none;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons,
  .cta-actions {
    justify-content: center;
  }
  .hero-metrics,
  .portal-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .identity-list li,
  .identity-list.compact li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .portal-toolbar {
    justify-content: flex-start;
  }
  .features-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero-metrics,
  .portal-summary-grid {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hero-intro-text {
    font-size: clamp(2.8rem, 16vw, 5rem);
  }
  .hero-intro-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }
}

/* ================================================================
   PROFESSIONAL ENHANCEMENTS — Animations, Polish, Missing Styles
   ================================================================ */

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== CARD HOVER MICRO-INTERACTIONS ===== */
.service-card,
.product-card,
.team-card,
.testimonial-card,
.feature-card,
.insight-card,
.contact-card,
.portal-summary-card,
.hero-metric,
.stat-item,
.portal-request-card,
.license-card {
  will-change: transform;
}

/* ===== GRADIENT LINE ACCENTS ===== */
.section + .section::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-20), var(--purple-20));
  margin: 0 auto;
  position: relative;
  top: calc(clamp(-72px, -10vw, -120px) / 2);
}

/* ===== BUTTON PRESS FEEDBACK ===== */
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn-primary:active {
  box-shadow: 0 0 0 rgba(59, 130, 246, 0);
}

/* ===== ICON FLOAT ANIMATION ===== */
@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.service-card:hover .service-icon-wrap,
.feature-card:hover .feature-icon,
.portal-request-card:hover i {
  animation: iconFloat 1.2s var(--ease) infinite;
}

/* ===== NUMBER COUNTER GLOW ===== */
.stat-val,
.hero-metric strong,
.portal-summary-card strong {
  transition: color var(--dur) var(--ease);
}
.stat-item:hover .stat-val {
  color: var(--cyan);
}

/* ===== CARD GRADIENT BORDER ON HOVER (subtle) ===== */
.service-card::after,
.insight-card::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.15),
    rgba(99, 102, 241, 0.1),
    transparent 60%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}
.service-card:hover::after,
.insight-card:hover::after,
.contact-card:hover::after {
  opacity: 1;
}

/* ===== HERO BADGE PULSE ===== */
@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.15);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
  }
}
.hero-badge {
  animation: badgePulse 4s ease-in-out infinite;
}

/* ===== HERO PANEL SHINE SWEEP ===== */
.hero-panel::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(59, 130, 246, 0.03) 45%,
    rgba(99, 102, 241, 0.02) 50%,
    transparent 55%
  );
  transform: rotate(0deg);
  animation: panelSweep 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes panelSweep {
  0%,
  100% {
    transform: translateX(-30%) rotate(0deg);
  }
  50% {
    transform: translateX(30%) rotate(2deg);
  }
}

/* ===== CTA BOX BREATHE ===== */
.cta-box {
  transition: border-color 3s ease-in-out;
  animation: ctaBreathe 6s ease-in-out infinite;
}
@keyframes ctaBreathe {
  0%,
  100% {
    border-color: rgba(59, 130, 246, 0.1);
  }
  50% {
    border-color: rgba(59, 130, 246, 0.18);
  }
}

/* ===== TESTIMONIAL CARD GRADIENT BG ON HOVER ===== */
.testimonial-card {
  transition: all var(--dur) var(--ease);
}
.testimonial-card:hover {
  border-color: var(--glass-border-hover);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.03),
    rgba(17, 19, 24, 0.6)
  );
}

/* ===== SMOOTH TAG HOVER ===== */
.tag {
  transition: all var(--dur) var(--ease);
}
.tag:hover {
  background: var(--cyan-05);
  border-color: rgba(59, 130, 246, 0.12);
  color: var(--cyan);
}
.product-tag {
  transition: all var(--dur) var(--ease);
}
.product-tag:hover {
  background: var(--cyan-10);
}

/* ===== PORTAL SUMMARY CARD COUNTER ENTRANCE ===== */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.portal-summary-card strong {
  animation: countUp 0.4s var(--ease) backwards;
}
.portal-summary-card:nth-child(1) strong {
  animation-delay: 0.05s;
}
.portal-summary-card:nth-child(2) strong {
  animation-delay: 0.1s;
}
.portal-summary-card:nth-child(3) strong {
  animation-delay: 0.15s;
}
.portal-summary-card:nth-child(4) strong {
  animation-delay: 0.2s;
}

/* ===== FORM FOCUS RING ===== */
.form-control {
  transition: all var(--dur) var(--ease);
}
.form-control:focus {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 3px var(--cyan-10),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== LINK UNDERLINE ANIMATION ===== */
.content-article a {
  background-image: linear-gradient(var(--cyan), var(--cyan));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease);
  text-decoration: none;
}
.content-article a:hover {
  background-size: 100% 1px;
}

/* ===== FOOTER LINKS SLIDE ===== */
.footer-col a {
  position: relative;
  display: inline-block;
}
.footer-col a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--dur) var(--ease);
}
.footer-col a:hover::after {
  width: 100%;
}

/* ===== SOCIAL LINK HOVER GLOW ===== */
.social-link {
  transition: all var(--dur) var(--ease);
}
.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

/* ===== SCROLL PROGRESS GLOW ===== */
.scroll-progress {
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

/* ===== ALERT ENTRANCE ===== */
.alert {
  animation: alertSlide 0.4s var(--ease);
}
@keyframes alertSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== AUTH BOX ENTRANCE ===== */
.auth-box .form-box {
  animation: fadeSlideUp 0.5s var(--ease);
}

/* ===== PORTAL INTRO CARD PULSE ===== */
.portal-intro-card {
  transition: all var(--dur) var(--ease);
}
.portal-intro-card:hover {
  border-color: rgba(59, 130, 246, 0.15);
  background: rgba(59, 130, 246, 0.08);
}

/* ===== BREADCRUMB SEPARATOR ===== */
.breadcrumb li + li::before,
.breadcrumb span.sep {
  color: var(--text-muted);
  margin: 0 4px;
}

/* ===== IMAGE HOVER ===== */
.product-img img,
.team-media img {
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-img img {
  transform: scale(1.04);
}
.team-card:hover .team-media img {
  transform: scale(1.06);
}
.product-img {
  overflow: hidden;
}

/* ===== TRUST CARD (contact page) ===== */
.contact-card-trust {
  border-color: rgba(245, 158, 11, 0.12);
  background: rgba(245, 158, 11, 0.02);
}
.contact-card-trust:hover {
  border-color: rgba(245, 158, 11, 0.2);
}

/* ===== PORTAL CARD (contact page) ===== */
.contact-portal-card {
  border-color: rgba(59, 130, 246, 0.1);
  background: rgba(59, 130, 246, 0.02);
}
.contact-portal-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

/* ===== PORTAL TABLE PORTAL-SPECIFIC ===== */
.portal-table th {
  font-size: 0.7rem;
}
.portal-table td {
  font-size: 0.84rem;
  padding: 10px 14px;
}

/* ===== LOADING SKELETON ===== */
.skeleton {
  min-height: 20px;
}
.skeleton-card {
  height: 200px;
  border-radius: var(--radius);
}
.skeleton-text {
  height: 14px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-text:last-child {
  width: 60%;
}

/* ===== SMOOTH PAGE TRANSITION ===== */
.page-content {
  animation: pageIn 0.4s var(--ease);
}

/* ===== TICKET STATUS BADGES ===== */
.badge-new {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.15);
  color: var(--cyan);
}
.badge-open {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.12);
  color: var(--amber);
}
.badge-answered {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.12);
  color: var(--green);
}
.badge-closed {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-border);
  color: var(--text-muted);
}

/* ===== DASH GRID (checkout) ===== */
.dash-grid-equal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.message-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.msg-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.meta-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
}
.meta-item:last-child {
  border-bottom: none;
}
.meta-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.meta-value {
  font-size: 0.88rem;
  color: var(--text-primary);
}

/* ===== SMOOTH SCROLL INDICATOR (hero) ===== */
@keyframes scrollIndicator {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ===== FOCUS WITHIN FORM GROUP ===== */
.form-group:focus-within label {
  color: var(--cyan);
}

/* ===== LOGO CURSOR BLINK ===== */
@keyframes cursorBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.logo-bracket:last-child {
  animation: cursorBlink 1.2s step-end infinite;
}

/* ===== REDUCED MOTION OVERRIDE ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-panel::after,
  .hero-badge,
  .logo-bracket:last-child,
  .scroll-progress {
    animation: none !important;
  }
}
