/* Evolve Desktop 전용 — v6 00-3 좌표: LeftSidebar 248 고정 / TopUtilityBar 72 / 1920x1080 기준
   Mobile CSS 수정 금지 원칙: 이 파일은 Desktop 전용이다. */

body.site-desktop { min-width: 1024px; }

/* ===== 좌측 고정 사이드바 (248px, 다크 네이비) ===== */
.d-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 248px; z-index: 100;
  background: linear-gradient(180deg, var(--shell) 0%, var(--shell-2) 100%);
  color: var(--shell-text); display: flex; flex-direction: column;
  border-right: 1px solid var(--shell-border);
}
.d-logo { display: flex; align-items: center; gap: 11px; padding: 20px 22px 16px; text-decoration: none; }
.d-logo .logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 4px 12px rgba(37, 99, 235, .5);
}
.d-logo .logo-text { color: #fff; font-size: 19px; font-weight: 700; letter-spacing: .01em; }

.d-nav { flex: 1; padding: 10px 12px; overflow-y: auto; }
.d-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 3px;
  border-radius: 10px; color: var(--shell-text); text-decoration: none; font-size: 14.5px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; /* 다국어 1.3배 */
  transition: background .15s, color .15s;
}
.d-nav a .ico { width: 20px; text-align: center; flex: none; }
.d-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.d-nav a.active { background: linear-gradient(135deg, var(--primary), #3B82F6); color: #fff; font-weight: 700; box-shadow: 0 6px 14px rgba(37, 99, 235, .35); }

/* 사이드바 하단 기술지원 박스 (시안) */
.d-support-box {
  margin: 12px; padding: 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--shell-border);
  font-size: 12.5px; line-height: 1.6;
}
.d-support-box .t { color: #fff; font-weight: 700; font-size: 13.5px; display: flex; gap: 7px; align-items: center; margin-bottom: 3px; }
.d-support-box .btn { width: 100%; margin-top: 10px; padding: 9px; font-size: 13px; }
.d-copy { padding: 12px 22px 18px; font-size: 11.5px; color: #64748B; }

/* ===== 본문 영역 ===== */
.d-main { margin-left: 248px; min-height: 100vh; display: flex; flex-direction: column; }

/* 상단 유틸리티 바 (검색/언어/로그인만 — 주메뉴 금지) */
.d-topbar {
  height: 72px; background: var(--shell); border-bottom: 1px solid var(--shell-border);
  display: flex; align-items: center; gap: 14px; padding: 0 32px; position: sticky; top: 0; z-index: 90;
}
.d-search { flex: 1; max-width: 460px; position: relative; }
.d-search input {
  width: 100%; padding: 10px 40px 10px 16px; border-radius: 10px; font-size: 14px; font-family: inherit;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #E2E8F0;
}
.d-search input::placeholder { color: #64748B; }
.d-search .search-ico { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #64748B; }
.d-topbar .spacer { flex: 1; }

/* ===== 히어로 (다크, CSS 아트) ===== */
.d-hero {
  position: relative; overflow: hidden; background: var(--shell); color: #fff;
  padding: 54px 48px 60px; isolation: isolate;
}
.d-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 78% 40%, rgba(37, 99, 235, .35), transparent 65%),
    radial-gradient(400px 240px at 92% 80%, rgba(96, 165, 250, .22), transparent 60%),
    linear-gradient(120deg, var(--shell) 30%, var(--shell-3) 100%);
}
.d-hero-inner { display: flex; align-items: center; gap: 40px; max-width: 1400px; }
.d-hero h1 { font-size: 34px; line-height: 1.3; margin: 0 0 14px; font-weight: 800; }
.d-hero p { color: #AAB8CE; font-size: 15.5px; max-width: 560px; margin: 0 0 26px; }
.d-hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.d-hero-left { flex: 1; min-width: 480px; }

/* 히어로 우측 CSS 비주얼 (이미지 없이 코드로) */
.d-hero-visual { flex: none; width: 380px; height: 250px; position: relative; }
.d-hero-visual .cube {
  position: absolute; border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .9), rgba(96, 165, 250, .55));
  box-shadow: 0 0 60px rgba(59, 130, 246, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: rotate(45deg);
}
.d-hero-visual .c1 { width: 130px; height: 130px; left: 120px; top: 42px; }
.d-hero-visual .c2 { width: 74px; height: 74px; left: 46px; top: 130px; opacity: .8; }
.d-hero-visual .c3 { width: 54px; height: 54px; left: 264px; top: 140px; opacity: .65; }
.d-hero-visual .c1::after {
  content: "E"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transform: rotate(-45deg); font-size: 56px; font-weight: 800; color: #fff;
}
.d-hero-visual .ring {
  position: absolute; inset: -8px 30px; border: 1px dashed rgba(96, 165, 250, .35); border-radius: 24px;
}

/* ===== 콘텐츠 그리드 ===== */
.d-content { flex: 1; padding: 34px 48px 48px; max-width: 1560px; width: 100%; }
.d-section-title { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.d-section-title h2 { font-size: 19px; margin: 0; display: flex; align-items: center; gap: 9px; }
.d-section-title h2 .bar { width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, var(--primary), var(--primary-2)); }
.d-section-title a { font-size: 13.5px; color: var(--primary); font-weight: 600; text-decoration: none; }

.d-featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
@media (max-width: 1500px) { .d-featured-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1240px) { .d-featured-grid { grid-template-columns: repeat(2, 1fr); } }

.d-two-col { display: grid; grid-template-columns: 700fr 952fr; gap: 20px; }

/* 라이선스/지원 3피처 */
.d-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.d-feature { display: flex; gap: 12px; align-items: flex-start; }
.d-feature .f-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: #EFF6FF; color: var(--primary); font-size: 19px;
}
.d-feature .f-t { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.d-feature .f-d { font-size: 12.5px; color: var(--text-2); }

/* ===== 페이지 공통 ===== */
.d-page-head { margin: 0 0 22px; }
.d-page-head h1 { font-size: 24px; margin: 0 0 6px; }
.d-page-head p { color: var(--text-2); margin: 0; font-size: 14px; }
.d-filter-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; }
.d-filter-bar input, .d-filter-bar select { padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; }

/* 상세 페이지 */
.d-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.d-detail .detail-body { white-space: pre-wrap; font-size: 14.5px; color: var(--text-2); }
.d-buy-box .price-line { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 16px; }
.d-buy-box .price-line .now { font-size: 26px; font-weight: 800; color: var(--primary); }
.d-buy-box .btn { width: 100%; margin-bottom: 8px; }

/* ===== 푸터 (회사 정보 — SystemSettings) ===== */
.d-footer { background: var(--shell); color: #7C8AA5; padding: 30px 48px; font-size: 12.5px; line-height: 1.9; border-top: 1px solid var(--shell-border); }
.d-footer .f-site { color: #E2E8F0; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.d-footer a { color: #AAB8CE; text-decoration: none; margin-right: 16px; }
.d-footer a:hover { color: #fff; }
