:root {
    --primary-color: #FF6B35;
    --secondary-color: #4ECDC4;
    --accent-purple: #7B68EE;
    --accent-pink: #FF69B4;
}

[data-bs-theme="dark"] body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

/* index 페이지 다크모드 */
[data-bs-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-bs-theme="dark"] .logo,
[data-bs-theme="dark"] .hero-title {
    color: #ffffff;
}

[data-bs-theme="dark"] .feature-title {
    color: #ffffff;
}

[data-bs-theme="dark"] .feature-desc {
    color: #b0b0b0;
}

[data-bs-theme="dark"] .service-tag {
    background-color: #3a3a3a;
    border-color: #4a4a4a;
    color: #d0d0d0;
}

[data-bs-theme="dark"] .service-tag:hover {
    background-color: #4a4a4a;
}

[data-bs-theme="dark"] .feature-stats {
    border-top-color: #3a3a3a;
}

[data-bs-theme="dark"] .stat-item {
    color: #b0b0b0;
}

[data-bs-theme="dark"] .stat-item i {
    color: #808080;
}

.hero-section {
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF9F2 50%, #FDFBFF 100%);
    padding: 40px 0;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.logo {
    font-size: 48px;
    font-weight: 900;
    color: #000;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.hero-title {
    font-family: sans-serif;
    font-size: 68px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 40px;
    transition: color 0.3s ease;
    -webkit-text-stroke: 0.5px currentColor;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #2d2d2d 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    font-weight: 700;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.3s; }
.title-line:nth-child(3) { animation-delay: 0.5s; }

.title-line.highlight {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F5C 50%, #FFB088 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    padding: 20px;
}

.hero-main {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-icon-area {
    position: relative;
    width: 120px;
    height: 180px;
    flex-shrink: 0;
}

.hero-paw {
    position: absolute;
    color: var(--primary-color);
    opacity: 0;
    animation: pawAppear 0.5s ease forwards;
}

.paw-1 {
    font-size: 32px;
    top: 20px;
    left: 10px;
    transform: rotate(-20deg);
    animation-delay: 0.8s;
}

.paw-2 {
    font-size: 42px;
    top: 60px;
    left: 50px;
    transform: rotate(15deg);
    animation-delay: 1s;
    color: var(--secondary-color);
}

.paw-3 {
    font-size: 28px;
    top: 120px;
    left: 20px;
    transform: rotate(-10deg);
    animation-delay: 1.2s;
    color: var(--accent-purple);
}

.hero-heart {
    position: absolute;
    font-size: 24px;
    top: 100px;
    left: 70px;
    color: var(--accent-pink);
    opacity: 0;
    animation: heartBeat 1s ease forwards;
    animation-delay: 1.4s;
}

@keyframes pawAppear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(var(--rotate, -20deg));
    }
}

@keyframes heartBeat {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.9;
        transform: scale(1);
    }
}

.desc-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.desc-item:nth-child(1) .desc-icon { color: var(--primary-color); }
.desc-item:nth-child(2) .desc-icon { color: #FFD700; }
.desc-item:nth-child(3) .desc-icon { color: var(--accent-purple); }

.hero-desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.desc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    margin: 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.desc-item:nth-child(1) { animation-delay: 0.7s; }
.desc-item:nth-child(2) { animation-delay: 0.85s; }
.desc-item:nth-child(3) { animation-delay: 1s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.desc-item:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
}

/* 다크모드 hero-icon */
[data-bs-theme="dark"] .hero-paw {
    opacity: 0.6;
}

[data-bs-theme="dark"] .hero-heart {
    opacity: 0.7;
}

/* 다크모드 hero */
[data-bs-theme="dark"] .title-line {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-bs-theme="dark"] .title-line.highlight {
    background: linear-gradient(135deg, #FF8F5C 0%, #FFB088 50%, #FFD4B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-bs-theme="dark"] .desc-item {
    background: rgba(50, 50, 50, 0.7);
    border-color: rgba(80, 80, 80, 0.5);
    color: #c0c0c0;
}

[data-bs-theme="dark"] .desc-item:hover {
    background: rgba(60, 60, 60, 0.9);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.15);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.icon-orange { background-color: #FFE5D9; color: var(--primary-color); }
.icon-purple { background-color: #E8E4F3; color: var(--accent-purple); }
.icon-green { background-color: #D4F1F4; color: #2ECC71; }

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
    transition: color 0.3s ease;
}

.feature-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.preview-image {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 14px;
}

.service-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.service-tag {
    background-color: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    /*font-size: 13px;*/
    color: #495057;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    cursor: pointer;
}

.service-tag:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
    border-color: #3b82f6;
}

.service-tag i {
    margin-right: 4px;
}

.feature-stats {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.stat-item i {
    color: #999;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    .hero-main {
        flex-direction: column;
        gap: 20px;
    }
    .hero-icon-area {
        display: none;
    }
    .desc-item {
        font-size: 14px;
        padding: 12px 16px;
    }
    .desc-icon {
        font-size: 18px;
    }
    .card-grid {
        grid-template-columns: 1fr;
    }
    .hero-section {
        padding: 30px 0 50px 0;
    }
}

/* 검색엔진 최적화용 숨김 텍스트 (화면에서만 숨김) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}