/* ROOT COLORS AND GLOW */
:root {
  --dark-bg: #080808;
  --card-bg: #0e0e0e;
  --white-bg: #ffffff;
  --gold: #ffbf00;
  --gold-soft: #f7d477;
  --gold-light: #ffe18a;
  --gold-glow: rgba(255, 191, 0, 0.25);
  --gold-glow-strong: rgba(255, 191, 0, 0.55);

  --text-light: #f5f5f5;
  --text-medium: #cfcfcf;
  --text-muted: #9b9b9b;

  --border-subtle: #222222;
}

/* GLOBAL */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    sans-serif;
  color: #000;
}

/* OUTER PREMIUM WRAPPER */
.contact-wrapper {
  max-width: 1120px;
  margin: 4rem auto;
  padding: 3.5rem 3rem;

  background: radial-gradient(circle at top left, #1b1b1b 0, #050505 60%);
  border-radius: 24px;

  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.85);

  position: relative;
  overflow: hidden;
}

.contact-wrapper::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 191, 0, 0.12) 0, transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.04) 0, transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.contact-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.contact-wrapper > * {
  position: relative;
  z-index: 1;
}

/* HERO */
.contact-hero {
  text-align: left;
  margin-bottom: 3rem;
}

.contact-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 3vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
}

.contact-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}

.contact-hero-text {
  color: var(--text-medium);
  line-height: 1.7;
  max-width: 640px;
  margin: 0;
  font-size: 0.98rem;
}

/* CONTACT BUTTONS */
.contact-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 2.35rem;
}

/* FANCY BUTTON */
.button {
  --primary: #ff5569;
  --neutral-1: #f7f8f7;
  --neutral-2: #e7e7e7;
  --radius: 14px;

  cursor: pointer;
  border-radius: var(--radius);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border: none;
  box-shadow:
    0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 4px 5px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 200px;
  padding: 20px;
  height: 68px;
  font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
}
.button:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.04);
}
.button:active {
  transform: scale(1);
  box-shadow:
    0 0 1px 2px rgba(255, 255, 255, 0.3),
    0 10px 3px -3px rgba(0, 0, 0, 0.2);
}
.button:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2.5px solid transparent;
  background:
    linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45)) border-box;
  z-index: 0;
  transition: all 0.4s ease;
}
.button:hover::after {
  transform: scale(1.05, 1.1);
  box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}
.button::before {
  content: "";
  inset: 7px 6px 6px 6px;
  position: absolute;
  background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
  border-radius: 30px;
  filter: blur(0.5px);
  z-index: 2;
}
.state p {
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: scale(1.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.state .icon svg {
  overflow: visible;
}

/* Outline */
.outline {
  position: absolute;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  inset: -2px -3.5px;
}
.outline::before {
  content: "";
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    from 180deg,
    transparent 60%,
    white 80%,
    transparent 100%
  );
  animation: spin 2s linear infinite;
  animation-play-state: paused;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.button:hover .outline {
  opacity: 1;
}
.button:hover .outline::before {
  animation-play-state: running;
}

/* Letters */
.state p span {
  display: block;
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.button:hover p span {
  opacity: 1;
  animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.button:focus p span {
  opacity: 1;
  animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
    color: var(--primary);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(5px) rotate(-90deg);
    color: var(--primary);
    filter: blur(5px);
  }
  30% {
    opacity: 1;
    transform: translateY(4px) translateX(0) rotate(0);
    filter: blur(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px) translateX(0) rotate(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }
}
@keyframes disapear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translateX(5px) translateY(20px);
    color: var(--primary);
    filter: blur(5px);
  }
}

/* Plane */
.state--default .icon svg {
  animation: land 0.6s ease forwards;
}
.button:hover .state--default .icon {
  transform: rotate(45deg) scale(1.25);
}
.button:focus .state--default svg {
  animation: takeOff 0.8s linear forwards;
}
.button:focus .state--default .icon {
  transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translateX(70px) rotate(45deg) scale(2);
  }
  100% {
    opacity: 0;
    transform: translateX(160px) rotate(45deg) scale(0);
  }
}
@keyframes land {
  0% {
    transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
    opacity: 0;
    filter: blur(3px);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* Contrail */
.state--default .icon:before {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 0;
  left: -5px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.button:focus .state--default .icon:before {
  animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
  0% {
    width: 0;
    opacity: 1;
  }
  8% {
    width: 15px;
  }
  60% {
    opacity: 0.7;
    width: 80px;
  }
  100% {
    opacity: 0;
    width: 160px;
  }
}

/* States */
.state {
  padding-left: 29px;
  z-index: 2;
  display: flex;
  position: relative;
}
.state--default span:nth-child(4) {
  margin-right: 5px;
}
.state--sent {
  display: none;
}
.state--sent svg {
  transform: scale(1.25);
  margin-right: 8px;
}
.button:focus .state--default {
  position: absolute;
}
.button:focus .state--sent {
  display: flex;
}
.button:focus .state--sent span {
  opacity: 0;
  animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.button:focus .state--sent .icon svg {
  opacity: 0;
  animation: appear 1.2s ease forwards 0.8s;
}
@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(4) rotate(-40deg);
    color: var(--primary);
    filter: blur(4px);
  }
  30% {
    opacity: 1;
    transform: scale(0.6);
    filter: blur(1px);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* FORM SECTION WRAPPER */
.container {
  margin-top: 3.5rem;
}

/* FORM CARD */
.improved-form {
  background: radial-gradient(circle at top left, #171717 0, #050505 60%);
  padding: 2.6rem 2.4rem;
  border-radius: 22px;

  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.03);

  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  gap: 2.2rem;

  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.improved-form::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 0 0, rgba(255, 191, 0, 0.12) 0, transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.improved-form:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.95),
    0 0 70px rgba(255, 191, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.08);
}

/* FORM TITLE & SUBTITLE */
.form-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* STEP CARDS LAYOUT */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.form-step {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.step-card {
  width: 60%;
  max-width: 580px;
  background: linear-gradient(135deg, #141414, #090909);
  border-radius: 20px;
  padding: 1.8rem 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.9),
    0 0 32px rgba(0, 0, 0, 0.7);
}

.step-card-left {
  margin-right: auto;
}

.step-card-right {
  margin-left: auto;
}

/* step header */
.step-header h3 {
  margin: 0.2rem 0 0.4rem;
  color: #ffffff;
  font-size: 1.25rem;
}

.step-header p {
  margin: 0;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
}

/* step body */
.step-body {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-body-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.5rem;
}

.step-input-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

/* input wrapper */
.input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.input-box .icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-soft);
  font-size: 1rem;
  opacity: 0.9;
  pointer-events: none;
}

/* reuse input-box look inside card */
.card-input-box {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), transparent 60%);
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

.card-input-box .icon {
  color: var(--gold-soft);
}

/* INPUTS / SELECTS */
.card-input-box input,
.card-input-box select {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.7rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 0.95rem;
  outline: none;
}

.card-input-box input::placeholder {
  color: rgba(200, 200, 200, 0.4);
}

.card-input-box:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.card-input-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 32px var(--gold-glow-strong);
}

/* STEP ACTION BUTTONS */
.step-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
}

.step-actions-final {
  justify-content: space-between;
}

.step-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.2s ease;
}

.step-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.primary-next {
  border-color: var(--gold);
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  color: #111;
  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.8),
    0 0 26px var(--gold-glow-strong);
}

.primary-next:hover {
  filter: brightness(1.03);
}

/* SUBMIT BUTTON */
.gradient-btn {
  width: 100%;
  padding: 1rem 1.3rem;

  background: linear-gradient(115deg, var(--gold), #ffda66);
  color: #121212;

  border: none;
  border-radius: 999px;
  cursor: pointer;

  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.9),
    0 0 32px rgba(255, 191, 0, 0.55);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.gradient-btn::after {
  content: "→";
  font-size: 1rem;
}

.gradient-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.95),
    0 0 46px rgba(255, 191, 0, 0.7);
}

.gradient-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.9),
    0 0 26px rgba(255, 191, 0, 0.45);
}

/* STATUS TEXT */
.form-status {
  margin-top: -0.4rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* PACKAGE SUMMARY (STEP 4) */
.package-summary {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.package-item {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.02), transparent 65%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

.package-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  color: #ffffff;
}

.package-meta {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.package-desc {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-medium);
}

/* FADE-UP */
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.85s ease forwards;
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.container.animate-fade-up {
  animation-delay: 0.12s;
}