/* ============ CONTACT HERO ============ */
.contact-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 3.75rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.contact-hero .badge {
  margin: 0 auto 1.5rem;
}

.contact-hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.contact-hero p {
  color: #999;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stats .stat h3 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.hero-stats .stat p {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
}

/* ============ CONTACT METHOD CARDS ============ */
.contact-methods-new {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 3.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.method-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30,30,45,0.6), rgba(20,20,30,0.4));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.method-card:hover {
  transform: translateY(-8px);
  border-color: rgba(167,139,250,0.4);
  box-shadow: 0 20px 60px rgba(167,139,250,0.2);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(167,139,250,0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.method-card:hover .card-glow {
  opacity: 1;
}

.method-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(167,139,250,0.2), rgba(139,92,246,0.1));
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #c4b5fd;
  transition: all 0.3s;
}

.method-card:hover .method-icon {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, rgba(167,139,250,0.3), rgba(139,92,246,0.2));
}

.method-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.method-card > p {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.method-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 30px;
  transition: all 0.3s;
  cursor: pointer;
  font-family: inherit;
}

.method-link:hover {
  background: rgba(167,139,250,0.2);
  transform: translateX(3px);
}

.method-link .arrow {
  transition: transform 0.3s;
}

.method-link:hover .arrow {
  transform: translateX(3px);
}

.response-time {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #888;
}

.response-time.online {
  color: #4ade80;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.social-links a:hover {
  background: rgba(167,139,250,0.2);
  transform: translateY(-3px);
}

/* ============ CONTACT MAIN FORM ============ */
.contact-main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3.75rem;
}

.contact-wrapper {
  background: linear-gradient(145deg, rgba(30,30,45,0.4), rgba(20,20,30,0.2));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 2rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 400px 1fr;
}

/* Left Info Side */
.contact-info-side {
  background: linear-gradient(145deg, rgba(88,28,135,0.2), rgba(30,30,45,0.5));
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.info-header {
  margin-bottom: 2.5rem;
}

.info-header .badge {
  margin-bottom: 1rem;
}

.info-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.info-header p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-features {
  margin-bottom: 2.5rem;
}

.info-feature {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-feature:last-child {
  border-bottom: none;
}

.feature-icon-small {
  width: 42px;
  height: 42px;
  background: rgba(167,139,250,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-feature h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.info-feature p {
  color: #999;
  font-size: 0.8rem;
  line-height: 1.5;
}

.office-info {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 1.25rem;
}

.office-info h4 {
  color: #c4b5fd;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.office-info p {
  color: #ccc;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Right Form Side */
.contact-form-side {
  padding: 3rem;
}

.contact-form-new {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group-new {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group-new label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ddd;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.label-icon {
  font-size: 0.9rem;
}

.form-group-new input,
.form-group-new textarea,
.form-group-new select {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s;
  width: 100%;
}

.form-group-new input:focus,
.form-group-new textarea:focus,
.form-group-new select:focus {
  outline: none;
  border-color: #a78bfa;
  background: rgba(167,139,250,0.05);
  box-shadow: 0 0 0 4px rgba(167,139,250,0.1);
  transform: translateY(-1px);
}

.form-group-new textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group-new select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a78bfa' viewBox='0 0 16 16'%3e%3cpath d='M8 11L3 6h10l-5 5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group-new select option {
  background: #1a1a2e;
  color: white;
  padding: 0.5rem;
}

.char-counter {
  display: block;
  text-align: right;
  color: #888;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.error-text {
  display: block;
  color: #f87171;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  min-height: 1rem;
}

/* Priority Select */
.priority-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.priority-option {
  cursor: pointer;
  position: relative;
}

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

.priority-option span {
  display: block;
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  transition: all 0.3s;
  color: #ccc;
}

.priority-option input:checked + span {
  background: rgba(167,139,250,0.15);
  border-color: #a78bfa;
  color: white;
  box-shadow: 0 0 15px rgba(167,139,250,0.2);
}

/* Modern Checkbox */
.modern-checkbox {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  cursor: pointer;
  color: #aaa;
  font-size: 0.85rem;
  line-height: 1.5;
}

.modern-checkbox input {
  position: absolute;
  opacity: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
  margin-top: 2px;
}

.modern-checkbox input:checked ~ .checkmark {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  border-color: #a78bfa;
}

.modern-checkbox input:checked ~ .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-weight: 800;
  font-size: 0.85rem;
}

.modern-checkbox a {
  color: #c4b5fd;
  text-decoration: none;
}

.modern-checkbox a:hover {
  text-decoration: underline;
}

/* Submit Button */
.btn-submit {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  color: black;
  border: none;
  padding: 1.1rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(167,139,250,0.3);
  margin-top: 0.5rem;
  font-family: inherit;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(167,139,250,0.5);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-submit .btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.btn-submit:hover:not(:disabled) .btn-icon {
  transform: translateX(4px) rotate(-15deg);
}

.form-note {
  text-align: center;
  color: #888;
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Success / Error States */
.success-state,
.error-state {
  text-align: center;
  padding: 3rem 2rem;
  animation: fadeInScale 0.5s ease;
}

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

.success-icon,
.error-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: bounce 0.6s;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.success-state h3,
.error-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.success-state p,
.error-state p {
  color: #aaa;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ============ QUICK HELP NEW ============ */
.quick-help-new {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 3.75rem;
  text-align: center;
}

.quick-help-new .section-header {
  margin-bottom: 3rem;
}

.quick-help-new .section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.quick-help-new .section-header p {
  color: #999;
}

.quick-help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.help-card {
  background: linear-gradient(145deg, rgba(30,30,45,0.6), rgba(20,20,30,0.4));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
  text-align: center;
}

.help-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167,139,250,0.3);
  box-shadow: 0 10px 30px rgba(167,139,250,0.15);
}

.help-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.help-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.help-card p {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.help-link {
  color: #c4b5fd;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============ LIVE CHAT WIDGET ============ */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(167,139,250,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
  animation: pulseChat 2s infinite;
}

@keyframes pulseChat {
  0%, 100% { box-shadow: 0 10px 30px rgba(167,139,250,0.4); }
  50% { box-shadow: 0 10px 40px rgba(167,139,250,0.8); }
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.chat-icon {
  font-size: 1.75rem;
}

.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0a0a0f;
}

.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 60px);
  background: #16162b;
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
  animation: slideUp 0.3s ease;
}

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

.chat-box.active {
  display: block;
}

.chat-header {
  background: linear-gradient(135deg, rgba(88,28,135,0.5), rgba(139,92,246,0.3));
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.chat-header h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.chat-status {
  color: #4ade80;
  font-size: 0.75rem;
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.chat-close:hover {
  background: rgba(255,255,255,0.1);
}

.chat-body {
  padding: 1.25rem;
  max-height: 350px;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 1rem;
}

.chat-message.bot .chat-bubble {
  background: rgba(167,139,250,0.15);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 15px 15px 15px 3px;
  padding: 0.75rem 1rem;
  color: #ddd;
  font-size: 0.9rem;
  max-width: 80%;
  line-height: 1.5;
}

.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  color: black;
  border-radius: 15px 15px 3px 15px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  max-width: 80%;
  margin-left: auto;
  font-weight: 500;
}

.chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.quick-reply {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: 20px;
  padding: 0.6rem 1rem;
  color: #c4b5fd;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
  font-family: inherit;
}

.quick-reply:hover {
  background: rgba(167,139,250,0.15);
  transform: translateX(5px);
}

.chat-footer {
  background: rgba(0,0,0,0.3);
  padding: 0.75rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.chat-footer p {
  color: #888;
  font-size: 0.75rem;
  margin: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .contact-methods-new {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info-side {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

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

@media (max-width: 767px) {
  .contact-hero,
  .contact-methods-new,
  .contact-main,
  .quick-help-new {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stats .stat h3 {
    font-size: 1.5rem;
  }

  .contact-info-side,
  .contact-form-side {
    padding: 2rem 1.5rem;
  }

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

  .priority-options {
    grid-template-columns: 1fr;
  }

  .quick-help-grid {
    grid-template-columns: 1fr;
  }

  .chat-widget {
    bottom: 20px;
    right: 20px;
  }

  .chat-box {
    width: calc(100vw - 40px);
    right: -10px;
  }

  .chat-toggle {
    width: 55px;
    height: 55px;
  }

  .method-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-form-side {
    padding: 1.5rem 1rem;
  }

  .contact-info-side {
    padding: 1.5rem 1rem;
  }
}