/* ===== DESIGN TOKENS ===== */
:root {
  /* Primary Palette - Navy & Gold */
  --primary-900: #0a1128;
  --primary-800: #0f1b3d;
  --primary-700: #152352;
  --primary-600: #1b2d6b;
  --primary-500: #243b80;
  --primary-400: #3a5199;
  --primary-300: #5a71b3;

  /* Accent - Gold */
  --accent-600: #b8860b;
  --accent-500: #d4a017;
  --accent-400: #f0c040;
  --accent-300: #f5d76e;
  --accent-200: #fae8a0;

  /* Neutral */
  --neutral-900: #111827;
  --neutral-800: #1f2937;
  --neutral-700: #374151;
  --neutral-600: #4b5563;
  --neutral-500: #6b7280;
  --neutral-400: #9ca3af;
  --neutral-300: #d1d5db;
  --neutral-200: #e5e7eb;
  --neutral-100: #f3f4f6;
  --neutral-50: #f9fafb;

  /* Semantic */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Surface & Glass */
  --surface-glass: rgba(255, 255, 255, 0.06);
  --surface-glass-hover: rgba(255, 255, 255, 0.1);
  --surface-card: rgba(15, 27, 61, 0.85);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-active: rgba(212, 160, 23, 0.5);

  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(212, 160, 23, 0.15);
  --shadow-glow-strong: 0 0 40px rgba(212, 160, 23, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--primary-900);
  color: var(--neutral-100);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 40%, #0d1f4d 70%, var(--primary-900) 100%);
}

.bg-animated::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(212, 160, 23, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(58, 81, 153, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(212, 160, 23, 0.03) 0%, transparent 40%);
  animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-2%, 1%) scale(1.02); }
  66% { transform: translate(1%, -1%) scale(0.98); }
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-400);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) scale(1);
  }
}

/* ===== MAIN CONTAINER ===== */
.main-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  background: var(--surface-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.8s var(--transition-bounce) both;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--surface-card) 0%, transparent 100%);
}

.hero-badge {
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(212, 160, 23, 0.9);
  color: var(--primary-900);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s ease-in-out infinite;
  backdrop-filter: blur(4px);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(212, 160, 23, 0); }
}

.hero-content {
  padding: 0 var(--space-2xl) var(--space-2xl);
  position: relative;
  z-index: 1;
  margin-top: -40px;
}

.company-logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.company-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--accent-500);
  box-shadow: var(--shadow-glow);
  background: var(--primary-800);
}

.company-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-400);
  letter-spacing: 0.3px;
}

.company-info p {
  font-size: 0.8rem;
  color: var(--neutral-400);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-300) 50%, var(--accent-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  color: var(--neutral-300);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* Requirements Grid */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--surface-glass);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  transition: var(--transition-base);
  animation: fadeInUp 0.5s ease both;
}

.requirement-item:hover {
  background: var(--surface-glass-hover);
  border-color: var(--border-glass-active);
  transform: translateX(4px);
}

.requirement-item .icon {
  color: var(--accent-400);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.requirement-item span {
  font-size: 0.9rem;
  color: var(--neutral-200);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.requirement-item:nth-child(1) { animation-delay: 0.1s; }
.requirement-item:nth-child(2) { animation-delay: 0.15s; }
.requirement-item:nth-child(3) { animation-delay: 0.2s; }
.requirement-item:nth-child(4) { animation-delay: 0.25s; }
.requirement-item:nth-child(5) { animation-delay: 0.3s; }
.requirement-item:nth-child(6) { animation-delay: 0.35s; }

/* Contact Info Bar */
.contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08) 0%, rgba(212, 160, 23, 0.03) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 160, 23, 0.15);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: var(--neutral-300);
}

.contact-item .icon {
  color: var(--accent-400);
}

.contact-item a {
  color: var(--accent-300);
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-item a:hover {
  color: var(--accent-400);
  text-decoration: underline;
}

/* ===== FORM SECTION ===== */
.form-section {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.8s var(--transition-bounce) 0.3s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-header {
  padding: var(--space-2xl);
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  background: linear-gradient(180deg, rgba(212, 160, 23, 0.06) 0%, transparent 100%);
}

.form-header h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.form-header p {
  font-size: 0.9rem;
  color: var(--neutral-400);
}

/* Step Progress */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: var(--space-lg) var(--space-2xl);
  background: rgba(0, 0, 0, 0.15);
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--neutral-700);
  color: var(--neutral-400);
  border: 2px solid var(--neutral-600);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.step-label {
  font-size: 0.8rem;
  color: var(--neutral-500);
  font-weight: 500;
  transition: var(--transition-base);
  white-space: nowrap;
}

.step.active .step-number {
  background: var(--accent-500);
  color: var(--primary-900);
  border-color: var(--accent-400);
  box-shadow: var(--shadow-glow);
}

.step.active .step-label {
  color: var(--accent-300);
}

.step.completed .step-number {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

.step.completed .step-label {
  color: var(--neutral-300);
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--neutral-700);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.step-connector.active {
  background: var(--accent-500);
}

/* Form Body */
.form-body {
  padding: var(--space-2xl);
}

.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.step-title .icon {
  color: var(--accent-400);
}

.step-subtitle {
  font-size: 0.85rem;
  color: var(--neutral-400);
  margin-bottom: var(--space-xl);
}

/* Form Groups */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-lg);
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-200);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.2px;
}

.form-label .required {
  color: var(--accent-400);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--neutral-500);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-500);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.form-select {
  cursor: pointer;
  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='%239ca3af' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select option {
  background: var(--primary-800);
  color: #fff;
}

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

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 4px;
  display: none;
  align-items: center;
  gap: 4px;
}

.error-message.show {
  display: flex;
}

/* Radio & Checkbox Groups */
.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.radio-option,
.checkbox-option {
  position: relative;
}

.radio-option input,
.checkbox-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label,
.checkbox-option label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 18px;
  background: var(--surface-glass);
  border: 1.5px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--neutral-300);
  transition: var(--transition-base);
  user-select: none;
}

.radio-option label:hover,
.checkbox-option label:hover {
  background: var(--surface-glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-option input:checked + label,
.checkbox-option input:checked + label {
  background: rgba(212, 160, 23, 0.12);
  border-color: var(--accent-500);
  color: var(--accent-300);
}

/* File Upload */
.file-upload-area {
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  background: rgba(255, 255, 255, 0.02);
}

.file-upload-area:hover {
  border-color: var(--accent-500);
  background: rgba(212, 160, 23, 0.03);
}

.file-upload-area.dragover {
  border-color: var(--accent-400);
  background: rgba(212, 160, 23, 0.06);
  transform: scale(1.01);
}

.file-upload-area .upload-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.file-upload-area .upload-text {
  font-size: 0.95rem;
  color: var(--neutral-300);
  margin-bottom: var(--space-xs);
}

.file-upload-area .upload-hint {
  font-size: 0.8rem;
  color: var(--neutral-500);
}

.file-upload-area .upload-text span {
  color: var(--accent-400);
  font-weight: 600;
  text-decoration: underline;
}

.file-info {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
}

.file-info.show {
  display: flex;
}

.file-info .file-name {
  flex: 1;
  font-size: 0.85rem;
  color: var(--success);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-info .file-remove {
  cursor: pointer;
  color: var(--neutral-400);
  font-size: 1rem;
  transition: var(--transition-fast);
  background: none;
  border: none;
}

.file-info .file-remove:hover {
  color: var(--error);
}

/* ===== BUTTONS ===== */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
  margin-top: var(--space-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%);
  color: var(--primary-900);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-strong);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--surface-glass);
  color: var(--neutral-300);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: var(--surface-glass-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== SUCCESS OVERLAY ===== */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.success-overlay.show {
  display: flex;
}

.success-card {
  background: var(--surface-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.5s var(--transition-bounce);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 2px solid rgba(16, 185, 129, 0.3);
  animation: checkBounce 0.6s 0.3s var(--transition-bounce) both;
}

@keyframes checkBounce {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.success-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.success-card p {
  color: var(--neutral-400);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* ===== LOADING SPINNER ===== */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner.show {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
.form-footer {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  color: var(--neutral-500);
  font-size: 0.8rem;
}

.form-footer a {
  color: var(--accent-400);
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-container {
    padding: var(--space-md) var(--space-sm);
  }

  .hero-content {
    padding: 0 var(--space-lg) var(--space-lg);
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-image-wrapper {
    height: 160px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-body {
    padding: var(--space-lg);
  }

  .form-header {
    padding: var(--space-lg);
  }

  .step-progress {
    padding: var(--space-md);
    overflow-x: auto;
  }

  .step-label {
    display: none;
  }

  .step-connector {
    width: 24px;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .contact-bar {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .company-logo {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem;
  }

  .form-header h2 {
    font-size: 1.3rem;
  }

  .success-card {
    padding: var(--space-2xl);
  }
}

/* ===== UTILITY ANIMATIONS ===== */
.animate-in {
  animation: fadeInUp 0.5s ease both;
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--neutral-800);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

/* Character counter */
.char-counter {
  font-size: 0.75rem;
  color: var(--neutral-500);
  text-align: right;
  margin-top: 4px;
}

.char-counter.warning {
  color: var(--warning);
}

.char-counter.limit {
  color: var(--error);
}
