/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

/* ===== Hero ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, #FAFBFC 0%, #EEF2F7 40%, #E8F0FE 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 59, 107, 0.05) 0%, transparent 70%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 80px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.contact-form-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.contact-form-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Form Message */
.form-message {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-message.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Form Fields */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group label .required {
  color: var(--cta);
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: all 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit-btn {
  width: 100%;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
  transition: all 0.3s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.form-submit-btn:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}
.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Right Column */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}
.info-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-card:nth-child(1) .info-card-icon { background: #DBEAFE; color: var(--primary); }
.info-card:nth-child(2) .info-card-icon { background: #D1FAE5; color: #059669; }
.info-card:nth-child(3) .info-card-icon { background: #FEF3C7; color: #D97706; }
.info-card-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.info-card-content p {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Demo Flow */
.demo-flow {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  margin-top: 4px;
}
.demo-flow h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.demo-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}
.demo-step:last-child { padding-bottom: 0; }
.demo-step::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 15px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.2);
}
.demo-step:last-child::before { display: none; }
.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.step-content p {
  font-size: 13px;
  opacity: 0.75;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
  padding: 60px 0;
  background: var(--bg);
  text-align: center;
}
.bottom-cta p {
  font-size: 16px;
  color: var(--text-secondary);
}
.bottom-cta a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  transition: all 0.2s;
}
.bottom-cta a:hover {
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 38px; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 0 48px; }
  .page-hero h1 { font-size: 32px; }
  .contact-section { padding: 48px 0; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 28px; }
  .contact-form-card { padding: 20px; }
}

/* ==========================================================================
   Thank You Page
   ========================================================================== */
.thankyou-section {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #FAFBFC 0%, #EEF2F7 40%, #E8F0FE 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.thankyou-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.thankyou-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.thankyou-card h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.thankyou-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}
.thankyou-steps {
  text-align: left;
  margin-bottom: 36px;
}
.thankyou-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.thankyou-step:last-child { border-bottom: none; }
.thankyou-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.thankyou-step-icon.done { background: #D1FAE5; color: #059669; }
.thankyou-step-icon.next { background: #DBEAFE; color: var(--primary); animation: pulse-soft 2s ease-in-out infinite; }
.thankyou-step-icon.pending { background: #F3F4F6; color: var(--text-light); }
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 59, 107, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(26, 59, 107, 0); }
}
.thankyou-step-text strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}
.thankyou-step-text span {
  font-size: 13px;
  color: var(--text-secondary);
}
.thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.thankyou-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.thankyou-actions .btn-secondary {
  background: var(--primary);
  color: var(--white);
}
.thankyou-actions .btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.thankyou-actions .btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--border);
}
.thankyou-actions .btn-outline:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .thankyou-section { padding: 120px 0 60px; }
  .thankyou-card { padding: 36px 24px; }
  .thankyou-card h1 { font-size: 26px; }
  .thankyou-actions { flex-direction: column; }
  .thankyou-actions .btn { justify-content: center; }
}
