/* ===== 도씨(Dossi) - CoolCheck 동일 스타일 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&display=swap');

:root {
  --navy: #040952;
  --navy-light: #17447F;
  --accent: #5C7DC4;
  --accent-hover: #4a6bb0;
  --accent-bg: #f0f4ff;
  --white: #ffffff;
  --gray-50: #f5f6f8;
  --gray-100: #f1f3f5;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #78716c;
  --gray-500: #666666;
  --gray-600: #616161;
  --gray-700: #474747;
  --gray-800: #333333;
  --gray-900: #111827;
  --red: #b91c1c;
  --red-bg: #fef2f2;
  --footer-bg: #2F373F;
  --footer-link: #61B1FF;
  --footer-text: #A5A5A5;
  --footer-copyright: #7A7A7A;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Noto Sans KR', 'Malgun Gothic', Dotum, Arial, sans-serif;
  background: var(--white);
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ===== 네비게이션 (내부 페이지용) ===== */
.nav {
  background: var(--white);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--gray-200);
}

/* 네비 센터 정렬 래퍼 */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
  max-width: 1185px;
  margin: 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* ===== 드롭다운 네비게이션 ===== */
.nav-menu > li {
  position: relative;
}

.nav-menu > li > .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 16px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 200;
}

.nav-menu > li:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown .dd-group-title {
  display: block;
  padding: 6px 20px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown .dd-group-title:not(:first-child) {
  margin-top: 8px;
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
}

.dropdown a {
  display: block;
  padding: 6px 20px;
  font-size: 13px !important;
  color: var(--gray-600) !important;
  font-weight: 400 !important;
  transition: all 0.15s;
  white-space: nowrap;
}

.dropdown a:hover {
  color: var(--accent) !important;
  background: var(--gray-50);
  padding-left: 24px;
}

.dropdown a::after {
  display: none !important;
}

/* 메가 드롭다운 (서비스용) */
.nav-menu > li > .mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 20px;
  min-width: 480px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 200;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}

.nav-menu > li:hover > .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-dropdown .dd-group-title {
  display: block;
  padding: 4px 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.mega-dropdown .dd-col:not(:first-child) .dd-group-title:first-child {
  margin-top: 0;
}

.mega-dropdown a {
  display: block;
  padding: 5px 0 5px 8px;
  font-size: 13px !important;
  color: var(--gray-600) !important;
  font-weight: 400 !important;
  transition: all 0.15s;
  white-space: nowrap;
  border-radius: 4px;
}

.mega-dropdown a:hover {
  color: var(--accent) !important;
  background: var(--gray-50);
  padding-left: 12px;
}

.mega-dropdown a::after {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: rgb(1, 1, 1);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.15s;
}

.nav-menu a:hover { color: var(--accent); }

.nav-btn {
  background: var(--navy-light);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 13px;
}

.nav-btn:hover { background: var(--navy); }

/* ===== 히어로 ===== */
.hero {
  background: var(--navy);
  padding: 120px 32px 80px;
  text-align: center;
  color: var(--white);
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.btn-primary {
  background: var(--navy-light);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

/* ===== 특징 섹션 ===== */
.features {
  padding: 72px 32px;
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 29px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-title p {
  font-size: 14px;
  color: var(--gray-500);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
}

.feature-card {
  background: var(--white);
  padding: 32px 24px;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.feature-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== 가격 섹션 ===== */
.pricing {
  background: var(--gray-50);
  padding: 72px 32px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 0;
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
}

.pricing-card.featured {
  border-color: var(--accent);
}

.pricing-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.pricing-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-800);
  margin: 12px 0 20px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-400);
}

.pricing-features {
  list-style: none;
  margin: 0 0 24px;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--gray-600);
}

.pricing-features li::before {
  content: '—';
  color: var(--gray-400);
  margin-right: 8px;
}

/* ===== 푸터 (CoolCheck 동일) ===== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 2px solid #eeeeee;
}

.footer-inner {
  max-width: 1185px;
  margin: 0 auto;
  padding: 24px 20px 28px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
  list-style: none;
}

.footer-links li {
  font-size: 13px;
}

.footer-links li:first-child a {
  color: var(--footer-link);
  font-weight: 700;
}

.footer-links li a {
  color: #c8c8c8;
}

.footer-links li a:hover {
  color: var(--white);
}

.footer-links .divider {
  color: rgba(255,255,255,0.2);
  margin: 0 12px;
  font-size: 11px;
}

.footer-copyright {
  color: var(--footer-copyright);
  font-size: 12px;
  margin-bottom: 12px;
}

.footer-contact {
  color: var(--footer-text);
  font-size: 12px;
  line-height: 1.9;
}

/* 간단 푸터 (이전 호환) */
.footer p {
  text-align: center;
  font-size: 13px;
  padding: 32px;
}

/* ===== 브레드크럼 (CoolCheck 동일) ===== */
.breadcrumb {
  background: var(--white);
  padding: 10px 20px;
  margin-top: 90px;
  font-size: 13px;
  color: #7c7c7c;
  max-width: 1185px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}
.breadcrumb a { color: #7c7c7c; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { color: #454343; }

/* ===== 서브페이지 2단 레이아웃 (CoolCheck 동일) ===== */
.sub-layout {
  display: flex;
  max-width: 1185px;
  margin: 0 auto;
  padding: 18px 20px 60px;
  gap: 0;
}

/* 좌측 사이드 메뉴 (CoolCheck aside 140px) */
.sub-sidebar {
  width: 140px;
  flex-shrink: 0;
  padding-top: 0;
}

.sub-sidebar .side-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-700);
  padding: 10px 0 15px;
  border-bottom: 2px solid var(--gray-800);
  margin-bottom: 0;
}

.sub-sidebar .menu-group {
  margin-bottom: 0;
}

.sub-sidebar .menu-group-title {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-500);
  padding: 6px 0 6px 20px;
  background: transparent;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all 0.15s;
}

.sub-sidebar .menu-group-title.active {
  background: var(--accent);
  color: var(--white);
}

.sub-sidebar .menu-group ul {
  list-style: none;
}

.sub-sidebar .menu-group ul li a {
  display: block;
  padding: 5px 0 5px 10px;
  font-size: 12px;
  color: var(--gray-500);
  transition: all 0.15s;
  border-bottom: 1px solid var(--gray-100);
}

.sub-sidebar .menu-group ul li a::before {
  content: '>';
  margin-right: 6px;
  color: var(--gray-400);
  font-size: 10px;
}

.sub-sidebar .menu-group ul li a:hover {
  color: var(--accent);
}

.sub-sidebar .menu-group ul li a.active {
  color: var(--accent);
  font-weight: 700;
}

/* 우측 콘텐츠 */
.sub-content {
  flex: 1;
  min-width: 0;
  padding-left: 40px;
}

.sub-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  border-bottom: 1px solid #dedede;
  padding-bottom: 3px;
  margin-bottom: 30px;
  height: 40px;
  line-height: 40px;
}

/* 탭 네비게이션 (CoolCheck 동일) */
.sub-tabs {
  display: flex;
  background: #f4f4f4;
  border: 1px solid #dcdcdc;
  margin-bottom: 30px;
  overflow: hidden;
}

.sub-tabs button {
  flex: 1;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #000;
  background: #f4f4f4;
  border: none;
  border-right: 1px solid #dcdcdc;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Noto Sans KR', sans-serif;
}

.sub-tabs button:last-child { border-right: none; }

.sub-tabs button.active {
  background: var(--navy-light);
  color: var(--white);
  border-color: var(--navy-light);
}

.sub-tabs button:hover:not(.active) {
  background: #e8e8e8;
}

/* 섹션 제목 (▌ 세로막대) */
.section-heading {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: 40px 0 20px;
  padding-left: 12px;
  border-left: 4px solid var(--navy);
  line-height: 1.3;
}

.section-heading:first-of-type {
  margin-top: 0;
}

/* 구분선 */
.section-divider {
  border: none;
  border-top: 1px solid #dedede;
  margin: 30px 0;
}

/* 기능 그리드 (CoolCheck 주요기능) */
.func-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.func-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.func-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.func-item:hover::before,
.func-item.expanded::before {
  height: 100%;
}

.func-item .func-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin 0.4s ease;
  margin-top: 0;
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.8;
  border-top: 0px solid var(--gray-100);
  padding-top: 0;
}

.func-item.expanded .func-detail {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
  border-top-width: 1px;
  padding-top: 10px;
}

.func-item .expand-hint {
  font-size: 10px;
  color: var(--gray-400);
  margin-top: 6px;
  transition: color 0.2s;
}

.func-item:hover .expand-hint {
  color: var(--accent);
}

.func-item.expanded .expand-hint {
  display: none;
}

.func-item .func-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.func-item .func-icon img {
  width: 50px;
  height: 50px;
}

.func-item .func-text h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.func-item .func-text p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.6;
}

.func-item .func-text ul {
  list-style: none;
  margin-top: 4px;
}

.func-item .func-text ul li {
  font-size: 11px;
  color: var(--gray-500);
  padding: 1px 0;
}

.func-item .func-text ul li::before {
  content: '-';
  margin-right: 4px;
}

/* 특장점 그리드 */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.advantage-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 20px;
  text-align: center;
}

.advantage-item .number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.advantage-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.advantage-item p {
  font-size: 11px;
  color: var(--gray-500);
}

/* 사양 테이블 (CoolCheck 동일) */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 12px;
  font-family: 'Noto Sans KR', sans-serif;
}

.spec-table th {
  background: linear-gradient(to right, #f2f5f6, #e3eaed, #c8d7dc);
  padding: 8px 12px;
  text-align: center;
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid #ccc;
}

.spec-table td {
  padding: 8px 12px;
  border: 1px solid #ccc;
  color: var(--gray-700);
}

.spec-table td:first-child {
  font-weight: 600;
  background: #f9f9f9;
  width: 30%;
}

/* 소개 영역 (제품 헤더) */
.product-intro {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.product-intro img {
  width: 200px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.product-intro .intro-text h2 {
  font-size: 18px;
  font-weight: 700;
  color: #454545;
  margin-bottom: 10px;
}

.product-intro .intro-text p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-buttons {
  display: flex;
  gap: 8px;
}

.intro-buttons a {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.15s;
}

.intro-buttons .btn-navy {
  background: var(--navy-light);
  color: var(--white);
}

.intro-buttons .btn-navy:hover {
  background: var(--navy);
}

.intro-buttons .btn-light {
  background: var(--accent);
  color: var(--white);
}

.intro-buttons .btn-light:hover {
  background: var(--accent-hover);
}

/* ===== 로그인/회원가입 ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  padding: 20px;
}

.auth-box {
  position: relative;
  background: var(--white);
  border-radius: 4px;
  padding: 40px 36px;
  padding-top: 52px;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.auth-box h1 {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
  color: var(--gray-800);
}

.auth-box .subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 13px;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
  transition: border-color 0.15s;
  outline: none;
  background: var(--white);
}

.form-group input:focus {
  border-color: var(--accent);
}

.btn-full {
  width: 100%;
  padding: 11px;
  margin-top: 4px;
}

.auth-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-500);
}

.auth-link a {
  color: var(--accent);
  font-weight: 600;
}

/* ===== 대시보드 ===== */
.dashboard-layout {
  margin-top: 90px;
  display: flex;
  min-height: calc(100vh - 90px);
}

.sidebar {
  width: 200px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 20px 0;
  position: fixed;
  top: 90px;
  bottom: 0;
  overflow-y: auto;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  transition: all 0.1s;
}

.sidebar-menu li a:hover {
  color: var(--gray-800);
  background: var(--gray-50);
}

.sidebar-menu li a.active {
  color: var(--gray-800);
  font-weight: 700;
  background: var(--gray-50);
  border-right: 2px solid var(--gray-800);
}

.sidebar-section {
  padding: 20px 20px 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--gray-400);
  letter-spacing: 0.3px;
}

.main-content {
  margin-left: 200px;
  flex: 1;
  padding: 24px 28px;
  background: var(--gray-50);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 20px;
  font-weight: 700;
}

.page-header .meta {
  font-size: 12px;
  color: var(--gray-400);
}

/* 통계 카드 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  border: 1px solid var(--gray-200);
}

.stat-card .label {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.stat-card .value {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-800);
}

.stat-card .value.alert { color: var(--red); }

/* 디바이스 카드 */
.device-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.device-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--gray-200);
}

.device-card.has-alert {
  border-color: var(--red);
}

.device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.device-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
}

.device-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
}

.device-status.online {
  color: var(--gray-800);
}

.device-status.online::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 4px;
  vertical-align: middle;
  animation: blink 2s ease-in-out infinite;
}

.device-status.offline::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  margin-right: 4px;
  vertical-align: middle;
}

.device-serial {
  font-size: 12px;
  color: var(--gray-400);
  font-family: 'SF Mono', 'Consolas', monospace;
  margin-left: 8px;
}

.sensor-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid var(--gray-100);
}

/* 디바이스 섹션 */
.device-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.device-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* 센서 그리드 */
.sensor-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
}

.sensor-grid > * {
  flex: 1;
  min-width: 180px;
}

/* 센서 미니 카드 */
.sensor-card-mini {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  animation: cardAppear 0.5s ease both;
  position: relative;
  overflow: hidden;
}

.sensor-card-mini:nth-child(1) { animation-delay: 0s; }
.sensor-card-mini:nth-child(2) { animation-delay: 0.1s; }
.sensor-card-mini:nth-child(3) { animation-delay: 0.2s; }
.sensor-card-mini:nth-child(4) { animation-delay: 0.3s; }

.sensor-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: transparent;
}

.sensor-card-mini.frost {
  background: linear-gradient(180deg, #eef4ff 0%, var(--white) 40%);
}

.sensor-card-mini.frost::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #93c5fd, #3b82f6, #93c5fd);
  opacity: 0.7;
}

.sensor-card-mini.cool {
  background: linear-gradient(180deg, #ecfeff 0%, var(--white) 40%);
}

.sensor-card-mini.cool::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #67e8f9, #06b6d4, #67e8f9);
  opacity: 0.6;
}

.sensor-card-mini.warm {
  background: linear-gradient(180deg, #fff7ed 0%, var(--white) 40%);
}

.sensor-card-mini.warm::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fdba74, #f59e0b, #fdba74);
  opacity: 0.6;
}

@keyframes cardAppear {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 드래그 앤 드롭 */
.sensor-card-mini.dragging {
  opacity: 0.5 !important;
  transform: scale(0.95) !important;
  cursor: grabbing !important;
}

.sensor-card-mini.drag-over {
  border: 2px dashed var(--accent) !important;
  background: rgba(92, 125, 196, 0.04) !important;
}

.sensor-card-mini[draggable="true"] {
  cursor: grab;
}

.sensor-card-mini[draggable="true"]:active {
  cursor: grabbing;
}

.scm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.scm-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
}

.scm-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.scm-badge.ok {
  background: #f0fdf4;
  color: #16a34a;
  animation: pulseBadge 2s ease-in-out infinite;
}

.scm-badge.alert {
  background: #fef2f2;
  color: #dc2626;
  animation: blinkBadge 1s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes blinkBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* 원형 게이지 */
.scm-gauge-wrap {
  position: relative;
  width: 140px;
  height: 85px;
  margin: 0 auto 4px;
}

.scm-gauge {
  width: 100%;
  height: 100%;
}

.gauge-fill {
  transition: stroke-dashoffset 1.2s ease-out;
}

.scm-temp-over {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  font-weight: 800;
  font-family: 'SF Mono', 'Consolas', monospace;
  letter-spacing: -1px;
  line-height: 1;
}

.scm-temp-over span {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.5;
}

.scm-range {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
}

.scm-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-100);
  font-size: 12px;
  color: var(--gray-400);
}

.scm-addr {
  font-family: 'SF Mono', 'Consolas', monospace;
}

.sensor-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.sensor-range {
  font-size: 11px;
  color: var(--gray-400);
}

.sensor-time {
  font-size: 11px;
  color: var(--gray-400);
}

/* 알림 내역 */
.alert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 8px;
  transition: all 0.15s;
}

.alert-item.unread {
  border-left: 3px solid var(--red);
  background: #fefefe;
}

.alert-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.alert-type.high_temp,
.alert-type.low_temp {
  background: var(--red-bg);
  color: var(--red);
}

.alert-msg {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.alert-meta {
  font-size: 12px;
  color: var(--gray-400);
}

.alert-item-right {
  text-align: right;
  flex-shrink: 0;
  margin-left: 20px;
}

.alert-temp {
  display: block;
  font-size: 20px;
  font-weight: 800;
  font-family: 'SF Mono', 'Consolas', monospace;
  color: var(--red);
  margin-bottom: 8px;
}

.alert-ack-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.alert-acked {
  font-size: 12px;
  color: var(--gray-400);
}

.nav-alert-badge {
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
}

.device-footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  font-size: 11px;
  color: var(--gray-400);
}

.alert-tag {
  display: inline-block;
  background: var(--red-bg);
  color: var(--red);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}

/* 빈 상태 */
.empty-state {
  text-align: center;
  padding: 60px 40px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.empty-state h3 {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.empty-state p {
  color: var(--gray-500);
  font-size: 13px;
}

.pulse-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--gray-200);
  border-top-color: var(--accent);
  margin: 0 auto;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== 페이지 히어로 (요금/고객지원) ===== */
.page-hero {
  background: var(--navy);
  padding: 120px 32px 60px;
  text-align: center;
  color: var(--white);
  margin-top: 90px;
}
.page-hero h1 {
  font-size: 29px;
  font-weight: 600;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ===== FAQ (CoolCheck 동일) ===== */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  margin-bottom: 0;
  border-bottom: none;
  overflow: hidden;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--gray-200);
}

.faq-q {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--gray-50); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.7;
  padding: 0 16px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 16px 12px;
}

.arrow { transition: transform 0.2s; }
.faq-item.open .arrow { transform: rotate(180deg); }

/* 비교 테이블 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 12px;
}

.compare-table th {
  background: linear-gradient(to right, #f2f5f6, #e3eaed, #c8d7dc);
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  border: 1px solid #ccc;
}

.compare-table td {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--gray-700);
  text-align: center;
  border: 1px solid #ccc;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  background: #f9f9f9;
}

.compare-table .yes { color: #16a34a; font-weight: 700; }
.compare-table .no { color: var(--gray-300); }

/* 연락처 카드 */
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 24px;
  margin-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-item {
  padding: 16px;
  background: var(--gray-50);
  text-align: center;
}

.contact-item h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.contact-item p {
  font-size: 12px;
  color: var(--gray-500);
}

.contact-item .value {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

/* 가격 카드 */
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 32px 24px;
  text-align: center;
}

.price-card.featured {
  border-color: var(--accent);
  position: relative;
}

.price-card.featured::before {
  content: '인기';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 10px;
}

.price-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.price-card .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-800);
  margin: 12px 0 20px;
}

.price-card .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-400);
}

.price-card .features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.price-card .features li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-card .features li .check {
  color: #16a34a;
  font-weight: 700;
}

/* ===== 애니메이션 시스템 ===== */

/* 스크롤 트리거 애니메이션 */
.anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim.anim-left {
  transform: translateX(-60px);
}

.anim.anim-right {
  transform: translateX(60px);
}

.anim.anim-scale {
  transform: scale(0.85);
}

.anim.anim-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* 딜레이 클래스 */
.anim-d1 { transition-delay: 0.1s; }
.anim-d2 { transition-delay: 0.2s; }
.anim-d3 { transition-delay: 0.3s; }
.anim-d4 { transition-delay: 0.4s; }
.anim-d5 { transition-delay: 0.5s; }
.anim-d6 { transition-delay: 0.6s; }

/* 페이지 전환 페이드인 */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-page {
  animation: pageFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 호버 효과 */
.func-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.func-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.advantage-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.price-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* 섹션 제목 등장 애니메이션 */
.section-heading {
  position: relative;
  overflow: hidden;
}

/* 탭 전환 애니메이션 */
.tab-panel {
  animation: tabSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tabSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 버튼 효과 */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-navy, .btn-light {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-navy:hover, .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-navy:active, .btn-light:active {
  transform: translateY(0);
}

/* 네비게이션 애니메이션 */
.nav-wrap {
  transition: box-shadow 0.3s ease;
}

.nav-wrap.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-btn::after {
  display: none;
}

/* FAQ 아코디언 개선 */
.faq-item {
  transition: background 0.2s ease;
}

.faq-item:hover {
  background: var(--gray-50);
}

.faq-a {
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-a {
  opacity: 1;
}

/* 서비스 사이드메뉴 호버 효과 */
.sub-sidebar .menu-group ul li a {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sub-sidebar .menu-group ul li a:hover {
  padding-left: 16px;
  background: var(--gray-50);
}

.sub-sidebar .menu-group ul li a.active {
  padding-left: 16px;
  background: rgba(92, 125, 196, 0.06);
}

/* 푸터 링크 호버 */
.footer-links li a {
  transition: color 0.2s ease;
}

/* SUPPORT 카드 호버 */
.support-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  border: 1px solid var(--gray-200);
}

.support-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.support-card:hover h3 {
  color: var(--accent);
}

/* 카운트업 숫자 애니메이션 */
@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.advantage-item .number {
  animation: countPulse 2s ease-in-out infinite;
}

/* 그라데이션 텍스트 (섹션 타이틀) */
.section-title h2 {
  background: linear-gradient(135deg, var(--navy), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 슬라이더 개선 화살표 숨기기 */
.slider-arrow {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

/* 브레드크럼 페이드인 */
.breadcrumb {
  animation: pageFadeIn 0.4s ease;
}

/* 테이블 행 호버 */
.spec-table tr {
  transition: background 0.15s ease;
}

.spec-table tr:hover {
  background: rgba(92, 125, 196, 0.04);
}

.compare-table tr {
  transition: background 0.15s ease;
}

.compare-table tbody tr:hover {
  background: rgba(92, 125, 196, 0.04);
}

/* 로딩 shimmer 효과 */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* 탭 버튼 전환 효과 */
.sub-tabs button {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.sub-tabs button.active {
  transform: scale(1);
}

/* 사이드메뉴 그룹 타이틀 펄스 */
.sub-sidebar .menu-group-title.active {
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92, 125, 196, 0); }
  50% { box-shadow: 0 0 0 4px rgba(92, 125, 196, 0.1); }
}

/* 연락처 카드 호버 */
.contact-item {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* func-item 등장 순차 애니메이션 */
.func-grid .func-item:nth-child(1) { transition-delay: 0s; }
.func-grid .func-item:nth-child(2) { transition-delay: 0.08s; }
.func-grid .func-item:nth-child(3) { transition-delay: 0.16s; }
.func-grid .func-item:nth-child(4) { transition-delay: 0.24s; }
.func-grid .func-item:nth-child(5) { transition-delay: 0.32s; }
.func-grid .func-item:nth-child(6) { transition-delay: 0.4s; }

/* 기능카드 호버 - 더 역동적으로 */
.func-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(92, 125, 196, 0.15);
  border-color: var(--accent);
}

.func-item:active {
  transform: translateY(-4px) scale(1.01);
}

/* 기능카드 아이콘 호버 회전 */
.func-item:hover .func-icon img {
  transform: rotate(-8deg) scale(1.15);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.func-item .func-icon img {
  transition: transform 0.3s ease;
}

/* advantage-item 호버 강화 */
.advantage-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 48px rgba(92, 125, 196, 0.18);
  border-color: var(--accent);
}

.advantage-item:hover .number {
  animation: none;
  transform: scale(1.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* price-card 호버 강화 */
.price-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.15);
  border-color: var(--accent);
}

/* 탭 버튼 클릭 - 물결 효과 */
.sub-tabs button {
  position: relative;
  overflow: hidden;
}

.sub-tabs button::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.sub-tabs button:active::after {
  width: 400px;
  height: 400px;
}

/* 서비스 페이지 전환 - 더 드라마틱 */
.service-page {
  animation: pageSwoop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageSwoop {
  0% { opacity: 0; transform: translateY(30px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 탭 전환 - 더 드라마틱 */
@keyframes tabSlideIn {
  0% { opacity: 0; transform: translateX(20px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* 히어로 슬라이더 텍스트 애니메이션 */
.slide.active .slide-content h1 {
  animation: heroText 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slide.active .slide-content h2 {
  animation: heroText 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.slide.active .slide-content p {
  animation: heroText 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.slide.active .slide-content .btn {
  animation: heroText 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

@keyframes heroText {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* SUPPORT 카드 호버 - 더 화려하게 */
.support-card {
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), #f59e0b, var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.support-card:hover::before {
  transform: scaleX(1);
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}

/* 섹션 제목 등장 - 밑줄 슬라이드 */
.section-heading::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section-heading.anim-visible::after,
.section-heading:not(.anim)::after {
  width: 60px;
}

/* FAQ 호버 강화 */
.faq-item {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  background: var(--gray-50);
  transform: translateX(4px);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(92, 125, 196, 0.1);
}

/* 사이드 타이틀 밑줄 애니메이션 */
.side-title {
  position: relative;
}

.side-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  animation: sidelineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes sidelineGrow {
  to { width: 100%; }
}

/* 스무스 스크롤 */
html {
  scroll-behavior: smooth;
}

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .func-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; height: 60px; }
  .hero { padding: 100px 16px 60px; }
  .hero h1 { font-size: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .sensor-grid { flex-direction: column; }
  .sensor-grid > * { min-width: 0; }
  .device-section { padding: 16px; }
  .scm-temp { font-size: 28px; }
  .sub-layout { flex-direction: column; }
  .sub-sidebar { width: 100%; }
  .sub-content { padding-left: 0; padding-top: 20px; }
  .price-cards { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero { margin-top: 60px; padding: 80px 16px 40px; }
  .breadcrumb { margin-top: 60px; }
  .dashboard-layout { margin-top: 60px; }
}
