/* ========================================
   Service Pages Specific Styles
======================================== */

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.service-hero-icon i {
    font-size: 3rem;
    color: var(--white);
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.service-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.service-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Service Overview */
.service-overview {
    padding: 5rem 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.overview-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.overview-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ⬇️ 이 부분이 배경 이미지를 넣도록 변경된 영역입니다. ⬇️ */
.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    /* 배경 이미지를 설정하고 그라데이션 대신 사용 */
    background-image: url('../images/payment-overview.png'); /* ⬅️ 이미지 경로를 실제 경로로 변경해야 합니다. */
    background-size: cover; /* 이미지가 영역을 꽉 채우도록 설정 */
    background-position: center; /* 이미지를 중앙에 배치 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
}

.image-placeholder i {
    font-size: 5rem;
    /* 이미지 위에 겹치는 아이콘을 숨김 */
    color: transparent; 
}

.image-placeholder p {
    font-size: 1.3rem;
    /* 이미지 위에 겹치는 텍스트를 숨김 */
    color: transparent;
    font-weight: 600;
}
/* ⬆️ 변경된 영역 끝 ⬆️ */


/* Payment Methods / Types Section */
.payment-methods {
    background: var(--bg-light);
    padding: 5rem 0;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.method-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.method-icon i {
    font-size: 2rem;
    color: var(--white);
}

.method-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.method-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.card-brands,
.bank-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    list-style: none;
}

.card-brands li,
.bank-list li {
    background: var(--light-blue);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Service Features */
.service-features {
    padding: 5rem 0;
}

.features-list {
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.feature-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    min-width: 100px;
    text-align: center;
    line-height: 1;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Benefits Section */
.benefits {
    background: var(--bg-light);
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.benefit-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
    padding: 5rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--light-blue);
    transition: var(--transition);
}

.case-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.case-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.case-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-light);
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Dashboard Features Section */
.dashboard-features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.dashboard-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.dashboard-icon i {
    font-size: 2rem;
    color: var(--white);
}

.dashboard-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.dashboard-card > p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Management Tools Section */
.management-tools {
    padding: 5rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.tool-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.tool-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.tool-card p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.tool-card:hover p {
    color: var(--white);
}

/* Screenshots Section */
.screenshots {
    background: var(--bg-light);
    padding: 5rem 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.screenshot-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

.screenshot-placeholder p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 968px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-number {
        min-width: auto;
    }

    .service-hero-icon {
        width: 80px;
        height: 80px;
    }

    .service-hero-icon i {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .service-hero {
        padding: 120px 0 60px;
    }

    .service-hero h1 {
        font-size: 2rem;
    }

    .service-hero-subtitle {
        font-size: 1.1rem;
    }

    .overview-content h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}