/* Fonts */
@import url("https://cdn.jsdelivr.net/gh/sunn-us/SUIT/fonts/variable/woff2/SUIT-Variable.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-SUIT), sans-serif;
  background-color: #ffffff;
  color: #252525;
  position: relative;
  overflow-x: hidden;
}

#wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main Content */
.main-content {
  position: relative;
  flex: 1;
  padding-top: 100px;
}

/* Background Decorations */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  overflow: hidden;
}

.bg-circle-1 {
  width: 720px;
  height: 720px;
  top: 398px;
  right: 200px;
  background: radial-gradient(
    circle,
    rgba(101, 56, 255, 0.03) 0%,
    transparent 70%
  );
  filter: blur(64px);
}

.bg-circle-2 {
  width: 882px;
  height: 882px;
  top: 1459px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(101, 56, 255, 0.04) 0%,
    transparent 70%
  );
  filter: blur(64px);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px 80px;
}

.hero-badge {
  font-family: "SUIT Variable", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #6454ed;
  letter-spacing: -0.36px;
  text-transform: lowercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: "SUIT Variable", sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: #000000;
  line-height: 90px;
  letter-spacing: -1.44px;
  text-transform: capitalize;
  margin-bottom: 32px;
}

.text-primary {
  color: #6454ed;
}

.hero-description {
  font-family: "SUIT Variable", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #475467;
  line-height: 1.6;
  letter-spacing: -0.4px;
  text-transform: lowercase;
}

/* Form Container */
.form-container {
  max-width: 891px;
  margin: 0 auto 200px;
  background: white;
  border-radius: 16px;
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.04);
  padding: 80px 80px 60px;
  position: relative;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

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

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: "SUIT Variable", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #252525;
  letter-spacing: -0.3px;
  line-height: 2;
  font-feature-settings: "case", "cpsp", "pwid";
}

.form-group input,
.form-group select {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  background: #f6f7f9;
  border: none;
  border-radius: 8px;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 15px;
  color: #000000;
  letter-spacing: -0.3px;
  line-height: 2;
  font-feature-settings: "case", "cpsp", "pwid";
}

.form-group input::placeholder {
  color: #aaaaaa;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  background: #eef0f3;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.select-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.divider {
  height: 1px;
  background: #eaeaea;
  margin: 18px 0;
}

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 6px;
  background: white;
  border: 1px solid #727272;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
  background: #6454ed;
  border-color: #6454ed;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.checkbox-label {
  font-family: "SUIT Variable", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #252525;
  letter-spacing: -0.3px;
  line-height: 2;
}

/* Submit Button */
.btn-submit {
  width: 304px;
  height: 60px;
  margin: 32px auto 0;
  background: #6454ed;
  border: none;
  border-radius: 10px;
  font-family: "SUIT Variable", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: #5343dc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(100, 84, 237, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  background: #d0d5dd;
  cursor: not-allowed;
}

/* Custom Select Dropdown */
.inq-custom-select {
  position: relative;
  width: 100%;
}

.inq-select-trigger {
  width: 100%;
  height: 60px;
  padding: 0 40px 0 20px;
  background: #f6f7f9;
  border: none;
  border-radius: 8px;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 15px;
  color: #000000;
  letter-spacing: -0.3px;
  line-height: 2;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.inq-select-trigger:hover {
  background: #eef0f3;
}

.inq-select-value {
  color: #aaaaaa;
  flex: 1;
}

.inq-select-value.selected {
  color: #000000;
}

.inq-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
  pointer-events: none;
}

.inq-custom-select.is-open .inq-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.inq-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.inq-custom-select.is-open .inq-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.inq-select-option {
  padding: 12px 20px;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 15px;
  color: #000000;
  cursor: pointer;
  transition: background 0.15s;
  list-style: none;
}

.inq-select-option:hover {
  background: #f6f7f9;
}

.inq-select-option.is-selected {
  background: #eef0f3;
  color: #6454ed;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .footer-content {
    padding: 0 80px;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
    line-height: 60px;
  }

  .hero-description {
    font-size: 16px;
  }

  .form-container {
    margin: 0 20px 100px;
    padding: 40px 40px 40px;
  }

  .footer-content {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .hero-badge {
    font-size: 14px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -0.64px;
  }

  .hero-description {
    font-size: 14px;
  }

  .form-container {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    width: 100%;
  }

  .footer-content {
    padding: 0 20px;
  }
}
