/* ========================Mini 제품 페이지 CSS========================= */

/* Mini scroll motion: premium reveal + subtle depth */
.mini-scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.986);
    filter: blur(5px);
    transition:
        opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.88s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.88s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

/* 인트로 재생 중: 헤더 포함 화면 전체 덮기 + 스크롤 잠금 */
html.mini-intro-playing,
html.mini-intro-playing body.page-mini {
    overflow: hidden !important;
    height: 100dvh !important;
}

/* 인트로 종료 직후 콘텐츠를 숨기면 페이지가 번쩍이는 것처럼 보여서 비활성화 */
html.mini-intro-settling body.page-mini .content-area-light {
    visibility: visible;
}

.mini-scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.mini-parallax {
    transform: translate3d(0, var(--mini-parallax-y, 0px), 0);
    transition: transform 0.18s linear;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .mini-scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }

    .mini-parallax {
        transform: none !important;
        transition: none !important;
    }
}

/* ========== 페이지 인트로 타이틀 (등장 후 사라짐) ========== */
.mini-main-title {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    background: #0b0f16;
    animation: pageTitleIntro 2.8s ease-out forwards;
}

.mini-main-title.mini-main-title--done {
    pointer-events: none;
}

/* 인트로 재생 중 스크롤 방지 */
html:not(.mini-intro-seen):has(.mini-main-title:not(.mini-main-title--done)) {
    overflow: hidden;
}

/* 세션 내 재방문 시 인트로 생략 */
html.mini-intro-seen .mini-main-title {
    animation: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes pageTitleIntro {
    0% { opacity: 0; transform: scale(0.92); }
    12% { opacity: 1; transform: scale(1.02); }
    18% { opacity: 1; transform: scale(1); }
    70% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.98); }
}

.mini-main-tagline {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 700;
    color: #eef3ff;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.03em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.mini-main-tagline-accent {
    color: #f8fbff;
}

.mini-main-title .mini-main-tagline-accent {
    display: inline-block;
    font-size: 1.34em;
    font-weight: 900;
    letter-spacing: 0.01em;
    color: #64ffda;
    filter: drop-shadow(0 3px 10px rgba(26, 188, 156, 0.35));
}

/* mini 인트로 전용 강조 톤 (pro와 다르게 민트-사이언 계열) */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .mini-main-title .mini-main-tagline-accent {
        background: linear-gradient(128deg, #7af7cf 0%, #4de6ff 55%, #6f8cff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

/* ========== 변수 정의 ========== */
:root {
    --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    --gradient-light: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --bg-light: #f5f5f7;
    --bg-white: #ffffff;
    --accent-color: #4facfe;
}

/* ========== Hero Section (프로와 동일 레이아웃/효과) ========== */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 24px 0 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* 배경 애니메이션 효과 */
.hero-background-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 254, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* 뱃지 */
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
    
}

/* 타이틀 */
.hero-title {
    margin-bottom: 0px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.title-main {
    font-size: 96px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(255,255,255,0.5);
}

/* 서브타이틀 */
.hero-subtitle {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.95;
    margin-top: 0px;
    margin-bottom: 0px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

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

/* 조화로운 2가지 색상 텍스트 */
.hero-colorful {
    animation: fadeInUp 0.8s ease 0.4s backwards;
    background: linear-gradient(135deg, #1f1f1f 0%, #4c61ff 50%, #262626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite, fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* CTA 버튼 – 누끼 이미지 등장(1.2s + 0.9s) 후 투명 → 불투명 페이드인 */
.hero-cta {
    opacity: 0;
    margin-top: -20px;
    animation: heroCtaFadeIn 0.7s ease 0.9s forwards;
}

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

.btn-large {
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.btn-large:hover::before {
    width: 300px;
    height: 300px;
}

.btn-large:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.btn-arrow {
    transition: transform 0.3s ease;
    font-size: 20px;
}

.btn-large:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero 내 제품 이미지 – 첫 화면에서 1~2초 후 아래에서 위로 튀어나옴 (프로 동일) */
.hero-image-wrapper picture {
    margin: 0 auto;
    display: block;
    width: 82%;
}
.hero-image-wrapper {
    max-width: 700px;
    margin: 0 auto 12px;
    margin-top: 0px;
    opacity: 0;
    animation: heroImagePopUp 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    position: relative;
    perspective: 1500px;
    transform-style: preserve-3d;
}

@keyframes heroImagePopUp {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* 이미지 글로우 효과 */
.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.4) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse3D 6s ease-in-out infinite;
    z-index: -1;
    transform-style: preserve-3d;
}

@keyframes glowPulse3D {
    0% { 
        transform: translate(-50%, -50%) scale(1) rotateZ(0deg); 
        opacity: 0.6; 
    }
    25% { 
        transform: translate(-50%, -50%) scale(1.1) rotateZ(90deg); 
        opacity: 0.8; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2) rotateZ(180deg); 
        opacity: 0.9; 
    }
    75% { 
        transform: translate(-50%, -50%) scale(1.1) rotateZ(270deg); 
        opacity: 0.8; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1) rotateZ(360deg); 
        opacity: 0.6; 
    }
}

/* PNG 투명 영역 따라 그림자 → 사각 대지 없이 제품만 그림자 (pro.css 동일) */
/* 프로 제품 누끼 효과 동일 적용 – PNG 투명 영역 따라 그림자 */
.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    margin-top: 0;
    filter: drop-shadow(0 50px 100px rgba(24, 23, 48, 0.6)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.12));
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: rotateX(10deg) rotateY(-10deg) translateZ(0);
    transform-style: preserve-3d;
    animation: float3D 6s ease-in-out infinite;
}

.hero-image:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.05) translateZ(50px);
    filter: drop-shadow(0 60px 120px rgba(210, 210, 210, 0.7)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.2));
    animation-play-state: paused;
}

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 3D 플로팅 애니메이션 (프로 동일) */
@keyframes float3D {
    0% {
        transform: rotateX(10deg) rotateY(-10deg) translateZ(0) translateY(0);
    }
    25% {
        transform: rotateX(-8deg) rotateY(8deg) translateZ(40px) translateY(-22px);
    }
    50% {
        transform: rotateX(8deg) rotateY(10deg) translateZ(0) translateY(0);
    }
    75% {
        transform: rotateX(-10deg) rotateY(-8deg) translateZ(40px) translateY(-22px);
    }
    100% {
        transform: rotateX(10deg) rotateY(-10deg) translateZ(0) translateY(0);
    }
}

/* ========== Content Sections: pro와 동일한 크기·규격 사용, 색상만 mini 유지 ========== */
/* 구조는 pro.css 사용 (content-section, content-wrapper, content-title 등) */

/* mini section-why: 부정적 문제 섹션 (pro처럼 어둡고 경고 톤) */
.section-why {
    /* pro 섹션1(section-why)와 동일 톤 */
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: none;
}

.section-why .content-title {
    line-height: 1.3;
    color: #3c73ff;
}

.section-why .content-title-accent {
    color: #f87171;
    font-size: 1.25em;
    font-weight: 800;
}

.feature-text-br-mobile {
    display: none;
}

.section-why .content-highlight {
    color: #fca5a5;
}

.section-why .content-text {
    color: #e2e8f0;
}

.section-why .content-quote {
    color: #cbd5e1;
}

/* 섹션 1: 2개 문제 카드 (이미지-텍스트 / 텍스트-이미지 교차) - 부정적 톤 */
.mini-problem-cards {
    --mini-problem-gap: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--mini-problem-gap);
    margin-top: 0;
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.mini-problem-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--mini-problem-gap);
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 59, 48, 0.35);
    overflow: hidden;
    padding: 24px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.mini-problem-card--reverse {
    flex-direction: column;
}

.mini-problem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.5);
}

.mini-problem-card-img-wrap {
    display: none;
}

.mini-problem-card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.mini-problem-card-text {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
    font-weight: 400;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 카드 그리드 래퍼 + 쉐브론 기준점 */
.mini-problem-cards-layer {
    position: relative;
    width: 100%;
    max-width: 680px;
    overflow: visible;
    margin-bottom: 50px; /* 카드 아래 화살표/타이틀 여유 */
    margin-left: auto;
    margin-right: auto;
}

.mini-problem-cards-arrow {
    position: absolute;
    left: 50%;
    top: calc(100% + 24px);
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    border: solid rgba(241, 245, 249, 0.92);
    border-width: 0 4px 4px 0;
    transform: translate(-50%, 0) rotate(45deg);
    opacity: 0.95;
    pointer-events: none;
    filter: drop-shadow(0 3px 10px rgba(15, 23, 42, 0.2));
}

.mini-problem-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    justify-content: flex-start;
}

.mini-problem-row-title.content-title2 {
    margin: 0;
    margin-top: 50px;
    max-width: none;
    text-align: center;
    line-height: 1.2;
    font-size: clamp(28px, 2.3vw, 34px);
    font-weight: 600;
    color: #b9b9b9;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.mini-problem-title-line {
    display: block;
    text-align: center;
    margin-top: 12px;
}

.mini-problem-title-accent {
    font-weight: 700;
    color: #ff3179;
}

/* 문제 카드: 이미지 보기 호버 */
.mini-problem-card.mini-problem-card--modal {
    cursor: pointer;
    position: relative;
    /* 상단 안내 칩과 본문이 겹치지 않도록 상단 패딩만 살짝 확보 */
    padding-top: 52px;
}

.mini-problem-card.mini-problem-card--modal::after {
    /* Pro limitation-item--image-modal 과 동일한 Click 라벨 */
    content: 'Click';
    position: absolute;
    top: 14px;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translateX(-50%) translateY(0);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    padding: 7px 14px;
    border-radius: 999px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 0px 14px rgba(135, 135, 135, 0.35);
}

.mini-problem-card.mini-problem-card--modal:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 섹션1 하단 질문 타이틀 */
body.page-mini .mini-convenient-title {
    margin-top: 188px;
    text-align: center;
}

/* 섹션2: mini 전용 스마트 기능 카드 레이아웃 */
body.page-mini .mini-smart-feature-group {
    /* reverse 여부와 무관하게 '박스 폭'을 동일하게 고정 */
    box-sizing: border-box;
    width: min(1180px, 100%);
    max-width: 1180px;
    margin: 40px auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    padding: 80px 56px;
    background: linear-gradient(135deg, rgba(11, 8, 28, 0.95) 0%, rgba(0, 15, 29, 0.95) 100%);
    border-radius: 5px;
    border: 0;
}

body.page-mini .section-smart-function .mini-smart-feature-group:first-child {
    margin-top: 0;
}

body.page-mini .section-smart-function .mini-smart-feature-group:last-child {
    margin-bottom: 0;
}

body.page-mini .mini-smart-feature-reverse {
    flex-direction: row-reverse;
}

body.page-mini .mini-smart-feature-text {
    flex: 1;
    text-align: left;
    align-self: flex-start;
}

/* pro.css와 동일: 섹션 내 타이포/하이라이트 컬러 */
body.page-mini .section-smart-function .feature-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 110px 0 16px 0;
    color: #ffffff;
}

body.page-mini .mini-smart-feature-text > .feature-text {
    margin: 0 0 16px 0;
}

body.page-mini .section-smart-function .feature-text .highlight {
    font-weight: 700;
    color: #149dff;
}

body.page-mini .section-smart-function .feature-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #b0c0d7;
    font-weight: 300;
    margin: 12px 0 0 0;
}

body.page-mini .mini-smart-feature-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

body.page-mini .mini-smart-feature-phone {
    flex: 0 0 420px;
    max-width: 420px;
}

/* pro 레이아웃과 동일하게: 폰 이미지가 컬럼 폭 100% 사용 */
body.page-mini .section-smart-function .mini-smart-feature-phone .phone-img,
body.page-mini .section-smart-function .mini-smart-feature-phone--large .phone-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

body.page-mini .mini-phone-img-detail-btn {
    margin-top: 40px;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 174, 255, 0.561);
    background: rgba(0, 0, 0, 0);
    color: #8cd3ff;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0px 24px rgba(37, 99, 235, 0.10);
}

body.page-mini .mini-phone-img-detail-btn:hover {
    transform: translateY(-2px);
    background: #00000036;
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.14);
}

body.page-mini .mini-limitation-image-modal-trigger {
    cursor: pointer;
}

body.page-mini .mini-limitation-image-modal-trigger:focus-visible,
body.page-mini .mini-problem-image-modal-trigger:focus-visible {
    outline: 2px solid #3c73ff;
    outline-offset: 3px;
    border-radius: 6px;
}

/* Pro와 동일한 스마트 기능 섹션 상단 레이아웃(미니 전용 클래스) */
body.page-mini .section-smart-function {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    padding-top: 0;
}

body.page-mini .section-smart-function .content-wrapper {
    margin-bottom: 0;
}

body.page-mini .section-smart-function .content-body {
    margin-top: 0;
    padding-top: 200px;
}

body.page-mini .mini-app-context,
body.page-mini .mini-app-context2,
body.page-mini .mini-app-context3 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.12;
    color: #181818;
    text-align: left;
    margin: 0;
}

body.page-mini .mini-app-context-nowrap {
    white-space: nowrap;
}

body.page-mini .mini-app-pro {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(0px, 3vw, 32px);
    margin: -130px 0 76px;
}

body.page-mini .mini-app-pro img {
    display: block;
    height: auto;
    flex-shrink: 0;
}

body.page-mini .mini-app-pro img.mini-app-float {
    transform-style: preserve-3d;
}

body.page-mini .mini-app-pro-link-icon img {
    width: 280px;
    height: auto;
}

@media (min-width: 1025px) {
    body.page-mini .section-smart-function .content-body {
        padding-top: 88px;
    }

    body.page-mini .section-smart-function .mini-smart-feature-group {
        margin-bottom: 52px;
        gap: 80px;
        padding: 88px 64px;
    }
}

@media (max-width: 768px) {
    .mini-problem-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .mini-problem-cards {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .mini-problem-cards-arrow {
        left: 50%;
        top: calc(100% + 24px);
        width: 20px;
        height: 20px;
        border-width: 0 3px 3px 0;
        transform: translate(-50%, 0) rotate(45deg);
    }

    body.page-mini .mini-smart-feature-group {
        flex-direction: column;
        gap: 32px;
        margin: 36px 0;
        padding: 36px 24px;
        margin-left: 0;
        margin-right: 0;
    }

    body.page-mini .mini-smart-feature-text {
        text-align: center;
        align-self: stretch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.page-mini .mini-smart-feature-text .feature-text,
    body.page-mini .mini-smart-feature-text .feature-desc {
        text-align: center;
    }

    body.page-mini .mini-smart-feature-text .mini-phone-img-detail-btn {
        margin-left: auto;
        margin-right: auto;
    }

    body.page-mini .mini-smart-feature-phone {
        flex: none;
        max-width: none;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    body.page-mini .mini-smart-feature-phone {
        max-width: min(240px, 100%);
    }

    body.page-mini .mini-smart-feature-phone--large {
        max-width: min(420px, 100%);
    }
}

.mini-problem-card-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fca5a5;
    background: rgba(255, 59, 48, 0.25);
    border-radius: 50px;
    letter-spacing: 0.02em;
}

/* content-area-light: 파란 계열 흰색 */
.content-area-light {
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(
        to bottom,
        #191b1e 19%,
        #1c1c1e 20%,
        #212123 30%,
        #ffffff 60%,
        #ffffff 95%,
        #ffffff 100%
    );
}

/* body 기존 문은 그대로 기능만 업그레이드 - 배경: */
body.page-mini {
    background: #ffffff;;
}

/* Mini 페이지: 상단바를 바디 배경과 동일하게, 파란 배경에 맞게 진한 폰트로 가독성 확보 */
body.page-mini .header {
    background: var(--gradient-primary) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

body.page-mini .header::after {
    opacity: 0;
}

body.page-mini .header .header-logo a,
body.page-mini .header .header-nav a,
body.page-mini .header .header-menu-toggle span {
    color: #0f172a !important;
}

body.page-mini .header .header-nav a:hover,
body.page-mini .header .header-logo a:hover {
    color: #0284c7 !important;
}

body.page-mini .header .header-nav a.active {
    color: #0369a1 !important;
    font-weight: 600;
}

body.page-mini .header .header-nav a.btn {
    color: #0f172a !important;
    border-color: rgba(15, 23, 42, 0.5) !important;
}

body.page-mini .header .header-nav a.btn:hover {
    color: #0369a1 !important;
    border-color: #0369a1 !important;
}

@media (max-width: 768px) {
    body.page-mini .header-nav {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
    }

    body.page-mini .header-nav a {
        color: #0f172a !important;
        border-bottom-color: rgba(15, 23, 42, 0.1) !important;
    }
}

/* hero: mini 블루 유지 (pro는 transparent) */
.hero-section {
    background: var(--gradient-primary);
}

.hero-background-effect {
    display: block;
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 254, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

body::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

/* 섹션 2: 해결 방식 소개 - 타이틀 아래 이미지 2개 (나란히) */
.mini-solution-intro-images {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: flex-start;
    margin: 40px 0 48px;
    flex-wrap: wrap;
}

.mini-solution-intro-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 섹션 3·4: content-area-light 내 전체 너비 유지 (pro와 동일) */
.section-smart-function .container,
.section-pad-system .container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* 섹션 3 타이틀: 검정 */
body.page-mini .section-pad-system .content-title {
    color: #101010;
}

/* CTA 섹션: mini 블루 */
.cta-section {
    background: var(--gradient-primary);
}

/* 섹션 4: 기존 자동문 / 일반 문 2가지 블록 */
.pad-system-intro {
    font-size: 1.1rem;
    font-weight: 600;
    color: #64748b;
    margin: -8px 0 10px 0;
    line-height: 1.6;
}

.pad-variant-block {
    margin-bottom: 48px;
    padding: 24px 24px 26px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pad-variant-block + .pad-variant-block {
    margin-top: 8px;
}

/* pad-apply-spaces 바로 위 블록만 하단 여백·테두리 제거 */
.pad-variant-block:has(+ .pad-apply-spaces) {
    margin-bottom: 0;
}

/* mini: pad-apply-spaces 박스 테두리 제거 (아래 실선 제거), 실선은 문의하기 위에만 */
.section-pad-system .pad-apply-spaces {
    border: none;
}

.pad-variant-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    padding-bottom: 6px;
    border-bottom: 3px solid #4facfe;
    display: inline-block;
    letter-spacing: -0.03em;
}

.section-pad-system .pad-structure-wrap {
    margin: 0 0 6px !important;
}

.section-pad-system .pad-structure-desc {
    margin-top: 4px !important;
    line-height: 1.4;
}

/* 실시간 알림 등 작은 뱃지 */
.smart-feature-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.feature-text {
    font-size: 24px;
    line-height: 1.6;
    margin: 0;
    margin-bottom: 20px;
}

.feature-text .highlight {
    font-weight: 600;
    color: #4facfe;
}

.feature-desc {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

/* Feels Section with Phone Images - 가로 배치 */
.feels-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin: 60px 0;
    padding: 50px;
    background: rgba(255,255,255,0.08);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.feels-reverse {
    flex-direction: row-reverse;
}

.feels-text {
    flex: 1;
    text-align: left;
}

.feels-phone {
    flex: 0 0 auto;
    width: 320px;
}

.phone-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 
        0 40px 100px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-img:hover {
    transform: translateY(-10px) scale(1.03) rotateY(5deg);
    box-shadow: 
        0 50px 120px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.2);
}

/* Control Section - similar to feels */
.control-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin: 60px 0;
    padding: 50px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.08) 0%, rgba(0, 242, 254, 0.08) 100%);
    border-radius: 30px;
    border: 1px solid rgba(79, 172, 254, 0.15);
}

.control-text {
    flex: 1;
    text-align: left;
}

.control-phone {
    flex: 0 0 auto;
    width: 320px;
}

.section-control .phone-img {
    box-shadow: 
        0 40px 100px rgba(0,0,0,0.25),
        0 0 0 1px rgba(0,0,0,0.05);
}

.section-control .phone-img:hover {
    box-shadow: 
        0 50px 120px rgba(0,0,0,0.3),
        0 0 0 1px rgba(0,0,0,0.1);
}

/* Security Section - similar to feels */
.security-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin: 60px 0;
    padding: 50px;
    background: rgba(255,255,255,0.08);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.security-reverse {
    flex-direction: row-reverse;
}

.security-text {
    flex: 1;
    text-align: left;
}

.security-phone {
    flex: 0 0 auto;
    width: 320px;
}

/* Tech Benefits */
.tech-benefits {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0 50px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.benefit-item {
    text-align: center;
    flex: 1;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
}

.benefit-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.6);
}

.benefit-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Section Images */
.section-image {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255,255,255,0.5);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.section-why .section-image,
.section-control .section-image {
    background: rgba(79, 172, 254, 0.08);
}

.section-what .section-image,
.section-tech .section-image {
    background: rgba(255,255,255,0.6);
}

.content-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

.content-img:hover {
    transform: scale(1.02);
}

.section-feels .content-img,
.section-security .content-img {
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ========== CTA Section (pro와 동일 구조) ========== */
.cta-section {
    background: var(--gradient-secondary);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.cta-content {
    max-width: var(--textbox-max-width);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.cta-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 22px;
    line-height: 1.5;
    opacity: 0.95;
    margin-bottom: 40px;
}

/* CTA 섹션 버튼: hero-cta 마진 초기화 */
.cta-section .hero-cta {
    margin-top: 0;
}

/* ========== 애니메이션 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ========== 반응형 (모바일) ========== */
@media (max-width: 768px) {
    .hero-section {
        padding: 24px 0 40px;
        min-height: calc(100svh - var(--header-height));
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 12px;
    }
    
    .hero-title {
        margin-bottom: 10px;
    }
 
    .title-main {
        font-size: 56px;
    }
    
    .title-sub {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 3px;
        line-height: 1.3;
    }
    
    .hero-subtitle:last-of-type {
        margin-bottom: 20px;
    }
    
    .hero-image-wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
        max-width: min(92vw, 460px);
    }

    .hero-image-wrapper picture {
        width: 100%;
    }
    
    .hero-image {
        max-height: none;
        object-fit: contain;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* content-section, content-title 등 구조는 pro.css 사용 */
    
    .feature-text-br-mobile {
        display: inline;
    }
    
    /* Mini: pad-flow-block 패딩 축소, 폰트 크게 (폰/Mini/제어 등 짧은 텍스트) */
    .section-pad-system .pad-highlight-section {
        margin: 24px 0 40px;
        padding: 0 12px;
    }
    
    .section-pad-system .pad-flow-block {
        padding: 20px 16px;
    }
    
    .section-pad-system .pad-flow-wrap {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .section-pad-system .pad-flow-step {
        flex: 0 0 auto;
        padding: 10px 14px;
        width: 100%;
        max-width: 200px;
    }
    
    .section-pad-system .pad-flow-label {
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .section-pad-system .pad-flow-num {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
    
    .section-pad-system .pad-flow-arrow {
        transform: rotate(90deg);
    }
    
    .section-pad-system .pad-flow-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .section-pad-system .pad-variant-block {
        padding: 24px 20px;
    }

    .section-pad-system .pad-variant-title {
        margin-bottom: 6px;
        padding-bottom: 8px;
    }

    .section-pad-system .pad-structure-wrap {
        margin-top: 6px;
    }

    .section-pad-system .pad-structure-desc {
        margin-top: 10px;
        line-height: 1.5;
    }
    
    /* CTA Section 모바일 (pro와 동일) */
    .cta-section {
        padding: 80px 0;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .cta-title {
        font-size: clamp(20px, 8vw, 36px);
        margin-bottom: 20px;
    }
    
    .cta-description {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .mini-problem-cards {
        gap: 24px;
        margin-top: 32px;
    }
    
    .mini-problem-card,
    .mini-problem-card--reverse {
        flex-direction: column;
        padding: 20px;
    }
    
    .mini-problem-card-img-wrap {
        flex: none;
        width: 100%;
    }
    
    .mini-problem-card-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .mini-solution-intro-images {
        flex-direction: column;
        align-items: center;
        margin: 28px 0 36px;
        gap: 32px;
    }
    
    .mini-solution-intro-img {
        max-width: 100%;
    }
    
    .feature-list {
        gap: 25px;
        margin-top: 30px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-text {
        font-size: 18px;
    }
    
    .feature-desc {
        font-size: 16px;
    }
    
    /* 모바일에서는 세로 배치 */
    .feels-group,
    .feels-reverse {
        flex-direction: column;
        gap: 30px;
        margin: 40px 0;
        padding: 30px 20px;
    }
    
    .feels-text {
        text-align: center;
    }
    
    .feels-phone {
        width: 100%;
        max-width: 280px;
    }
    
    .phone-img {
        border-radius: 20px;
    }
    
    /* Control section도 모바일에서 세로 배치 */
    .control-group {
        flex-direction: column;
        gap: 30px;
        margin: 40px 0;
        padding: 30px 20px;
    }
    
    .control-text {
        text-align: center;
    }
    
    .control-phone {
        width: 100%;
        max-width: 280px;
    }
    
    /* Security section도 모바일에서 세로 배치 */
    .security-group,
    .security-reverse {
        flex-direction: column;
        gap: 30px;
        margin: 40px 0;
        padding: 30px 20px;
    }
    
    .security-text {
        text-align: center;
    }
    
    .security-phone {
        width: 100%;
        max-width: 280px;
    }
    
    /* Tech Benefits 모바일 */
    .tech-benefits {
        flex-direction: column;
        gap: 30px;
        margin: 40px 0 30px;
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .benefit-text {
        font-size: 18px;
    }
    
    .section-image {
        max-width: 100%;
        margin: 30px auto;
        padding: 20px;
    }
    
    .content-img {
        border-radius: 12px;
    }
}

/* ========== 태블릿 ========== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        margin-bottom: 10px;
    }
    
    .title-main {
        font-size: 72px;
    }
    
    .title-sub {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 26px;
        margin-bottom: 3px;
    }
    
    .hero-subtitle:last-of-type {
        margin-bottom: 40px;
    }
    

    .hero-image-wrapper {
        margin-top: 25px;
    }
    
    /* content-section, content-body 등 구조는 pro.css 사용 */
    
    .feature-text {
        font-size: 20px;
    }
    
    .benefit-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }
    
    .benefit-text {
        font-size: 19px;
    }
}

/* mini hero 이미지 크기 강제: pro 공통 규칙 덮어쓰기 */
@media (max-width: 768px) {
    body.page-mini .hero-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.page-mini .hero-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.page-mini .hero-image-wrapper {
        width: 112vw !important;
        max-width: none !important;
        margin-left: calc(50% - 56vw) !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    body.page-mini .hero-image-wrapper picture {
        width: 100% !important;
    }

    body.page-mini .hero-image {
        width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        transform: scale(1.08) !important;
        transform-origin: center center !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    body.page-mini .hero-image-wrapper {
        width: 100% !important;
        max-width: min(92vw, 620px) !important;
    }

    body.page-mini .hero-image-wrapper picture {
        width: 100% !important;
    }

    body.page-mini .hero-image {
        width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
    }
}
