/* ════════════════════════════════════════════════════════
   contact-v2.css  v4  —  reuses referral-v2 patterns
   Minimal new CSS; leans on existing ref- classes
════════════════════════════════════════════════════════ */

body.ct-page { background: #040d1a; }

/* ── Hero: identical to ref-hero but with blue badge ── */
.ct-hero { background: #040d1a; }

.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.28);
  backdrop-filter: blur(12px);
  color: #93c5fd;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.ct-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 9px #22c55e;
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 6px #22c55e; opacity:1; }
  50%      { box-shadow: 0 0 14px #22c55e; opacity:.7; }
}

/* Blue gradient text for contact hero headline */
.ct-hero-h1 .grad-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 40%, #c7d2fe 65%, #93c5fd 80%, #60a5fa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  display: inline-block;
}

/* ── WhatsApp strip (green, like ref-promo-strip) ── */
.ct-wa-strip {
  background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
  padding: 30px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ct-wa-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.ct-wa-strip-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ct-wa-strip-text h3 {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 4px;
}
.ct-wa-strip-text h3 .wa-green { color: #4ade80; }
.ct-wa-strip-text p { font-size: 13px; color: rgba(255,255,255,.78); margin: 0; }
.ct-wa-strip-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #14532d;
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s;
}
.ct-wa-strip-btn:hover { transform: translateY(-2px); }

/* ── Channel cards section ── */
.ct-channels-section { background: #040d1a; }

/* Dark section header overrides */
.ct-dark-hd.ref-section-hd .ref-section-title { color: #fff; }
.ct-dark-hd.ref-section-hd .ref-section-sub   { color: rgba(255,255,255,.48); }
.ct-dark-hd.ref-section-hd .ref-label-pill {
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  color: #93c5fd;
}

/* Channel cards — exact ref-tier pattern, 3-col */
.ct-channels-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  align-items: center;
}
.ct-channel {
  background: #0a1628;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: 34px 24px 28px;
  text-align: center;
  position: relative;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  overflow: hidden;
}
.ct-channel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cc, #3b82f6);
  border-radius: 24px 24px 0 0;
}
.ct-channel:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 0 1px var(--cc, #3b82f6),
              0 20px 60px rgba(0,0,0,.4),
              0 0 40px color-mix(in srgb, var(--cc, #3b82f6) 22%, transparent);
}
.ct-channel.ct-wa    { --cc: #22c55e; }
.ct-channel.ct-email { --cc: #3b82f6; }
.ct-channel.ct-phone { --cc: #8b5cf6; }

/* Inner radial glow */
.ct-channel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, color-mix(in srgb, var(--cc, #3b82f6) 12%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.ct-ch-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--cc, #3b82f6) 14%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  position: relative; z-index: 1;
  border: 1px solid color-mix(in srgb, var(--cc, #3b82f6) 20%, transparent);
}
.ct-ch-num {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.2px;
  color: #fff;
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.ct-ch-title {
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.ct-ch-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,.1);
  margin: 0 auto 16px;
  position: relative; z-index: 1;
}
.ct-ch-reward {
  display: block;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.ct-ch-note {
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  line-height: 1.6;
  margin: 0 0 22px;
  position: relative; z-index: 1;
}
.ct-ch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: color-mix(in srgb, var(--cc, #3b82f6) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cc, #3b82f6) 28%, transparent);
  color: color-mix(in srgb, var(--cc, #3b82f6) 80%, #fff);
  transition: opacity .2s, transform .15s;
  position: relative; z-index: 1;
}
.ct-ch-btn:hover { opacity:.85; transform: scale(1.03); }
.ct-ch-meta {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,.24);
  margin-top: 12px;
  position: relative; z-index: 1;
}

/* ── Override style.css conflicts for form inputs on contact page ── */
body.ct-page .ct-inp,
body.ct-page .ct-sel,
body.ct-page .ct-txt {
  width: 100% !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}
body.ct-page .ct-txt {
  overflow-x: hidden !important;
}

/* ── Form section ── */
.ct-form-section { background: #060f22 !important; padding: 90px 28px; position: relative; overflow: hidden; }
.ct-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% -5%, rgba(59,130,246,.07) 0%, transparent 65%);
  pointer-events: none;
}

.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.ct-form-grid > * { min-width: 0; }

/* Override global form light-background from style.css */
#contactForm {
  background: transparent !important;
}

/* Animated border wrapper */
.ct-form-border {
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(135deg, #2563eb, #6366f1, #f59e0b, #6366f1, #2563eb);
  background-size: 300% 300%;
  animation: shimmer 5s linear infinite;
  box-shadow: 0 4px 48px rgba(99,102,241,.15);
  box-sizing: border-box;
  max-width: 100%;
}
.ct-form-inner {
  background: #07111f !important;
  border-radius: 24px;
  padding: 44px 44px;
  color: #e2e8f0;
}

.ct-ip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ct-field   { margin-bottom: 16px; }
.ct-field:last-of-type { margin-bottom: 0; }
.ct-lbl {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 9px;
}
.ct-inp, .ct-sel, .ct-txt {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 12px;
  color: #e2e8f0; font-size: 14px; font-family: 'Inter',sans-serif;
  padding: 14px 16px; outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.ct-inp::placeholder, .ct-txt::placeholder { color: rgba(255,255,255,.18); }
.ct-inp:focus, .ct-sel:focus, .ct-txt:focus {
  border-color: rgba(99,102,241,.55);
  background: rgba(99,102,241,.05);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.ct-sel option { background: #07111f; color: #e2e8f0; }
.ct-txt { resize: vertical; min-height: 138px; line-height: 1.6; }

.ct-send-btn {
  width: 100%; margin-top: 22px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  background-size: 200% auto;
  color: #fff; border: none; border-radius: 13px;
  font-size: 15px; font-weight: 800; font-family: 'Inter',sans-serif;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 28px rgba(99,102,241,.3);
  transition: background-position .4s, transform .2s, box-shadow .2s;
  letter-spacing: .1px;
}
.ct-send-btn:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 14px 40px rgba(99,102,241,.45); }
.ct-send-btn:disabled { opacity:.5; cursor:not-allowed; transform:none; }

.ct-status {
  margin-top: 14px; padding: 13px 16px; border-radius: 11px;
  font-size: 13.5px; font-weight: 600; text-align: center; display: none;
}
.ct-status.success { background: rgba(16,185,129,.1); color: #34d399; border: 1px solid rgba(16,185,129,.2); }
.ct-status.error   { background: rgba(239,68,68,.1);  color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.ct-status.loading { background: rgba(99,102,241,.08); color: #a5b4fc; border: 1px solid rgba(99,102,241,.15); }

/* Right column cards */
.ct-right-col { display: flex; flex-direction: column; gap: 16px; }
.ct-info-card {
  background: #0a1628;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 26px 26px;
}
.ct-card-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; color: rgba(255,255,255,.28);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 7px;
}
.ct-detail-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.ct-detail-row:last-child { margin-bottom: 0; }
.ct-d-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
}
.ct-d-label {
  display: block; font-size: 10.5px; font-weight: 600;
  color: rgba(255,255,255,.28); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px;
}
.ct-d-val {
  display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.78);
}
.ct-d-val a { color: inherit; text-decoration: none; }
.ct-d-val a:hover { color: #fff; }

.ct-hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; background: rgba(255,255,255,.03); border-radius: 10px; margin-bottom: 8px;
  font-size: 13px;
}
.ct-hours-row:last-child { margin-bottom: 0; }
.ct-hours-ch { color: rgba(255,255,255,.5); font-weight: 600; }
.ct-hours-val { color: #fff; font-weight: 800; font-size: 12.5px; }

/* Green FAQ card */
.ct-faq-card {
  background: linear-gradient(135deg, rgba(16,185,129,.1), rgba(5,150,105,.05));
  border: 1px solid rgba(16,185,129,.15);
  border-radius: 20px;
  padding: 24px 26px;
}
.ct-faq-card h3 { font-size: 16px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.ct-faq-card p  { font-size: 13px; color: rgba(255,255,255,.4); margin: 0 0 16px; line-height: 1.6; }
.ct-faq-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #34d399;
  text-decoration: none; transition: gap .2s;
}
.ct-faq-link:hover { gap: 12px; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .ct-channels-grid { grid-template-columns: 1fr; }
  .ct-form-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ct-ip-row { grid-template-columns: 1fr; }
  /* Tighter padding so inputs get full width */
  .ct-form-inner { padding: 22px 16px !important; }
  .ct-hero { padding: 72px 16px 52px !important; }
  .ct-channels-section { padding: 52px 16px !important; }
  /* Reduced side padding + extra bottom so "Send Message" clears the freelancer CTA bar */
  .ct-form-section { padding: 48px 10px 90px !important; }
  /* Remove extra 28px inline padding from ct-form-grid on mobile */
  .ct-form-grid { padding: 0 !important; }
  /* Strip the animated gradient border — looks like a phone-bezel on mobile */
  .ct-form-border {
    background: rgba(99,102,241,.28) !important;
    animation: none !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 20px rgba(99,102,241,.1) !important;
  }
  .ct-form-inner { border-radius: 16px !important; }
  /* Right column (info cards) — give some breathing room */
  .ct-right-col { margin-top: 4px; }
  .ct-info-card { padding: 20px 18px; }
  /* Channel cards single column — already handled, but tighten spacing */
  .ct-channel { padding: 26px 18px 22px; }
  .ct-ch-icon-wrap { width: 48px; height: 48px; border-radius: 12px; }
}
