html {
    scroll-behavior: smooth
}

.xq-page {
    padding-top: 0 !important;
    margin-top: 0 !important
}

.xq-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 20px 60px
}

.xq-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(22, 33, 62, 0.88) 50%, rgba(15, 52, 96, 0.85) 100%);
    z-index: 1
}

.xq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px
}

.xq-hero-badge {
    display: inline-block;
    background: rgba(255, 111, 15, 0.2);
    border: 1px solid rgba(255, 111, 15, 0.4);
    color: #ff8f4f;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px)
}

.xq-hero-content h1 {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.02em
}

.xq-hero-content h1 strong {
    color: #ff6f0f
}

.xq-hero-content>p {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.7
}

.xq-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6f0f, #ff8f4f);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(255, 111, 15, 0.4)
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 111, 15, 0.5);
    color: #fff
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff
}

.xq-hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap
}

.xq-hero-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.xq-hero-stat i {
    font-size: 32px;
    color: #ff6f0f
}

.xq-hero-stat .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500
}

.xq-hero-scroll {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    animation: bounce 2s infinite
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(10px)
    }
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff5ed, #ffe8d6);
    color: #ff6f0f;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px
}

.xq-story {
    padding: 100px 0;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xq-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.xq-story-content h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #191919;
    margin-bottom: 32px;
    line-height: 1.4
}

.xq-story-list {
    list-style: none
}

.xq-story-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 17px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6
}

.xq-story-list li i {
    color: #e03131;
    font-size: 20px;
    margin-top: 3px
}

.xq-story-list li strong {
    color: #191919
}

.xq-story-solution {
    display: flex;
    justify-content: center
}

.xq-solution-card {
    background: linear-gradient(135deg, #ff6f0f, #ff8f4f);
    padding: 48px 40px;
    border-radius: 24px;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 111, 15, 0.3)
}

.xq-solution-icon {
    font-size: 48px;
    margin-bottom: 20px
}

.xq-solution-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4
}

.xq-solution-card>p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 24px
}

.xq-solution-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px
}

.xq-features {
    padding: 100px 0;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px
}

.section-header-center h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #191919;
    margin-bottom: 16px
}

.section-header-center h2 strong {
    color: #ff6f0f
}

.section-header-center>p {
    font-size: 16px;
    color: #666
}

.xq-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.xq-feature-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid transparent
}

.xq-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(255, 111, 15, 0.12);
    border-color: rgba(255, 111, 15, 0.2)
}

.xq-feature-img {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fff5ed, #ffe8d6);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.xq-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.xq-feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 14px
}

.xq-feature-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7
}

.xq-feature-card p strong {
    color: #ff6f0f
}

.xq-usecases {
    padding: 100px 0;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xq-usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.xq-usecase-card {
    background: #f8f9fa;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s
}

.xq-usecase-card:hover {
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1)
}

.xq-usecase-emoji {
    font-size: 48px;
    margin-bottom: 16px
}

.xq-usecase-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6f0f, #ff8f4f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 28px
}

.xq-usecase-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 12px
}

.xq-usecase-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6
}

.xq-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #0f3460)
}

.xq-stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap
}

.xq-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px
}

.xq-stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6f0f, #ff8f4f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff
}

.xq-stat-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5
}

.xq-stat-text strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ff6f0f
}

.xq-seo-content {
    padding: 40px 0;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xq-seo-article {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.xq-seo-article h2 {
    font-size: 28px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #ff6f0f
}

.xq-seo-article p {
    font-size: 16px;
    line-height: 2;
    color: #444;
    margin-bottom: 20px
}

.xq-seo-article strong {
    color: #191919
}

.xq-seo-article mark {
    background: linear-gradient(transparent 60%, #ffe8d6 60%);
    padding: 0 4px
}

.xq-seo-article a {
    color: #ff6f0f;
    font-weight: 600;
    text-decoration: underline
}

.xq-cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xq-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ff6f0f, #ff8f4f);
    padding: 48px 60px;
    border-radius: 24px;
    gap: 40px;
    flex-wrap: wrap
}

.xq-cta-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px
}

.xq-cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #ff6f0f;
    padding: 20px 44px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    white-space: nowrap
}

.btn-cta-large:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: #ff6f0f
}

@media(max-width:1024px) {
    .xq-features-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .xq-usecases-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    .xq-story-grid {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .xq-features-grid {
        grid-template-columns: 1fr
    }

    .xq-usecases-grid {
        grid-template-columns: 1fr
    }

    .xq-hero-stats {
        gap: 30px
    }

    .xq-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px
    }

    .xq-stats-grid {
        gap: 40px
    }
}

@media(max-width:480px) {
    .xq-hero {
        min-height: 100vh;
        padding: 80px 16px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .xq-hero-badge {
        padding: 5px 10px;
        font-size: 11px;
        margin-bottom: 14px
    }

    .xq-hero-content h1 {
        font-size: 24px;
        margin-bottom: 16px;
        line-height: 1.4
    }

    .xq-hero-content>p {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.6
    }

    .xq-hero-buttons {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
        gap: 8px
    }

    .xq-hero-stats {
        gap: 12px;
        flex-direction: row
    }

    .xq-hero-stat {
        flex-direction: row;
        gap: 6px
    }

    .xq-hero-stat i {
        font-size: 18px
    }

    .xq-hero-stat .label {
        font-size: 11px
    }

    .xq-hero-scroll {
        bottom: 12px;
        font-size: 18px
    }

    .xq-story {
        padding: 60px 16px;
        min-height: 100vh;
        display: flex;
        align-items: center
    }

    .xq-story-grid {
        gap: 20px
    }

    .xq-story-content h2 {
        font-size: 22px;
        margin-bottom: 20px
    }

    .xq-story-list li {
        font-size: 14px;
        gap: 10px;
        margin-bottom: 14px;
        line-height: 1.6
    }

    .xq-story-list li i {
        font-size: 14px
    }

    .xq-solution-card {
        padding: 24px 16px;
        width: 100%;
        border-radius: 16px
    }

    .xq-solution-icon {
        font-size: 32px;
        margin-bottom: 12px
    }

    .xq-solution-card h3 {
        font-size: 22px;
        margin-bottom: 14px
    }

    .xq-solution-card>p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 14px
    }

    .xq-solution-highlight {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px
    }

    .section-badge {
        padding: 5px 10px;
        font-size: 11px;
        margin-bottom: 12px
    }

    .xq-features {
        padding: 60px 16px;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .section-header-center {
        margin-bottom: 20px
    }

    .section-header-center h2 {
        font-size: 22px;
        margin-bottom: 12px
    }

    .section-header-center>p {
        font-size: 14px
    }



    .xq-feature-card {
        padding: 20px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "img title"
            "img desc";
        column-gap: 16px;
        row-gap: 4px;
        align-items: center;
        text-align: left;
    }

    .xq-feature-img {
        grid-area: img;
        width: 60px;
        height: 60px;
        margin: 0;
        border-radius: 16px;
        padding: 12px;
    }

    .xq-feature-card h4 {
        grid-area: title;
        font-size: 16px;
        margin: 0;
        align-self: end;
    }

    .xq-feature-card h4 i {
        font-size: 15px;
        margin-right: 4px;
    }

    .xq-feature-card p {
        grid-area: desc;
        font-size: 13px;
        line-height: 1.5;
        margin: 0;
        align-self: start;
        word-break: keep-all;
        /* Prevent unnatural breaking */
    }

    .xq-usecases {
        padding: 60px 16px;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center
    }

    .xq-usecases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }

    .xq-usecase-card {
        padding: 16px 12px
    }

    .xq-usecase-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        margin-bottom: 10px
    }

    .xq-usecase-card h4 {
        font-size: 15px;
        margin-bottom: 8px
    }

    .xq-usecase-card p {
        font-size: 13px;
        line-height: 1.5
    }

    .xq-stats {
        padding: 40px 16px;
        min-height: 20vh;
        display: flex;
        align-items: center
    }

    .xq-stats-grid {
        gap: 16px
    }

    .xq-stat-item {
        gap: 8px
    }

    .xq-stat-icon {
        width: 54px;
        height: 54px;
        font-size: 24px
    }

    .xq-stat-text {
        font-size: 13px;
        line-height: 1.4
    }

    .xq-stat-text strong {
        font-size: 20px
    }

    .xq-seo-content {
        padding: 60px 16px;
        min-height: 100vh;
        display: flex;
        align-items: center
    }

    .xq-seo-article h2 {
        font-size: 22px;
        padding-bottom: 12px;
        margin-bottom: 18px
    }

    .xq-seo-article p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 16px
    }

    .xq-cta-final {
        padding: 40px 16px;
        min-height: 20vh;
        display: flex;
        align-items: center
    }

    .xq-cta-box {
        padding: 24px 18px;
        gap: 16px;
        border-radius: 18px
    }

    .xq-cta-content h2 {
        font-size: 20px;
        margin-bottom: 10px
    }

    .xq-cta-content p {
        font-size: 14px;
        line-height: 1.6
    }

    .btn-cta-large {
        padding: 14px 28px;
        font-size: 15px;
        gap: 10px;
        border-radius: 30px
    }
}

.xq-auto-schedule {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff5ed 0%, #fff 100%);
    position: relative;
    overflow: hidden
}

.xq-as-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 2
}

.xq-as-step {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 111, 15, 0.1);
    width: 300px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden
}

.xq-as-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF6F0F, #FF8F4F)
}

.xq-as-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 111, 15, 0.15);
    border-color: rgba(255, 111, 15, 0.3)
}

.xq-as-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #FF6F0F 0%, #FF8F4F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 111, 15, 0.2)
}

.xq-as-num {
    display: inline-block;
    background: rgba(255, 111, 15, 0.1);
    color: #FF6F0F;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px
}

.xq-as-step h4 {
    font-size: 20px;
    font-weight: 700;
    color: #191919;
    margin-bottom: 14px
}

.xq-as-step p {
    font-size: 15px;
    color: #666;
    line-height: 1.6
}

.xq-as-arrow {
    font-size: 24px;
    color: #FF6F0F;
    opacity: 0.3;
    animation: slideRight 1.5s infinite
}

@keyframes slideRight {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.3
    }

    50% {
        transform: translateX(5px);
        opacity: 1
    }
}

@media(max-width:1024px) {
    .xq-as-steps {
        flex-direction: column;
        gap: 20px
    }

    .xq-as-step {
        width: 100%;
        max-width: 400px
    }

    .xq-as-arrow {
        transform: rotate(90deg);
        animation: slideDown 1.5s infinite
    }

    @keyframes slideDown {

        0%,
        100% {
            transform: translateY(0) rotate(90deg);
            opacity: 0.3
        }

        50% {
            transform: translateY(5px) rotate(90deg);
            opacity: 1
        }
    }
}

/* Auto Scheduler Detail Section (x7q2w9k3.php) */
.xq-auto-scheduler-detail {
    padding: 100px 0;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.xq-as-badge {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
}

.xq-as-intro {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.xq-as-lead {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 32px;
}

.xq-as-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

.xq-as-intro mark {
    background: rgba(255, 111, 15, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary);
    font-weight: 600;
}

.xq-as-how {
    margin-bottom: 100px;
}

.xq-as-how h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #191919;
}

.xq-as-steps {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.xq-as-step {
    flex: 1;
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xq-as-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.xq-as-icon {
    font-size: 48px;
    color: #ff6f0f;
    margin-bottom: 16px;
}

.xq-as-num {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 111, 15, 0.1);
    color: #ff6f0f;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.xq-as-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ddd;
    flex-shrink: 0;
}

.step-content h4 {
    /* Legacy class support just in case, though structure changed */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.xq-as-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.step-content p {
    /* Legacy class support */
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.xq-as-step p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.xq-as-diff h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #191919;
}

.xq-as-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.diff-card {
    background: #fff;
    padding: 40px 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.diff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.diff-icon {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 24px;
}

.diff-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.diff-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.xq-as-cta {
    text-align: center;
    margin-top: 60px;
}

.xq-as-cta p {
    margin-top: 16px;
    font-size: 14px;
    color: #888;
}

@media (max-width: 1024px) {
    .xq-as-steps {
        gap: 16px;
        /* Tighter gap on tablet */
    }
}

@media (max-width: 768px) {
    .xq-as-steps {
        flex-direction: column;
        gap: 16px;
        /* Optimized gap */
    }

    .xq-as-arrow {
        display: none;
        /* Hide arrows in mobile layout */
    }

    .xq-as-step {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon num"
            "icon title"
            "icon desc";
        column-gap: 20px;
        row-gap: 6px;
        text-align: left;
        align-items: start;
        padding: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    .xq-as-icon {
        grid-area: icon;
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin: 0;
        align-self: center;
    }

    .xq-as-num {
        grid-area: num;
        margin: 0;
        justify-self: start;
        font-size: 11px;
        padding: 4px 10px;
    }

    .xq-as-step h4 {
        grid-area: title;
        margin: 0;
        font-size: 16px;
    }

    .xq-as-step p {
        grid-area: desc;
        margin: 0;
        font-size: 14px;
        word-break: keep-all;
    }

    .xq-as-diff-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .diff-card {
        padding: 24px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon title"
            "icon desc";
        column-gap: 20px;
        row-gap: 6px;
        text-align: left;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    .diff-icon {
        grid-area: icon;
        font-size: 32px;
        margin: 0;
        width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .diff-card h4 {
        grid-area: title;
        margin: 0;
        font-size: 16px;
        align-self: end;
    }

    .diff-card p {
        grid-area: desc;
        margin: 0;
        font-size: 14px;
        word-break: keep-all;
        align-self: start;
    }

    .xq-as-intro {
        padding: 0 20px;
    }

    .xq-as-lead {
        font-size: 18px;
    }

    .modal-box {
        width: 95% !important;
        padding: 24px 16px !important;
    }

    .subscription-plans-table {
        margin-top: 10px !important;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .subscription-plans-table th,
    .subscription-plans-table td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .subscription-plans-table .plan-name {
        font-size: 14px !important;
    }

    .modal-close-btn {
        padding: 8px !important;
    }
}

/* 매거진 섹션 공통 */
.xq-magazine-section {
    padding: 100px 0;
    background: #fff;
}

.xq-magazine-section:nth-child(even) {
    background: #f9fafb;
}

.xq-mall-price {
    background: #fff;
}

.xq-luxury-price {
    background: #f9fafb;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.magazine-grid-reverse {
    grid-template-columns: 1fr 1.2fr;
}

/* 이미지 영역 */
.magazine-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.magazine-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.magazine-image-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.magazine-image-badge i {
    font-size: 16px;
}

/* 콘텐츠 영역 */
.magazine-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.magazine-content .section-badge {
    display: inline-block;
    background: rgba(255, 111, 15, 0.1);
    color: #ff6f0f;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}

.magazine-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}

.magazine-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.magazine-lead strong {
    color: #ff6f0f;
    font-weight: 700;
}

/* 기능 카드 */
.magazine-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 8px 0;
}

.mag-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.mag-feature-item:hover {
    border-color: #ff6f0f;
    box-shadow: 0 4px 12px rgba(255, 111, 15, 0.1);
    transform: translateX(4px);
}

.mag-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6f0f, #ff8f4f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.mag-feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.mag-feature-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* CTA 버튼 */
.btn-magazine-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6f0f, #ff8f4f);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(255, 111, 15, 0.3);
    width: fit-content;
    margin-top: 8px;
    text-decoration: none;
}

.btn-magazine-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 111, 15, 0.4);
    color: #fff;
}

.btn-magazine-cta i {
    font-size: 20px;
}

/* 반응형 - 모바일 */
@media (max-width: 968px) {
    .xq-magazine-section {
        padding: 60px 0;
    }
    
    .magazine-grid,
    .magazine-grid-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .magazine-image {
        order: 1;
    }
    
    .magazine-content {
        order: 2;
    }
    
    .magazine-image-badge {
        top: 16px;
        left: 16px;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .magazine-content h2 {
        font-size: 28px;
    }
    
    .magazine-lead {
        font-size: 16px;
    }
    
    .mag-feature-item {
        padding: 12px;
    }
    
    .mag-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .mag-feature-text h4 {
        font-size: 15px;
    }
    
    .mag-feature-text p {
        font-size: 13px;
    }
    
    .btn-magazine-cta {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
}

/* 모바일 작은 화면 (480px 이하) */
@media (max-width: 480px) {
    .xq-magazine-section {
        padding: 40px 0;
    }
    
    .magazine-grid,
    .magazine-grid-reverse {
        gap: 32px;
    }
    
    .magazine-content .section-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .magazine-content h2 {
        font-size: 24px;
    }
    
    .magazine-lead {
        font-size: 15px;
    }
    
    .magazine-features {
        gap: 12px;
    }
    
    .mag-feature-item {
        gap: 12px;
        padding: 10px;
    }
    
    .mag-feature-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}