/* Premium Service Design - Humecca Style (Red/Orange) */
:root {
    --humecca-red: #E94D36;
    --humecca-orange: #F57C00;
    /* Secondary accent from reference style */
    --humecca-gradient: linear-gradient(135deg, #E94D36 0%, #F57C00 100%);
    --bg-light: #F9FAFB;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 20px 40px rgba(233, 77, 54, 0.15);
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.section-title {
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

/* Underline decoration for titles */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--humecca-red);
    margin-top: 12px;
    border-radius: 2px;
}

/* Feature Grid (Icon Box) */
.func-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.func-box,
.feature-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid #F1F5F9;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.func-box:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: rgba(233, 77, 54, 0.2);
}

/* Premium Icon Container */
.func-icon,
.feature-card .icon {
    width: 64px;
    height: 64px;
    background: #FFF5F5;
    /* Light Red tint */
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--humecca-red);
    font-size: 28px;
    transition: all 0.3s ease;
}

.func-box:hover .func-icon,
.feature-card:hover .icon {
    background: var(--humecca-gradient);
    color: white;
    transform: rotateY(180deg);
    /* 3D effect flip */
}

/* Remove rotation for icon itself so it stays upright if flipped, or just simple scale */
.func-box:hover .func-icon i,
.feature-card:hover .icon i {
    transform: rotateY(-180deg);
}


.func-box h4,
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.func-list li,
.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

/* "Process" Style Section (Steps) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #E2E8F0;
    position: relative;
    transition: all 0.3s;
}

.process-step:hover {
    border-color: var(--humecca-red);
    box-shadow: 0 10px 20px rgba(233, 77, 54, 0.1);
}

.process-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #FFF;
    border: 2px solid #FEE2E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--humecca-red);
    position: relative;
    z-index: 2;
}

.process-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-step p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Connector Line for Process (Desktop) */
@media (min-width: 1024px) {
    .process-grid {
        position: relative;
    }

    .process-step::after {
        content: '';
        position: absolute;
        top: 70px;
        /* Aligned with icon center roughly */
        right: -10px;
        /* Stick out to right */
        width: 20px;
        height: 2px;
        background: #E2E8F0;
        z-index: 1;
    }

    .process-step:last-child::after {
        display: none;
    }
}

/* History / Timeline Style */
.history-timeline {
    position: relative;
    padding: 40px 0;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Badge Updates */
.product-badge {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: none !important;
    background: white;
}

.product-badge:hover {
    background: var(--humecca-red) !important;
    color: white !important;
    transform: translateY(-3px);
}

.product-badge:hover i {
    color: white !important;
}

/* Generation Cards (Specific) */
.gen-card {
    border: none !important;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    overflow: hidden;
}

.gen-card img {
    /* Make images nice */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.gen-card h4 {
    border-bottom-color: #fee2e2 !important;
    /* Soft red line */
}

/* Table Design */
.table th {
    background: #FFF1F2 !important;
    /* Very light red */
    color: var(--humecca-red) !important;
    border-bottom: 2px solid #FECACA !important;
}

.table td {
    border-color: #F1F5F9 !important;
}

.table tr:hover td {
    background: #FEF2F2 !important;
}