﻿/* ============================================================
   KEYSTONE SECURITY — MAIN STYLESHEET
   Color palette: Navy #1a237e  /  White #ffffff  /  Accent #3f51b5
   ============================================================ */

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

:root {
    /* 사이트는 라이트 테마 고정 디자인 — 브라우저/OS 강제 다크모드(자동 색반전)로
       흰 아이콘/배경이 깨지는 것을 방지(다크 변환 opt-out). */
    color-scheme: light;
    --navy:        #1a237e;
    --navy-dark:   #0d1452;
    --navy-mid:    #283593;
    --accent:      #3f51b5;
    --accent-light:#5c6bc0;
    --white:       #ffffff;
    --off-white:   #f5f7ff;
    --text-muted:  rgba(255,255,255,0.65);
    --border:      rgba(255,255,255,0.12);
    --font-kr:     'Pretendard Variable', 'Pretendard', 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --nav-h:       72px;
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-kr);
    background: #e6e8ec;
    color: var(--navy);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(13, 20, 82, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
    font-family: var(--font-kr);
    transition: opacity var(--transition);
}

.nav-logo-text i {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.nav-logo:hover .nav-logo-text {
    opacity: 0.8;
}

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

.logo-icon svg,
.logo-icon img {
    width: 36px;
    height: 36px;
    display: block;
    transition: transform var(--transition);
}

.nav-logo:hover .logo-icon img {
    transform: translateY(-1px) scale(1.04);
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
}

.logo-wordmark strong {
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.logo-wordmark small {
    color: var(--accent-light);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.34em;
    margin-top: 2px;
}

/* Subpage navbar: logo+menu on left, lang-switcher on right */
.nav-container--page {
    padding: 0 40px;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-left .nav-menu {
    flex: initial;
}

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1.25rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: color var(--transition);
    white-space: nowrap;
    height: var(--nav-h);
    display: flex;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--white);
    transform: translateX(-50%);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: calc(var(--nav-h) - 2px);
    left: 0;
    min-width: 200px;
    background: rgba(13, 20, 82, 0.97);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent-light);
    border-radius: 0 0 8px 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    backdrop-filter: blur(20px);
}

.dropdown-item {
    display: block;
    padding: 0.65rem 1.5rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: all var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
    padding-left: 1.9rem;
}

/* ============================================================
   MEGA MENU — SOLUTIONS
   ============================================================ */
.nav-megamenu {
    position: static;
    display: flex;
    align-items: center;
    height: var(--nav-h);
}

.nav-megamenu:hover .mega-trigger,
.nav-megamenu.active .mega-trigger {
    color: var(--white);
}

.nav-megamenu:hover .mega-trigger::after,
.nav-megamenu.active .mega-trigger::after {
    width: calc(100% - 2rem);
}

.mega-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(10, 15, 65, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid var(--accent-light);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    pointer-events: none;
}

.nav-megamenu:hover .mega-menu,
.nav-megamenu.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.mega-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mega-cat {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    padding-bottom: 0.55rem;
}

.mega-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 0.4rem;
}

.mega-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.45rem 0.8rem;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.4;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: all var(--transition);
}

.mega-item em {
    font-style: normal;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.32);
    letter-spacing: 0.02em;
}

.mega-item:hover {
    color: var(--white);
    background: rgba(92, 107, 192, 0.16);
    border-left-color: var(--accent-light);
    padding-left: 1.1rem;
}

.mega-item:hover em {
    color: rgba(140, 158, 255, 0.85);
}

/* 메가메뉴: 현재 보고 있는 솔루션 하위 항목 강조 */
.mega-item--current {
    color: var(--white);
    font-weight: 600;
    background: rgba(92, 107, 192, 0.18);
    border-left-color: var(--accent-light);
}

/* Right side: language + mobile */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 14px;
}

.lang-btn {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition);
    padding: 2px 4px;
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--white);
}

.lang-divider {
    color: var(--border);
    font-size: 0.7rem;
}

/* Mobile toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(8,12,40,0.45), rgba(8,12,40,0.68)), url('/images/hero-bg.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
}

/* Ambient background shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(63,81,181,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(92,107,192,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    flex: 1;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 60px 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12rem;
}

/* --- Hero Left --- */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* 우측 빈 공간 활용 — 좌측 텍스트 열을 넓혀 부제(한/영) 및 더보기 내용을 한 줄로 표시 */
    max-width: min(1180px, calc(100vw - 120px));
    flex-shrink: 0;
    align-items: flex-start;
}

.hero-title {
    font-family: 'Arial Black', 'arial-w01-black', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -1px;
    color: #ffffff;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
    /* 영문 부제가 한 줄에 들어가도록 충분한 폭 확보(우측 빈 공간 사용). 좁으면 줄바꿈은 미디어쿼리에서 처리 */
    max-width: min(900px, calc(100vw - 120px));
    margin-bottom: 2px;
    white-space: nowrap;
}

.hero-subtitle:last-of-type {
    margin-bottom: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 더보기 — 버튼이 아닌 컴팩트한 텍스트 링크 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0;
    background: none;
    color: rgba(255,255,255,0.88);
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    border-radius: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: color var(--transition), border-color var(--transition);
    box-shadow: none;
}

.btn-primary:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    background: none;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* More content slide-down.
   데스크톱에서는 우측 빈 공간을 활용해 넓게 펼쳐서 각 항목(01~03)을 한 줄로 표시.
   (좁은 480px 열을 벗어나 컨테이너 좌우 여백 안쪽 전체 폭 사용 — 한/영 모두 한 줄에 들어감) */
.hero-more-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
    margin-top: 0;
    width: min(1180px, calc(100vw - 120px));
}

.hero-more-content.expanded {
    max-height: 400px;
    opacity: 1;
    margin-top: 0.25rem;
}

.more-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.more-item {
    display: flex;
    gap: 1rem;
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.75);
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.more-item:last-child {
    border-bottom: none;
}

.more-num {
    font-weight: 700;
    color: var(--accent-light);
    flex-shrink: 0;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding-top: 0.15rem;
}

/* --- Hero Right: Visual (큐브 이미지 숨김 — 배경 이미지로 대체) --- */
.hero-visual {
    display: none;
}

.hero-img {
    height: 65vh;
    max-height: 700px;
    width: auto;
    object-fit: contain;
}

.visual-wrapper {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Circular glow background — 500px circle centered on cube */
.visual-wrapper::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center,
        rgba(26,35,126,0.2) 0%,
        rgba(26,35,126,0.08) 50%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Star field — white dot cluster via box-shadow */
.visual-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
    z-index: 1;
    box-shadow:
        /* ── super bright ── */
         88px 105px 0 1px rgba(255,255,255,0.82),
        178px  65px 0 1px rgba(255,255,255,0.78),
        340px 285px 0 1px rgba(255,255,255,0.76),
         95px 290px 0 1px rgba(255,255,255,0.80),
        360px 115px 0 1px rgba(255,255,255,0.74),
        210px 400px 0 1px rgba(255,255,255,0.70),
        /* ── bright ── */
         50px 160px 0 0 rgba(255,255,255,0.65),
        295px  55px 0 0 rgba(255,255,255,0.62),
        390px 210px 0 0 rgba(255,255,255,0.60),
         40px 220px 0 0 rgba(255,255,255,0.62),
        200px  25px 0 0 rgba(255,255,255,0.58),
        385px 280px 0 0 rgba(255,255,255,0.60),
         70px 330px 0 0 rgba(255,255,255,0.55),
        248px 395px 0 0 rgba(255,255,255,0.52),
        148px 392px 0 0 rgba(255,255,255,0.50),
        305px 375px 0 0 rgba(255,255,255,0.52),
        370px 165px 0 0 rgba(255,255,255,0.58),
        130px  35px 0 0 rgba(255,255,255,0.55),
         30px 175px 0 0 rgba(255,255,255,0.60),
         25px 265px 0 0 rgba(255,255,255,0.52),
        290px  40px 0 0 rgba(255,255,255,0.55),
        /* ── medium ── */
        115px  90px 0 0 rgba(255,255,255,0.44),
        280px  75px 0 0 rgba(255,255,255,0.42),
        345px  80px 0 0 rgba(255,255,255,0.40),
        398px 180px 0 0 rgba(255,255,255,0.38),
        375px 305px 0 0 rgba(255,255,255,0.40),
        105px 355px 0 0 rgba(255,255,255,0.42),
        270px 378px 0 0 rgba(255,255,255,0.40),
         60px  95px 0 0 rgba(255,255,255,0.44),
        330px 345px 0 0 rgba(255,255,255,0.38),
        170px  28px 0 0 rgba(255,255,255,0.42),
        405px 235px 0 0 rgba(255,255,255,0.36),
         18px 215px 0 0 rgba(255,255,255,0.38),
        245px  35px 0 0 rgba(255,255,255,0.40),
        /* ── dim ── */
        135px 125px 0 0 rgba(255,255,255,0.24),
        280px 145px 0 0 rgba(255,255,255,0.22),
        155px 295px 0 0 rgba(255,255,255,0.20),
        255px 280px 0 0 rgba(255,255,255,0.22),
        118px 238px 0 0 rgba(255,255,255,0.18),
        310px 240px 0 0 rgba(255,255,255,0.20),
        215px 125px 0 0 rgba(255,255,255,0.18),
        225px 295px 0 0 rgba(255,255,255,0.16),
        330px 170px 0 0 rgba(255,255,255,0.22),
         85px 175px 0 0 rgba(255,255,255,0.20),
        338px 335px 0 0 rgba(255,255,255,0.18),
         78px 120px 0 0 rgba(255,255,255,0.22),
        /* ── blue-tinted accent dots ── */
        155px 165px 0 0 rgba(179,195,255,0.40),
        265px 155px 0 0 rgba(179,195,255,0.36),
        180px 345px 0 0 rgba(179,195,255,0.32),
        300px 310px 0 0 rgba(179,195,255,0.30),
         55px 310px 0 0 rgba(179,195,255,0.28),
        360px 240px 0 0 rgba(179,195,255,0.30);
}

/* Grid background */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26,35,126,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,35,126,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    border-radius: 50%;
    mask-image: radial-gradient(circle, black 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 75%);
}

/* Center cube (CSS 3D) */
.center-cube {
    position: relative;
    width: 140px;
    height: 140px;
    transform-style: preserve-3d;
    animation: rotateCube 14s linear infinite;
    z-index: 2;
}

@keyframes rotateCube {
    0%   { transform: rotateX(-20deg) rotateY(0deg); }
    100% { transform: rotateX(-20deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(63,81,181,0.35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-front {
    background: linear-gradient(135deg, rgba(26,35,126,0.88), rgba(63,81,181,0.82));
    transform: translateZ(70px);
    backdrop-filter: blur(4px);
}

.cube-top {
    background: linear-gradient(135deg, rgba(63,81,181,0.72), rgba(92,107,192,0.65));
    transform: rotateX(90deg) translateZ(70px);
}

.cube-right {
    background: linear-gradient(135deg, rgba(13,20,82,0.78), rgba(26,35,126,0.72));
    transform: rotateY(90deg) translateZ(70px);
}

.cube-logo {
    width: 70px;
    height: 70px;
}

/* Orbit ring */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(26,35,126,0.2);
}

.orbit-1 {
    width: 340px;
    height: 340px;
    animation: orbit-rotate 20s linear infinite;
}

@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(63,81,181,0.1);
    border: 1px solid rgba(63,81,181,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: counter-rotate 20s linear infinite;
}

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

.orbit-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-icon svg {
    width: 16px;
    height: 16px;
}

.orbit-icon i {
    font-size: 15px;
    color: var(--accent-light);
}

/* Position each dot */
.dot-1 { top: -21px;  left: calc(50% - 21px); }
.dot-2 { right: -21px; top: calc(50% - 21px); }
.dot-3 { bottom: -21px; left: calc(50% - 21px); }
.dot-4 { left: -21px;  top: calc(50% - 21px); }

/* Floating info cards */
.float-card {
    position: absolute;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    white-space: nowrap;
}

.card-1 { bottom: 40px; left: -30px; animation: float-1 4s ease-in-out infinite; }
.card-2 { top:    40px; right: -30px; animation: float-2 4.5s ease-in-out infinite; }

@keyframes float-1 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(10px); }
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon.green { background: rgba(105, 240, 174, 0.15); color: #69f0ae; }
.card-icon.blue  { background: rgba(100, 181, 246, 0.15); color: #64b5f6; }
.card-icon svg   { width: 16px; height: 16px; }

.card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-title {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.03em;
}

.card-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.status-live {
    color: #69f0ae;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    position: relative;
}

.status-live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #69f0ae;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse-green 1.5s ease-in-out infinite;
    vertical-align: middle;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-bottom: 2rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    animation: bob 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.55);
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ============================================================
   ANIMATE ON SCROLL
   ============================================================ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-left"]  { transform: translateX(-30px); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="fade-up"]    { transform: translateY(20px); }

[data-animate].visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--navy-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.6rem 2rem;
}

/* ── 컴팩트 푸터(공용 fragment) ── */
.footer-name {
    color: var(--white);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.55rem;
}
.footer-line {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
}
.footer-label {
    color: rgba(255,255,255,0.82);
    font-weight: 600;
    margin-right: 0.35rem;
}
.footer .footer-copy {
    margin-top: 0.7rem;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.38);
}

.footer-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.7);
}

.footer-logo svg,
.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-logo strong {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.03em;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.footer-col address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-col address p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color var(--transition);
    letter-spacing: 0.03em;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.7);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem 2rem;
        justify-content: center;
        gap: 2rem;
    }

    .hero-content {
        align-items: center;
        max-width: 100%;
    }

    .hero-title {
        white-space: normal;
    }

    .hero-subtitle {
        max-width: 100%;
        white-space: normal;
    }

    /* 태블릿/모바일 세로 배치에서는 넓은 폭 해제(중앙 열 폭 사용, 자연 줄바꿈) */
    .hero-more-content {
        width: auto;
    }

    .hero-visual {
        order: 0;
    }

    .hero-img {
        height: 40vh;
        max-height: 360px;
    }

    .visual-wrapper {
        width: 300px;
        height: 300px;
    }

    .orbit-1 { width: 250px; height: 250px; }
    .center-cube { width: 100px; height: 100px; }
    .cube-face { width: 100px; height: 100px; }
    .cube-front  { transform: translateZ(50px); }
    .cube-top    { transform: rotateX(90deg) translateZ(50px); }
    .cube-right  { transform: rotateY(90deg) translateZ(50px); }

    .float-card { display: none; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    /* 히어로: 모바일에서도 배경이 화면을 채우도록 풀높이 유지 + 콘텐츠 위 정렬 */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-container {
        gap: 1.25rem;
        padding: 1.5rem 1.25rem 2.5rem;
        /* 콘텐츠(KEYSTONE SECURITY 제목 + 하단 문구)를 화면 세로 중앙에 배치 */
        justify-content: center;
    }

    /* 모바일에서는 큐브 이미지 숨김 → 텍스트·버튼 중심 */
    .hero-visual {
        display: none;
    }

    /* 모바일: 더보기 버튼 없이 01~03 내용을 항상 펼쳐서 표시 */
    #moreBtn {
        display: none;
    }

    .hero-more-content {
        max-height: none;
        opacity: 1;
        overflow: visible;
        margin-top: 0.5rem;
    }

    /* 모바일: 하단 스크롤 표시(↓) 숨김 */
    .scroll-indicator {
        display: none;
    }

    /* navbar 의 backdrop-filter 는 position:fixed 자식(.nav-menu)에게 containing block 을
       만들어, 바텀시트의 bottom:0 이 뷰포트가 아닌 navbar 기준이 되어버린다(메뉴가 상단으로 올라감).
       모바일에선 blur 를 끄고 불투명 배경만 사용 → 시트가 뷰포트 하단 기준으로 정상 배치. */
    .navbar {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: #0d1452;
    }

    /* === 모바일 메뉴: 하단 FAB와 자연스럽게 이어지도록 '하단 바텀시트'(아래→위) === */
    .nav-menu {
        position: fixed;
        left: 0; right: 0;
        bottom: 0;
        top: auto;
        max-height: 78vh;
        max-height: 78dvh;
        background: #0d1452;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.45);
        flex-direction: column;
        align-items: stretch;
        padding: 0.85rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
        gap: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(100%);
        opacity: 0;
        transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease;
        pointer-events: none;
        z-index: 999;
    }

    /* 바텀시트 상단 드래그 핸들(시각적 어포던스) */
    .nav-menu::before {
        content: '';
        flex-shrink: 0;
        width: 42px;
        height: 4px;
        border-radius: 4px;
        background: rgba(255,255,255,0.28);
        margin: 0 auto 0.6rem;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    /* 사이드바 모드 — 햄버거(우측 상단) 클릭 시 우→좌 슬라이드 */
    .nav-menu.from-right {
        top: 0;
        bottom: 0;
        right: 0;
        left: auto;
        width: 82vw;
        max-width: 380px;
        max-height: none;
        border-radius: 18px 0 0 18px;
        box-shadow: -8px 0 30px rgba(0,0,0,0.45);
        padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
        transform: translateX(100%);
    }
    .nav-menu.from-right.open {
        transform: translateX(0);
    }
    /* 사이드바 모드에선 바텀시트 드래그 핸들 숨김 */
    .nav-menu.from-right::before {
        display: none;
    }

    /* 1depth 항목: 좌측 정렬 통일 + 강조 (문제 6,10) */
    .nav-dropdown,
    .nav-megamenu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        height: auto;
    }

    .nav-link,
    .nav-megamenu .mega-trigger {
        height: auto;
        width: 100%;
        padding: 0.6rem 1.25rem;
        justify-content: flex-start;
        text-align: left;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        line-height: 1.3;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

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

    /* SOLUTIONS: 하위 메뉴가 접혀 있음을 알리는 펼침 화살표(탭하면 회전). 다른 항목은 항상 펼쳐져 있어 표시 안 함 */
    .nav-megamenu .mega-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .nav-megamenu .mega-trigger::after {
        content: '';
        display: inline-block;
        /* 데스크탑 .nav-link::after 밑줄(position:absolute·중앙·width 애니메이션) 속성 리셋 */
        position: static;
        left: auto;
        bottom: auto;
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        margin: 0 6px 0 0;
        background: no-repeat center / 16px 16px
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        opacity: 0.7;
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }
    /* 데스크탑 hover/active 의 width:calc(100%-2rem)(밑줄 확장) 무력화.
       모바일은 탭 후 :hover 가 들러붙어, 접은 상태에서도 화살표가 늘어나 가운데로 보이는 문제 방지. */
    .nav-megamenu:hover .mega-trigger::after,
    .nav-megamenu.active .mega-trigger::after {
        width: 16px;
    }
    .nav-megamenu.active .mega-trigger::after {
        transform: rotate(180deg);
    }

    /* 상단 햄버거 + 우측 하단 플로팅 FAB 둘 다 노출 (사용자 발견성 향상) */
    .mobile-menu-btn { display: flex; }

    /* 좁은 화면(폴드 커버 등) 네비 가로 넘침 방지 — 햄버거가 화면 밖으로 밀리지 않도록.
       기본/페이지형 헤더 모두 모바일 패딩을 줄이고, 데스크탑 전용 '문의하기' CTA는 숨김
       (CONTACT 는 햄버거 메뉴 안 HOME 드롭다운에 있음). */
    .nav-container,
    .nav-container--page {
        padding: 0 16px;
        gap: 1rem;
    }
    .nav-left { min-width: 0; gap: 1rem; }
    .nav-logo-text { font-size: 1rem; }
    /* .navbar 한정 — 기본 .nav-cta-btn 정의가 파일 뒤쪽이라 명시도를 올려야 적용됨 */
    .navbar .nav-cta-btn { display: none; }

    /* 2depth(드롭다운): 들여쓰기 + 연한 배경 (문제 10) */
    .dropdown-menu {
        position: static;
        border: none;
        background: rgba(0,0,0,0.18);
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-item {
        padding: 0.45rem 1.25rem 0.45rem 2.5rem;
        font-size: 0.82rem;
        font-weight: 400;
    }

    /* === SOLUTIONS 아코디언 (문제 7) === */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        background: rgba(0,0,0,0.18);
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-megamenu.active .mega-menu {
        max-height: 1400px;
    }

    /* 모바일에서는 hover 무시, active(탭) 로만 펼침 */
    .nav-megamenu:hover .mega-menu { max-height: 0; }
    .nav-megamenu.active:hover .mega-menu { max-height: 1400px; }

    .mega-inner {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        padding: 0.15rem 0 0.4rem;
        gap: 0;
    }

    .mega-group { padding: 0.1rem 0; }

    /* 2depth 카테고리 헤더 */
    .mega-cat {
        display: block;
        padding: 0.35rem 1.25rem 0.1rem 2.5rem;
        font-size: 0.66rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.45);
    }

    /* 구분선은 들여쓰기 계층으로 대체 → 어긋남 제거 (문제 7) */
    .mega-sep { display: none; }

    /* 3depth 실제 항목 */
    .mega-item {
        display: block;
        padding: 0.45rem 1.25rem 0.45rem 3.25rem;
        font-size: 0.82rem;
        font-weight: 400;
        line-height: 1.3;
        border-radius: 0;
    }
    .mega-item em { font-style: normal; opacity: 0.55; }
    .mega-item:hover {
        padding-left: 3.25rem;
        background: rgba(255,255,255,0.05);
    }

    .footer-info { grid-template-columns: 1fr; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* 컴팩트 푸터: 모바일 여백 더 축소 */
    .footer-container { padding: 0.9rem 1.25rem; }
    .footer-line { font-size: 0.76rem; line-height: 1.55; }
    .footer-name { margin-bottom: 0.4rem; }
    .footer .footer-copy { margin-top: 0.5rem; }
}

/* ── 모바일 우측 하단 플로팅 액션 버튼(메뉴/문의) — main.js 가 body 에 주입.
      어느 페이지든, 어느 스크롤 위치든 항상 우측 하단에 동그란 버튼 2개로 노출. ── */
.m-fab-wrap {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1500;
    display: none;                 /* 데스크탑 숨김 — 아래 미디어쿼리에서 모바일만 표시 */
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.m-fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    padding: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    transition: transform 0.15s ease, background 0.2s ease;
}
.m-fab:active { transform: scale(0.92); }
.m-fab svg { width: 22px; height: 22px; display: block; }
.m-fab-contact { background: var(--accent); }
.m-fab-contact:hover { background: var(--accent-light); }
.m-fab-menu { background: var(--navy); display: none; }   /* 일단 숨김 — 우측 상단 햄버거로 통일 */
.m-fab-menu:hover { background: var(--navy-mid); }

@media (max-width: 768px) {
    .m-fab-wrap { display: flex; }
    /* 플로팅 버튼(우측 하단)이 좌측 정렬 푸터 텍스트를 가리지 않는 선에서 최소 하단 여백만 */
    .footer-container { padding-bottom: 2rem; }
}

/* ============================================================
   PAGE HERO (History 등 내부 페이지)
   ============================================================ */
.page-hero {
    background: #dde1e6;
    padding: calc(var(--nav-h) + 3.5rem) 2rem 3rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(26,35,126,0.1);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(63,81,181,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-container {
    max-width: 1280px;
    margin: 0 auto;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(26,35,126,0.45);
    margin-bottom: 1.25rem;
    letter-spacing: 0.06em;
}

.page-breadcrumb a {
    color: rgba(26,35,126,0.45);
    text-decoration: none;
    transition: color var(--transition);
}

.page-breadcrumb a:hover { color: var(--navy); }

.page-breadcrumb .bc-sep { color: rgba(26,35,126,0.25); }

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.page-hero-sub {
    font-size: 0.95rem;
    color: rgba(26,35,126,0.55);
    letter-spacing: 0.04em;
}

/* ============================================================
   HISTORY TIMELINE
   ============================================================ */
.history-section {
    background: #e6e8ec;
    padding: 5rem 2rem 7rem;
}

.history-container {
    max-width: 860px;
    margin: 0 auto;
}

.timeline-block {
    display: grid;
    grid-template-columns: 100px 1fr;
    position: relative;
}

.tl-year-col {
    text-align: right;
    padding-right: 2rem;
    padding-top: 3px;
}

.tl-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.03em;
    line-height: 1;
}

.tl-events-col {
    border-left: 1px solid rgba(26,35,126,0.15);
    padding-left: 2rem;
    padding-bottom: 3.5rem;
    position: relative;
}

.timeline-block:last-child .tl-events-col {
    padding-bottom: 0;
}

.tl-events-col::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 4px;
    width: 11px;
    height: 11px;
    background: var(--accent-light);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(92,107,192,0.2);
}

.tl-events {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tl-event {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(26,35,126,0.65);
    padding: 0.3rem 0 0.3rem 0.9rem;
    border-bottom: 1px solid rgba(26,35,126,0.08);
    position: relative;
}

.tl-event::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: rgba(92,107,192,0.6);
    font-size: 0.75rem;
    line-height: inherit;
}

.tl-event:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem;
    }

    .timeline-block {
        grid-template-columns: 68px 1fr;
    }

    .tl-year {
        font-size: 1.15rem;
    }

    .tl-year-col {
        padding-right: 1rem;
    }

    .tl-events-col {
        padding-left: 1.25rem;
    }

    .history-section {
        padding: 3rem 1rem 5rem;
    }
}

/* ============================================================
   SOLUTION PAGES
   ============================================================ */
.page-hero-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.solution-page {
    background: #e6e8ec;
    padding: 4rem 2rem 7rem;
}

.solution-container {
    max-width: 1100px;
    margin: 0 auto;
}

.solution-intro {
    background: #dde1e6;
    border: 1px solid rgba(26,35,126,0.12);
    border-radius: 14px;
    padding: 2rem 2.5rem;
    margin-bottom: 3.5rem;
    color: rgba(26,35,126,0.72);
    font-size: 1rem;
    line-height: 1.9;
}

.solution-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-light);
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.solution-card {
    background: #dde1e6;
    border: 1px solid rgba(26,35,126,0.12);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.solution-card:hover {
    border-color: rgba(63,81,181,0.35);
    background: #e6e8ec;
    box-shadow: 0 4px 20px rgba(26,35,126,0.08);
}

.solution-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.solution-card-tag {
    background: rgba(63,81,181,0.08);
    border: 1px solid rgba(63,81,181,0.25);
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.solution-card-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.solution-card-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.solution-card-items li {
    color: rgba(26,35,126,0.65);
    font-size: 0.88rem;
    line-height: 1.65;
    padding-left: 1.2rem;
    position: relative;
}

.solution-card-items li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-size: 0.8rem;
}

/* ============================================================
   SOLUTION — 도입 필요성
   ============================================================ */
.solution-need-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 3.5rem;
}

.solution-need-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.4rem;
    background: #fff9f0;
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-left: 3px solid #f59e0b;
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(26,35,126,0.75);
    line-height: 1.65;
}

.solution-need-item i {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* ============================================================
   SOLUTION — 제품 특장점
   ============================================================ */
.solution-strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.solution-strength-card {
    background: #dde1e6;
    border: 1px solid rgba(26,35,126,0.12);
    border-radius: 14px;
    padding: 1.75rem 1.75rem 1.75rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.solution-strength-card:hover {
    border-color: rgba(63,81,181,0.35);
    box-shadow: 0 4px 20px rgba(26,35,126,0.08);
}

.strength-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(63,81,181,0.18);
    line-height: 1;
    letter-spacing: -1px;
}

.strength-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
}

/* ============================================================
   SOLUTION — 주요 기능
   ============================================================ */
.solution-func-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.solution-func-card {
    background: #dde1e6;
    border: 1px solid rgba(26,35,126,0.12);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.solution-func-card:hover {
    border-color: rgba(63,81,181,0.35);
    box-shadow: 0 4px 20px rgba(26,35,126,0.08);
}

.solution-func-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(63,81,181,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-func-icon i {
    font-size: 20px;
    color: var(--accent-light);
}

.solution-func-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
}

.solution-func-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.solution-func-items li {
    font-size: 0.82rem;
    color: rgba(26,35,126,0.62);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.solution-func-items li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================================
   SOLUTION — 컴플라이언스
   ============================================================ */
.solution-compliance-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.solution-compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--navy);
    color: var(--white);
    padding: 0.55rem 1.4rem;
    border-radius: 24px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ============================================================
   SOLUTION — PDF 다운로드
   ============================================================ */
.solution-download-section {
    background: linear-gradient(135deg, #eef2ff 0%, #f0f4ff 100%);
    border: 1px solid rgba(63,81,181,0.2);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.solution-download-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.solution-download-text p {
    font-size: 0.85rem;
    color: rgba(26,35,126,0.58);
}

.solution-download-btns {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: var(--navy);
    color: var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background var(--transition), box-shadow var(--transition);
}

.btn-download:hover {
    background: var(--navy-mid);
    box-shadow: 0 4px 16px rgba(26,35,126,0.28);
}

.btn-download-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--navy);
}

.btn-download-outline:hover {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(26,35,126,0.28);
}

.btn-download i {
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE — solution pages
   ============================================================ */
@media (max-width: 768px) {
    .solution-page {
        padding: 2.5rem 1rem 5rem;
    }

    .solution-intro {
        padding: 1.5rem;
    }

    .solution-cards {
        grid-template-columns: 1fr;
    }

    .solution-strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-func-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-download-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .solution-strengths-grid,
    .solution-func-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PAGE HERO — 브로슈어 버튼 행
   ============================================================ */
.page-hero-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.page-hero-top-row .page-breadcrumb {
    margin-bottom: 0;
}

.brochure-btns {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    flex-shrink: 0;
}

.brochure-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: transparent;
    border: 1.5px solid var(--navy);
    border-radius: 6px;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.brochure-btn:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26,35,126,0.25);
}

.brochure-btn i {
    font-size: 12px;
}

.brochure-lang {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brochure-label {
    font-size: 0.78rem;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

.page-hero-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-hero-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: nowrap;
}

.page-hero-titles {
    flex: 1;
    min-width: 0;
}

.page-hero-titles .page-hero-title {
    margin-bottom: 0;
}

.brochure-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 1.2rem;
    background: rgba(26,35,126,0.08);
    border: 1.5px solid rgba(26,35,126,0.22);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}

.brochure-contact-btn:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.brochure-contact-btn i {
    font-size: 11px;
}

.brochure-internal-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 1.1rem;
    background: rgba(26,35,126,0.08);
    border: 1.5px solid rgba(26,35,126,0.22);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}

.brochure-internal-btn:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.brochure-internal-btn i {
    font-size: 10px;
}

.internal-tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 400;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    max-width: 240px;
    width: max-content;
    white-space: normal;
    text-align: center;
    line-height: 1.55;
    letter-spacing: 0.01em;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 200;
}

.internal-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #1a1a2e;
}

.brochure-internal-btn:hover .internal-tooltip {
    visibility: visible;
    opacity: 1;
}

/* ============================================================
   INTERNAL GUIDE PAGE
   ============================================================ */
.int-banner {
    background: #b71c1c;
    color: #fff;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-hero--internal {
    background: linear-gradient(135deg, #1a237e, #283593);
}

.page-hero--internal .page-breadcrumb a,
.page-hero--internal .page-breadcrumb span,
.page-hero--internal .bc-sep { color: rgba(255,255,255,0.65); }

.page-hero--internal .page-breadcrumb a:hover { color: #fff; }

.page-hero--internal .page-hero-label,
.page-hero--internal .page-hero-title { color: #fff; }

.int-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    gap: 2.5rem;
}

/* TOC 사이드바 */
.int-toc {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
}

.int-toc-inner {
    background: #f8f9ff;
    border: 1px solid #e8eaf6;
    border-radius: 10px;
    padding: 1.25rem;
}

.int-toc-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(26,35,126,0.45);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.int-toc-item {
    display: block;
    font-size: 0.8rem;
    color: rgba(26,35,126,0.6);
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: all 0.15s;
    line-height: 1.35;
}

.int-toc-item:hover,
.int-toc-item.active {
    background: var(--navy);
    color: #fff;
}

/* 본문 */
.int-content {
    flex: 1;
    min-width: 0;
}

.int-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.int-section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e8eaf6;
}

.int-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 900;
    flex-shrink: 0;
}

.int-sub-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.75rem;
}

.int-desc {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.75;
    margin: 0 0 1.5rem;
}

/* 아키텍처 다이어그램 */
.int-arch {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9ff;
    border: 1px solid #e8eaf6;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.int-arch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    min-width: 130px;
}

.int-arch-node i { font-size: 1.6rem; margin-bottom: 0.2rem; }
.int-arch-node strong { font-size: 0.85rem; font-weight: 700; }
.int-arch-node span { font-size: 0.72rem; opacity: 0.75; }

.int-arch-node--agent { background: rgba(63,81,181,0.1); color: var(--navy); }
.int-arch-node--mgmt  { background: rgba(39,174,96,0.1); color: #1b5e20; }
.int-arch-node--console { background: rgba(245,124,0,0.1); color: #e65100; }

.int-arch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    color: rgba(26,35,126,0.35);
    font-size: 1.1rem;
}
.int-arch-arrow small { font-size: 0.65rem; white-space: nowrap; }

/* 정보 카드 */
.int-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.int-info-card {
    background: #e6e8ec;
    border: 1px solid #e8eaf6;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
}

.int-info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* 테이블 */
.int-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.int-table thead th {
    background: var(--navy);
    color: #fff;
    padding: 0.65rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
}

.int-table tbody td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #e8eaf6;
    color: #333;
}

.int-table tbody tr:last-child td { border-bottom: none; }
.int-table tbody tr:nth-child(even) td { background: #f8f9ff; }
.int-table tbody td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* 스텝 */
.int-step-list { display: flex; flex-direction: column; gap: 1rem; }

.int-step {
    display: flex;
    gap: 1.25rem;
    background: #e6e8ec;
    border: 1px solid #e8eaf6;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    align-items: flex-start;
}

.int-step-num {
    width: 32px;
    height: 32px;
    background: var(--navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.int-step-body { flex: 1; min-width: 0; }

.int-step-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.5rem;
}

.int-step-body p {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.65;
    margin: 0 0 0.75rem;
}

/* 코드 블록 */
.int-code {
    background: #1e2235;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 0.5rem 0 0;
    overflow-x: auto;
}

.int-code code {
    color: #a8d8a8;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    line-height: 1.7;
    white-space: pre;
}

/* 주의 노트 */
.int-note {
    background: rgba(63,81,181,0.06);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: #444;
    line-height: 1.65;
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.int-note i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.int-note code {
    background: rgba(63,81,181,0.1);
    padding: 1px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
}

/* 리스트 */
.int-list {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.75;
    padding-left: 1.2rem;
    margin: 0.4rem 0 0;
}

.int-list li { margin-bottom: 0.2rem; }

/* 탭 */
.int-tab-btns {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.int-tab-btn {
    padding: 0.45rem 1.25rem;
    border: 1.5px solid #e8eaf6;
    border-radius: 20px;
    background: #e6e8ec;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(26,35,126,0.5);
    cursor: pointer;
    transition: all 0.15s;
}

.int-tab-btn.active,
.int-tab-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* 메뉴 카드 그리드 */
.int-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.int-menu-card {
    background: #e6e8ec;
    border: 1px solid #e8eaf6;
    border-radius: 10px;
    padding: 1.25rem;
}

.int-menu-icon {
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.int-menu-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.5rem;
}

/* 반응형 */
@media (max-width: 900px) {
    .int-toc { display: none; }
    .int-layout { padding: 2rem 1.25rem 4rem; }
    .int-info-grid { grid-template-columns: 1fr; }
    .int-menu-grid { grid-template-columns: repeat(2, 1fr); }
    .int-arch { gap: 0.75rem; }
}

@media (max-width: 540px) {
    .int-menu-grid { grid-template-columns: 1fr; }
    .int-arch-arrow { display: none; }
}

/* ============================================================
   SOLUTION PRODUCT PAGE — Enterprise Layout (sp-*)
   ============================================================ */
.sp-section {
    padding: 2.5rem 2rem;
}

.sp-section--white {
    background: #e6e8ec;
}

.sp-section--tint {
    background: #f0f4ff;
}

.sp-section--dark {
    background: linear-gradient(135deg, #1a237e 0%, #283593 60%, #3949ab 100%);
}

.sp-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* 섹션 타이틀 — 중앙 정렬 + 하단 accent 바 */
.sp-section-heading {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    margin-bottom: 2.75rem;
    letter-spacing: -0.01em;
    position: relative;
}

.sp-section-heading::after {
    content: '';
    display: block;
    width: 44px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    margin: 0.7rem auto 0;
}

.sp-heading--light {
    color: var(--white);
}

.sp-heading--light::after {
    background: rgba(255,255,255,0.35);
}

/* 소개 블록 */
.sp-intro-block {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    max-width: 100%;
    margin: 0;
    padding: 1rem 1.25rem;
    background: #dde1e6;
    border-radius: 16px;
    border: 1px solid rgba(26,35,126,0.1);
}

.sp-intro-accent {
    width: 4px;
    min-height: 100%;
    background: var(--navy);
    border-radius: 4px;
    flex-shrink: 0;
    align-self: stretch;
}

.sp-intro-text {
    font-size: 1rem;
    line-height: 1.95;
    color: rgba(26,35,126,0.72);
    margin: 0;
}

/* 도입 필요성 카드 */
.sp-need-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sp-need-card {
    background: #e6e8ec;
    border-radius: 16px;
    padding: 1.75rem;
    border-top: 3px solid #1a237e;
    box-shadow: 0 4px 20px rgba(26,35,126,0.06);
    transition: box-shadow var(--transition), transform var(--transition);
}

.sp-need-card:hover {
    box-shadow: 0 8px 32px rgba(26,35,126,0.12);
    transform: translateY(-3px);
}

.sp-need-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sp-need-icon {
    width: 40px;
    height: 40px;
    background: rgba(26,35,126,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-need-icon i {
    color: #1a237e;
    font-size: 17px;
}

.sp-need-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(26,35,126,0.15);
    letter-spacing: -2px;
    line-height: 1;
}

.sp-need-text {
    font-size: 0.9rem;
    color: rgba(26,35,126,0.72);
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

/* 제품 특장점 카드 */
.sp-strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.sp-strength-card {
    background: #e6e8ec;
    border: 1px solid rgba(26,35,126,0.1);
    border-radius: 0 0 14px 14px;
    border-top: 3px solid var(--navy);
    padding: 1.75rem 1.6rem;
    box-shadow: 0 2px 12px rgba(26,35,126,0.05);
    transition: box-shadow var(--transition), transform var(--transition);
}

.sp-strength-card:hover {
    box-shadow: 0 10px 30px rgba(26,35,126,0.13);
    transform: translateY(-4px);
}

.sp-strength-top {
    margin-bottom: 0.85rem;
}

.sp-strength-num {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    color: rgba(26,35,126,0.12);
}

.sp-strength-title {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.9rem;
    line-height: 1.45;
}

.sp-strength-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sp-strength-items li {
    font-size: 0.82rem;
    color: rgba(26,35,126,0.6);
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.sp-strength-items li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--navy);
    font-size: 1.1rem;
    line-height: 1.3;
}

/* 주요 기능 카드 */
.sp-func-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.sp-func-card {
    background: #e6e8ec;
    border: 1px solid rgba(26,35,126,0.1);
    border-radius: 14px;
    padding: 1.75rem 1.4rem;
    box-shadow: 0 2px 10px rgba(26,35,126,0.05);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
}

.sp-func-card:hover {
    box-shadow: 0 10px 30px rgba(26,35,126,0.13);
    transform: translateY(-4px);
}

.sp-func-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(26,35,126,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.sp-func-icon i {
    font-size: 22px;
    color: var(--navy);
}

.sp-func-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.sp-func-items {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.sp-func-items li {
    font-size: 0.78rem;
    color: rgba(26,35,126,0.6);
    line-height: 1.65;
    padding: 0.22rem 0 0.22rem 0.9rem;
    position: relative;
    border-bottom: 1px solid rgba(26,35,126,0.06);
}

.sp-func-items li:last-child {
    border-bottom: none;
}

.sp-func-items li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* 컴플라이언스 */
.sp-compliance-inner {
    text-align: center;
}

.sp-compliance-icon {
    margin-bottom: 1.25rem;
}

.sp-compliance-icon i {
    font-size: 2.8rem;
    color: rgba(255,255,255,0.2);
}

.sp-compliance-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.sp-compliance-badge {
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.28);
    color: var(--white);
    padding: 0.75rem 2.2rem;
    border-radius: 32px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background var(--transition), border-color var(--transition);
}

.sp-compliance-badge:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
}

/* ============================================================
   RESPONSIVE — Enterprise layout
   ============================================================ */
@media (max-width: 1100px) {
    .sp-func-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 768px) {
    .sp-section {
        padding: 1.75rem 1.25rem;
    }

    .sp-need-grid {
        grid-template-columns: 1fr;
    }

    .sp-func-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-intro-block {
        max-width: 100%;
        padding: 0.75rem;
        gap: 1rem;
    }

    .page-hero-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .page-hero-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .brochure-btns {
        flex-wrap: wrap;
    }
}

@media (max-width: 540px) {
    .sp-strengths-grid,
    .sp-func-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.contact-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 50, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.contact-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.contact-modal {
    background: #e6e8ec;
    border-radius: 14px;
    width: 100%;
    max-width: 420px;
    /* 세로 짧은 화면(폴드 내부/가로 모드)에서 모달이 잘리지 않도록: 뷰포트 높이 제한 + 내부 스크롤
       (오버레이 padding 1.5rem ×2 = 3rem 만큼 여유) */
    max-height: calc(100vh - 3rem);
    max-height: calc(100dvh - 3rem);
    overflow-y: auto;
    padding: 1.6rem 1.75rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 72px rgba(10,15,50,0.22);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-overlay.active .contact-modal {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    /* 모달이 스크롤돼도 항상 우상단에 보이도록 sticky(기존 absolute는 스크롤 시 위치가 어긋나
       닫기 버튼이 내용/상단 바와 겹쳤음). flex column 의 마지막→우측 정렬. */
    position: sticky;
    top: 0;
    align-self: flex-end;
    margin: -1rem -1rem 0 0;
    z-index: 3;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(26,35,126,0.06);
    border-radius: 50%;
    color: var(--navy);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.contact-modal-close:hover {
    background: rgba(26,35,126,0.14);
}

.contact-modal-header {
    text-align: center;
    margin-bottom: 1.15rem;
}

.contact-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--white);
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.55rem;
}

.contact-modal-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.contact-modal-sub {
    font-size: 0.83rem;
    color: rgba(26,35,126,0.55);
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    border: 1.5px solid rgba(26,35,126,0.18);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    font-size: 0.86rem;
    color: #1a1a2e;
    font-family: inherit;
    background: #f8f9ff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    resize: vertical;
}

.contact-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a237e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    resize: none;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(63,81,181,0.12);
    background: #e6e8ec;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(26,35,126,0.35);
}

.byte-counter {
    text-align: right;
    font-size: 0.72rem;
    color: rgba(26,35,126,0.38);
    margin-top: 5px;
    transition: color 0.2s;
}

.byte-counter.over {
    color: #c0392b;
    font-weight: 600;
}

#byteCount {
    font-weight: 700;
}

/* 유효성 검사 상태 */
.contact-field.valid input,
.contact-field.valid textarea {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39,174,96,0.1);
    background: #e6e8ec;
}

.contact-field.invalid input,
.contact-field.invalid textarea {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
    background: #e6e8ec;
}

.field-hint {
    font-size: 0.72rem;
    margin-top: 4px;
    min-height: 1em;
    line-height: 1.3;
    transition: color 0.2s;
}

.contact-field.valid .field-hint {
    color: #27ae60;
}

.contact-field.invalid .field-hint {
    color: #e74c3c;
}

.contact-error {
    font-size: 0.78rem;
    color: #c0392b;
    margin: 0;
    display: none;
}

.contact-error.visible {
    display: block;
}

.contact-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--transition), transform 0.15s;
    margin-top: 0.15rem;
}

.contact-submit-btn:hover {
    background: var(--navy-mid);
}

.contact-submit-btn:active {
    transform: scale(0.98);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 전송 중: 버튼 글자 숨기고 스피너 표시 */
.contact-submit-btn.loading {
    color: transparent;
    pointer-events: none;
    opacity: 1;
}
.contact-submit-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cs-spin 0.7s linear infinite;
}
@keyframes cs-spin { to { transform: rotate(360deg); } }

.contact-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
    gap: 0.6rem;
}

.contact-success.visible {
    display: flex;
}

.contact-success i {
    font-size: 3rem;
    color: #27ae60;
}

.contact-success h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.contact-success p {
    font-size: 0.85rem;
    color: rgba(26,35,126,0.55);
    margin: 0;
}

@media (max-width: 540px) {
    .contact-modal {
        padding: 2rem 1.5rem 1.5rem;
    }
}

/* 세로 짧은 화면(폴드 내부 가로/랜드스케이프): 모달을 위에서 시작시켜 브라우저 상단 바와
   겹치지 않게 하고, 헤더 여백을 줄여 전체 높이를 낮춘다. 닫기 버튼은 sticky 로 항상 보임. */
@media (max-height: 600px) {
    .contact-overlay {
        align-items: flex-start;
        padding-top: 2.25rem;
    }
    .contact-modal-header {
        margin-bottom: 1.2rem;
    }
    .contact-modal-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 0.6rem;
    }
}

/* ============================================================
   PRIVACY SCAN — Fullpage Slide Experience (fp-* / ps-*)
   ============================================================ */

/* ── Body override ── */
body.fp-page { overflow: hidden; height: 100vh; }

/* ── Wrapper & Container ── */
.fp-wrapper  { height: 100vh; overflow: hidden; position: relative; }
.fp-container {
    will-change: transform;
    transition: transform 0.88s cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Individual slide ── */
.fp-slide {
    height: 100vh;
    padding-top: var(--nav-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.fp-slide--dark    { background: linear-gradient(140deg, #0b1040 0%, #1a237e 55%, #253390 100%); }
.fp-slide--charcoal{ background: linear-gradient(140deg, #0f172a 0%, #1e2a4a 100%); }
.fp-slide--light   { background: #e6e8ec; }
.fp-slide--tint    { background: #f3f6ff; }

/* ── Content fade-in per slide ── */
.fp-content {
    transition: opacity 0.6s ease 0.18s, transform 0.6s ease 0.18s;
}
.fp-slide:not(.is-active) .fp-content { opacity: 0; transform: translateY(22px); }
.fp-slide.is-active .fp-content       { opacity: 1; transform: none; }

/* ── Inner container ── */
.fp-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem;
    width: 100%;
}

/* ── Progress bar ── */
.fp-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: rgba(255,255,255,0.55);
    z-index: 1001;
    transition: width 0.88s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

/* ── Side dot nav ── */
.fp-dots {
    position: fixed;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
}

.fp-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.fp-dot::before {
    content: attr(data-label);
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.6rem;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.fp-dot:hover::before { opacity: 1; }
.fp-dot.active { transform: scale(1.3); }

/* Dots on light-background slides */
.fp-dots.on-light .fp-dot {
    border-color: rgba(26,35,126,0.25);
}
.fp-dots.on-light .fp-dot.active {
    background: var(--navy);
    border-color: var(--navy);
}
.fp-dots.on-light .fp-dot::before {
    background: rgba(26,35,126,0.75);
}

/* ── Scroll hint ── */
.fp-scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    animation: fpBounce 2.2s ease-in-out infinite;
}
@keyframes fpBounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}
.fp-scroll-hint i    { color: rgba(255,255,255,0.3); font-size: 1rem; }
.fp-scroll-hint span { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.25); font-weight: 600; }

/* ── Nav contact button ── */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.82);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.nav-cta-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* ============================================================
   SLIDE CONTENT STYLES
   ============================================================ */

/* Common eyebrow */
.ps-eyebrow {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
}
.ps-eyebrow--light { color: rgba(255,255,255,0.4); }
.ps-eyebrow--accent { color: var(--accent); }

/* Common slide heading */
.ps-h {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 2.5rem;
}
.ps-h--light { color: #fff; }
.ps-h--dark  { color: var(--navy); }

/* ── SLIDE 0: Hero ── */
.ps-hero-title {
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.1rem;
}
.ps-hero-sub {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 3rem;
}
.ps-hero-stats {
    display: flex;
    max-width: 680px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 2rem;
    gap: 0;
}
.ps-hero-stat {
    flex: 1;
    padding-right: 2rem;
    margin-right: 2rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.ps-hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.ps-hero-stat-val {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 0.2rem;
    line-height: 1;
}
.ps-hero-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    line-height: 1.45;
}

/* ── SLIDE 1: Pain Points ── */
.ps-pain-list { display: flex; flex-direction: column; }
.ps-pain-row {
    display: grid;
    grid-template-columns: 68px 48px 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(26,35,126,0.08);
    transition: transform 0.2s ease;
}
.ps-pain-row:first-child { border-top: 1px solid rgba(26,35,126,0.08); }
.ps-pain-row:hover { transform: translateX(8px); }
.ps-pain-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(26,35,126,0.08);
    letter-spacing: -4px;
    line-height: 1;
    text-align: right;
    font-family: 'Inter', sans-serif;
}
.ps-pain-icon-box {
    width: 44px; height: 44px;
    background: rgba(26,35,126,0.07);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
}
.ps-pain-icon-box i { font-size: 16px; color: var(--navy); }
.ps-pain-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(26,35,126,0.82);
    line-height: 1.5;
    margin: 0;
}

/* ── SLIDE 2: Architecture ── */
.ps-arch-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.ps-arch-node {
    flex: 1; max-width: 290px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.ps-arch-circle {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, #3949ab 100%);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 32px rgba(26,35,126,0.28);
}
.ps-arch-circle i { color: #fff; font-size: 24px; }
.ps-arch-label {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem;
}
.ps-arch-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.55rem; }
.ps-arch-desc { font-size: 0.78rem; color: rgba(26,35,126,0.55); line-height: 1.72; max-width: 210px; }
.ps-arch-connector {
    flex-shrink: 0; width: 68px;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    align-self: flex-start;
    padding-top: 40px;
}
.ps-arch-line {
    width: 100%; height: 2px;
    background: rgba(26,35,126,0.16);
    position: relative;
}
.ps-arch-line::after {
    content: '';
    position: absolute; right: -7px; top: 50%; transform: translateY(-50%);
    border-left: 9px solid rgba(26,35,126,0.32);
    border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.ps-arch-line-label {
    font-size: 0.57rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(26,35,126,0.35); white-space: nowrap;
}

/* ── SLIDE 3: How It Works ── */
.ps-hiw-wrap { position: relative; padding-top: 0.5rem; }
.ps-hiw-line {
    position: absolute;
    top: 22px; left: 12.5%; right: 12.5%;
    height: 2px; background: rgba(255,255,255,0.1);
}
.ps-hiw-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0; position: relative; z-index: 1;
}
.ps-hiw-step {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; padding: 0 1.25rem;
}
.ps-hiw-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.28);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 0.86rem; font-weight: 800; margin-bottom: 1.5rem; flex-shrink: 0;
}
.ps-hiw-icon { font-size: 1.35rem; color: rgba(255,255,255,0.18); margin-bottom: 0.7rem; }
.ps-hiw-title { font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 0.55rem; line-height: 1.3; }
.ps-hiw-desc  { font-size: 0.75rem; color: rgba(255,255,255,0.48); line-height: 1.75; }

/* ── SLIDE 4: Strengths ── */
.ps-str-list { display: flex; flex-direction: column; }
.ps-str-row {
    display: grid;
    grid-template-columns: 68px 200px 1fr;
    align-items: start; gap: 1.75rem;
    padding: 1.3rem 0;
    border-bottom: 1px solid rgba(26,35,126,0.07);
}
.ps-str-row:first-child { border-top: 1px solid rgba(26,35,126,0.07); }
.ps-str-num {
    font-size: 2.6rem; font-weight: 900; color: rgba(26,35,126,0.07);
    letter-spacing: -3px; line-height: 1; text-align: right;
    font-family: 'Inter', sans-serif; padding-top: 0.1rem;
}
.ps-str-title { font-size: 0.9rem; font-weight: 700; color: var(--navy); line-height: 1.4; padding-top: 0.1rem; }
.ps-str-bullets { display: flex; gap: 0.4rem 1.5rem; flex-wrap: wrap; }
.ps-str-bullet {
    font-size: 0.78rem; color: rgba(26,35,126,0.55);
    padding-left: 0.75rem; position: relative; line-height: 1.55;
}
.ps-str-bullet::before { content: '·'; position: absolute; left: 0; color: rgba(26,35,126,0.28); font-size: 1rem; line-height: 1.1; }

/* ── SLIDE 5: Functions (tabs) ── */
.ps-tab-layout {
    display: grid; grid-template-columns: 200px 1fr; gap: 1.75rem; align-items: start;
}
.ps-tab-nav { display: flex; flex-direction: column; gap: 0.2rem; }
.ps-tab-btn {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.82rem 1rem; background: transparent; border: none;
    border-radius: 10px; cursor: pointer; text-align: left;
    font-family: inherit; font-size: 0.84rem; font-weight: 600;
    color: rgba(26,35,126,0.42); transition: all 0.2s; width: 100%;
}
.ps-tab-btn:hover { background: rgba(26,35,126,0.06); color: var(--navy); }
.ps-tab-btn.active { background: var(--navy); color: #fff; }
.ps-tab-btn.active .ps-ti { color: rgba(255,255,255,0.8); }
.ps-ti { font-size: 0.92rem; flex-shrink: 0; color: rgba(26,35,126,0.3); width: 16px; text-align: center; transition: color 0.2s; }
.ps-tab-panel {
    background: #e6e8ec; border: 1px solid rgba(26,35,126,0.1);
    border-radius: 16px; padding: 1.75rem 2rem;
    display: none; animation: psIn 0.22s ease;
}
.ps-tab-panel.active { display: block; }
@keyframes psIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
.ps-tab-icon-wrap {
    width: 46px; height: 46px; background: rgba(26,35,126,0.07);
    border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem;
}
.ps-tab-icon-wrap i { font-size: 18px; color: var(--navy); }
.ps-tab-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.9rem; }
.ps-tab-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.ps-tab-items li {
    display: flex; align-items: flex-start; gap: 0.7rem;
    font-size: 0.86rem; color: rgba(26,35,126,0.65); line-height: 1.6;
}
.ps-tab-items li::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--navy); opacity: 0.28; flex-shrink: 0; margin-top: 0.5rem;
}

/* ── SLIDE 6: CTA (+ OS + Compliance + Footer) ── */
.ps-cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.ps-cta-left {}
.ps-cta-right {}
.ps-cta-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900; color: #fff;
    letter-spacing: -0.04em; line-height: 1.12; margin-bottom: 1rem;
}
.ps-cta-sub {
    font-size: 0.95rem; color: rgba(255,255,255,0.55);
    line-height: 1.85; margin-bottom: 2rem;
}
.ps-cta-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: #e6e8ec; color: var(--navy);
    border-radius: 50px; padding: 0.9rem 2.25rem;
    font-size: 0.92rem; font-weight: 700;
    border: none; cursor: pointer; font-family: inherit;
    transition: all 0.25s; box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    text-decoration: none;
}
.ps-cta-btn:hover { background: #eef1ff; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.25); }

.ps-cta-right-label {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem;
}
.ps-cta-os-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.ps-cta-os-item {
    display: flex; align-items: center; gap: 0.9rem;
    padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ps-cta-os-item:last-child { border-bottom: none; padding-bottom: 0; }
.ps-cta-os-item i { font-size: 1.35rem; color: rgba(255,255,255,0.35); width: 24px; text-align: center; }
.ps-cta-os-name { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.72); }
.ps-cta-os-desc { font-size: 0.7rem; color: rgba(255,255,255,0.38); margin-top: 1px; }

.ps-cta-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.ps-cta-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.65);
    padding: 0.38rem 1rem; border-radius: 20px;
    font-size: 0.75rem; font-weight: 600;
}

.ps-cta-footer {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.ps-cta-footer-copy { font-size: 0.68rem; color: rgba(255,255,255,0.28); }
.ps-cta-footer-links { display: flex; gap: 1.25rem; }
.ps-cta-footer-links a { font-size: 0.68rem; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.ps-cta-footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ── Responsive ── */
@media (max-width: 1000px) {
    .ps-cta-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .ps-tab-layout { grid-template-columns: 1fr; }
    .ps-tab-nav { flex-direction: row; flex-wrap: wrap; gap: 0.3rem; }
    .ps-tab-btn { width: auto; padding: 0.6rem 0.8rem; font-size: 0.78rem; }
    .ps-arch-wrap { flex-direction: column; align-items: center; }
    .ps-arch-connector { align-self: center; width: auto; height: 30px; padding-top: 0; flex-direction: row; }
    .ps-arch-line { width: 40px; height: 2px; }
    .ps-hiw-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .ps-hiw-line { display: none; }
    .ps-str-row { grid-template-columns: 50px 160px 1fr; gap: 1rem; }
}

@media (max-width: 768px) {
    .fp-dots { display: none; }
    .fp-inner { padding: 0 1.5rem; }
    .ps-hero-title { font-size: 2.5rem; }
    .ps-h { font-size: 1.5rem; margin-bottom: 1.75rem; }
    .ps-pain-row { grid-template-columns: 50px 40px 1fr; gap: 1rem; }
    .ps-pain-num { font-size: 2.2rem; }
    .ps-str-row { grid-template-columns: 1fr; gap: 0.5rem; }
    .ps-str-num { font-size: 1.8rem; text-align: left; letter-spacing: -1px; }
    .ps-cta-title { font-size: 1.9rem; }
}

@media (max-width: 540px) {
    .ps-hiw-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .ps-hero-stats { flex-wrap: wrap; gap: 1rem; }
    .ps-hero-stat { flex: 0 0 calc(50% - 0.5rem); border-right: none; margin-right: 0; padding-right: 0; }
}

/* ============================================================
   KMS / DB-AMOA — Page-Specific Extensions
   ============================================================ */

/* ── ps-str-sub (subtitle under strength title) ── */
.ps-str-sub {
    font-size: 0.82rem;
    color: #546e7a;
    margin: 0.2rem 0 0;
    line-height: 1.4;
}
.fp-slide--charcoal .ps-str-sub,
.fp-slide--dark .ps-str-sub { color: rgba(255,255,255,0.55); }

/* ── ps-str-mid (wraps title + sub) ── */
.ps-str-mid { display: flex; flex-direction: column; }

/* ── 5-column methods grid ── */
.ps-hiw-grid--5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.ps-hiw-grid--5 .ps-hiw-step { padding: 1.1rem 0.6rem; }
.ps-hiw-grid--5 .ps-hiw-desc { font-size: 0.74rem; line-height: 1.4; }

/* ── 8-column lifecycle grid ── */
.ps-hiw-grid--8 {
    grid-template-columns: repeat(8, 1fr);
    gap: 0.75rem;
}
.ps-hiw-grid--8 .ps-hiw-step { padding: 1rem 0.5rem; }
.ps-hiw-grid--8 .ps-hiw-title { font-size: 0.85rem; }
.ps-hiw-grid--8 .ps-hiw-desc  { font-size: 0.72rem; line-height: 1.4; }

/* ── KMS HA configuration row ── */
.kms-ha-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}
.kms-ha-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.fp-slide--tint .kms-ha-card {
    background: rgba(26,35,126,0.07);
    border-color: rgba(26,35,126,0.14);
}
.kms-ha-card i {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
.kms-ha-card strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a237e;
}
.kms-ha-card span {
    font-size: 0.78rem;
    color: #546e7a;
    line-height: 1.5;
}

/* ── SLIDE 6/7: Diagram slides ── */
.ps-diagram-slide {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--nav-h));
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 0.6rem;
    box-sizing: border-box;
}
.ps-diagram-header { flex-shrink: 0; }
.ps-diagram-header .ps-h { margin-bottom: 0.35rem; }
.ps-diagram-caption {
    font-size: 0.88rem;
    color: rgba(26,35,126,0.55);
    margin: 0;
    line-height: 1.5;
}
.ps-diagram-caption--dark { color: rgba(255,255,255,0.45); }
.ps-diagram-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}
.ps-diagram-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 32px rgba(26,35,126,0.13);
}
.fp-slide--charcoal .ps-diagram-img { box-shadow: 0 6px 32px rgba(0,0,0,0.45); }

/* ── DB Amoa product tags ── */
.da-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}
.da-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(26,35,126,0.09);
    color: #1a237e;
    border: 1px solid rgba(26,35,126,0.18);
    letter-spacing: 0.02em;
}
.da-tag--accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ── DB Amoa reference list ── */
.da-ref-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.da-ref-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.82rem;
}
.da-ref-name {
    flex: 0 0 80px;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    white-space: nowrap;
}
.da-ref-quote {
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

/* ── 비정형 데이터 암호화 슬라이드 ── */
.da-ust-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.8rem; margin-top: 1rem; }

.da-ust-col-label {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.45); margin-bottom: 0.65rem;
}

.da-ust-types { display: flex; flex-direction: column; gap: 0.45rem; }
.da-ust-type {
    display: flex; align-items: flex-start; gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.07); border-radius: 8px;
    border-left: 2px solid rgba(92,107,192,0.6);
}
.da-ust-type i { font-size: 0.95rem; color: rgba(255,255,255,0.7); flex: 0 0 1.1rem; margin-top: 0.15rem; }
.da-ust-type-body { display: flex; flex-direction: column; gap: 0.1rem; }
.da-ust-type-body strong { font-size: 0.82rem; font-weight: 700; color: #fff; }
.da-ust-type-body span  { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.da-ust-type-body em    { font-size: 0.68rem; color: rgba(92,107,192,0.9); font-style: normal; }

.da-ust-methods { display: flex; flex-direction: column; gap: 0.65rem; }
.da-ust-method {
    background: rgba(255,255,255,0.07); border-radius: 10px;
    padding: 0.85rem 1rem; border: 1px solid rgba(255,255,255,0.1);
}
.da-ust-method-title { font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.da-ust-method-desc  { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-bottom: 0.45rem; line-height: 1.5; }
.da-ust-method-features {
    padding-left: 1rem; margin: 0 0 0.45rem;
    display: flex; flex-direction: column; gap: 0.18rem;
}
.da-ust-method-features li { font-size: 0.7rem; color: rgba(255,255,255,0.7); }
.da-ust-env {
    display: inline-block; font-size: 0.65rem; font-weight: 600;
    background: rgba(92,107,192,0.25); color: rgba(255,255,255,0.8);
    border-radius: 4px; padding: 0.18rem 0.5rem;
}

.da-ust-cases {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 0.4rem; margin-top: 1rem;
}
.da-ust-cases-label {
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); flex: 0 0 100%; margin-bottom: 0.1rem;
}
.da-ust-case {
    display: flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.07); border-radius: 20px;
    padding: 0.28rem 0.75rem; font-size: 0.7rem;
}
.da-ust-case-client { font-weight: 700; color: #fff; white-space: nowrap; }
.da-ust-case-scope  { color: rgba(255,255,255,0.5); }
.da-ust-case-result { color: rgba(92,107,192,0.9); font-size: 0.65rem; }

/* ── Responsive overrides for new classes ── */
@media (max-width: 1000px) {
    .ps-hiw-grid--5 { grid-template-columns: repeat(3, 1fr); }
    .ps-hiw-grid--8 { grid-template-columns: repeat(4, 1fr); }
    .kms-ha-row { grid-template-columns: 1fr; gap: 0.6rem; }
    .da-ust-layout { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 768px) {
    .ps-hiw-grid--5 { grid-template-columns: repeat(2, 1fr); }
    .ps-hiw-grid--8 { grid-template-columns: repeat(2, 1fr); }
    .ps-str-mid { gap: 0; }
    .da-ref-item { flex-direction: column; gap: 0.15rem; }
    .da-ref-name { flex: none; }
}
}

/* ============================================================
   WHY WE REBUILT PAGE (wr-*)
   ============================================================ */

/* Section base */
.wr-main { padding-top: var(--nav-h); }

.wr-section {
    padding: 5rem 2rem;
}
.wr-section--light { background: #f5f7ff; }
.wr-section--white { background: #e6e8ec; }
.wr-section--dark  {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 60%, var(--accent) 100%);
    color: #fff;
}

.wr-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section heading */
.wr-section-head {
    text-align: center;
    margin-bottom: 3rem;
}
.wr-section-head--dark .wr-section-title { color: #fff; }
.wr-section-head--dark .wr-section-desc  { color: rgba(255,255,255,0.75); }

.wr-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    background: rgba(63,81,181,0.1);
    border: 1px solid rgba(63,81,181,0.2);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.wr-badge--light {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

.wr-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.wr-section-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto;
}

/* Overview cards */
.wr-overview-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.wr-overview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: #e6e8ec;
    border: 1.5px solid #e8eaf6;
    border-radius: 16px;
    padding: 2rem 3rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(26,35,126,0.06);
}
.wr-overview-card--accent {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.wr-overview-card--accent strong { color: rgba(255,255,255,0.75); }
.wr-overview-card--accent span   { color: #fff; }

.wr-ov-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.wr-overview-card--accent .wr-ov-icon { color: rgba(255,255,255,0.8); }

.wr-overview-card strong {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(26,35,126,0.5);
}
.wr-overview-card span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
}

.wr-overview-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.6;
}

/* Platform comparison grid */
.wr-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.wr-platform-card {
    background: #e6e8ec;
    border: 1.5px solid #e8eaf6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26,35,126,0.06);
}

.wr-platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #e8eaf6;
}
.wr-platform-header--wix   { background: linear-gradient(135deg,#fff5e6,#ffe8b2); }
.wr-platform-header--spring { background: linear-gradient(135deg,#e8f5e9,#c8e6c9); }

.wr-platform-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.wr-platform-header--wix   .wr-platform-logo { background: rgba(255,165,0,0.15); color: #e65100; }
.wr-platform-header--spring .wr-platform-logo { background: rgba(46,125,50,0.15); color: #2e7d32; }

.wr-platform-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 0.2rem;
}
.wr-platform-header p {
    font-size: 0.78rem;
    color: rgba(26,35,126,0.55);
    margin: 0;
}

.wr-pros-cons { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 1.5rem; }

.wr-pros h4,
.wr-cons h4 {
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
}
.wr-pros h4 { color: #2e7d32; }
.wr-cons h4 { color: #c62828; }

.wr-pros ul,
.wr-cons ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.wr-pros li,
.wr-cons li {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
}
.wr-pros li::before { content: '✓'; position: absolute; left: 0; color: #2e7d32; font-weight: 700; }
.wr-cons li::before { content: '✗'; position: absolute; left: 0; color: #c62828; font-weight: 700; }

/* SSR section */
.wr-ssr-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.wr-ssr-box {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}
.wr-ssr-box--dim { opacity: 0.6; }

.wr-ssr-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 1rem;
}

.wr-ssr-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}
.wr-ssr-box p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.65;
    margin: 0;
}

.wr-ssr-vs {
    text-align: center;
}
.wr-ssr-vs span {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    line-height: 44px;
}

/* SSR flow */
.wr-ssr-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.wr-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    min-width: 110px;
    text-align: center;
}
.wr-flow-step--accent {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
}
.wr-flow-step i { font-size: 1.25rem; color: rgba(255,255,255,0.8); }
.wr-flow-step span { font-size: 0.75rem; color: rgba(255,255,255,0.85); font-weight: 600; }

.wr-flow-arrow { color: rgba(255,255,255,0.35); font-size: 0.9rem; }

/* Comparison table */
.wr-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e8eaf6;
    box-shadow: 0 4px 16px rgba(26,35,126,0.06);
}

.wr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.wr-table thead th {
    background: var(--navy);
    color: #fff;
    padding: 0.9rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}
.wr-table thead th:first-child { border-radius: 0; }
.wr-table tbody td {
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid #e8eaf6;
    color: #333;
    vertical-align: middle;
}
.wr-table tbody tr:last-child td { border-bottom: none; }
.wr-table tbody tr:nth-child(even) td { background: #f8f9ff; }
.wr-table tbody td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }

.wr-td-good {
    color: #2e7d32 !important;
    font-weight: 600 !important;
}
.wr-td-warn {
    color: #c62828 !important;
    font-weight: 600 !important;
}

/* Journey / migration steps */
.wr-journey { display: flex; flex-direction: column; gap: 1.25rem; }

.wr-journey-item {
    display: flex;
    gap: 1.5rem;
    background: #e6e8ec;
    border: 1.5px solid #e8eaf6;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(26,35,126,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.wr-journey-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,35,126,0.1);
}

.wr-journey-num {
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.wr-journey-body { flex: 1; min-width: 0; }
.wr-journey-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 0.5rem;
}
.wr-journey-body p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 0.75rem;
}

.wr-journey-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.wr-journey-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(63,81,181,0.08);
    color: var(--accent);
    border: 1px solid rgba(63,81,181,0.2);
    border-radius: 20px;
    padding: 0.2rem 0.65rem;
}

/* Conclusion */
.wr-conclusion {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.wr-conclusion-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.25rem;
    display: block;
}

.wr-conclusion h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 1.25rem;
}

.wr-conclusion p {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.85;
    margin: 0 0 2rem;
}

.wr-conclusion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.wr-conclusion-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    border-radius: 24px;
    padding: 0.45rem 1.1rem;
}
.wr-conclusion-tags i { color: #a5d6a7; }

/* Responsive */
@media (max-width: 900px) {
    .wr-compare-grid  { grid-template-columns: 1fr; }
    .wr-ssr-grid      { grid-template-columns: 1fr; }
    .wr-ssr-vs        { display: none; }
    .wr-section-title { font-size: 1.4rem; }
}
@media (max-width: 600px) {
    .wr-section       { padding: 3.5rem 1.25rem; }
    .wr-overview-cards { flex-direction: column; }
    .wr-ssr-flow      { gap: 0.5rem; }
    .wr-flow-step     { min-width: 90px; padding: 0.75rem 0.9rem; }
    .wr-flow-arrow    { display: none; }
    .wr-journey-item  { flex-direction: column; gap: 0.75rem; }
}

/* ============================================================
   PSW — Privacy Scan (Wix-format) namespace
   ============================================================ */

/* ── Hero ── */
.psw-hero {
    background: #0a1628;
    padding: 6rem 2rem 4.5rem;
}
.psw-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}
.psw-hero-content { flex: 1; min-width: 0; }
.psw-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    flex-shrink: 0;
    padding-top: 2.5rem;
}

.psw-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #7b9fdb;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}
.psw-eyebrow--light {
    color: rgba(255,255,255,0.5);
}

.psw-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1.25rem;
}
.psw-hero-desc {
    font-size: 1.025rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.8;
    margin: 0 0 1.75rem;
    max-width: 560px;
}

.psw-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e6e8ec;
    color: #0a1628;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1.6rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-transform: uppercase;
}
.psw-contact-btn:hover {
    background: #e8ecf8;
}

.psw-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.psw-hero-badge {
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    border-radius: 20px;
    padding: 0.3rem 0.85rem;
}

.psw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}
.psw-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.psw-breadcrumb a:hover { color: #fff; }

/* ── Stats bar ── */
.psw-stats-bar {
    background: #0d1f38;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 2rem;
}
.psw-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.psw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}
.psw-stat strong {
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.psw-stat span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

/* ── Sections ── */
.psw-section { padding: 5rem 2rem; }
.psw-section--white { background: #e6e8ec; }
.psw-section--tint  { background: #f3f6fb; }
.psw-section--dark  { background: #0a1628; }

.psw-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.psw-inner--center { text-align: center; }

.psw-section-sub {
    font-size: 1rem;
    color: #555;
    line-height: 1.75;
    margin: 0 auto 2.5rem;
    max-width: 680px;
}

.psw-sec-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #0a1628;
    margin: 0 0 2.5rem;
    letter-spacing: -0.01em;
}

/* ── Dashboard frame ── */
.psw-dashboard-frame {
    background: #e6e8ec;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(10,22,40,0.12);
    overflow: hidden;
    aspect-ratio: 680 / 394;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.psw-dashboard-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eef2fb 0%, #f8faff 100%);
}
.psw-dashboard-placeholder i {
    font-size: 3rem;
    color: #9faecb;
}
.psw-dashboard-placeholder span {
    font-size: 1rem;
    font-weight: 700;
    color: #3b4a6b;
}
.psw-dashboard-placeholder small {
    font-size: 0.78rem;
    color: #8898b0;
}

/* ── Features grid (2-col) ── */
.psw-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
}
.psw-feat-box {
    background: #f8faff;
    border: 1px solid #e2e8f4;
    border-radius: 14px;
    padding: 2rem;
}
.psw-feat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.psw-feat-icon {
    width: 44px;
    height: 44px;
    background: #0a1628;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.psw-feat-icon i {
    color: #fff;
    font-size: 1rem;
}
.psw-feat-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0a1628;
    margin: 0;
    line-height: 1.3;
}

.psw-feat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.psw-feat-list li {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.6;
    padding-left: 1.1rem;
    position: relative;
}
.psw-feat-list li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    color: #3f51b5;
    font-weight: 700;
}

.psw-feat-list--os { gap: 0.75rem; }
.psw-feat-list--os li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-left: 0;
}
.psw-feat-list--os li::before { display: none; }
.psw-feat-list--os i {
    width: 28px;
    text-align: center;
    font-size: 1.15rem;
    color: #3b5286;
    flex-shrink: 0;
}
.psw-feat-list--os span {
    font-weight: 700;
    color: #0a1628;
    font-size: 0.875rem;
}
.psw-feat-list--os small {
    font-size: 0.75rem;
    color: #888;
    display: block;
    line-height: 1.3;
}

/* ── Strengths grid ── */
.psw-strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.psw-strength-item {
    background: #e6e8ec;
    border: 1px solid #e2e8f4;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 10px rgba(10,22,40,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.psw-strength-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10,22,40,0.1);
}
.psw-strength-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0a1628;
    margin: 0 0 1rem;
    line-height: 1.4;
}
.psw-strength-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.psw-strength-bullets li {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.55;
    padding-left: 1rem;
    position: relative;
}
.psw-strength-bullets li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #3f51b5;
    font-weight: 700;
}

/* ── CTA / Contact section ── */
.psw-cta-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}
.psw-cta-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.psw-cta-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin: 0 0 2rem;
}
.psw-cta-btns {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.psw-dl-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.psw-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.psw-dl-btn:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
}
.psw-dl-btn--internal {
    color: #f0c040;
    border-color: rgba(240,192,64,0.35);
    background: rgba(240,192,64,0.08);
}
.psw-dl-btn--internal:hover {
    background: rgba(240,192,64,0.16);
    color: #f0c040;
}

.psw-cta-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin: 0 0 0.85rem;
}

.psw-os-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.psw-os-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.psw-os-item i {
    width: 28px;
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
}
.psw-os-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.psw-os-item span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
}

.psw-comp-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.psw-comp-badge {
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
    border-radius: 20px;
    padding: 0.28rem 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 1000px) {
    .psw-strengths-grid { grid-template-columns: repeat(2, 1fr); }
    .psw-cta-wrap       { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 760px) {
    .psw-hero-inner     { flex-direction: column; }
    .psw-hero-actions   { padding-top: 0; }
    .psw-hero-title     { font-size: 2rem; }
    .psw-features-grid  { grid-template-columns: 1fr; }
    .psw-strengths-grid { grid-template-columns: 1fr; }
    .psw-stats-inner    { justify-content: flex-start; }
}