/* Subpage Layout System */
/* [Critical BugFix] 프론트 페이지의 강력한 Scroll-Snap 간섭을 서브페이지에서 전면 해제 
   - 서브페이지 로드 시 헤더 뒤로 스크롤이 말려 올라가거나 엉뚱한 위치로 강제 스냅되는 현상 원천 차단 */
/* 서브페이지에서의 스크롤 스크롤 스냅 오작동 방지 (html 자체는 프론트 페이지 애니메이션을 위해 허용) */
.site-footer,
.site-header {
    scroll-snap-align: none !important;
}

.subpage-main {
    padding-top: 80px;
    /* Header offset */
    background-color: var(--color-bg-navy);
    color: var(--color-text-light);
    min-height: 100vh;
}

/* Subpage Hero Area */
.subpage-hero {
    padding: 100px 0;
    text-align: center;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-green::before {
    background-image: url('../images/farm-vibe.png');
}

.hero-yellow::before {
    background-image: url('../images/home-vibe.png');
}

.hero-blue::before {
    background-image: url('../images/factory-vibe.png');
}

.hero-purple::before {
    background-image: url('../images/sensor-vibe.png');
}

.hero-cyan::before {
    background-image: url('../images/home-vibe.png');
    filter: hue-rotate(180deg) brightness(0.8);
}

.hero-contact::before {
    background-image: url('../images/contact-vibe.png');
    filter: brightness(0.8);
}

.subpage-hero .container {
    position: relative;
    z-index: 1;
}

.subpage-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-green .subpage-title {
    background: linear-gradient(135deg, #FFF, var(--color-farm-icon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-yellow .subpage-title {
    background: linear-gradient(135deg, #FFF, var(--color-home-icon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-blue .subpage-title {
    background: linear-gradient(135deg, #FFF, var(--color-factory-icon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-purple .subpage-title {
    background: linear-gradient(135deg, #FFF, var(--color-sensor-icon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-cyan .subpage-title {
    background: linear-gradient(135deg, #FFF, var(--color-brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-contact .subpage-title {
    background: linear-gradient(135deg, #FFF, var(--color-brand-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subpage-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-gray);
}

/* Overview Box */
.overview-box {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.overview-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.overview-box p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-gray);
}

/* Features Grid */
.features-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background-color: var(--color-bg-navy-light);
    border: 1px solid var(--color-border-subtle);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.features-green .feature-card:hover {
    border-color: var(--color-farm-icon);
}

.features-yellow .feature-card:hover {
    border-color: var(--color-home-icon);
}

.features-blue .feature-card:hover {
    border-color: var(--color-factory-icon);
}

.features-purple .feature-card:hover {
    border-color: var(--color-sensor-icon);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon .check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
}

.features-green .check-icon {
    border: 2px solid var(--color-farm-icon);
    color: var(--color-farm-icon);
}

.features-yellow .check-icon {
    border: 2px solid var(--color-home-icon);
    color: var(--color-home-icon);
}

.features-blue .check-icon {
    border: 2px solid var(--color-factory-icon);
    color: var(--color-factory-icon);
}

.features-purple .check-icon {
    border: 2px solid var(--color-sensor-icon);
    color: var(--color-sensor-icon);
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-gray);
}

/* CTA Box */
.cta-box {
    text-align: center;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    border: 1px solid var(--color-border-subtle);
    border-radius: 24px;
    padding: 60px 40px;
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* CTA Glowing Button */
.btn-cta-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 0 rgba(255, 255, 255, 0);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-cta-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.btn-cta-glow:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: #fff;
}

.btn-cta-glow:hover::before {
    left: 200%;
}

.btn-cta-glow svg {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease;
}

.btn-cta-glow:hover svg {
    right: 23px;
}

/* Theme-specific overrides for glowing CTA button */
.theme-farm .btn-cta-glow {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1) 0%, rgba(0, 180, 140, 0.15) 100%);
    border-color: rgba(0, 255, 204, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.1), inset 0 0 10px rgba(0, 255, 204, 0.05);
}
.theme-farm .btn-cta-glow:hover {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.15) 0%, rgba(0, 180, 140, 0.25) 100%);
    border-color: rgba(0, 255, 204, 0.8);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.25), inset 0 0 20px rgba(0, 255, 204, 0.1);
}

.theme-home .btn-cta-glow {
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.1) 0%, rgba(255, 140, 0, 0.15) 100%);
    border-color: rgba(255, 183, 0, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 183, 0, 0.1), inset 0 0 10px rgba(255, 183, 0, 0.05);
}
.theme-home .btn-cta-glow:hover {
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.15) 0%, rgba(255, 140, 0, 0.25) 100%);
    border-color: rgba(255, 183, 0, 0.8);
    box-shadow: 0 0 30px rgba(255, 183, 0, 0.25), inset 0 0 20px rgba(255, 183, 0, 0.1);
}

.theme-factory .btn-cta-glow {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1) 0%, rgba(58, 123, 213, 0.15) 100%);
    border-color: rgba(0, 210, 255, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.1), inset 0 0 10px rgba(0, 210, 255, 0.05);
}
.theme-factory .btn-cta-glow:hover {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(58, 123, 213, 0.25) 100%);
    border-color: rgba(0, 210, 255, 0.8);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.25), inset 0 0 20px rgba(0, 210, 255, 0.1);
}

.theme-sensor .btn-cta-glow {
    background: linear-gradient(135deg, rgba(157, 114, 255, 0.1) 0%, rgba(110, 60, 220, 0.15) 100%);
    border-color: rgba(157, 114, 255, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(157, 114, 255, 0.1), inset 0 0 10px rgba(157, 114, 255, 0.05);
}
.theme-sensor .btn-cta-glow:hover {
    background: linear-gradient(135deg, rgba(157, 114, 255, 0.15) 0%, rgba(110, 60, 220, 0.25) 100%);
    border-color: rgba(157, 114, 255, 0.8);
    box-shadow: 0 0 30px rgba(157, 114, 255, 0.25), inset 0 0 20px rgba(157, 114, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 50px 0;
    }

    .subpage-title {
        font-size: 2.0rem;
    }

    .overview-box h2 {
        font-size: 1.6rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Inquiry Page Split Layout */
.style-inquiry-page {
    padding-top: 140px;
}

.inquiry-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 120px;
}

.inquiry-info-side {
    position: relative;
    padding-top: 20px;
}

.info-sticky-content {
    position: sticky;
    top: 140px;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    background-color: rgba(255, 255, 255, 0.05); /* Premium glass vibe */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subdued outline */
    color: var(--color-text-white, #ffffff); /* High-end white text */
    border-radius: 30px;
    font-family: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    width: max-content;
}

/* Neon Pulse Dot for Inquiry Badge */
.info-badge .tag-dot {
    position: relative;
    width: 8px;
    height: 8px;
    display: inline-block;
    flex-shrink: 0;
}

.info-badge .tag-dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-brand-cyan);
    border-radius: 50%;
    z-index: 2;
}

.info-badge .tag-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-brand-cyan);
    border-radius: 50%;
    animation: badge-pulse-ring 2s cubic-bezier(0.21, 0.53, 0.56, 1) infinite;
    z-index: 1;
}

@keyframes badge-pulse-ring {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(2.8); opacity: 0; }
}

.inquiry-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
}

.inquiry-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

.inquiry-contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-brand-cyan);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
}

@media (max-width: 992px) {
    .inquiry-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .info-sticky-content {
        position: static;
    }
    .inquiry-title {
        font-size: 2rem;
    }
}

/* Board Form Styles */
.board-form-container.premium-glass-form {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.form-title {
    color: var(--color-brand-cyan);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.tech-inquiry-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.tech-inquiry-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.tech-inquiry-form .form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.tech-inquiry-form label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 10px;
}

.tech-inquiry-form input[type="text"],
.tech-inquiry-form input[type="email"],
.tech-inquiry-form input[type="tel"],
.tech-inquiry-form textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #FFF;
    padding: 16px 20px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.tech-inquiry-form input[type="text"]:focus,
.tech-inquiry-form input[type="email"]:focus,
.tech-inquiry-form input[type="tel"]:focus,
.tech-inquiry-form textarea:focus {
    outline: none;
    border-color: var(--color-brand-cyan);
    background-color: rgba(0, 242, 254, 0.03);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-inquiry-form textarea {
    resize: vertical;
}

.required-mark {
    color: var(--color-brand-cyan);
    margin-left: 4px;
    font-weight: bold;
}

.btn-submit-secret {
    width: 100%;
    background: linear-gradient(135deg, #0A58CA 0%, #00F2FE 100%);
    color: #FFF;
    border: none;
    border-radius: 30px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit-secret:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   Phase 62: Privacy Consent Box (page-inquiry.php)
   ========================================================================== */
.privacy-consent-group {
    margin-top: 30px;
    margin-bottom: 30px;
}

.privacy-consent-box {
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 20px;
    height: 180px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy-consent-box p {
    margin-bottom: 15px;
}

.privacy-consent-box p:last-child {
    margin-bottom: 0;
}

.privacy-consent-box strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

/* Custom Scrollbar for Consent Box */
.privacy-consent-box::-webkit-scrollbar {
    width: 6px;
}

.privacy-consent-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.privacy-consent-box::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 3px;
}

.privacy-consent-box::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.6);
}

.privacy-checkbox-wrapper {
    margin-top: 15px;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: #FFF;
    user-select: none;
    transition: color 0.3s ease;
}

.custom-checkbox:hover {
    color: var(--color-brand-cyan);
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: rgba(22, 27, 34, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.custom-checkbox:hover input~.checkmark {
    border-color: var(--color-brand-cyan);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--color-brand-cyan);
    border-color: var(--color-brand-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #050810;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


@media (max-width: 768px) {
    .board-form-container {
        padding: 25px 15px;
    }

    .tech-inquiry-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .tech-inquiry-form .form-group.half {
        margin-bottom: 20px;
    }

    .tech-inquiry-form .form-group {
        margin-bottom: 20px;
    }
}

/* Inquiry Alert Box Fix (Phase 60: Z-index) */
.inquiry-alert {
    position: relative;
    z-index: 20;
    margin: -100px auto 40px;
    max-width: 900px;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    animation: fadeInDown 0.6s ease forwards;
}

.inquiry-alert.success {
    background: rgba(10, 30, 40, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-brand-cyan);
    color: var(--color-brand-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2), inset 0 0 10px rgba(0, 245, 255, 0.1);
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Premium Blog Hero (home.php)
   ========================================================================== */
.hero-blog.premium-hero-blog {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-blog.premium-hero-blog::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-blog.premium-hero-blog::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/blog-vibe.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Much softer blend */
    mix-blend-mode: overlay;
    z-index: 0;
    pointer-events: none;
}

.hero-blog.premium-hero-blog .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Override the old gradient text to pure premium white with neon glow */
.hero-blog.premium-hero-blog .subpage-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #FFFFFF;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-shadow: 0 0 40px rgba(0, 242, 254, 0.3);
    line-height: 1.2;
}

.hero-blog.premium-hero-blog .subpage-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-blog.premium-hero-blog {
        padding: 90px 0 60px;
    }
    .hero-blog.premium-hero-blog .subpage-title {
        font-size: 2.5rem;
    }
}

.blog-list-section {
    padding: 0;
}

/* ----------------------------------------------------
   Premium Blog Grid (2-Column Glassmorphism)
   ---------------------------------------------------- */
.blog-grid.premium-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px; /* 확장 */
    margin: -40px auto 120px;
    position: relative;
    z-index: 10;
}

/* 블로그 제작 & 페이지네이션 전체 너비 차지 */
.premium-blog-grid .admin-action-row,
.premium-blog-grid .custom-pagination {
    grid-column: 1 / -1;
}

/* 프리미엄 블로그 카드 */
.premium-blog-grid .blog-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.premium-blog-grid .blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.05), transparent 60%);
    pointer-events: none;
}

.premium-blog-grid .blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.15);
}

/* 카테고리 뱃지 형태로 업그레이드 */
.premium-blog-grid .blog-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--color-brand-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    width: max-content;
}

.premium-blog-grid .blog-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    font-family: 'Noto Sans KR', sans-serif;
    word-break: keep-all;
}

.premium-blog-grid .blog-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.premium-blog-grid .blog-title a:hover {
    color: var(--color-brand-cyan);
}

.premium-blog-grid .blog-meta {
    display: flex;
    gap: 16px;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
}

.premium-blog-grid .blog-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
    flex-grow: 1;
    word-break: keep-all;
}

/* 풀위드 버튼으로 모던하게 개선 */
.premium-blog-grid .btn-read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.premium-blog-grid .btn-read-more:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--color-brand-cyan);
    color: var(--color-brand-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
    transform: translateY(-2px);
}

/* Responsive Grid */
@media (max-width: 992px) {
    .blog-grid.premium-blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Admin Action Row (For Blog Creation) */
.admin-action-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    width: 100%;
}

.btn-create-post {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #FFF;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-create-post:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    color: #FFF;
}

/* ==========================================================================
   Phase 58: Blog Pagination (home.php)
   ========================================================================== */
.custom-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
}

.pagination-prev,
.pagination-next {
    flex: 1;
    display: flex;
}

.pagination-next {
    justify-content: flex-end;
}

.custom-pagination a {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: #FFF;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.custom-pagination a:hover {
    background: var(--color-brand-cyan);
    color: #050810;
    border-color: var(--color-brand-cyan);
    box-shadow: 0 5px 20px rgba(0, 242, 254, 0.3);
    transform: translateY(-3px);
}


/* ==========================================================================
   Phase 58: Single Post Navigation (single.php)
   ========================================================================== */
.single-blog-article {
    color: #E2E8F0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-blog-article h2,
.single-blog-article h3,
.single-blog-article h4 {
    color: #FFF;
    margin-top: 40px;
    margin-bottom: 20px;
}

.single-blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.single-post-navigation {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.single-post-navigation .post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.single-post-navigation .nav-previous,
.single-post-navigation .nav-next {
    flex: 1;
    max-width: 48%;
}

.single-post-navigation .nav-next {
    text-align: right;
}

.single-post-navigation a {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: rgba(22, 27, 34, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    height: 100%;
}

.single-post-navigation a:hover {
    background: rgba(22, 27, 34, 0.8);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 242, 254, 0.1);
}

.single-post-navigation .nav-subtitle {
    font-size: 0.9rem;
    color: var(--color-brand-cyan);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-post-navigation .nav-title {
    font-size: 1.3rem;
    color: #FFF;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}

@media (max-width: 768px) {
    .single-post-navigation .post-navigation .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .single-post-navigation .nav-previous,
    .single-post-navigation .nav-next {
        max-width: 100%;
        width: 100%;
        text-align: left;
    }
}

/* ==========================================================================
   Phase 61: Terms & Privacy Policy (page-terms.php, page-privacy.php)
   ========================================================================== */
.hero-terms {
    padding: 120px 0 80px;
}

.hero-terms::before {
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.05) 0%, rgba(10, 15, 27, 0) 70%);
}

.terms-content-section {
    padding: 0 0 100px;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-content {
    background: rgba(22, 27, 34, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    color: #C9D1D9;
    font-size: 1.05rem;
    line-height: 1.8;
}

.terms-content h2 {
    color: #FFF;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 20px;
}

.terms-content ul,
.terms-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}

.terms-content strong {
    color: var(--color-brand-cyan);
    font-weight: 600;
}

.terms-footer-date {
    margin-top: 60px;
    text-align: right;
    font-style: italic;
    color: #8B949E;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .terms-content {
        padding: 40px 20px;
        font-size: 1rem;
        border-radius: 16px;
    }

    .terms-content h2 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Phase 223: Smart Farm Premium Redesign (High-end Glassmorphism & Bento)
   ========================================================================== */

/* Hero Section (Glassmorphism) */
.hero-farm-glass {
    position: relative;
    padding: 140px 0 80px;
    background: #020814;
    overflow: hidden;
    text-align: center;
}

.hero-bg-blur {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/farm-vibe.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: blur(8px) saturate(120%);
    z-index: 0;
}

.hero-farm-glass::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, var(--color-bg-navy) 0%, transparent 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.farm-hero-badge {
    margin-bottom: 24px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.subpage-title-glass {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
    color: #fff;
    word-break: keep-all;
}

.subpage-subtitle-glass {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    line-height: 1.6;
    word-break: keep-all;
}

/* Virtual Dashboard Widget */
.dashboard-widget-section {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 20px;
}

.farm-dashboard-bento {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-farm-icon);
    letter-spacing: 0.05em;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-farm-icon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-farm-icon);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 228, 183, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 228, 183, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 228, 183, 0); }
}

.farm-id {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: monospace;
}

.dashboard-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.metric-value small {
    font-size: 1rem;
    color: var(--color-farm-icon);
    font-weight: 500;
}

/* Features Bento Grid */
.features-heading-glass {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-heading-glass::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    box-shadow: 0 1px 5px rgba(255, 255, 255, 0.2);
}

.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.feature-bento-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-bento-card:hover {
    transform: translateY(-8px);
}

.bento-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 228, 183, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-farm-icon);
    margin-bottom: 24px;
}

.feature-bento-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.feature-bento-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 0;
}

.accent-line {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-farm-icon), transparent);
    opacity: 0.3;
}

.workflow-section {
    margin: 160px 0 80px;
    text-align: center;
}

.workflow-heading {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflow-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    box-shadow: 0 1px 5px rgba(255, 255, 255, 0.2);
}

.workflow-flowchart {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 120px;
    padding: 20px 48px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 140px;
    transition: transform 0.3s ease;
    cursor: default;
}

.flow-step:hover {
    transform: translateY(-5px);
}

.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.flow-step:hover .step-circle {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.step-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-weight: 500;
    transition: color 0.3s ease;
}

.flow-step:hover .step-text {
    color: #fff;
}

.flow-arrow {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    margin-top: -32px;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid rgba(255, 255, 255, 0.2);
}

/* Theme-specific highlight step styles */
.theme-farm .highlight-step .step-circle { border-color: var(--color-farm-icon); color: var(--color-farm-icon); background: rgba(0, 255, 204, 0.1); box-shadow: 0 0 20px rgba(0, 255, 204, 0.2); }
.theme-farm .highlight-step:hover .step-circle { box-shadow: 0 10px 25px rgba(0, 255, 204, 0.5); }

.theme-home .highlight-step .step-circle { border-color: var(--color-home-icon); color: var(--color-home-icon); background: rgba(255, 183, 0, 0.1); box-shadow: 0 0 20px rgba(255, 183, 0, 0.2); }
.theme-home .highlight-step:hover .step-circle { box-shadow: 0 10px 25px rgba(255, 183, 0, 0.5); }

.theme-factory .highlight-step .step-circle { border-color: var(--color-factory-icon); color: var(--color-factory-icon); background: rgba(0, 210, 255, 0.1); box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); }
.theme-factory .highlight-step:hover .step-circle { box-shadow: 0 10px 25px rgba(0, 210, 255, 0.5); }

.theme-sensor .highlight-step .step-circle { border-color: var(--color-sensor-icon); color: var(--color-sensor-icon); background: rgba(157, 114, 255, 0.1); box-shadow: 0 0 20px rgba(157, 114, 255, 0.2); }
.theme-sensor .highlight-step:hover .step-circle { box-shadow: 0 10px 25px rgba(157, 114, 255, 0.5); }

.highlight-step .step-text {
    color: #fff;
    font-weight: 700;
}

/* ROI Stats Grid */
.roi-section {
    margin-bottom: 80px;
}

.roi-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.15);
}

.roi-stat-box {
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    cursor: default;
}

.roi-stat-box:hover {
    transform: translateY(-5px);
}

.roi-arrow {
    display: inline-block;
    transition: all 0.3s ease;
}

.roi-stat-box:hover .roi-arrow {
    text-shadow: 0 0 15px currentColor;
    transform: scale(1.1);
}

.roi-stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.roi-arrow {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.roi-arrow.down {
    color: #00ffcc; /* 기본 청록 (대부분 감소가 긍정 요소) */
}

.roi-arrow.up {
    color: #ffb700; /* 상승 긍정 요소 */
}

/* Hover 네온 글로우 */
.roi-stat-box:hover .roi-arrow.down {
    color: #00ffcc;
}
.roi-stat-box:hover .roi-arrow.up {
    color: #ffb700;
}

.roi-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 12px;
}

.roi-value small { font-size: 1.5rem; opacity: 0.6; }

.roi-label {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
}

.highlight-roi .roi-value {
    background: linear-gradient(135deg, #00f0ff 0%, var(--color-brand-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-roi .roi-label {
    color: #fff;
    font-weight: 700;
}

.cta-glass {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 60px 40px;
}

/* Responsive Phase 223 */
@media (max-width: 992px) {
    .dashboard-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .subpage-title-glass { font-size: 2.2rem; }
    .features-heading-glass, .workflow-heading { font-size: 1.8rem; margin-top: 40px; margin-bottom: 40px; }
    .hero-farm-glass { padding: 120px 0 60px; }
    .workflow-section { margin: 120px 0 60px; }
    
    .dashboard-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .metric-value { font-size: 1.4rem; }
    
    .features-bento-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-bento-card { padding: 20px 16px; }
    .feature-bento-card h4 { font-size: 1.15rem; margin-bottom: 12px; }
    .feature-bento-card p { font-size: 0.9rem; line-height: 1.5; }
    .bento-icon-wrapper { width: 44px; height: 44px; margin-bottom: 16px; }
    .bento-icon-wrapper svg { width: 22px; height: 22px; }
    
    .workflow-flowchart { 
        display: flex; /* Prevent inline-flex container from bursting */
        width: 100%;
        box-sizing: border-box;
        flex-direction: row; 
        flex-wrap: nowrap; 
        justify-content: flex-start; 
        align-items: flex-start;
        overflow-x: auto; 
        padding: 20px 12px; 
        border-radius: 20px; 
        gap: 6px; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; /* Firefox */
    }
    .workflow-flowchart::-webkit-scrollbar { display: none; } /* Safari and Chrome */
    
    .flow-step { flex-direction: column; align-items: center; width: 66px; padding-left: 0; flex-shrink: 0; gap: 8px; }
    .step-circle { width: 38px; height: 38px; font-size: 1rem; border-width: 1.5px; margin: 0; }
    .step-text { text-align: center; font-size: 0.65rem; letter-spacing: -0.05em; line-height: 1.25; width: 100%; white-space: normal; word-break: keep-all; }
    
    .flow-arrow { width: 12px; height: 2px; margin: 18px 0 0 0; flex-shrink: 0; }
    .flow-arrow::after { border-top: 3px solid transparent; border-bottom: 3px solid transparent; border-left: 5px solid rgba(255,255,255,0.2); right: -1px; top: -2px; bottom: auto; border-right: none; }
    
    .roi-stats-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
    .roi-stat-box:not(:last-child)::after { right: auto; top: auto; bottom: -16px; left: 10%; width: 80%; height: 1px; transform: none; }
    .roi-arrow { font-size: 1.5rem; margin-bottom: 6px; }
    .roi-value { font-size: 3.5rem; margin-bottom: 12px; }
    .roi-value small { font-size: 1.5rem; }
    .roi-label { font-size: 1.2rem; line-height: 1.5; word-break: keep-all; padding: 0 16px; letter-spacing: -0.02em; text-align: center; }

    /* AS-IS vs TO-BE Mobile Fine-tuning */
    .compare-card { padding: 20px 16px; }
    .compare-title { font-size: 1.25rem; }
    .compare-header { margin-bottom: 20px; gap: 12px; }
    .compare-badge { padding: 4px 10px; font-size: 0.75rem; }
    .compare-list { gap: 12px; }
    .compare-list li { font-size: 0.95rem; line-height: 1.5; gap: 10px; }
    .compare-list li svg { width: 18px; height: 18px; margin-top: 2px; }
}

/* ==========================================================================
   Phase 224: Subpage Themes (Home, Factory, Sensor)
   ========================================================================== */
/* Smart Home Theme (Yellow) */
.theme-home .hero-bg-blur { background-image: url('../images/home-vibe.png'); }
.theme-home .status-indicator, .theme-home .bento-icon-wrapper, .theme-home .metric-value small, .theme-home .roi-arrow.up { color: var(--color-home-icon); }
.theme-home .pulse-dot { background-color: var(--color-home-icon); box-shadow: 0 0 10px var(--color-home-icon); animation: pulse-home 2s infinite; }
.theme-home .accent-line { background: linear-gradient(90deg, transparent, var(--color-home-icon), transparent); }
.theme-home .highlight-step .step-circle { border-color: var(--color-home-icon); color: var(--color-home-icon); background: rgba(255, 181, 38, 0.1); box-shadow: 0 0 20px rgba(255, 181, 38, 0.2); }
.theme-home .bento-icon-wrapper { background: rgba(255, 181, 38, 0.1); }
@keyframes pulse-home {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 181, 38, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 181, 38, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 181, 38, 0); }
}

/* Smart Factory Theme (Blue) */
.theme-factory .hero-bg-blur { background-image: url('../images/factory-vibe.png'); }
.theme-factory .status-indicator, .theme-factory .bento-icon-wrapper, .theme-factory .metric-value small, .theme-factory .roi-arrow.up { color: var(--color-factory-icon); }
.theme-factory .pulse-dot { background-color: var(--color-factory-icon); box-shadow: 0 0 10px var(--color-factory-icon); animation: pulse-factory 2s infinite; }
.theme-factory .accent-line { background: linear-gradient(90deg, transparent, var(--color-factory-icon), transparent); }
.theme-factory .highlight-step .step-circle { border-color: var(--color-factory-icon); color: var(--color-factory-icon); background: rgba(29, 161, 242, 0.1); box-shadow: 0 0 20px rgba(29, 161, 242, 0.2); }
.theme-factory .bento-icon-wrapper { background: rgba(29, 161, 242, 0.1); }
@keyframes pulse-factory {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(29, 161, 242, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(29, 161, 242, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(29, 161, 242, 0); }
}

/* Smart Sensor Theme (Purple) */
.theme-sensor .hero-bg-blur { background-image: url('../images/sensor-vibe.png'); }
.theme-sensor .status-indicator, .theme-sensor .bento-icon-wrapper, .theme-sensor .metric-value small, .theme-sensor .roi-arrow.up { color: var(--color-sensor-icon); }
.theme-sensor .pulse-dot { background-color: var(--color-sensor-icon); box-shadow: 0 0 10px var(--color-sensor-icon); animation: pulse-sensor 2s infinite; }
.theme-sensor .accent-line { background: linear-gradient(90deg, transparent, var(--color-sensor-icon), transparent); }
.theme-sensor .highlight-step .step-circle { border-color: var(--color-sensor-icon); color: var(--color-sensor-icon); background: rgba(157, 114, 255, 0.1); box-shadow: 0 0 20px rgba(157, 114, 255, 0.2); }
.theme-sensor .bento-icon-wrapper { background: rgba(157, 114, 255, 0.1); }
@keyframes pulse-sensor {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(157, 114, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(157, 114, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(157, 114, 255, 0); }
}

/* ==========================================================================
   Phase 225: AS-IS vs TO-BE Comparison Section
   ========================================================================== */
.as-is-tobe-section {
    padding: 0 0 calc(var(--spacing-3xl) * 0.8) 0;
}

.comparison-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
}

.compare-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compare-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 15px 40px rgba(0, 0, 0, 0.3);
}

.compare-card.as-is {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), inset 0 20px 40px rgba(255, 75, 75, 0.04);
}
.compare-card.as-is::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 75, 75, 0.8), transparent);
    box-shadow: 0 2px 15px rgba(255, 75, 75, 0.4);
}

.compare-card.to-be {
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 20px 40px rgba(255, 255, 255, 0.03);
}
.compare-card.to-be::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1.5px;
}

/* Theme-specific borders & gradients for TO-BE cards */
.theme-farm .compare-card.to-be {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.12) 0%, rgba(30,41,59,0.5) 100%);
}
.theme-farm .compare-card.to-be::before { background: linear-gradient(90deg, transparent, var(--color-farm-icon), transparent); box-shadow: 0 2px 20px rgba(0, 255, 204, 0.5); }

.theme-home .compare-card.to-be {
    background: linear-gradient(135deg, rgba(255, 183, 0, 0.12) 0%, rgba(30,41,59,0.5) 100%);
}
.theme-home .compare-card.to-be::before { background: linear-gradient(90deg, transparent, var(--color-home-icon), transparent); box-shadow: 0 2px 20px rgba(255, 183, 0, 0.5); }

.theme-factory .compare-card.to-be {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.12) 0%, rgba(30,41,59,0.5) 100%);
}
.theme-factory .compare-card.to-be::before { background: linear-gradient(90deg, transparent, var(--color-factory-icon), transparent); box-shadow: 0 2px 20px rgba(0, 210, 255, 0.5); }

.theme-sensor .compare-card.to-be {
    background: linear-gradient(135deg, rgba(157, 114, 255, 0.12) 0%, rgba(30,41,59,0.5) 100%);
}
.theme-sensor .compare-card.to-be::before { background: linear-gradient(90deg, transparent, var(--color-sensor-icon), transparent); box-shadow: 0 2px 20px rgba(157, 114, 255, 0.5); }

.compare-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.compare-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.compare-badge.bg-red {
    background: rgba(255, 75, 75, 0.15);
    color: #ff4b4b;
    border: 1px solid rgba(255, 75, 75, 0.3);
}

.compare-badge.bg-theme {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-farm .compare-badge.bg-theme {
    background: rgba(0, 255, 204, 0.15);
    color: var(--color-farm-icon);
    border-color: rgba(0, 255, 204, 0.3);
}
.theme-home .compare-badge.bg-theme {
    background: rgba(255, 183, 0, 0.15);
    color: var(--color-home-icon);
    border-color: rgba(255, 183, 0, 0.3);
}
.theme-factory .compare-badge.bg-theme {
    background: rgba(0, 210, 255, 0.15);
    color: var(--color-factory-icon);
    border-color: rgba(0, 210, 255, 0.3);
}
.theme-sensor .compare-badge.bg-theme {
    background: rgba(157, 114, 255, 0.15);
    color: var(--color-sensor-icon);
    border-color: rgba(157, 114, 255, 0.3);
}

.compare-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85); /* 맑은 미백색으로 가독성 대폭 향상 */
    line-height: 1.7; /* 시원한 줄간격 */
}

.compare-list li svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.compare-card.as-is .compare-list li svg {
    color: #ff4b4b;
}

/* Theme-specific SVG colors for TO-BE lists */
.theme-farm .compare-card.to-be .compare-list li svg { color: var(--color-farm-icon); }
.theme-home .compare-card.to-be .compare-list li svg { color: var(--color-home-icon); }
.theme-factory .compare-card.to-be .compare-list li svg { color: var(--color-factory-icon); }
.theme-sensor .compare-card.to-be .compare-list li svg { color: var(--color-sensor-icon); }

/* Compare Arrow styling */
.compare-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    align-self: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.compare-arrow svg {
    width: 28px;
    height: 28px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .comparison-grid {
        flex-direction: column;
        gap: 16px;
    }
    
    .compare-arrow {
        transform: rotate(90deg);
        width: 48px;
        height: 48px;
        margin: 8px 0;
    }
    
    .compare-card {
        width: 100%;
        padding: 24px 20px;
    }
    
    .compare-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .compare-header {
        margin-bottom: 20px;
        gap: 12px;
    }
    
    .compare-title {
        font-size: 1.25rem;
    }
    
    .compare-list li {
        font-size: 0.95rem;
        gap: 10px;
        line-height: 1.6;
    }
    
    .compare-list li svg {
        width: 18px;
        height: 18px;
        margin-top: 2px;
    }
}

/* ==========================================================================
   Single Blog Post Image & Content Fix (single.php)
   ========================================================================== */
.single-blog-article {
    color: #E2E8F0;
    font-size: 1.15rem;
    line-height: 1.8;
}

.single-blog-article .entry-content {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.single-blog-article .entry-content h2,
.single-blog-article .entry-content h3,
.single-blog-article .entry-content h4 {
    color: #FFF;
    margin-top: 50px;
    margin-bottom: 24px;
    font-weight: 800;
}

/* 이미지 크기 강제 제어 (거대한 이미지 방지) */
.single-blog-article .entry-content img,
.single-blog-article .entry-content .wp-block-image img,
.single-blog-article .entry-content figure img {
    max-width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .single-blog-article .entry-content {
        padding: 30px 20px;
    }
    .single-blog-article .entry-content img {
        max-height: 350px;
        margin: 24px auto;
    }
}