:root {
  --bg: #0e0f1a;
  --card: #151728;
  --accent: #ff8bbd;
  --accent-2: #ff6fb2;
  --text: #e8e9f1;
  --muted: #a6a8be;
}

html,
body {
  background: radial-gradient(1000px 500px at 85% 90%, rgba(255, 139, 189, 0.08), transparent),
    radial-gradient(800px 400px at 15% 20%, rgba(255, 139, 189, 0.06), transparent),
    var(--bg);
  color: var(--text);
  font-family: "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  overflow-x: hidden;
}

.text-muted-ux {
  color: var(--muted) !important;
}

.badge-ux {
  background: rgba(255, 139, 189, 0.18);
  color: var(--text);
  border: 1px solid rgba(255, 139, 189, 0.4);
  font-size: 0.75rem;
}

@media (max-width: 576px) {
  .badge-ux {
    font-size: 0.65rem;
    padding: 0.35rem 0.6rem !important;
  }
}

.btn-ux {
  background: var(--accent);
  border: none;
  color: #0d0e18;
  font-weight: 700;
  transition: filter 0.2s ease;
}

.btn-ux:hover {
  background: #ffacd0;
  filter: brightness(1.05);
  color: #0d0e18;
}

.chip {
  background: #1b1f36;
  border: 1px solid #2a2f52;
  color: var(--text);
  display: inline-block;
  white-space: nowrap;
}

/* nav */
.navbar {
  background: rgba(13, 14, 24, 0.6);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #20233e;
  padding: 0.5rem 0;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 1px solid var(--accent);
  border-radius: 6px;
}

.brand-pill {
  background: #1c1f34;
  border: 1px solid #2b2f52;
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 1rem);
}

@media (max-width: 576px) {
  .navbar-brand {
    gap: 0.5rem !important;
  }
}

/* hero */
.hero {
  padding-top: 100px;
  padding-bottom: 2rem;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(1.875rem, 5vw, 3.5rem);
}

.hero p {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

@media (min-width: 992px) {
  .hero {
    padding-bottom: 4rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 1.5rem;
  }

  .hero .btn {
    width: 100%;
    font-size: 0.875rem;
  }
}

/* Thumbnail */
.feature-card {
  background: #121426;
  border: 1px solid #24284a;
  border-radius: 20px;
  height: 100%;
}

.feature-media {
  aspect-ratio: 16/9;
  background: #0f1222;
  border-radius: 16px;
  border: 1px dashed #2a2f52;
}

/* section */
.section-title {
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.section-title .amp {
  color: var(--accent);
}

/* team card */
.team-card {
  background: var(--card);
  border: 1px solid #262b4c;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.team-card .thumb {
  aspect-ratio: 4/3;
  background: #0f1222;
}

.team-card .name {
  font-weight: 800;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.team-card .btn {
  font-size: 0.75rem;
}

@media (max-width: 576px) {
  .team-card .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .team-card .btn {
    width: 100%;
  }
}

/* CTA */
.cta-wrap {
  background: #1b1f34;
  border: 1px solid #2b2f52;
  border-radius: 24px;
}

.cta-inner {
  background: var(--accent);
  color: #0e0f1a;
  border-radius: 18px;
  gap: 1rem !important;
}

.cta-inner .btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column !important;
    text-align: center;
  }

  .cta-inner .btn {
    width: 80%;
  }
}

/* Footer */
footer {
  color: var(--muted);
  border-top: 1px solid #20233e;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
}

@media (max-width: 576px) {
  footer .d-flex {
    flex-direction: column !important;
    text-align: center;
  }
}

/* Section */
section {
  scroll-margin-top: 80px;
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.container-xxl {
  padding: 0 1rem;
}

@media (max-width: 576px) {
  .container-xxl {
    padding: 0 0.75rem;
  }
}

/* link */
.link-light {
  transition: color 0.2s ease;
}

.link-light:hover {
  color: var(--accent) !important;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 15, 26, 0.3);
  backdrop-filter: blur(8px);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Form Container */
.form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 139, 189, 0.3);
  box-shadow: 0 8px 32px 0 rgba(255, 105, 180, 0.3);
  max-width: 460px;
  width: 80%;
  padding: 35px;
  position: relative;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 139, 189, 0.2);
  border: 1px solid rgba(255, 139, 189, 0.3);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
  font-weight: 300;
}

.close-btn:hover {
  background: rgba(255, 139, 189, 0.3);
  transform: rotate(90deg);
}

.form-container h1 {
  color: white;
  margin-bottom: 8px;
  font-size: 25px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

.form-container .subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  font-size: 12px;
  font-weight: 400;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 15px;
  color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 139, 189, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 139, 189, 0.15);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.form-group select option {
  background: #151728;
  color: white;
}

.required {
  color: #ff69b4;
  text-shadow: 0 0 8px rgba(255, 105, 180, 0.6);
}

.form-container button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 16px rgba(255, 105, 180, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-container button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 105, 180, 0.4);
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
}

.form-container button[type="submit"]:active {
  transform: translateY(-1px);
}

.form-container button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.message {
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  display: none;
  backdrop-filter: blur(10px);
}

.message.success {
  background: rgba(72, 187, 120, 0.2);
  color: white;
  border: 1px solid rgba(72, 187, 120, 0.4);
}

.message.error {
  background: rgba(245, 101, 101, 0.2);
  color: white;
  border: 1px solid rgba(245, 101, 101, 0.4);
}

.message.show {
  display: block;
  animation: slideIn 0.3s ease-out;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .form-container {
    padding: 35px 25px;
  }

  .form-container h1 {
    font-size: 15px;
  }

  .form-container .subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    font-size: 12px;
    font-weight: 400;
  }

  .form-group label {
    display: block;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
    font-size: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
}