/* =========================
   Seal Ritual UI (Final Clean Version)
========================= */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, #1a1a1a 0%, #0e0e0e 60%),
    linear-gradient(180deg, #121212 0%, #0c0c0c 100%);
  color: #f2f2f2;
}

.sealed-mode {
  background-color: #0e0f11;
  transition: background 0.4s ease;
}

/* Console Phase */

.seal-console {
  font-family: monospace;
  color: #9aa0a6;
  line-height: 1.9;
}

.active-line {
  color: #00ffcc;
  transition: color 0.15s ease;
}

/* Declaration Phase */

.seal-declaration {
  text-align: center;
  animation: fadeIn 0.4s ease-in;
}

.seal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

.seal-bind {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 15px;
}

/* Root Presentation */

.seal-root-block {
  margin-top: 18px;
}

.seal-root-label {
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.seal-root-id {
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 1px;
}

.seal-root-meta {
  font-size: 11px;
  opacity: 0.5;
  margin-top: 4px;
}

/* Badge */

.seal-badge {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #00ffcc;
}

/* Animation */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.panel {
  line-height: 1.6;
}

.panel h2 {
  margin-bottom: 12px;
}

.panel p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.panel div {
  margin-top: 10px;
}

.tagline {
  margin-top: 8px;
  opacity: 0.8;
}

.tagline {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

.tagline {
  max-width: 480px;
}

/* =========================
   LCM Result Styling
========================= */

#result-container p:nth-child(3) {
  font-family: monospace;
  opacity: 0.85;
}

/* 패널 내부 텍스트 간격 압축 */

.panel p {
  margin: 3px 0;
  line-height: 1.18;
}

/* 해시 전용 스타일 */
.hash {
  word-break: break-all;
  font-size: 12px;
  opacity: 0.85;
}

.status-sealed {
  color: #27ae60;
  font-weight: 500;
}

.status-sealed .check {
  margin-left: 4px;
}

.status-verified {
  color: #2ecc71;
  font-weight: 500;
}

.integration-link {
  margin-top: 12px;
  opacity: 0.8;
  cursor: pointer;
}

.integration-link {
  color: #00ff88;      /* Valid와 동일 */
  font-weight: 600;
  text-decoration: underline;  
}

.integration-link:hover {
  opacity: 1;
}

.no-verification {
  margin-top: 8px;
  opacity: 0.75;
  font-style: italic;
}

.controls {
  position: sticky;
  bottom: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  background: linear-gradient(to top, #0f1115 70%, transparent);
}

.integration-wrapper {
  padding-top: 10px;   /* 40 → 10 */
  padding-left: 10px;
  padding-right: 40px;
  padding-bottom: 40px;
}

.wrapper {
  max-width: 1300px;   /* 1100 → 1400 */
  margin: 0 auto;
}

.wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;      /* 좌우 여백 확보 */
  min-height: 100vh;    /* 화면 최소 높이 보장 */
}

.integration-content {
  display: flex;
  gap: 40px;
}

.integration-left,
.integration-right {
  width: 50%;
}

.code-block {
  background: #111;
  color: #0f0;
  padding: 20px;
  border-radius: 8px;
  font-family: monospace;
  overflow-x: auto;
}

.api-key-box {
  margin-top: 20px;
}

.api-key-box input {
  width: 70%;
  padding: 8px;
  background: #222;
  border: 1px solid #444;
  color: white;
}

.api-key-box button {
  padding: 8px 12px;
  margin-left: 8px;
}

/* =====================================================
   PANELS LAYOUT
===================================================== */

.panels {
  display: flex;
  gap: 60px;
  margin-top: 10px;
  margin-bottom: 60px;
}

.panel {
  padding: 20px;
}

.panel:first-child {
  padding-top: 10px;
}

.panel:first-child h2 {
  margin-top: 40px;   /* 10~30px 사이에서 조정 */
}

.panel {
  flex: 1;
  background: #111318;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 36px;
}

.panel h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.code-editor {
  background: transparent;
  padding: 0;
  border: none;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.code-editor pre {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.95;
  margin-top: -32px;
}

.explanation p {
  margin-bottom: 22px;
  line-height: 1.7;
  opacity: 0.9;
}

.explanation strong {
  font-size: 15px;
  font-weight: 600;
}

/* =====================================================
   Integration Hero Spacing Upgrade
===================================================== */

.integration-hero {
  margin-top: 40px;
  margin-bottom: 20px;
  margin-left: 13px;
}

.code-editor,
.code-editor pre,
.code-editor code {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.50;
  opacity: 1;        /* ← 숫자 */
  font-weight: 500;  /* ← 따로 추가 */
  white-space: pre;
}

/* =====================================================
   LCM FINAL CTA
===================================================== */

.lcm-cta {
  text-align: center;
  margin: 40px 0;
}

.cta-headline {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;

  color: #0d0f14;
  background: #00ff88;

  border-radius: 8px;
  text-decoration: none;

  transition: all 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,255,136,0.25);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,255,136,0.2);
}

.lcm-cta {
  text-align: center;
  margin: 80px 0;
}

.lcm-cta {
  background: yellow;
}

.panel-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-cta-text {
  font-size: 15px;
  opacity: 0.85;
}

.panel-cta-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #00ffcc, #00d4ff);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.panel-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,255,200,0.3);
}

.panel-cta-text { 
  color: var(--lcm-accent);
}

.panel-cta-text {
  color: var(--lcm-accent);
  font-weight: 600;
  opacity: 0.95;
}

:root {
  --lcm-accent: #00ff88;
}

.discuss-link {
  color: var(--lcm-accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.discuss-link:hover {
  text-decoration: underline;
}

.cta-btn {
  background: transparent;
  color: var(--lcm-accent);
  border: none;           /* ← 이 줄 */
  padding: 0;             /* 버튼 느낌 제거 */
}

.cta-btn:hover {
  background: none;      /* 채워지는 효과 제거 */
  color: var(--lcm-accent);
}

.request-link{
  color:var(--lcm-accent);
  text-decoration:none;
  font-weight:600;
}

.request-link:hover{
  text-decoration:underline;
}

/* ================================= */
/* LCM GLOBAL LAYOUT SYSTEM */
/* ================================= */

/* 모든 페이지 기본 */

body{
margin:0;
font-family:-apple-system,BlinkMacSystemFont,"Inter",sans-serif;
background:#0d0f14;
color:white;
}

/* 페이지 기본 컨테이너 */

.lcm-container{
max-width:1100px;
margin:0 auto;
padding:40px 24px;
}

/* 좁은 페이지 (폼, quickstart) */

.lcm-container-narrow{
max-width:640px;
margin:0 auto;
padding:40px 24px;
}

/* 중간 페이지 */

.lcm-container-medium{
max-width:820px;
margin:0 auto;
padding:40px 24px;
}

/* 넓은 페이지 */

.lcm-container-wide{
max-width:1280px;
margin:0 auto;
padding:40px 24px;
}

/* section spacing */

.lcm-section{
margin-bottom:48px;
}

/* 제목 */

.lcm-title{
font-size:42px;
font-weight:700;
margin-bottom:12px;
}

.lcm-sub{
color:#94a3b8;
margin-bottom:28px;
}

/* 카드 */

.lcm-card{
background:#161a21;
border:1px solid rgba(255,255,255,0.08);
border-radius:14px;
padding:24px;
}

/* 코드 */

pre{
background:#0b0f15;
border-radius:10px;
padding:16px;
overflow:auto;
}

code{
font-family:monospace;
}

/* ============================= */
/* MOBILE SUPPORT */
/* ============================= */

@media (max-width:768px){

/* Topbar */

.lcm-topbar-inner{
flex-wrap:wrap;
gap:10px;
}

.lcm-nav{
flex-wrap:wrap;
gap:12px;
}

/* Docs layout */

.docs-layout{
flex-direction:column;
}

.docs-sidebar{
width:100%;
border-right:none;
border-bottom:1px solid rgba(255,255,255,0.08);
}

/* Containers */

.container,
.lcm-container-medium,
.lcm-container-wide{
padding:20px;
}

/* Result grid */

.result-grid{
grid-template-columns:1fr;
}

/* Buttons */

button{
width:100%;
padding:14px 20px;
font-size:16px;
}

/* Inputs */

input,
textarea{
width:100%;
}

}




