/* ═══════════════════════════════════════════
   CONTACT PAGE STYLES
═══════════════════════════════════════════ */

/* ── Override section padding for contact page ─── */
.section {
  padding-block: var(--space-md);
}

.section__header {
  margin-bottom: var(--space-lg);
}

/* ── Hero Contact ────────────────────────── */
.contact-hero {
  padding-block: var(--space-xl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.contact-hero .hero__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  margin-bottom: var(--space-lg);
}

.contact-hero .hero__sub {
  margin-bottom: var(--space-xl);
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(69, 85, 254, 0.08);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.highlight-item:hover {
  background: rgba(69, 85, 254, 0.15);
  border-color: var(--clr-violet);
  transform: translateY(-2px);
}

.highlight-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.highlight-text {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

.highlight-text strong {
  color: var(--clr-violet);
  font-weight: 600;
}

/* ── Benefits Section ────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.benefit {
  padding: 2rem;
  background: rgba(32, 35, 66, 0.3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

.benefit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-v-b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.benefit:hover {
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.1);
  transform: translateY(-4px);
}

.benefit:hover::before {
  transform: scaleX(1);
}

.benefit__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--grad-v-b);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
}

.benefit__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--clr-text);
}

.benefit__desc {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ── Process Section ─────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: var(--space-xl);
  align-items: start;
}

.process-step {
  padding: 2rem;
  background: rgba(32, 35, 66, 0.3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: all 0.3s var(--ease-out);
}

.process-step:hover {
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.1);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--grad-main);
  background-size: 200% 200%;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  animation: gradientShift 4s ease infinite;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--clr-text);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-icon {
  font-size: 2.5rem;
  margin-top: 1rem;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-violet);
  opacity: 0.5;
}

/* ── Info Cards ──────────────────────────– */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.info-card {
  padding: 2rem;
  background: rgba(32, 35, 66, 0.3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

.info-card:hover {
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.1);
  transform: translateY(-4px);
}

.info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  padding: 0.75rem;
  background: rgba(69, 85, 254, 0.1);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
}

.info-card__icon svg {
  width: 32px;
  height: 32px;
}

.info-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--clr-text);
}

.info-card__desc {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ── Form Section ────────────────────────– */
.form-section {
  background: var(--clr-bg);
  padding-block: var(--space-md);
}

.form-header-intro {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.form-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
  color: var(--clr-text);
}

.form-intro-desc {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.form-intro-badges {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(69, 85, 254, 0.1);
  border: 1px solid var(--clr-border);
  border-radius: 99px;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.form-wrapper {
  width: min(700px, 100% - var(--space-lg));
  margin: 0 auto;
  padding: var(--space-xl);
  background: rgba(32, 35, 66, 0.4);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.form-header h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-sm);
  color: var(--clr-text);
}

.form-header p {
  font-size: 1rem;
  color: var(--clr-text-muted);
}

/* ── Progress Bar ────────────────────────── */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(69, 85, 254, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.progress-fill {
  height: 100%;
  background: var(--grad-v-b);
  border-radius: 2px;
  transition: width 0.6s var(--ease-out);
  width: 20%;
}

.progress-text {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  text-align: right;
  margin-bottom: var(--space-lg);
}

/* ── Form Content ────────────────────────– */
.form-content {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

#multiStepForm {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

#questionsContainer {
  position: relative;
  min-height: 250px;
}

/* ── Question ────────────────────────────– */
.question {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  width: 100%;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.question.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  animation: slideInQuestion 0.4s var(--ease-out);
}

.question.exit {
  opacity: 0;
  transform: translateY(-20px);
  animation: slideOutQuestion 0.3s var(--ease-in);
}

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

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

.question__label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-violet);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.question__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--clr-text);
  font-family: var(--font-display);
  line-height: 1.3;
}

.question__description {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-lg);
}

/* ── Form Inputs ────────────────────────── */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(69, 85, 254, 0.05);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  font-size: 1rem;
  transition: border-color 0.3s, background-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.1);
  box-shadow: 0 0 0 3px rgba(69, 85, 254, 0.1);
}

.form-input::placeholder {
  color: var(--clr-text-dim);
}

/* ── Options ────────────────────────────── */
.options-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.option-item {
  position: relative;
}

.option-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(69, 85, 254, 0.05);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  font-size: 1rem;
}

.option-label:hover {
  background: rgba(69, 85, 254, 0.1);
  border-color: var(--clr-violet);
  transform: translateX(4px);
}

.option-input:checked + .option-label {
  background: rgba(69, 85, 254, 0.2);
  border-color: var(--clr-violet);
  box-shadow: 0 0 0 3px rgba(69, 85, 254, 0.1);
}

.option-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: transparent;
  border: 2px solid var(--clr-border);
  border-radius: 4px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.option-input:checked + .option-label .option-checkbox {
  background: var(--clr-violet);
  border-color: var(--clr-violet);
}

.option-input:checked + .option-label .option-checkbox::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--clr-border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s;
  position: relative;
}

.option-input:checked + .option-label .option-radio {
  border-color: var(--clr-violet);
  background: var(--clr-violet);
}

.option-input:checked + .option-label .option-radio::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── File Upload ────────────────────────── */
.file-upload-wrapper {
  position: relative;
  margin-bottom: var(--space-lg);
}

.file-upload-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  background: rgba(69, 85, 254, 0.05);
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.file-upload-label:hover {
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.1);
}

.file-upload-icon {
  font-size: 2rem;
}

.file-upload-text {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

.file-upload-input:focus + .file-upload-label {
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.15);
}

.file-name {
  font-size: 0.85rem;
  color: var(--clr-violet);
  margin-top: var(--space-sm);
  padding: 0.5rem;
  background: rgba(69, 85, 254, 0.1);
  border-radius: 4px;
}

/* ── Form Navigation ────────────────────── */
.form-navigation {
  display: flex;
  gap: var(--space-md);
  justify-content: space-between;
  margin-top: var(--space-xl);
}

.btn--ghost {
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  transition: all 0.3s;
}

.btn--ghost:hover {
  color: var(--clr-violet);
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.05);
}

/* ── FAQ Section ────────────────────────── */
.faq-section {
  background: var(--clr-bg);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.faq-item {
  padding: 1.5rem;
  background: rgba(32, 35, 66, 0.3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out);
}

.faq-item:hover {
  border-color: var(--clr-violet);
  background: rgba(69, 85, 254, 0.08);
}

.faq-item[open] {
  background: rgba(69, 85, 254, 0.1);
  border-color: var(--clr-violet);
}

.faq-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-text);
  padding: 0;
}

.faq-title::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--clr-violet);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--clr-violet);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(69, 85, 254, 0.2);
}

.faq-content p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Success Message ────────────────────── */
.success-message {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 27, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.4s var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-content {
  text-align: center;
  max-width: 400px;
  padding: var(--space-xl);
  animation: successSlideIn 0.6s var(--ease-out);
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--grad-v-b);
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  font-size: 2.5rem;
  color: white;
  animation: successBounce 0.6s var(--ease-out);
}

@keyframes successBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.success-content h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.success-content p {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

/* ── Animations ──────────────────────────– */
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Responsive ──────────────────────────– */
@media (max-width: 1024px) {
  .hero__highlights {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding-block: var(--space-xl) var(--space-lg);
    min-height: auto;
  }

  .contact-hero .hero__title {
    font-size: 2rem;
  }

  .hero__highlights {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

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

  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .form-wrapper {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    width: min(600px, 100% - var(--space-md));
  }

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

  .form-intro-title {
    font-size: 1.5rem;
  }

  .question__title {
    font-size: 1.3rem;
  }

  .form-navigation {
    flex-direction: column;
  }

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

  .options-group {
    gap: var(--space-sm);
  }

  .option-label {
    padding: 0.875rem;
  }

  .file-upload-label {
    padding: 1.5rem;
  }

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

@media (max-width: 480px) {
  .contact-hero {
    padding-block: var(--space-lg) var(--space-md);
  }

  .contact-hero .hero__title {
    font-size: 1.5rem;
  }

  .hero__highlights {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .highlight-item {
    padding: 1rem;
  }

  .highlight-text {
    font-size: 0.9rem;
  }

  .form-wrapper {
    padding: var(--space-md);
  }

  .form-header h3 {
    font-size: 1.1rem;
  }

  .form-intro-title {
    font-size: 1.25rem;
  }

  .question__title {
    font-size: 1.1rem;
  }

  .progress-bar {
    height: 3px;
  }

  .benefit {
    padding: 1.5rem;
  }

  .benefit__number {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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

  .faq-item {
    padding: 1rem;
  }

  .faq-title {
    font-size: 0.95rem;
  }
}
