/* ===== Bluetooth Offline Unified Section ===== */
.bt-offline-unified {
    padding: clamp(50px, 6vw, 90px) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.bt-offline-unified__inner {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.bt-offline-unified__header {
    text-align: center;
    margin-bottom: 48px;
}

.bt-offline-unified__title {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: #111827;
}

.bt-offline-unified__lead {
    margin: 0 auto;
    max-width: 64ch;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.7;
    font-size: clamp(14px, 1.5vw, 16px);
}

/* Block structure */
.bt-offline-unified__block {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid #e5e7eb;
}

.bt-offline-unified__block:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Block without top border */
.bt-offline-unified__block-norule {
    margin-top: 48px;
    padding-top: 0;
    border-top: none;
}

.bt-offline-unified__subTitle {
    margin: 0 0 24px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ===== 3-step flow ===== */
.bt-flow3 {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.bt-flow3__card {
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17,24,39,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bt-flow3__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17,24,39,0.12);
}

.bt-flow3__card--active {
    border-color: #2563eb;
    box-shadow: 0 16px 36px rgba(37,99,235,0.2);
    transform: scale(1.05);
}

.bt-flow3__card--active:hover {
    transform: scale(1.05) translateY(-4px);
}

.bt-flow3__imgWrap {
    background: #f8fafc;
    padding: 16px;
}

.bt-flow3__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.bt-flow3__card:hover .bt-flow3__img {
    transform: scale(1.05);
}

.bt-flow3__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
}

.bt-flow3__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    flex: 0 0 auto;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.bt-flow3__text {
    flex: 1;
}

.bt-flow3__label {
    margin: 0;
    font-weight: 700;
    color: #111827;
    font-size: 15px;
    line-height: 1.4;
}

.bt-flow3__note {
    margin: 4px 0 0;
    color: #6b7280;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
}

.bt-flow3__arrow {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 28px;
    user-select: none;
}

/* ===== 6-step flow with grouped offline work ===== */
.bt-flow6-grouped {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

/* Offline work group container */
.bt-flow6__offline-group {
    width: 100%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 3px solid #3b82f6;
    border-radius: 24px;
    padding: 32px 24px 24px;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    position: relative;
}

/* Offline label */
.bt-flow6__offline-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    white-space: nowrap;
}

.bt-flow6__offline-icon {
    font-size: 18px;
}

.bt-flow6__offline-text {
    letter-spacing: 0.05em;
}

/* Offline content (horizontal flow) */
.bt-flow6__offline-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main flow container (vertical on mobile) */
.bt-flow6-grouped > .bt-flow6__card,
.bt-flow6-grouped > .bt-flow6__arrow,
.bt-flow6-grouped > .bt-flow6__offline-group {
    width: 100%;
}

/* Horizontal layout for PC */
@media (min-width: 981px) {
    .bt-flow6-grouped {
        flex-direction: row;
        justify-content: center;
    }
    
    .bt-flow6-grouped > .bt-flow6__card {
        flex: 0 0 auto;
        width: auto;
        min-width: 180px;
    }
    
    .bt-flow6-grouped > .bt-flow6__arrow {
        flex: 0 0 auto;
        width: auto;
    }
    
    .bt-flow6-grouped > .bt-flow6__offline-group {
        flex: 1 1 auto;
        max-width: 900px;
    }
    
    .bt-flow6__offline-content {
        flex-wrap: nowrap;
    }
}

.bt-flow6__card {
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17,24,39,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bt-flow6__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17,24,39,0.12);
}

.bt-flow6__card--active {
    border-color: #2563eb;
    box-shadow: 0 16px 36px rgba(37,99,235,0.2);
    transform: scale(1.05);
}

.bt-flow6__card--active:hover {
    transform: scale(1.05) translateY(-4px);
}

.bt-flow6__imgWrap {
    background: #f8fafc;
    padding: 16px;
}

.bt-flow6__img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.bt-flow6__card:hover .bt-flow6__img {
    transform: scale(1.05);
}

.bt-flow6__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
}

.bt-flow6__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    flex: 0 0 auto;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.bt-flow6__text {
    flex: 1;
}

.bt-flow6__label {
    margin: 0;
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    line-height: 1.4;
}

.bt-flow6__note {
    margin: 3px 0 0;
    color: #6b7280;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.3;
}

.bt-flow6__arrow {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 24px;
    user-select: none;
    text-align: center;
}

/* Pill badge (removed from layout) */
/*
.bt-offline-unified__pill {
    margin: 32px auto 0;
    width: fit-content;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border: 1px solid #93c5fd;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}
*/

/* ===== 3 reasons grid ===== */
.bt-reasons4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bt-reasons4__card {
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17,24,39,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bt-reasons4__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(17,24,39,0.12);
}

.bt-reasons4__imgWrap {
    background: #f8fafc;
    padding: 16px;
}

.bt-reasons4__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.bt-reasons4__card:hover .bt-reasons4__img {
    transform: scale(1.05);
}

.bt-reasons4__label {
    margin: 0;
    padding: 16px 16px 8px;
    text-align: center;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.01em;
}

.bt-reasons4__subtext {
    margin: 0;
    padding: 0 16px 16px;
    text-align: center;
    color: #6b7280;
    font-weight: 500;
    font-size: 13px;
}

/* ===== Responsive ===== */
.sp-only {
    display: none;
}

@media (max-width: 980px) {
    .bt-offline-unified {
        padding: clamp(40px, 5vw, 60px) 0;
    }
    
    .bt-flow3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .bt-flow3__arrow {
        display: none;
    }
    
    .bt-flow3__img {
        height: 180px;
    }
    
    .bt-flow3__card--active {
        transform: scale(1);
    }
    
    .bt-flow3__card--active:hover {
        transform: translateY(-4px);
    }
    
    /* 6-step grouped responsive */
    .bt-flow6-grouped {
        gap: 20px;
    }
    
    .bt-flow6-grouped > .bt-flow6__arrow {
        display: none;
    }
    
    .bt-flow6__offline-group {
        padding: 24px 16px 16px;
        border-width: 2px;
    }
    
    .bt-flow6__offline-label {
        font-size: 14px;
        padding: 6px 20px;
        top: -14px;
    }
    
    .bt-flow6__offline-icon {
        font-size: 16px;
    }
    
    .bt-flow6__offline-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .bt-flow6__offline-content .bt-flow6__arrow {
        display: none;
    }
    
    .bt-flow6__img {
        height: 140px;
    }
    
    .bt-flow6__card--active {
        transform: scale(1);
    }
    
    .bt-flow6__card--active:hover {
        transform: translateY(-4px);
    }
    
    .bt-reasons4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sp-only {
        display: inline;
    }
}

@media (max-width: 640px) {
    .bt-reasons4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .bt-offline-unified__header {
        margin-bottom: 32px;
    }
    
    .bt-offline-unified__title {
        font-size: clamp(20px, 5vw, 28px);
    }
    
    .bt-offline-unified__block {
        margin-top: 32px;
        padding-top: 32px;
    }
    
    .bt-offline-unified__subTitle {
        font-size: clamp(16px, 4vw, 20px);
        margin-bottom: 20px;
    }
    
    .bt-flow3__imgWrap {
        padding: 12px;
    }
    
    .bt-flow3__img {
        height: 160px;
    }
    
    .bt-flow3__meta {
        padding: 12px;
    }
    
    .bt-offline-unified__pill {
        margin-top: 24px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .bt-reasons4__imgWrap {
        padding: 12px;
    }
    
    .bt-reasons4__img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .bt-offline-unified {
        padding: 32px 0;
    }
    
    .bt-offline-unified__title {
        font-size: 20px;
    }
    
    .bt-offline-unified__lead {
        font-size: 14px;
    }
    
    .bt-flow3__num {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .bt-flow3__label {
        font-size: 14px;
    }
    
    .bt-flow3__note {
        font-size: 12px;
    }
    
    .bt-reasons4__label {
        font-size: 14px;
    }
    
    .bt-reasons4__subtext {
        font-size: 12px;
    }
}
