/* ==============================================
   홈페이지 제작 랜딩 페이지 CSS
   - 토스 디자인 시스템 참고
   - 10점 만점 전환율 최적화
============================================== */

:root {
    --hp-primary: #00D4AA;
    --hp-primary-dark: #00B894;
    --hp-gradient: linear-gradient(135deg, #00D4AA 0%, #00B4D8 100%);
    --hp-gradient-vivid: linear-gradient(135deg, #00E4BA 0%, #00C4E8 50%, #00D4AA 100%);
    --hp-text-dark: #191f28;
    --hp-text-gray: #6b7684;
    --hp-text-light: #8b95a1;
    --hp-bg-light: #f9fafb;
    --hp-border: #e5e8eb;
    --hp-success: #10b981;
    --hp-warning: #f59e0b;
}

/* ===== Promo Banner ===== */
.hp-promo-banner {
    background: linear-gradient(90deg, #191f28 0%, #2d3748 100%);
    padding: 14px 0;
    position: relative;
    overflow: hidden;
}

.hp-promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 170, 0.1) 50%, transparent 100%);
    animation: promoShine 3s ease-in-out infinite;
}

@keyframes promoShine {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--hp-gradient);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.promo-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.promo-text strong {
    color: #00D4AA;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.promo-cta:hover {
    background: var(--hp-gradient);
    border-color: transparent;
    color: #fff;
}

/* ===== Hero Section ===== */
.hp-hero {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #f8fafb 0%, #fff 50%, #f0fdf9 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Hero Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-blob.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15) 0%, rgba(0, 180, 216, 0.1) 100%);
    top: -200px;
    right: -100px;
    animation: blobFloat1 15s ease-in-out infinite;
}

.hero-blob.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.12) 0%, rgba(0, 212, 170, 0.08) 100%);
    bottom: -100px;
    left: -100px;
    animation: blobFloat2 12s ease-in-out infinite;
}

@keyframes blobFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes blobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 40%, transparent 100%);
}

.hp-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hp-hero-content {
    max-width: 580px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.label-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--hp-primary);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.label-badge i {
    font-size: 12px;
}

.label-stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--hp-text-gray);
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--hp-success);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hp-hero .hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--hp-text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: var(--hp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hp-hero .hero-desc {
    font-size: 19px;
    line-height: 1.6;
    color: var(--hp-text-gray);
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--hp-gradient);
    color: #fff;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.25);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 212, 170, 0.4);
    color: #fff;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    background: #fff;
    color: var(--hp-text-dark);
    border: 2px solid var(--hp-border);
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-hero:hover {
    border-color: var(--hp-primary);
    color: var(--hp-primary);
    background: rgba(0, 212, 170, 0.05);
}

.hero-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--hp-text-gray);
    padding: 10px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--hp-border);
    transition: all 0.3s ease;
}

.hero-trust .trust-item:hover {
    border-color: var(--hp-primary);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.1);
}

.hero-trust .trust-icon {
    width: 28px;
    height: 28px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-trust .trust-icon i {
    font-size: 12px;
    color: var(--hp-primary);
}

/* Hero Visual */
.hp-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Dashboard Card */
.dashboard-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    transition: all 0.4s ease;
}

.dashboard-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 212, 170, 0.2);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hp-border);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--hp-text-dark);
}

.dashboard-title i {
    color: var(--hp-primary);
}

.dashboard-badge {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--hp-success);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--hp-success);
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.dashboard-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--hp-bg-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.metric-item:hover {
    background: rgba(0, 212, 170, 0.05);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.metric-icon.visitors {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: #3b82f6;
}

.metric-icon.inquiries {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #10b981;
}

.metric-icon.speed {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.1) 100%);
    color: #f59e0b;
}

.metric-info {
    flex: 1;
}

.metric-label {
    font-size: 12px;
    color: var(--hp-text-gray);
    margin-bottom: 4px;
}

.metric-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--hp-text-dark);
}

.metric-change {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.metric-change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--hp-success);
}

.metric-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.metric-badge.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--hp-success);
}

/* Dashboard Chart */
.dashboard-chart {
    background: var(--hp-bg-light);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text-dark);
}

.chart-period {
    font-size: 11px;
    color: var(--hp-text-light);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    gap: 8px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.3) 0%, rgba(0, 212, 170, 0.1) 100%);
    border-radius: 6px 6px 0 0;
    height: var(--height);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.chart-bar span {
    font-size: 10px;
    color: var(--hp-text-light);
    position: absolute;
    bottom: -20px;
}

.chart-bar:hover {
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.5) 0%, rgba(0, 212, 170, 0.2) 100%);
}

.chart-bar.active {
    background: var(--hp-gradient);
}

.chart-bar.active span {
    color: var(--hp-primary);
    font-weight: 600;
}

/* Dashboard Footer */
.dashboard-footer {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hp-border);
}

.footer-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--hp-text-gray);
}

.footer-stat i {
    color: var(--hp-warning);
}

.footer-stat strong {
    color: var(--hp-text-dark);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-text-dark);
    z-index: 3;
    border: 1px solid var(--hp-border);
}

.floating-element i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.floating-element.fe-1 {
    top: 20px;
    right: -20px;
    animation: floatElement1 4s ease-in-out infinite;
}

.floating-element.fe-1 i {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.floating-element.fe-2 {
    bottom: 80px;
    left: -30px;
    animation: floatElement2 5s ease-in-out infinite;
}

.floating-element.fe-2 i {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.floating-element.fe-3 {
    bottom: 20px;
    right: 20px;
    animation: floatElement3 4.5s ease-in-out infinite;
}

.floating-element.fe-3 i {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

@keyframes floatElement1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes floatElement2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-2deg); }
}

@keyframes floatElement3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* ===== Stats Section ===== */
.hp-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #191f28 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}

.hp-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 50%);
    animation: statsGlow 10s ease-in-out infinite;
}

@keyframes statsGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-4px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--hp-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-item .stat-value {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: flex;
    align-items: baseline;
}

.stat-item .stat-value .counter {
    color: #fff;
}

.stat-item .stat-suffix {
    font-size: 24px;
    color: var(--hp-primary);
    margin-left: 2px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--hp-text-dark);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 17px;
    color: var(--hp-text-gray);
    margin-top: 16px;
    line-height: 1.6;
}

/* ===== Services Section ===== */
.hp-services {
    padding: 120px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.service-card {
    background: #fff;
    border: 2px solid var(--hp-border);
    border-radius: 24px;
    padding: 32px 24px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--hp-primary);
    box-shadow: 0 20px 50px rgba(0, 212, 170, 0.12);
    transform: translateY(-8px);
}

.service-card.featured {
    border-color: var(--hp-primary);
    box-shadow: 0 20px 50px rgba(0, 212, 170, 0.15);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: var(--hp-primary);
}

.card-badge.best {
    background: var(--hp-gradient);
    color: #fff;
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 28px;
    color: var(--hp-primary);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--hp-text-dark);
    margin-bottom: 10px;
}

.service-card > p {
    font-size: 14px;
    color: var(--hp-text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 42px;
}

.card-features {
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--hp-text-gray);
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f4;
}

.card-features li:last-child {
    border-bottom: none;
}

.card-features li i {
    color: var(--hp-primary);
    font-size: 12px;
}

.card-price {
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 2px solid var(--hp-border);
}

.price-label {
    font-size: 13px;
    color: var(--hp-text-light);
    display: block;
    margin-bottom: 4px;
}

.price-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-text-dark);
}

.card-cta {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--hp-bg-light);
    color: var(--hp-text-dark);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.card-cta:hover {
    background: rgba(0, 212, 170, 0.1);
    color: var(--hp-primary);
}

.card-cta.primary {
    background: var(--hp-gradient);
    color: #fff;
}

.card-cta.primary:hover {
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.35);
    transform: translateY(-2px);
}

/* Service Card Hover Enhancement */
.service-card .card-icon {
    transition: all 0.4s ease;
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--hp-gradient);
}

.service-card:hover .card-icon i {
    color: #fff;
}

/* ===== Why Section ===== */
.hp-why {
    padding: 120px 0;
    background: var(--hp-bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.why-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 24px;
    padding: 36px;
    border: 1px solid var(--hp-border);
    transition: all 0.3s ease;
}

.why-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.why-number {
    width: 56px;
    height: 56px;
    background: var(--hp-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.why-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--hp-text-dark);
    margin-bottom: 10px;
}

.why-content p {
    font-size: 15px;
    color: var(--hp-text-gray);
    line-height: 1.6;
}

/* ===== Process Section ===== */
.hp-process {
    padding: 120px 0;
    background: #fff;
}

.process-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 0 16px;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--hp-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 212, 170, 0.3);
}

.step-icon i {
    font-size: 32px;
    color: #fff;
}

.step-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--hp-primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

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

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

.step-duration {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hp-primary);
}

.process-connector {
    width: 60px;
    height: 3px;
    background: var(--hp-gradient);
    margin-top: 40px;
    flex-shrink: 0;
}

/* ===== Portfolio Section ===== */
.hp-portfolio {
    padding: 120px 0;
    background: var(--hp-bg-light);
}

.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid var(--hp-border);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hp-text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--hp-primary);
    color: var(--hp-primary);
}

.tab-btn.active {
    background: var(--hp-gradient);
    border-color: transparent;
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

.portfolio-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5f3 0%, #d4ebe7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-placeholder i {
    font-size: 48px;
    color: var(--hp-primary);
    opacity: 0.5;
}

.thumb-placeholder.shop {
    background: linear-gradient(135deg, #fef3e2 0%, #fde4bd 100%);
}

.thumb-placeholder.shop i { color: #f59e0b; }

.thumb-placeholder.landing {
    background: linear-gradient(135deg, #e8f0fe 0%, #c7dbfc 100%);
}

.thumb-placeholder.landing i { color: #3b82f6; }

.thumb-placeholder.medical {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.thumb-placeholder.medical i { color: #ef4444; }

.thumb-placeholder.food {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
}

.thumb-placeholder.food i { color: #eab308; }

.thumb-placeholder.edu {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
}

.thumb-placeholder.edu i { color: #a855f7; }

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 31, 40, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.overlay-btn {
    padding: 12px 24px;
    background: var(--hp-gradient);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s ease;
}

.overlay-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--hp-text-dark);
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 14px;
    color: var(--hp-text-gray);
}

/* ===== Responsive Section ===== */
.hp-responsive {
    padding: 120px 0;
    background: #fff;
}

.responsive-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.responsive-text .section-title {
    text-align: left;
}

.responsive-text .section-desc {
    text-align: left;
}

.responsive-features {
    margin-top: 40px;
}

.responsive-features li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--hp-border);
}

.responsive-features li:last-child {
    border-bottom: none;
}

.responsive-features .feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.responsive-features .feature-icon i {
    font-size: 20px;
    color: var(--hp-primary);
}

.responsive-features .feature-text h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--hp-text-dark);
    margin-bottom: 6px;
}

.responsive-features .feature-text p {
    font-size: 14px;
    color: var(--hp-text-gray);
}

/* Devices Showcase */
.devices-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 400px;
}

.device {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.device-screen {
    background: linear-gradient(135deg, #e8f5f3 0%, #d4ebe7 100%);
}

.device.desktop {
    width: 300px;
    border-radius: 12px;
    padding: 8px;
    position: relative;
    z-index: 1;
}

.device.desktop .device-screen {
    height: 180px;
    border-radius: 8px;
}

.device.tablet {
    width: 160px;
    padding: 6px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 2;
}

.device.tablet .device-screen {
    height: 200px;
    border-radius: 6px;
}

.device.mobile {
    width: 80px;
    padding: 4px;
    position: absolute;
    right: 0;
    bottom: 60px;
    z-index: 3;
    border-radius: 16px;
}

.device.mobile .device-screen {
    height: 140px;
    border-radius: 12px;
}

/* ===== Pricing Section ===== */
.hp-pricing {
    padding: 120px 0;
    background: var(--hp-bg-light);
}

.pricing-table {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--hp-border);
}

.pricing-table th {
    background: var(--hp-bg-light);
    font-size: 16px;
    font-weight: 700;
    color: var(--hp-text-dark);
}

.pricing-table th:first-child {
    text-align: left;
}

.pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--hp-text-dark);
}

.pricing-table td {
    font-size: 15px;
    color: var(--hp-text-gray);
}

.pricing-table td i.fa-check {
    color: var(--hp-primary);
    font-size: 18px;
}

.pricing-table td i.fa-minus {
    color: #d1d5db;
    font-size: 18px;
}

.pricing-table tr.price-row td {
    background: rgba(0, 212, 170, 0.05);
    border-bottom: none;
}

.pricing-table tr.price-row td strong {
    font-size: 20px;
    color: var(--hp-primary);
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--hp-text-gray);
}

.pricing-note i {
    color: var(--hp-primary);
    margin-right: 8px;
}

/* ===== Reviews Section ===== */
.hp-reviews {
    padding: 120px 0;
    background: #fff;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.reviews-header .section-title {
    text-align: left;
}

.header-right {
    text-align: right;
}

.rating-score {
    font-size: 56px;
    font-weight: 800;
    color: var(--hp-primary);
    line-height: 1;
}

.rating-stars {
    color: #fbbf24;
    font-size: 18px;
    margin: 8px 0;
}

.rating-count {
    font-size: 14px;
    color: var(--hp-text-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--hp-bg-light);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.review-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hp-text-dark);
    margin-bottom: 24px;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--hp-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--hp-text-dark);
}

.reviewer-company {
    font-size: 13px;
    color: var(--hp-text-gray);
}

/* ===== Reviews Marquee Section ===== */
.hp-reviews-marquee {
    padding: 100px 0 80px;
    background: #fff;
    overflow: hidden;
}

.hp-reviews-marquee .reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.hp-reviews-marquee .section-intro.left {
    text-align: left;
}

.hp-reviews-marquee .reviews-score {
    text-align: right;
}

.hp-reviews-marquee .score-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--hp-primary);
    line-height: 1;
}

.hp-reviews-marquee .score-stars {
    color: #fbbf24;
    font-size: 18px;
    margin: 8px 0;
}

.hp-reviews-marquee .score-count {
    font-size: 14px;
    color: var(--hp-text-gray);
}

/* 리뷰 마퀴 */
.hp-reviews-marquee .review-marquee-wrapper {
    overflow: hidden;
    padding: 10px 0;
}

.hp-reviews-marquee .review-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hp-reviews-marquee .review-marquee::before,
.hp-reviews-marquee .review-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hp-reviews-marquee .review-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.hp-reviews-marquee .review-marquee::after {
    right: 0;
    background: linear-gradient(90deg, transparent 0%, #fff 100%);
}

.hp-reviews-marquee .review-marquee-track {
    display: flex;
    gap: 24px;
    width: fit-content;
    animation: hp-review-scroll 45s linear infinite;
}

@keyframes hp-review-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hp-reviews-marquee .review-marquee:hover .review-marquee-track {
    animation-play-state: paused;
}

/* 리뷰 카드 (마퀴) */
.hp-reviews-marquee .review-card {
    flex-shrink: 0;
    width: 380px;
    background: var(--hp-bg-light);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--hp-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.hp-reviews-marquee .review-card:hover {
    background: #fff;
    border-color: var(--hp-primary);
    box-shadow: 0 12px 30px rgba(0, 212, 170, 0.12);
    transform: translateY(-4px);
}

.hp-reviews-marquee .review-stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 14px;
}

.hp-reviews-marquee .review-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--hp-text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.hp-reviews-marquee .review-author-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-reviews-marquee .author-avatar-mini {
    width: 40px;
    height: 40px;
    background: var(--hp-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

.hp-reviews-marquee .review-author-mini div {
    display: flex;
    flex-direction: column;
}

.hp-reviews-marquee .review-author-mini strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-text-dark);
}

.hp-reviews-marquee .review-author-mini span {
    font-size: 12px;
    color: var(--hp-text-gray);
}

/* ===== FAQ Section ===== */
.hp-faq {
    padding: 120px 0;
    background: var(--hp-bg-light);
}

.hp-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.hp-faq .faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--hp-border);
    transition: all 0.3s ease;
}

.hp-faq .faq-item:hover,
.hp-faq .faq-item.active {
    border-color: var(--hp-primary);
}

.hp-faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
}

.hp-faq .faq-question h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--hp-text-dark);
}

.hp-faq .faq-toggle {
    width: 32px;
    height: 32px;
    background: var(--hp-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-text-gray);
    transition: all 0.3s ease;
}

.hp-faq .faq-item.active .faq-toggle {
    background: var(--hp-primary);
    color: #fff;
    transform: rotate(45deg);
}

.hp-faq .faq-answer {
    display: none;
    padding: 0 28px 24px;
}

.hp-faq .faq-item.active .faq-answer {
    display: block;
}

.hp-faq .faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hp-text-gray);
}

/* ===== CTA Section ===== */
.hp-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #191f28 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}

.hp-cta::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hp-cta h2 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hp-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.hp-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 44px;
    background: #fff;
    color: var(--hp-text-dark);
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 36px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Floating Buttons ===== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.floating-btn.kakao {
    background: #fee500;
    color: #000;
}

.floating-btn.phone {
    background: var(--hp-gradient);
    color: #fff;
}

.floating-btn i {
    font-size: 24px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .hp-hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hp-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hp-hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .floating-element.fe-1 {
        right: 0;
    }

    .floating-element.fe-2 {
        left: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .hp-hero .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 36px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        flex-direction: column;
        gap: 32px;
    }

    .process-connector {
        width: 3px;
        height: 32px;
        margin: 0 auto;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .responsive-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .responsive-text .section-title,
    .responsive-text .section-desc {
        text-align: center;
    }

    .responsive-visual {
        order: -1;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .header-right {
        text-align: left;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hp-promo-banner {
        padding: 12px 0;
    }

    .promo-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hp-hero {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .hp-hero .hero-title {
        font-size: 28px;
    }

    .hp-hero .hero-desc {
        font-size: 16px;
    }

    .hero-label {
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary-hero,
    .btn-outline-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 10px;
    }

    .hero-trust .trust-item {
        justify-content: center;
    }

    .hp-hero-visual {
        display: none;
    }

    .dashboard-card {
        max-width: 100%;
        padding: 20px;
    }

    .floating-element {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-item .stat-value {
        font-size: 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .portfolio-tabs {
        flex-wrap: wrap;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .pricing-table {
        overflow-x: auto;
    }

    .pricing-table table {
        min-width: 600px;
    }

    .hp-cta h2 {
        font-size: 28px;
    }

    .hp-cta .cta-buttons {
        flex-direction: column;
    }

    .btn-cta-white,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
    }

    /* HP Reviews Marquee 반응형 */
    .hp-reviews-marquee {
        padding: 60px 0;
    }

    .hp-reviews-marquee .reviews-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        margin-bottom: 32px;
    }

    .hp-reviews-marquee .section-intro.left {
        text-align: center;
    }

    .hp-reviews-marquee .reviews-score {
        justify-content: center;
    }

    .hp-reviews-marquee .review-card {
        min-width: 280px;
        padding: 24px;
    }

    .hp-reviews-marquee .review-text {
        font-size: 14px;
    }

    .hp-reviews-marquee .review-marquee-track {
        animation-duration: 35s;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
    }

    .floating-btn i {
        font-size: 20px;
    }
}
