:root {
  --blue-50: #EEF4FF;
  --blue-100: #D9E6FF;
  --blue-200: #B3CDFF;
  --blue-300: #80ABFF;
  --blue-400: #4F8CFF;
  --blue-500: #2B6FE6;
  --blue-600: #1A56C4;
  --blue-700: #13429E;
  --gray-50: #F8F9FB;
  --gray-100: #F1F3F7;
  --gray-200: #E2E6ED;
  --gray-300: #C8CED9;
  --gray-400: #9AA2B1;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --accent-green: #10B981;
  --accent-amber: #F59E0B;
  --accent-violet: #8B5CF6;
  --accent-rose: #F43F5E;
  --surface-primary: #FAFAFB;
  --surface-card: #FFFFFF;
  --surface-dark: #0B1120;
  --surface-dark-card: #131C2E;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-blue: 0 4px 20px rgba(79,140,255,0.25);
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --container-width: 1140px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--surface-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============ CONTACT HERO ============ */
.contact-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ============ CONTACT LAYOUT ============ */
.contact-section {
  padding: 0 0 100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ============ FORM ============ */
.contact-form-card {
  background: var(--surface-card);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--surface-primary);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.1);
  background: var(--surface-card);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239AA2B1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* Submit button */
.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--blue-400);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-blue);
  margin-top: 4px;
}

.submit-button:hover:not(:disabled) {
  background: var(--blue-500);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(79,140,255,0.3);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.spinner {
  animation: rotate 2s linear infinite;
  width: 20px;
  height: 20px;
}
.spinner .path {
  stroke: white;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Form messages */
.form-message {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  animation: slideIn 0.3s ease;
}

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

.form-message.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-message.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ============ CONTACT INFO SIDEBAR ============ */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--surface-card);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.info-card:nth-child(1) .info-card-icon { background: var(--blue-50); }
.info-card:nth-child(2) .info-card-icon { background: #F3E8FF; }
.info-card:nth-child(3) .info-card-icon { background: #ECFDF5; }

.info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.info-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 10px;
}

.info-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-500);
  transition: color 0.2s;
}

.info-card a:hover {
  color: var(--blue-600);
}

.info-highlight {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-400);
  letter-spacing: -0.5px;
}

/* Response time card special styling */
.info-card-response {
  background: var(--surface-dark);
  border-color: rgba(79,140,255,0.15);
}

.info-card-response h3 { color: #fff; }
.info-card-response p { color: var(--gray-400); }
.info-card-response .info-highlight { color: var(--accent-green); }
.info-card-response .info-card-icon {
  background: rgba(79,140,255,0.15);
}

/* ============ FAQ SECTION ============ */
.contact-faq-section{
  padding:100px 0;
  background:var(--gray-50);
}

.contact-faq-section .faq-header{
  text-align:center;
  margin-bottom:48px;
}

.contact-faq-section .section-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--blue-500);
  text-transform:uppercase;
  letter-spacing:1.5px;
  margin-bottom:16px;
}

.contact-faq-section h2{
  font-size:clamp(28px,3.5vw,36px);
  font-weight:700;
  color:var(--gray-900);
  letter-spacing:-1px;
}

/* layout */

.contact-faq-section .faq-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  max-width:900px;
  margin:0 auto;
}

.contact-faq-section .faq-col{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* FAQ cards */

.contact-faq-section .faq-item{
  background:var(--surface-card);
  border:1px solid var(--gray-100);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:all .3s ease;
}

.contact-faq-section .faq-item:hover{
  border-color:var(--gray-200);
  box-shadow:var(--shadow-sm);
}

.contact-faq-section .faq-question{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 24px;
  cursor:pointer;
  user-select:none;
}

.contact-faq-section .faq-question h3{
  font-size:15px;
  font-weight:600;
  color:var(--gray-800);
  line-height:1.4;
  flex:1;
  padding-right:16px;
}

.contact-faq-section .faq-toggle{
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--gray-50);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:.3s;
  font-size:16px;
  color:var(--gray-400);
}

.contact-faq-section .faq-item.open .faq-toggle{
  background:var(--blue-50);
  color:var(--blue-500);
  transform:rotate(45deg);
}

.contact-faq-section .faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease;
}

.contact-faq-section .faq-item.open .faq-answer{
  max-height:300px;
}

.contact-faq-section .faq-answer-inner{
  padding:0 24px 20px;
  font-size:14px;
  color:var(--gray-500);
  line-height:1.7;
}

.coming-soon-badge{
  display:inline-block;
  background:#FEF3C7;
  color:#92400E;
  font-size:10px;
  font-weight:700;
  padding:2px 8px;
  border-radius:100px;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-right:4px;
}

/* responsive */

@media (max-width:768px){
  .contact-faq-section .faq-grid{
    grid-template-columns:1fr;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 989px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
  .contact-hero { padding: 120px 0 48px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1;
    min-width: 200px;
  }

  .contact-hero h1 { font-size: 32px; }

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

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }

  .contact-sidebar {
    flex-direction: column;
  }
}