/* Addicted Software: shared styles */

body {
  font-family: "Inter", system-ui, sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -10px rgba(99, 102, 241, 0.18);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-scrolled {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* Hero: 2D canvas background (homepage) */
.hero-with-gradient .hero-gradient-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-with-gradient #canvas {
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Contact form */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #1e293b;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.input-field:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.input-field::placeholder {
  color: #94a3b8;
}

/* Native selects: custom arrow + comfortable right padding */
select.input-field {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.125rem 1.125rem;
  background-position: right 0.875rem center;
  background-attachment: scroll;
}

/* File input: Lever-style zone */
.file-upload-zone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}

.file-upload-zone:hover,
.file-upload-zone:focus-within {
  border-color: #818cf8;
  background: rgba(99, 102, 241, 0.04);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
