/* ─────────────────────────────────────────────────────────────
   ZumiLabs Shared Layout & Component Styles
   ───────────────────────────────────────────────────────────── */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.brand-logo img,
.logo-mark,
img.logo-mark {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}


main {
  display: block;
  width: 100%;
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 96px 0;
  position: relative;
}

@media (max-width: 960px) {
  .section {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }
}

/* ─────────────────────────────────────────────────────────────
   Pure GPU-Accelerated Fast Entrance Animations for Product Cards
   Optimised for 60fps/120fps smooth hardware rendering (no clip-path)
   ───────────────────────────────────────────────────────────── */
.product-card,
.product-entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Watermark Text */
.product-watermark {
  position: absolute;
  right: clamp(1.5rem, 3.5vw, 3.5rem);
  bottom: 4%;
  font: 800 clamp(3.2rem, 8.5vw, 8.8rem)/0.78 var(--font-recursive);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent, var(--text)) 18%, transparent);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  user-select: none;
  opacity: 0;
  transform: translateY(16px);
  will-change: opacity, transform;
  transition: opacity 0.48s cubic-bezier(0.16, 0.85, 0.22, 1), transform 0.48s cubic-bezier(0.16, 0.85, 0.22, 1);
}


/* Product Visual / Image Placeholder */
.product-card .product-visual,
.product-card .product-placeholder,
.product-entry .product-visual {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
  transition: opacity 0.52s cubic-bezier(0.16, 0.85, 0.22, 1) 0.08s, transform 0.52s cubic-bezier(0.16, 0.85, 0.22, 1) 0.08s;
}

/* Left-Side Copy Elements */
.product-copy > * {
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
  transition: opacity 0.45s cubic-bezier(0.16, 0.85, 0.22, 1), transform 0.45s cubic-bezier(0.16, 0.85, 0.22, 1);
}

/* Single Active Trigger Class: .in-view */
.in-view .product-watermark,
.step1-watermark .product-watermark {
  opacity: 1;
  transform: translateY(0);
}

.in-view .product-visual,
.in-view .product-placeholder,
.step2-visual .product-visual,
.step2-visual .product-placeholder {
  opacity: 1;
  transform: translateY(0);
}

.in-view .product-copy > *,
.step3-copy .product-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.in-view .product-copy > *:nth-child(1), .step3-copy .product-copy > *:nth-child(1) { transition-delay: 0.08s; }
.in-view .product-copy > *:nth-child(2), .step3-copy .product-copy > *:nth-child(2) { transition-delay: 0.16s; }
.in-view .product-copy > *:nth-child(3), .step3-copy .product-copy > *:nth-child(3) { transition-delay: 0.24s; }
.in-view .product-copy > *:nth-child(4), .step3-copy .product-copy > *:nth-child(4) { transition-delay: 0.32s; }
.in-view .product-copy > *:nth-child(5), .step3-copy .product-copy > *:nth-child(5) { transition-delay: 0.40s; }
.in-view .product-copy > *:nth-child(6), .step3-copy .product-copy > *:nth-child(6) { transition-delay: 0.48s; }




/* Standardized Product Screenshot Specimen Frame */
.product-visual-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--accent, var(--zumilabs)) 45%, var(--line));
  background: color-mix(in srgb, var(--bg-soft) 95%, transparent);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--accent, var(--zumilabs)) 16%, rgba(0, 0, 0, 0.4));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10;
  will-change: opacity, transform;
  transition: opacity 0.52s cubic-bezier(0.16, 0.85, 0.22, 1) 0.08s, transform 0.52s cubic-bezier(0.16, 0.85, 0.22, 1) 0.08s;
}

.in-view .product-visual-frame,
.step2-visual .product-visual-frame {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle Accent Tint Overlay for Visual Cohesion & Glow */
.product-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent, var(--zumilabs)) 16%, transparent) 0%,
    transparent 55%,
    color-mix(in srgb, var(--bg) 35%, transparent) 100%
  );
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.35s ease;
}

.product-card:hover .product-visual-frame::after,
.product-entry:hover .product-visual-frame::after {
  opacity: 0.5;
}


.product-visual-frame .browser-bar {
  height: 32px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-family: var(--font-recursive-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.product-visual-frame .browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.product-visual-frame .browser-dot.red { background: #ff5f56; }
.product-visual-frame .browser-dot.yellow { background: #ffbd2e; }
.product-visual-frame .browser-dot.green { background: #27c93f; }

.product-visual-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

/* Ken Burns Rotating Slideshow Container & Tall Image Pan Down */
.slideshow-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #070913;
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  overflow: hidden;
}

.slideshow-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Ken Burns Effect (Slow Zoom & Gentle Pan) */
.slideshow-slide.ken-burns.active img {
  animation: kenburns-zoom 7.5s ease-in-out infinite alternate;
}

@keyframes kenburns-zoom {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}

/* Tall Image Vertical Pan Down Effect */
.slideshow-slide.pan-down img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: contain;
  object-position: top center;
}

.slideshow-slide.pan-down.active img {
  animation: pan-down-scroll 8.5s ease-in-out infinite alternate;
}

@keyframes pan-down-scroll {
  0% { transform: translateY(0); }
  15% { transform: translateY(0); }
  85% { transform: translateY(calc(-100% + 280px)); }
  100% { transform: translateY(calc(-100% + 280px)); }
}


/* CloudSend Multi-Target Gateway Architecture Specimen */
.cloudsend-specimen-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 25% 50%, color-mix(in srgb, var(--cloudsend, #648CFF) 18%, #070913), #070913);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 16px;
  overflow: hidden;
}

.cs-source-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-soft) 90%, var(--cloudsend, #648CFF));
  border: 1px solid color-mix(in srgb, var(--cloudsend, #648CFF) 45%, var(--line));
  box-shadow: 0 8px 30px color-mix(in srgb, var(--cloudsend, #648CFF) 25%, transparent);
  font-family: var(--font-recursive-mono);
  font-size: 0.75rem;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-flow-stream {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--cloudsend, #648CFF), color-mix(in srgb, var(--cloudsend, #648CFF) 20%, transparent));
  position: relative;
}

.cs-flow-stream .pulse-beam {
  position: absolute;
  top: -3px;
  left: 0;
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 0 12px var(--cloudsend, #648CFF);
  animation: cs-beam-flow 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes cs-beam-flow {
  0% { left: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.cs-target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex-shrink: 0;
}

.cs-target {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border: 1px solid var(--line);
  font-family: var(--font-recursive-mono);
  font-size: 0.72rem;
  color: var(--muted);
  transition: all 0.3s ease;
}

.cs-target:hover {
  border-color: var(--cloudsend, #648CFF);
  color: var(--text);
  box-shadow: 0 0 12px color-mix(in srgb, var(--cloudsend, #648CFF) 30%, transparent);
}

.specimen-stage {

  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 16px;
  overflow: hidden;
  pointer-events: none;
}

.specimen-window {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--accent, var(--studio)) 48%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg-soft) 88%, transparent);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.specimen-header {
  height: 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font: 600 0.64rem/1 var(--font-recursive-mono);
  color: var(--muted);
}
.specimen-header i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent, var(--studio)); opacity: 0.8;
}

.specimen-body {
  padding: 12px;
}



/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  z-index: 1000;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Global Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.nav {
  width: var(--page);
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

/* Brand Logo System */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 720;
  letter-spacing: -0.025em;
  font-size: 1.05rem;
}

.brand-mark-svg {
  width: 32px;
  height: 32px;
  display: inline-block;
  flex-shrink: 0;
}

.brand-mark-svg .outline {
  stroke: var(--logo-outline, #f5f3fb);
}

.brand-mark-svg .zmark {
  fill: var(--logo-outline, #f5f3fb);
}

.brand-wordmark-text {
  font-family: var(--font-recursive);
  font-variation-settings: "MONO" 0, "CASL" 0.02, "wght" 700, "slnt" 0, "CRSV" 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

/* Header Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--panel);
}

/* Navigation Actions & Theme Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ─────────────────────────────────────────────────────────────
   High-Impact CTA Button System
   ───────────────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-recursive);
  font-variation-settings: "MONO" 0, "CASL" 0.05, "wght" 760, "slnt" 0, "CRSV" 0;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.16, 0.85, 0.22, 1), box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.button:active {
  transform: translateY(0) scale(0.98);
}

/* Primary CTA Button - Vibrant Brand Accent Fill & Outer Glow */
.button.primary {
  background: linear-gradient(135deg, var(--accent, var(--zumilabs)), color-mix(in srgb, var(--accent, var(--zumilabs)) 82%, #000));
  color: #0B0D16;
  border: 1px solid color-mix(in srgb, var(--accent, var(--zumilabs)) 88%, #ffffff);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent, var(--zumilabs)) 35%, transparent);
}

.button.primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px color-mix(in srgb, var(--accent, var(--zumilabs)) 52%, transparent);
  color: #000000;
  filter: brightness(1.08);
}

/* Secondary / Ghost CTA Button - Sleek Frosted Glass Outline */
.button.ghost {
  background: color-mix(in srgb, var(--panel-strong) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.button.ghost:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--panel-strong) 100%, transparent);
  border-color: color-mix(in srgb, var(--accent, var(--text)) 50%, var(--line-strong));
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.theme-toggle {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}


.theme-toggle:hover {
  border-color: var(--line-strong);
  background: var(--panel-strong);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* Animated Signal Strip */
.signal-strip {
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: relative;
  user-select: none;
}

.signal-strip__track {
  display: inline-flex;
  animation: signal-scroll 34s linear infinite;
}

@keyframes signal-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.signal-strip:hover .signal-strip__track {
  animation-play-state: paused;
}

.signal-strip__track span {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 34px;
}

.signal-strip__track span::after {
  content: "✦";
  margin-left: 34px;
  color: var(--line-strong);
}

@media (prefers-reduced-motion: reduce) {
  .signal-strip__track {
    animation: none;
  }
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 60px 0 40px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-container {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-statement {
  max-width: 380px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.footer-col a {
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  width: var(--page);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

/* Responsive Mobile Navigation Panel */
.mobile-panel {
  display: none;
}

.mobile-panel.open {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  margin: 10px auto 16px;
  width: calc(100% - 32px);
  position: relative;
  z-index: 100;
}

.mobile-panel a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.18s ease, background 0.18s ease;
}

.mobile-panel a:hover {
  color: var(--text);
  background: var(--panel);
}

.mobile-menu-btn {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Responsive Nav Action Buttons (Mobile Short Label) */
.nav-actions .button.primary .mobile-text {
  display: none;
}

@media (max-width: 640px) {
  .nav-actions .button.primary .desktop-text {
    display: none !important;
  }
  .nav-actions .button.primary .mobile-text {
    display: inline !important;
  }
  .nav-actions .button.primary {
    padding: 0 12px;
    min-height: 36px;
    font-size: 0.84rem;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-soft);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .site-footer {
    padding: 32px 0 24px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    gap: 8px;
  }
  .footer-statement {
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .footer-col {
    gap: 6px;
  }
  .footer-col h4 {
    font-size: 0.84rem;
    margin: 0 0 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .footer-col a {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .footer-bottom {
    margin-top: 20px;
    padding-top: 14px;
    font-size: 0.76rem;
  }
}

@media (max-width: 540px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: left;
    align-items: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────────
   Netlify Contact Form Modal Component
   ───────────────────────────────────────────────────────────── */
.modal-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 520px;
  width: calc(100% - 32px);
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line-strong, rgba(255, 255, 255, 0.15));
  margin: auto;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.modal-dialog::backdrop {
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content {
  background: color-mix(in srgb, var(--panel, #121524) 94%, #000);
  color: var(--text, #f5f3fb);
  padding: 32px;
  position: relative;
  border-radius: var(--radius-md, 16px);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.modal-header p {
  color: var(--muted, #949aab);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.45;
}

.modal-close-btn {
  background: var(--panel-strong, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  color: var(--muted, #949aab);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--line-strong, rgba(255, 255, 255, 0.2));
  color: var(--text, #fff);
  transform: scale(1.05);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #949aab);
}

.form-control {
  font-family: var(--font-recursive, inherit);
  font-size: 0.95rem;
  padding: 12px 14px;
  min-height: 48px;
  background: var(--bg-soft, #0b0d16);
  border: 1px solid var(--line-strong, rgba(255, 255, 255, 0.15));
  border-radius: var(--radius-sm, 8px);
  color: var(--text, #f5f3fb);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent, #6366f1);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #6366f1) 25%, transparent);
}

textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

.modal-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.modal-status-state {
  display: none;
  text-align: center;
  padding: 24px 12px;
}

.modal-status-state.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.modal-status-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, #6366f1) 20%, transparent);
  border: 1px solid var(--accent, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.visually-hidden-field {
  display: none !important;
}

@media (max-width: 640px) {
  .modal-content {
    padding: 24px 18px;
  }
}

