/* ===========================
   Premium Contact CTA Section
   =========================== */

.contact-cta-section {
  position: relative;
  width: 100%;
  padding: 80px 0 0px;
  background: #000000;
  overflow: hidden;
}

/* Subtle radial gradient in corners */
.contact-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 59, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -40%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 59, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-cta-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  /* Use Bootstrap grid for layout; provide gap and vertical centering */
}

.contact-cta-container .row {
  display: flex;
  gap: 80px;
  align-items: center;
}

/* ===========================
   LEFT COLUMN
   =========================== */

.contact-cta-left {
  display: flex;
  flex-direction: column;
  gap: 60px;
  opacity: 0;
  animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

.contact-cta-content {
  display: flex;
  flex-direction: column;
}

/* Label */
.contact-cta-label {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6C3BFF;
}

/* Main Heading */
.contact-cta-heading {
  margin: 0 0 30px;
  font-family: 'Bebas Neue', 'Anton', 'Druk Condensed', sans-serif;
  font-size: clamp(70px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 10px;
  color: #ffffff;
}

/* Gradient on REMEMBER */
.contact-cta-gradient {
  background: linear-gradient(135deg, #6C3BFF 0%, #9B5DFF 50%, #7A36FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Supporting Text */
.contact-cta-text {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.4;
}

/* ===========================
   CHARACTER ROW
   =========================== */

.character-row {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.character-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.character-card:hover {
  transform: translateY(-15px) scale(1.05);
}

.character-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.character-image {
  width: 100px;
}

.character-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8f4eff;
  position: relative;
  padding-bottom: 8px;
}

.character-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #6C3BFF, #9B5DFF);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.character-card:hover .character-label::after {
  opacity: 1;
}

/* ===========================
   RIGHT COLUMN
   =========================== */

.contact-cta-right {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.contact-form-card {
  width: 100%;
  background: #141414;
  border-radius: 22px;
  padding: 45px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

/* ===========================
   FORM STYLING
   =========================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 16px;
  color: #000000;
  letter-spacing: 1px;
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-input:focus {
  border-bottom-color: #6C3BFF;
  box-shadow: 0 2px 0 #6C3BFF;
}

/* Field error messages */
.field-error {
  display: block;
  font-size: 13px;
  color: #ff6b6b;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease;
}

.field-error:not(:empty) {
  max-height: 40px;
  opacity: 1;
  margin-top: 6px;
}

/* Captcha row */
.captcha-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.captcha-refresh {
  background: transparent;
  color: #6C3BFF;
  border: 1px solid rgba(108,59,255,0.12);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.captcha-refresh:hover {
  background: rgba(108,59,255,0.06);
}

.form-textarea {
  resize: none;
  letter-spacing: 1px;
  line-height: 1.6;
}

.form-textarea:focus {
  border-bottom-color: #6C3BFF;
}

/* ===========================
   SUBMIT BUTTON
   =========================== */

.contact-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  height: 60px;
  background: linear-gradient(135deg, #6C3BFF 0%, #4A22FF 100%);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.contact-cta-button:hover {
  background: linear-gradient(135deg, #7A4DFF 0%, #5A32FF 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(108, 59, 255, 0.3);
}

.contact-cta-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.35s ease;
}

.contact-cta-button:hover svg {
  transform: translateX(3px);
}

/* ===========================
   ANIMATIONS
   =========================== */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .contact-cta-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-cta-heading {
    font-size: clamp(50px, 7vw, 100px);
  }

  .contact-cta-text {
    font-size: 18px;
  }

  .character-row {
    gap: 20px;
  }

  .character-visual {
    width: 100%;
  }

  .character-image {
    width: 100%;
  }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  .contact-cta-section {
    padding: 80px 0;
  }

  .contact-cta-container {
    padding: 0 20px;
    gap: 40px;
  }

  .contact-cta-heading {
    font-size: clamp(40px, 10vw, 80px);
    margin-bottom: 20px;
  }

  .contact-cta-text {
    font-size: 16px;
  }

  .contact-cta-left {
    gap: 40px;
  }

  .character-row {
    gap: 15px;
  }

  .character-visual {
    width: 100%;
  }

  .character-image {
    width: 80px;
  }

  .character-label {
    font-size: 12px;
  }

  .contact-form-card {
    padding: 30px;
  }

  .form-group {
    gap: 8px;
  }

  .form-input {
    padding: 14px 0;
    font-size: 14px;
  }

  .contact-cta-button {
    height: 50px;
    font-size: 14px;
  }
}

/* Mobile Small: 480px */
@media (max-width: 480px) {
  .contact-cta-section {
    padding: 60px 0;
  }

  .contact-cta-container {
    padding: 0 16px;
    gap: 30px;
  }

  .contact-cta-label {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .contact-cta-heading {
    font-size: clamp(32px, 9vw, 60px);
    margin-bottom: 15px;
  }

  .contact-cta-text {
    font-size: 14px;
  }

  .character-row {
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .character-visual {
    width: 100%;
  }

  .character-image {
  width: 80px;
  }

  .character-label {
    font-size: 11px;
  }

  .contact-form-card {
    padding: 24px;
  }

  .contact-form {
    gap: 24px;
  }

  .contact-cta-button {
    height: 48px;
    font-size: 12px;
    gap: 8px;
  }

  .contact-cta-button svg {
    width: 16px;
    height: 16px;
  }
}
