/* ==========================================================================
   Antigravity Digital — Contact Us Page Styles
   Featuring High-Contrast Solid White Card Form + Editorial Practice Info
   ========================================================================== */

/* 01. Contact Hero */
.agy-contact-hero {
  position: relative;
  padding-top: calc(var(--space-3xl) + 40px);
  padding-bottom: var(--space-xl);
  text-align: center;
  overflow: hidden;
  background: #000000;
}

.agy-contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.agy-contact-hero-content .agy-eyebrow {
  margin-bottom: 16px;
  display: inline-block;
}

.agy-contact-hero-title {
  font-weight: 400 !important;
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.agy-contact-hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.1875rem);
  line-height: 1.7;
  color: var(--text-secondary, #B7B2BD);
  max-width: 680px;
  margin: 0 auto;
}

/* 02. Contact Main Section Layout */
.agy-contact-main-section {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-3xl);
  position: relative;
  background: #000000;
}

.agy-contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

/* 03. Left Column: Editorial Practice Info */
.agy-contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.agy-contact-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(201, 255, 118, 0.08);
  border: 1px solid rgba(201, 255, 118, 0.22);
  color: #C9FF76;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
}

.agy-contact-info-heading {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.22;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0;
}

.agy-contact-info-p {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: #B7B2BD;
  margin: 0;
}

/* Steps Card */
.agy-contact-steps-card {
  background: rgba(18, 15, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agy-contact-steps-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A78BFA;
}

.agy-contact-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.agy-contact-step-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #00E9E9;
  background: rgba(0, 233, 233, 0.1);
  border: 1px solid rgba(0, 233, 233, 0.25);
  border-radius: 8px;
  padding: 4px 8px;
  line-height: 1;
  margin-top: 3px;
  flex-shrink: 0;
}

.agy-contact-step-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.agy-contact-step-text p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #94A3B8;
  margin: 0;
}

/* Direct Details Box */
.agy-contact-direct-details {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agy-contact-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.agy-contact-detail-label {
  color: #64748B;
  font-weight: 500;
}

.agy-contact-detail-value {
  color: #D6D2DC;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.agy-contact-detail-value:hover {
  color: #00E9E9;
}

/* 04. Right Column: SOLID WHITE CARD Contact Form */
.agy-contact-white-card {
  background: #FFFFFF !important;
  border-radius: 24px;
  padding: clamp(28px, 4.5vw, 44px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #0F172A;
  position: relative;
  z-index: 2;
}

.agy-white-card-header {
  margin-bottom: 26px;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 18px;
}

.agy-white-card-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.agy-white-card-desc {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

/* Form Styles */
.agy-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agy-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.agy-form-label {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.agy-req {
  color: #EF4444;
  font-weight: 700;
}

.agy-opt {
  color: #94A3B8;
  font-weight: 400;
  font-size: 0.8125rem;
  margin-left: 4px;
}

.agy-form-input,
.agy-form-textarea {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  color: #0F172A;
  line-height: 1.5;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.agy-form-input::placeholder,
.agy-form-textarea::placeholder {
  color: #94A3B8;
}

.agy-form-input:focus,
.agy-form-textarea:focus {
  background: #FFFFFF;
  border-color: #7025F5;
  box-shadow: 0 0 0 3.5px rgba(112, 37, 245, 0.12);
  outline: none;
}

.agy-form-input.has-error,
.agy-form-textarea.has-error {
  border-color: #EF4444 !important;
  background: #FFF5F5 !important;
}

.agy-field-error {
  color: #EF4444;
  font-size: 0.775rem;
  font-weight: 500;
  margin-top: 4px;
  min-height: 16px;
  display: block;
}

.agy-form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Option Selection Pills */
.agy-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agy-pill-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1.5px solid #E2E8F0;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  position: relative;
}

.agy-pill-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.agy-pill-label:hover {
  background: #E2E8F0;
  border-color: #CBD5E1;
  color: #0F172A;
}

.agy-pill-label.is-selected {
  background: #0F172A !important;
  border-color: #0F172A !important;
  color: #FFFFFF !important;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.agy-budget-pills .agy-pill-label {
  padding: 7px 12px;
}

/* Alert Error Banner */
.agy-form-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.agy-alert-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
}

/* Submit Row */
.agy-form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.agy-white-card-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.agy-white-card-submit-btn:hover {
  background: #7025F5;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(112, 37, 245, 0.35);
}

.agy-white-card-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.agy-btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: agy-spin 0.8s linear infinite;
}

.agy-white-card-submit-btn.is-submitting .agy-btn-icon {
  display: none;
}

.agy-white-card-submit-btn.is-submitting .agy-btn-spinner {
  display: inline-block;
}

@keyframes agy-spin {
  to { transform: rotate(360deg); }
}

.agy-form-privacy-note {
  font-size: 0.8125rem;
  color: #64748B;
  text-align: center;
}

/* Success Screen */
.agy-form-success-screen {
  text-align: center;
  padding: 30px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.agy-success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ECFDF5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.agy-success-check-svg {
  width: 44px;
  height: 44px;
  stroke: #10B981;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.agy-success-title {
  font-family: var(--font-heading, 'Manrope', sans-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.02em;
}

.agy-success-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  max-width: 440px;
  margin: 0;
}

.agy-success-details-summary {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.875rem;
  color: #334155;
  text-align: left;
  width: 100%;
  max-width: 440px;
  margin-top: 6px;
}

.agy-secondary-reset-btn {
  background: transparent;
  border: none;
  color: #7025F5;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.agy-secondary-reset-btn:hover {
  background: #F1F5F9;
  text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .agy-contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .agy-contact-info-col {
    order: 2;
  }
  .agy-contact-form-col {
    order: 1;
  }
}

@media (max-width: 600px) {
  .agy-form-row-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .agy-contact-white-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .agy-pill-label {
    width: 100%;
    justify-content: center;
  }
}


/* --- Custom Budget Input & Currency Switcher (Rupees / Dollar) --- */
.agy-budget-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.agy-currency-selector {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}

.agy-currency-toggle-btn {
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.agy-currency-toggle-btn:hover {
  color: #0F172A;
}

.agy-currency-toggle-btn.is-active {
  background: #0F172A !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.agy-curr-symbol {
  font-weight: 700;
}

.agy-budget-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.agy-budget-currency-prefix {
  position: absolute;
  left: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

.agy-form-input.agy-budget-text-input {
  padding-left: 36px !important;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.agy-form-input.agy-budget-text-input:focus {
  border-color: #7025F5;
  box-shadow: 0 0 0 3.5px rgba(112, 37, 245, 0.12);
}
