/* ========================================
   CHERRYTREE MAIN LANDING PAGE
   ======================================== */

/* --- Root Variables (Brand Colors) --- */
:root {
    --ct-brand-primary: #F06272;
    --ct-brand-primary-dark: #D94A5A;
    --ct-brand-gradient: linear-gradient(135deg, #F06272 0%, #D94A5A 100%);
    --ct-service-market: linear-gradient(135deg, #F06272 0%, #D94A5A 100%);
    --ct-service-brief: linear-gradient(135deg, #4A9F40 0%, #1E7B3C 100%);
    --ct-service-insight: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
}

/* === MAIN HERO === */
.landing-hero {
    background: var(--ct-brand-gradient);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    margin: 1.5rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -30%;
    width: 80%;
    height: 250%;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(20deg);
    pointer-events: none;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 50%;
    height: 150%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(-15deg);
    pointer-events: none;
}

.landing-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.landing-hero-title {
    color: white;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.landing-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.landing-hero-cta {
    display: inline-block;
    background: white;
    color: var(--ct-brand-primary);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.landing-hero-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    color: var(--ct-brand-primary-dark);
}

@media (min-width: 768px) {
    .landing-hero {
        padding: 5rem 4rem;
    }
    .landing-hero-title {
        font-size: 2.75rem;
    }
    .landing-hero-subtitle {
        font-size: 1.15rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* === SERVICES SHOWCASE === */
.services-section {
    margin: 3rem 0;
}

.services-section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.services-section-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.service-showcase-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
    position: relative;
    /* overflow: hidden 제거 - hover 시 상단 border bar 잘림 방지 */
}

.service-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

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

.service-showcase-card.card-market::before {
    background: var(--ct-service-market);
}

.service-showcase-card.card-brief::before {
    background: var(--ct-service-brief);
}

.service-showcase-card.card-insight::before {
    background: var(--ct-service-insight);
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    color: white;
    position: relative;
}

.service-icon-wrap::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.2;
    z-index: -1;
}

.service-icon-wrap.icon-market {
    background: var(--ct-service-market);
}

.service-icon-wrap.icon-brief {
    background: var(--ct-service-brief);
}

.service-icon-wrap.icon-insight {
    background: var(--ct-service-insight);
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.service-card-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.service-showcase-card.card-market .service-card-link {
    color: #F06272;
}

.service-showcase-card.card-brief .service-card-link {
    color: #4A9F40;
}

.service-showcase-card.card-insight .service-card-link {
    color: #6366F1;
}

.service-showcase-card:hover .service-card-link {
    gap: 0.75rem;
}

/* === FEATURED CARD (Insight 강조) === */
.service-showcase-card.featured {
    border: 2px solid #6366F1;
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.15);
}

.service-showcase-card.featured::before {
    opacity: 1;
}

.service-featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #6366F1;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === Hero CTA for Deep Navy === */
.landing-hero-cta {
    color: #6366F1;
}

.landing-hero-cta:hover {
    color: #4F46E5;
}

/* === FOR WHO SECTION === */
.for-who-section {
    margin: 3rem 0;
}

.for-who-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .for-who-grid {
        grid-template-columns: 1fr;
    }
}

.for-who-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.for-who-card:hover {
    border-color: var(--ct-brand-primary);
    box-shadow: 0 10px 25px rgba(240, 98, 114, 0.1);
}

.for-who-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.for-who-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.for-who-btn {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.for-who-btn.btn-primary-ct {
    background: var(--ct-brand-gradient);
    color: white;
}

.for-who-btn.btn-primary-ct:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 98, 114, 0.4);
}

.for-who-btn.btn-secondary-ct {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.for-who-btn.btn-secondary-ct:hover {
    border-color: #374151;
}

/* === SECTION DIVIDERS === */
.landing-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 2.5rem 0;
}

/* === FEATURE BANNER === */
.feature-banner {
    background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.feature-banner::before {
    content: '✨';
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    top: 10px;
    left: 20px;
}

.feature-banner-title {
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-banner-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.feature-banner-btn {
    display: inline-block;
    background: var(--ct-brand-gradient);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.feature-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 98, 114, 0.4);
    color: white;
}
