/* ===============================
   WHAT I OFFER SECTION
=============================== */

.what-i-offer-section {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(
        135deg,
        var(--bg-primary) 0%,
        var(--bg-secondary) 50%,
        var(--bg-primary) 100%
    );
    position: relative;
    overflow: hidden;
}

.what-i-offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(101, 175, 255, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* Service Tabs */
.service-tabs {
    display: flex;
    justify-content: center;
    margin: var(--spacing-2xl) 0 var(--spacing-3xl) 0;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.tab-button {
    padding: var(--spacing-md) var(--spacing-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(101, 175, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(101, 175, 255, 0.2);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 8px 24px rgba(101, 175, 255, 0.3);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(101, 175, 255, 0.05) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(101, 175, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card.featured {
    border-color: var(--accent);
    background: rgba(101, 175, 255, 0.05);
    position: relative;
}

.service-card.featured::after {
    content: '추천';
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent);
    color: var(--bg-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

/* Service Icon */
.service-icon {
    margin-bottom: var(--spacing-lg);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    overflow: hidden;
}

.icon-wrapper.ai-coding {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.icon-wrapper.automation {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.icon-wrapper.notion {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.icon-wrapper.custom {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.icon-wrapper.optimization {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.icon-wrapper.tech-support {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

/* Service Content */
.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

/* Service Features */
.service-features {
    margin-bottom: var(--spacing-lg);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Service Highlight */
.service-highlight {
    background: rgba(101, 175, 255, 0.1);
    border: 1px solid rgba(101, 175, 255, 0.2);
    border-radius: 8px;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.highlight-badge {
    background: var(--accent);
    color: var(--bg-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.service-highlight span:last-child {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Service CTA */
.service-cta {
    text-align: center;
}

.service-cta .cta-button {
    width: 100%;
    margin-bottom: var(--spacing-sm);
}

.cta-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Service Summary */
.service-summary {
    background: linear-gradient(
        135deg,
        rgba(39, 64, 96, 0.8) 0%,
        rgba(51, 92, 129, 0.8) 100%
    );
    border: 1px solid rgba(101, 175, 255, 0.3);
    border-radius: 20px;
    padding: var(--spacing-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-3xl);
}

.service-summary::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(
        circle,
        rgba(101, 175, 255, 0.3) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.service-summary h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.service-summary p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.summary-cta .cta-button {
    font-size: 1.1rem;
    padding: var(--spacing-md) var(--spacing-2xl);
}
