/* ═══════════════════════════════════════════════
   MUTEKI — Contact Section (Light Theme)
   ═══════════════════════════════════════════════ */

/* FORCE FULL WIDTH BYPASS — SECTION 10 (Contact) */
#contact {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #F8F8FF !important;
}

/* Inner layout centering */
.ct__wrap {
    max-width: 1300px; 
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Responsive Refinements */
@media (max-width: 1080px) {
    .ct__wrap { padding: 0 28px; }
}

@media (max-width: 640px) {
    .ct__wrap { padding: 0 20px; }
}

.ct {
  padding: 130px 0 140px;
  background: #F8F8FF;
  position: relative;
  overflow: hidden;
}

/* Background decorative elements */
.ct::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,79,232,.07) 0%, transparent 65%);
  pointer-events: none;
}
.ct::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Dot grid */
.ct__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91,79,232,.1) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* MAIN CARD */
.ct__card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(91,79,232,.1);
  box-shadow:
    0 0 0 1px rgba(91,79,232,.04),
    0 32px 80px rgba(15,15,45,.1),
    0 8px 24px rgba(15,15,45,.06);
  overflow: hidden;
}

/* LEFT COLUMN */
.ct__left {
  padding: 72px 60px 72px 68px;
  background: #0F0F2D;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Left bg glow */
.ct__left::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,79,232,.25) 0%, transparent 65%);
  pointer-events: none;
}
.ct__left::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Grid lines on left */
.ct__left-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.ct__left-inner { position: relative; z-index: 1; }

/* Eyebrow */
.ct__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.4);
  text-transform: lowercase;
  font-variant-numeric: tabular-nums;
  margin-bottom: 28px;
}
.ct__eyebrow-line {
  width: 24px; height: 1px;
  background: linear-gradient(90deg, #5B4FE8, transparent);
}

/* Main headline */
.ct__h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1.8px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.ct__h2-grad {
  background: linear-gradient(135deg, #5B4FE8 0%, #8B5CF6 50%, #7B72EE 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ctGradShift 5s ease-in-out infinite;
}
@keyframes ctGradShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Body text */
.ct__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255,255,255,.45);
  max-width: 380px;
  margin-bottom: 56px;
}
.ct__body a {
  color: #a89ff7;
  text-decoration: none;
  border-bottom: 1px solid rgba(168,159,247,.3);
  transition: color .2s, border-color .2s;
}
.ct__body a:hover {
  color: #c4bcfb;
  border-bottom-color: rgba(196,188,251,.5);
}

/* Info blocks */
.ct__info-blocks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct__info-block {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ct__info-icon {
  width: 42px; height: 42px;
  background: rgba(91,79,232,.18);
  border: 1px solid rgba(91,79,232,.3);
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.ct__info-icon:hover {
  background: rgba(91,79,232,.3);
  border-color: rgba(91,79,232,.5);
}
.ct__info-icon svg { width: 17px; height: 17px; }
.ct__info-text-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 2px;
}
.ct__info-text-val {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
}
.ct__info-text-val a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.ct__info-text-val a:hover { color: #a89ff7; }

/* Social row */
.ct__socials {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}
.ct__social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.ct__social-btn:hover {
  background: rgba(91,79,232,.2);
  border-color: rgba(91,79,232,.4);
  transform: translateY(-2px);
}
.ct__social-btn svg { width: 15px; height: 15px; }

/* RIGHT COLUMN — FORM */
.ct__right {
  padding: 64px 64px 64px 60px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Form heading */
.ct__form-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #0F0F2D;
  letter-spacing: -.3px;
  margin-bottom: 20px;
}

/* Form grid */
.ct__form { display: flex; flex-direction: column; gap: 20px; flex: 1; }

/* Field wrapper */
.ct__field {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Floating label input */
.ct__field input,
.ct__field textarea,
.ct__field select {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: #0F0F2D;
  background: #F8F9FF;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 18px 16px 8px;
  outline: none;
  width: 100%;
  transition: border-color .22s, box-shadow .22s, background .22s;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}

.ct__field select {
  background: #F8F9FF url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E") no-repeat calc(100% - 16px) center / 12px;
  cursor: pointer;
}

.ct__field input::placeholder,
.ct__field textarea::placeholder {
  color: transparent;
}
.ct__field input:focus,
.ct__field textarea:focus,
.ct__field select:focus {
  border-color: #5B4FE8;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(91,79,232,.1);
}

.ct__field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' stroke='%235B4FE8' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
}

.ct__field input:not(:placeholder-shown),
.ct__field textarea:not(:placeholder-shown),
.ct__field select:valid {
  background-color: #fff;
}

/* Floating label */
.ct__label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #9CA3AF;
  pointer-events: none;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  background: transparent;
}
.ct__label .ct__req {
  color: #5B4FE8;
  margin-left: 2px;
}

/* Float label up on focus or filled */
.ct__field input:focus       ~ .ct__label,
.ct__field input:not(:placeholder-shown) ~ .ct__label,
.ct__field textarea:focus    ~ .ct__label,
.ct__field textarea:not(:placeholder-shown) ~ .ct__label,
.ct__field select:focus      ~ .ct__label,
.ct__field select:valid      ~ .ct__label {
  top: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #5B4FE8;
}

/* Textarea specific */
.ct__field textarea {
  min-height: 110px;
  padding-top: 22px;
  line-height: 1.6;
}

/* Legal text */
.ct__legal {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  color: #9CA3AF;
  line-height: 1.6;
}
.ct__legal a {
  color: #5B4FE8;
  text-decoration: none;
  border-bottom: 1px solid rgba(91,79,232,.25);
  transition: color .2s, border-color .2s;
}
.ct__legal a:hover {
  color: #7B72EE;
  border-color: rgba(123,114,238,.45);
}

/* Submit button */
.ct__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #5B4FE8 0%, #8B5CF6 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: 14px;
  padding: 17px 36px;
  cursor: pointer;
  width: 100%;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 0 #3D32C4,
    0 8px 28px rgba(91,79,232,.32);
}
.ct__submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.ct__submit:hover::before { left: 100%; }
.ct__submit:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 0 #3D32C4,
    0 16px 40px rgba(91,79,232,.45);
  background-position: 100% 0;
}
.ct__submit:active { transform: translateY(-1px); }
.ct__submit svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  transition: transform .2s;
}
.ct__submit:hover svg { transform: translateX(4px); }

/* Success state */
.ct__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 40px 0;
  flex: 1;
}
.ct__success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(91,79,232,.15), rgba(139,92,246,.1));
  border: 2px solid rgba(91,79,232,.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: ctSuccessPop .5s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes ctSuccessPop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.ct__success-icon svg { width: 28px; height: 28px; }
.ct__success h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0F0F2D;
  letter-spacing: -.4px;
}
.ct__success p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #6B7280;
  line-height: 1.65;
  max-width: 320px;
}

/* SCROLL REVEAL */
.ct-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.ct-reveal.is-vis { opacity: 1; transform: translateY(0); }
.ct-reveal-d1 { transition-delay: .1s; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .ct__card  { grid-template-columns: 1fr; }
  .ct__left  { padding: 52px 40px; }
  .ct__right { padding: 52px 40px; }
  .ct__h2    { font-size: 36px; }
}

@media (max-width: 640px) {
  .ct { padding: 80px 0 90px; }
  .ct__left  { padding: 44px 28px; }
  .ct__right { padding: 40px 24px; }
}
