:root {
  --header-height: 86px;
  --notice-height: 58px;
  --preview-gate-z: 1202;
  --preview-gate-border: rgba(168, 184, 255, 0.18);
  --preview-gate-focus: rgba(168, 184, 255, 0.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0a0a0f;
  color: #e0e0e5;
  line-height: 1.6;
  overflow-x: hidden;
}

html.preview-locked body,
body.preview-locked {
  overflow: hidden;
}

.site-shell {
  position: relative;
  transition:
    opacity 0.45s ease,
    filter 0.45s ease,
    transform 0.45s ease,
    visibility 0s linear 0s;
}

html.preview-locked .site-shell,
body.preview-locked .site-shell {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  filter: blur(22px);
  transform: scale(1.01);
  transition-delay: 0s, 0s, 0s, 0.45s;
}

html.preview-unlocked .site-shell,
body.preview-unlocked .site-shell {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  user-select: auto;
  filter: none;
  transform: none;
}

.preview-gate {
  position: fixed;
  inset: 0;
  z-index: var(--preview-gate-z);
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 184, 255, 0.14) 0%, transparent 34%),
    radial-gradient(circle at 78% 24%, rgba(126, 164, 255, 0.1) 0%, transparent 28%),
    linear-gradient(180deg, rgba(8, 9, 14, 0.9) 0%, rgba(10, 10, 15, 0.94) 100%);
  backdrop-filter: blur(26px);
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0s;
}

.preview-gate::before,
.preview-gate::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
}

.preview-gate::before {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  top: 8%;
  right: 8%;
  background: radial-gradient(circle, rgba(168, 184, 255, 0.14) 0%, transparent 68%);
  opacity: 0.55;
}

.preview-gate::after {
  width: min(42vw, 300px);
  height: min(42vw, 300px);
  bottom: 10%;
  left: 8%;
  background: radial-gradient(circle, rgba(126, 164, 255, 0.1) 0%, transparent 72%);
  opacity: 0.4;
}

.preview-gate-panel {
  position: relative;
  width: min(100%, 420px);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(18, 20, 30, 0.88) 0%, rgba(10, 10, 15, 0.94) 100%);
  border: 1px solid var(--preview-gate-border);
  box-shadow:
    0 28px 100px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.preview-gate-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 184, 255, 0.45) 50%, transparent 100%);
  opacity: 0.6;
}

.preview-gate-label {
  margin-bottom: 0.8rem;
  color: #a8b8ff;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.preview-gate-title {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 0%, #d8deef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preview-gate-form {
  display: grid;
  gap: 0.9rem;
}

.preview-gate-input {
  width: 100%;
  min-height: 56px;
  padding: 0 1.1rem;
  border: 1px solid rgba(168, 184, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 9, 14, 0.7);
  color: #f4f5fb;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.preview-gate-input::placeholder {
  color: rgba(176, 176, 181, 0.75);
}

.preview-gate-input:focus {
  outline: none;
  border-color: rgba(168, 184, 255, 0.42);
  box-shadow: 0 0 0 4px var(--preview-gate-focus);
  background: rgba(10, 12, 18, 0.88);
}

.preview-gate-input[aria-invalid="true"] {
  border-color: rgba(255, 148, 148, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 148, 148, 0.12);
}

.preview-gate-submit {
  min-height: 54px;
  border: 1px solid rgba(168, 184, 255, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 184, 255, 0.2) 0%, rgba(126, 164, 255, 0.14) 100%);
  color: #f5f7ff;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.preview-gate-submit:hover,
.preview-gate-submit:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(168, 184, 255, 0.34);
  background: linear-gradient(135deg, rgba(168, 184, 255, 0.3) 0%, rgba(126, 164, 255, 0.2) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  outline: none;
}

.preview-gate-feedback {
  min-height: 1.2rem;
  color: #ffb0b0;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.preview-gate-feedback.is-visible {
  opacity: 1;
}

.preview-gate-legal {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(224, 224, 229, 0.6);
  font-size: 0.78rem;
  line-height: 1.4;
}

.preview-gate-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.preview-gate-legal a:hover,
.preview-gate-legal a:focus-visible {
  color: rgba(244, 245, 251, 0.82);
  opacity: 1;
  outline: none;
}

html.preview-unlocked .preview-gate,
body.preview-unlocked .preview-gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-delay: 0s, 0.35s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.has-notice {
  padding-top: 0;
}

body.menu-open {
  overflow: hidden;
}

body.legal-page {
  padding-top: calc(var(--header-height) + 1.5rem);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body.has-notice section[id] {
  scroll-margin-top: calc(var(--header-height) + var(--notice-height) + 24px);
}

.prelaunch-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  min-height: var(--notice-height);
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 184, 255, 0.2);
  padding: 1rem 0;
  text-align: center;
}

.prelaunch-notice.hidden {
  display: none;
}

.prelaunch-notice-content {
  max-width: 1200px;
  min-height: calc(var(--notice-height) - 2rem);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: #b0b0b5;
}

.prelaunch-notice-text {
  flex: 1;
  text-align: center;
}

.prelaunch-dismiss {
  flex-shrink: 0;
  background: rgba(168, 184, 255, 0.2);
  border: 1px solid rgba(168, 184, 255, 0.3);
  color: #e0e0e5;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.prelaunch-dismiss:hover {
  background: rgba(168, 184, 255, 0.3);
  color: #ffffff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

body.has-notice .header {
  top: var(--notice-height);
}

.header.scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a8b8ff 0%, #7ea4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav,
.legal-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #b0b0b5;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.cta:hover {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #a8b8ff, #7ea4ff);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link.is-underlined::after {
  transform: scaleX(1);
}

.nav-link.cta {
  background: linear-gradient(135deg, #a8b8ff 0%, #7ea4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(168, 184, 255, 0.3);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.footer .nav-link {
  color: #a8b8ff;
}

.footer .nav-link::after {
  display: none;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #e0e0e5;
  transition: 0.3s;
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(rgba(10, 10, 15, 0.85), rgba(10, 10, 15, 0.4)), url("../PMHQ.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

body.has-notice .hero {
  min-height: 100vh;
  padding-top: calc(80px + var(--notice-height));
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top left, rgba(168, 184, 255, 0.15) 0%, transparent 60%);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: #b0b0b5;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  border: 0;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, #a8b8ff 0%, #7ea4ff 100%);
  color: #0a0a0f;
  box-shadow: 0 10px 40px rgba(168, 184, 255, 0.4);
}

.btn.primary:hover,
.btn.glow-active {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(168, 184, 255, 0.6);
}

.btn.secondary {
  color: #e0e0e5;
  border: 1px solid rgba(168, 184, 255, 0.3);
  background: transparent;
}

.btn.secondary:hover {
  background: rgba(168, 184, 255, 0.1);
  border-color: rgba(168, 184, 255, 0.5);
}

.btn.large {
  padding: 1.5rem 4rem;
  font-size: 1.2rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.glow-orb {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 184, 255, 0.3) 0%, rgba(126, 164, 255, 0.1) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.section {
  padding: 120px 0;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #b0b0b5;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #b0b0b5;
}

.about-visual {
  position: relative;
}

.abstract-lines {
  position: relative;
  width: 100%;
  height: 300px;
  background: linear-gradient(45deg, transparent 30%, rgba(168, 184, 255, 0.1) 50%, transparent 70%);
  border-radius: 20px;
  overflow: hidden;
}

.abstract-lines::before,
.abstract-lines::after {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, rgba(168, 184, 255, 0.2), transparent);
  animation: shift 6s ease-in-out infinite;
}

.abstract-lines::before {
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  animation-delay: 0s;
}

@keyframes shift {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(200px);
  }

  100% {
    transform: translateX(400px);
  }
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.product-card {
  background: rgba(20, 20, 30, 0.8);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(168, 184, 255, 0.1);
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.ecosystem-grid .product-card:nth-child(1) {
  background: rgba(10, 10, 15, 0.7);
  overflow: hidden;
}

.ecosystem-grid .product-card:nth-child(1)::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 80%, rgba(168, 184, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(126, 164, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 184, 255, 0.05) 0%, transparent 50%);
  animation: tech-drift 25s linear infinite;
  z-index: -1;
  filter: blur(1px);
}

@keyframes tech-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(10px, -10px) rotate(90deg);
  }

  50% {
    transform: translate(20px, 0) rotate(180deg);
  }

  75% {
    transform: translate(10px, 10px) rotate(270deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #a8b8ff, #7ea4ff);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  border-color: rgba(168, 184, 255, 0.3);
}

.product-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.product-card p {
  color: #b0b0b5;
  margin-bottom: 2rem;
}

.product-link {
  color: #a8b8ff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
}

.product-link:hover {
  color: #ffffff;
}

.product-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  opacity: 0;
  margin-top: 1.5rem;
}

.product-expand p {
  font-size: 1rem;
  line-height: 1.7;
  color: #a0a0ab;
  padding: 1.5rem 0 1rem;
  border-top: 1px solid rgba(168, 184, 255, 0.15);
}

.product-card.expanded .product-expand {
  max-height: 220px;
  opacity: 1;
}

.product-card.expanded {
  padding-bottom: 2.5rem;
}

.product-card.future {
  background: rgba(168, 184, 255, 0.05);
  border-color: rgba(168, 184, 255, 0.2);
}

.product-card.future h3 {
  color: #7ea4ff;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.principle {
  background: rgba(20, 20, 30, 0.6);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(168, 184, 255, 0.08);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  transition: all 0.4s ease;
}

.principle:hover:not(.expanded) {
  border-color: rgba(168, 184, 255, 0.15);
  transform: translateY(-4px);
}

.principle.expanded {
  background: rgba(25, 25, 35, 0.7);
  border-color: rgba(168, 184, 255, 0.15);
  padding-bottom: 3.5rem;
}

.principle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 184, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.principle.expanded::before {
  opacity: 1;
}

.principle-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #a8b8ff, #7ea4ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(168, 184, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.principle-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 2px solid rgba(10, 10, 15, 0.4);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.principle.expanded .principle-icon {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(168, 184, 255, 0.4);
}

.principle.expanded .principle-icon::before {
  opacity: 1;
}

.principle h3 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.principle p {
  color: #b0b0b5;
}

.expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  opacity: 0;
  margin-top: 1.5rem;
}

.expanded-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #a8a8b0;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(168, 184, 255, 0.15);
  margin-top: 2rem;
}

.principle.expanded .expanded-content {
  max-height: 220px;
  opacity: 1;
}

.cta {
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(168, 184, 255, 0.1) 0%, transparent 70%);
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toggle-panel {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  margin: 0 auto;
}

.toggle-panel.active {
  box-shadow: 0 20px 60px rgba(168, 184, 255, 0.35);
  transform: translateY(-2px);
}

#inquiry-panel {
  width: min(100%, 1000px);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.lock-notice {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(168, 184, 255, 0.32);
  background: rgba(168, 184, 255, 0.12);
  color: #e0e0e5;
  text-align: center;
}

.lock-notice strong {
  display: block;
  margin-bottom: 0.4rem;
}

.lock-notice p {
  color: #b0b0b5;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.upload-area input[type="file"] {
  display: none;
}

.submit-lock {
  width: 100%;
}

.inquiry-form.locked input[disabled],
.inquiry-form.locked textarea[disabled],
.inquiry-form.locked select[disabled],
.inquiry-form.locked button[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.inquiry-form.locked input[disabled]:focus,
.inquiry-form.locked textarea[disabled]:focus,
.inquiry-form.locked select[disabled]:focus {
  transform: none;
  box-shadow: inset 0 1px 0 rgba(168, 184, 255, 0.08), 0 4px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(168, 184, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.inquiry-form.locked .upload-group,
.inquiry-form.locked .upload-drag {
  cursor: not-allowed;
}

.inquiry-form.locked .upload-group:hover,
.inquiry-form.locked .upload-drag:hover {
  transform: none;
  box-shadow: none;
}

.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(168, 184, 255, 0.1);
  text-align: center;
  color: #80808a;
}

#immersive-zone {
  position: relative;
  --mouse-x: 50%;
  --mouse-y: 50%;
  isolation: isolate;
  min-height: 300vh;
}

.immersive-video-layer {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  will-change: opacity;
}

.immersive-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(0px) scale(1.12);
  transform-origin: center center;
  filter: brightness(0.38) contrast(1.12) saturate(0.72);
  opacity: 1;
}

.immersive-video-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.98) 0%,
    rgba(10, 10, 15, 0.86) 18%,
    rgba(10, 10, 15, 0.68) 42%,
    rgba(10, 10, 15, 0.74) 68%,
    rgba(10, 10, 15, 0.92) 100%
  );
}

.immersive-video-layer .immersive-video {
  z-index: 0;
}

.immersive-content-track {
  position: relative;
  z-index: 300;
  padding-top: 2vh;
  padding-bottom: 12vh;
}

#immersive-zone::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(
    ellipse 255px 185px at var(--mouse-x) var(--mouse-y),
    rgba(168, 184, 255, 0.18) 0%,
    rgba(168, 184, 255, 0.10) 18%,
    rgba(126, 164, 255, 0.07) 38%,
    transparent 88%
  );
  filter: blur(62px) brightness(1.28);
  opacity: 0.38;
  z-index: 200;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
  mask-image: linear-gradient(white 0%, white 85%, transparent 100%);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.legal-main {
  padding: 3rem 0 5rem;
}

.legal-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(20, 20, 30, 0.8);
  border-radius: 24px;
  border: 1px solid rgba(168, 184, 255, 0.1);
}

.legal-content h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 1.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-content h2 {
  margin: 1.8rem 0 0.7rem;
  color: #ffffff;
  font-size: 1.15rem;
}

.legal-content p,
.legal-content li {
  color: #b0b0b5;
}

.legal-content a {
  color: #a8b8ff;
  text-decoration: none;
}

.legal-content a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero .container,
  .about-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 3rem;
  }

  .hero .container {
    align-items: center;
    justify-items: center;
  }

  .hero-content {
    width: min(100%, 620px);
    max-width: 100%;
    justify-self: center;
  }

  .hero-visual {
    width: min(100%, 420px);
    justify-self: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .preview-gate {
    place-items: center;
    padding:
      max(24px, calc(env(safe-area-inset-top, 0px) + 24px))
      20px
      max(24px, calc(env(safe-area-inset-bottom, 0px) + 24px));
    background:
      radial-gradient(circle at 50% 18%, rgba(168, 184, 255, 0.14) 0%, transparent 34%),
      radial-gradient(circle at 52% 82%, rgba(126, 164, 255, 0.1) 0%, transparent 30%),
      linear-gradient(180deg, rgba(8, 9, 14, 0.9) 0%, rgba(10, 10, 15, 0.94) 100%);
  }

  .preview-gate::before {
    width: min(74vw, 360px);
    height: min(74vw, 360px);
    top: 6%;
    right: 50%;
    transform: translateX(50%);
  }

  .preview-gate::after {
    width: min(64vw, 260px);
    height: min(64vw, 260px);
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
  }

  .preview-gate-panel {
    width: min(100%, 400px);
    margin-inline: auto;
    border-radius: 24px;
    text-align: center;
  }

  .preview-gate-feedback {
    text-align: center;
  }

  .preview-gate-legal {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    width: min(260px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(168, 184, 255, 0.16);
    background: rgba(12, 12, 18, 0.95);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  }

  .nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .prelaunch-notice-content {
    flex-wrap: wrap;
  }

  .prelaunch-notice-text {
    text-align: center;
  }

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

  .hero {
    background-attachment: scroll;
    background-position: 42% center;
  }

  .hero .container {
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .hero::before {
    background: radial-gradient(ellipse at 50% 18%, rgba(168, 184, 255, 0.15) 0%, transparent 62%);
  }

  .hero-content {
    margin-inline: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .immersive-video {
    filter: brightness(0.48) contrast(1.2) saturate(0.74);
  }
}

@media (max-width: 768px), (pointer: coarse) {
  #immersive-zone::before {
    opacity: 0.08;
    filter: blur(52px);
    mask-image: linear-gradient(white 0%, transparent 90%);
  }
}

@media (max-width: 560px) {
  .preview-gate {
    padding-left: 18px;
    padding-right: 18px;
  }

  .preview-gate-panel {
    width: min(100%, 360px);
    padding: 1.5rem 1.35rem;
  }

  .section {
    padding: 84px 0;
  }

  .hero-buttons {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .btn,
  .btn.large {
    width: 100%;
  }

  .product-card,
  .principle,
  .legal-content {
    padding: 2rem 1.5rem;
  }
}

/* Positioning Section */
.positioning-content {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  text-align: center;
}

.positioning-content p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #b0b0b5;
}

.positioning {
  padding-top: 140px;
  padding-bottom: 140px;
}

/* Mercy Trading Deep Dive */

.mercy-trading {
  padding-top: 160px;
  padding-bottom: 160px;
}

.mt-intro {
  max-width: 760px;
  margin: 0 auto 120px;
  text-align: center;
}

.mt-text {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.mt-text p {
  color: #b8bcc8;
  line-height: 1.75;
  font-size: 1.1rem;
}

.mt-block {
  max-width: 680px;
  margin: 0 auto 120px;
  text-align: center;
}

.mt-heading {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.mt-block p {
  color: #aeb3c2;
  line-height: 1.7;
  font-size: 1.05rem;
}

.mt-closing {
  max-width: 760px;
  margin: 120px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.mt-closing p {
  color: #b8bcc8;
  line-height: 1.75;
  font-size: 1.1rem;
}

/* Systems / Automation Section */

.systems {
  padding-top: 140px;
  padding-bottom: 140px;
}

.systems-intro {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.systems-block {
  max-width: 620px;
  margin: 0 auto 80px;
  text-align: center;
}

.systems-heading {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.systems-block p {
  color: #aeb3c2;
  line-height: 1.7;
  font-size: 1.05rem;
}

.systems-closing {
  max-width: 720px;
  margin: 60px auto 0;
  text-align: center;
}

.systems-closing p {
  color: #b8bcc8;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* First immersive fade-out marker */
.immersive-fade-anchor {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

/* Workflow / Approach Section */

.workflow {
  padding-top: 120px;
  padding-bottom: 140px;
}

.workflow-intro {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.workflow-card {
  position: relative;
  border-radius: 24px;
  background: rgba(18, 18, 28, 0.72);
  border: 1px solid rgba(168, 184, 255, 0.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.workflow-card:hover:not(.expanded) {
  border-color: rgba(168, 184, 255, 0.22);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.workflow-toggle {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.6rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: center;
}

.workflow-toggle h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin: 0;
}

.workflow-symbol {
  position: relative;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.workflow-line,
.workflow-corner,
.workflow-arc {
  position: absolute;
  display: block;
  border-color: rgba(168, 184, 255, 0.88);
}

.workflow-line {
  background: linear-gradient(90deg, rgba(168, 184, 255, 0.92), rgba(126, 164, 255, 0.72));
  border-radius: 999px;
}

.workflow-line-horizontal {
  width: 42px;
  height: 2px;
  left: 16px;
  top: 36px;
}

.workflow-line-vertical {
  width: 2px;
  height: 42px;
  left: 36px;
  top: 16px;
}

.workflow-line-top,
.workflow-line-mid,
.workflow-line-bottom {
  width: 42px;
  height: 2px;
  left: 16px;
}

.workflow-line-top {
  top: 20px;
}

.workflow-line-mid {
  top: 36px;
}

.workflow-line-bottom {
  top: 52px;
}

.workflow-corner {
  width: 18px;
  height: 18px;
  border-style: solid;
}

.workflow-corner-tl {
  top: 16px;
  left: 16px;
  border-width: 2px 0 0 2px;
}

.workflow-corner-tr {
  top: 16px;
  right: 16px;
  border-width: 2px 2px 0 0;
}

.workflow-corner-bl {
  bottom: 16px;
  left: 16px;
  border-width: 0 0 2px 2px;
}

.workflow-corner-br {
  bottom: 16px;
  right: 16px;
  border-width: 0 2px 2px 0;
}

.workflow-arc {
  width: 28px;
  height: 28px;
  border-style: solid;
  border-width: 2px;
  border-radius: 999px;
  background: transparent;
}

.workflow-arc-left {
  left: 14px;
  top: 23px;
  border-right-color: transparent;
}

.workflow-arc-right {
  right: 14px;
  top: 23px;
  border-left-color: transparent;
}

.workflow-expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease;
}

.workflow-expand p {
  color: #b0b6c4;
  line-height: 1.72;
  font-size: 1rem;
  padding: 0 1.8rem 1.8rem;
  margin: 0;
  border-top: 1px solid rgba(168, 184, 255, 0.12);
  padding-top: 1.4rem;
}

.workflow-card.expanded {
  border-color: rgba(168, 184, 255, 0.18);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.workflow-card.expanded .workflow-expand {
  max-height: 220px;
  opacity: 1;
}

.workflow-card.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
}

.workflow-card.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.workflow-grid .workflow-card:nth-child(1) {
  transition-delay: 0ms;
}

.workflow-grid .workflow-card:nth-child(2) {
  transition-delay: 80ms;
}

.workflow-grid .workflow-card:nth-child(3) {
  transition-delay: 160ms;
}

.workflow-grid .workflow-card:nth-child(4) {
  transition-delay: 240ms;
}

@media (max-width: 900px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .workflow-toggle {
    padding: 1.6rem 1.2rem;
  }

  .workflow-expand p {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
    padding-bottom: 1.4rem;
  }
}
