/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 접근성을 위한 스크린 리더 전용 클래스 */
.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;
}

/* 포커스 표시 개선 */
*:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* 스킵 링크 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    z-index: var(--z-tooltip);
}

.skip-link:focus {
    top: 6px;
}

/* 이미지 로딩 최적화 */
.offer-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    /* 로딩 중 placeholder 배경 */
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
}

/* 이미지 placeholder 애니메이션 */
.offer-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 이미지 로드 완료 시 shimmer 숨김 */
.offer-image:has(img[src]:not([src=""])) {
    background: #f8f9fa;
}

.offer-image:has(img[src]:not([src=""]))::before {
    display: none;
}

/* 이미지 최적화를 위한 스타일 */
.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-fast), opacity 0.3s ease;
    /* 성능 최적화 */
    will-change: transform;
    transform: translateZ(0);
    /* 이미지 로딩 최적화 */
    image-rendering: -webkit-optimize-contrast;
    /* GPU 가속 */
    backface-visibility: hidden;
    perspective: 1000px;
    /* 레이어 위로 올림 */
    position: relative;
    z-index: 2;
}

html {
    height: 100%;
    overflow-x: hidden;
    /* 배경 이미지가 끊기지 않도록 html에도 배경 설정 - Tech Background */
    background: url('../images/tech-background.svg') center center / cover no-repeat;
    background-attachment: scroll;
}

body {
    font-family: 'Pretendard Variable', 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #eaf2fb;
    /* Safari 호환성을 위한 배경 설정 - Tech Background */
    background: url('../images/tech-background.svg') center center / cover no-repeat;
    /* 성능 최적화 */
    will-change: auto;
    transform: translateZ(0);
    /* Global Animation */
    animation: fadeInUp 0.8s ease-out;
    /* 배경 고정 및 부드러운 전환 */
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* WebKit 브라우저 호환성 */
    -webkit-background-size: cover;
    -webkit-background-position: center;
    -webkit-background-repeat: no-repeat;
    -webkit-background-attachment: scroll;
    /* 페이지 전환 시 부드러운 처리 */
    transition: opacity 0.3s ease-in-out;
    /* 배경 이미지가 콘텐츠 길이에 영향을 받지 않도록 설정 */
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CSS 변수 정의 - 디자인 시스템 */
:root {
    /* 색상 팔레트 */
    --color-primary: #007ACC;
    --color-primary-dark: #005a99;
    --color-primary-light: #4da6ff;
    --color-secondary: #27ae60;
    --color-secondary-dark: #219150;
    --color-secondary-light: #2ecc71;
    --color-accent: #6ec1e4;
    --color-text: #2c3e50;
    --color-text-light: #666;
    --color-text-muted: #999;
    --color-background: #ffffff;
    --color-background-overlay: rgba(255, 255, 255, 0.9);
    --color-border: #ecf0f1;
    --color-border-light: rgba(0, 122, 204, 0.2);

    /* 간격 시스템 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* 타이포그래피 */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;

    /* 폰트 두께 */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* 보더 반경 */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-2xl: 20px;
    --border-radius-full: 50%;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(16px);

    /* 그림자 - More diffused */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.15);

    /* 전환 효과 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-인덱스 */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* 기존 색상 호환성 유지 */
    --color-main: var(--color-secondary);
    --color-main-dark: var(--color-secondary-dark);
    --color-sub: #95a5a6;
    --color-sub-light: #e8f5e8;
}

/* 헤더 */
.header {
    background: none !important;
    background-color: transparent !important;
    padding: var(--spacing-md) 0;
    position: relative;
    z-index: var(--z-sticky);
}

/* 헤더 배경 완전 제거 */
body .header,
html .header {
    background: none !important;
    background-color: transparent !important;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    color: #fff;
    font-weight: var(--font-weight-extrabold);
    font-size: var(--font-size-2xl);
    font-family: 'Paperlogy-8ExtraBold', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.5px;
}

/* Increase header logo size across all pages */
.logo img {
    height: 56px !important;
    width: auto !important;
    display: block;
    border-radius: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.logo a:has(img) {
    display: flex;
    align-items: center;
}

.logo img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav {
    display: flex;
    gap: var(--spacing-xl);
    justify-content: flex-end;
}

.nav-link {
    color: #fff;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

/* Main content */
.main {
    padding: 2rem 0;
    /* 배경 이미지와의 레이어링 개선 */
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #27ae60;
    margin-bottom: 2rem;
    text-align: center;
}

/* Word Cloud Section */
/* Word Cloud Section - Glassmorphism */
.wordcloud-section {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    padding-top: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--glass-shadow);
    /* 성능 최적화 */
    will-change: auto;
    transform: translateZ(0);
    /* 배경 이미지와의 레이어링 개선 */
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wordcloud-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.wordcloud-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #007ACC;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* 키워드 검색 입력창 스타일 */
.search-container {
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.keyword-search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 122, 204, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.keyword-search-input:focus {
    outline: none;
    border-color: #007ACC;
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
    background: rgba(255, 255, 255, 1);
}

.keyword-search-input::placeholder {
    color: #999;
    font-style: italic;
}

.search-btn-icon {
    position: absolute;
    right: 2.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #007ACC;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-btn-icon:hover {
    background: rgba(0, 122, 204, 0.1);
    color: #005a99;
    transform: translateY(-50%) scale(1.1);
}

.clear-search-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.clear-search-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #666;
}

/* Autocomplete Dropdown Styles */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #007ACC;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
    color: #333;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: rgba(0, 122, 204, 0.1);
    color: #007ACC;
}

.autocomplete-item.active {
    background: rgba(0, 122, 204, 0.15);
}

/* Focus states for accessibility */
.keyword-search-input:focus+.clear-search-btn+.autocomplete-dropdown {
    border-color: #007ACC;
}

.wordcloud-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    min-height: 120px;
    align-items: center;
}

/* 워드클라우드 태그 */
.wordcloud-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 122, 204, 0.04);
    color: #007ACC;
    border: 1px solid #007ACC;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    /* 성능 최적화 */
    will-change: transform;
    transform: translateZ(0);
}



.wordcloud-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
    background: linear-gradient(135deg, #4da6ff 0%, #007ACC 100%);
    color: #fff;
}

.wordcloud-tag.active {
    background: linear-gradient(135deg, #4da6ff 0%, #007ACC 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

.wordcloud-tag.size-1 {
    font-size: 0.8rem;
}

.wordcloud-tag.size-2 {
    font-size: 0.9rem;
}

.wordcloud-tag.size-3 {
    font-size: 1rem;
}

.wordcloud-tag.size-4 {
    font-size: 1.1rem;
}

.wordcloud-tag.size-5 {
    font-size: 1.2rem;
}

/* 카테고리 구분선 */
.category-divider {
    width: 100%;
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
}

.category-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 122, 204, 0.3) 20%,
            rgba(0, 122, 204, 0.6) 50%,
            rgba(0, 122, 204, 0.3) 80%,
            transparent 100%);
}

.divider-text {
    background: #007ACC;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 15px;
    border: 1px solid #007ACC;
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.divider-text:hover {
    background: #005a99;
    border-color: #005a99;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 122, 204, 0.3);
}

.divider-label {
    flex: 1;
}

.divider-toggle {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.category-divider.expanded .divider-toggle {
    transform: rotate(180deg);
}

/* 단일 사용 카테고리 컨테이너 */
.single-use-container {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 122, 204, 0.1);
    animation: slideDown 0.3s ease;
}

/* 단일 사용 카테고리 내부 태그들 사이 간격 */
.single-use-container .wordcloud-tag {
    margin: 0.3rem 0.2rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-info {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.clear-filter {
    display: inline-block;
    margin-left: 1rem;
    color: #27ae60;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.clear-filter:hover {
    color: #2ecc71;
}

/* 12대 전략기술 워드클라우드 섹션 */
.strategy-wordcloud-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 기타 키워드 섹션 스타일 */
.other-keywords-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 122, 204, 0.1);
}

.other-keywords-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    color: #666;
}

.other-keywords-header:hover {
    background: rgba(0, 122, 204, 0.05);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin: 0 -1rem;
}

.other-keywords-toggle {
    color: #666;
    font-size: 1rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    user-select: none;
}

.other-keywords-toggle.rotated {
    transform: rotate(180deg);
}

.other-keywords-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.other-keywords-count {
    font-size: 0.8rem;
    color: #999;
    background: rgba(0, 122, 204, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.other-keywords-content {
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.other-keywords-content .wordcloud-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.other-keywords-content .wordcloud-tag {
    background: rgba(255, 255, 255, 0.6);
    color: #666;
    border: 1px solid rgba(0, 122, 204, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.other-keywords-content .wordcloud-tag:hover {
    background: rgba(0, 122, 204, 0.1);
    border-color: rgba(0, 122, 204, 0.4);
    transform: translateY(-1px);
}

.other-keywords-content .wordcloud-tag.active {
    background: rgba(0, 122, 204, 0.2);
    color: #007ACC;
    border-color: #007ACC;
}

.strategy-wordcloud-section {
    padding: 1rem 2rem;
}

.strategy-wordcloud-section .strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.strategy-wordcloud-section .strategy-header:hover {
    background: rgba(227, 242, 253, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin: 0 -1rem;
}

.strategy-wordcloud-section .wordcloud-title {
    color: #1976d2;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

.strategy-wordcloud-section .strategy-toggle {
    color: #1976d2;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    user-select: none;
}

.strategy-wordcloud-section .strategy-toggle.rotated {
    transform: rotate(180deg);
}

.strategy-wordcloud-section .strategy-content {
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.strategy-wordcloud-section .wordcloud-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.125rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 강제 줄바꿈을 위한 스타일 */
.strategy-wordcloud-section .wordcloud-container .wordcloud-tag:nth-child(6) {
    flex-basis: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    visibility: hidden;
}

.strategy-wordcloud-section .wordcloud-container .wordcloud-tag:nth-child(7) {
    margin-left: 0;
}

.strategy-wordcloud-section .wordcloud-tag {
    background: rgba(227, 242, 253, 0.9);
    color: #1976d2;
    border: 2px solid rgba(25, 118, 210, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    box-sizing: border-box;
    margin: 0 0.125rem;
}

.strategy-wordcloud-section .wordcloud-tag:hover {
    background: rgba(25, 118, 210, 0.9);
    color: #fff;
    border-color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.strategy-wordcloud-section .wordcloud-tag.active {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
    animation: pulse 2s infinite;
}

/* Offers grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Offer cards with Container Queries */
/* Offer cards with Glassmorphism */
.offer-card {
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for readability */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    /* 성능 최적화 */
    will-change: transform;
    transform: translateZ(0);
    /* Container Query 설정 */
    container-type: inline-size;
    container-name: offer-card;
}

.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Container Queries for offer cards */
@container offer-card (max-width: 300px) {
    .offer-content {
        padding: var(--spacing-sm);
    }

    .offer-title {
        font-size: var(--font-size-sm);
    }

    .offer-description {
        font-size: var(--font-size-xs);
    }
}

@container offer-card (min-width: 400px) {
    .offer-content {
        padding: var(--spacing-lg);
    }

    .offer-title {
        font-size: var(--font-size-lg);
    }

    .offer-description {
        font-size: var(--font-size-base);
    }
}

.offer-card.hidden {
    display: none;
}

/* offer-image 스타일은 위에서 정의됨 */

.offer-card:hover .offer-image img {
    transform: scale(1.05);
}

.offer-number {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.offer-content {
    padding: var(--spacing-lg);
}

.offer-categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

/* 카테고리 태그 */
.category-tag {
    display: inline-block;
    margin: 0 var(--spacing-xs) 0 0;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    color: var(--color-primary);
    background: rgba(0, 122, 204, 0.04);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-xl);
    font-weight: var(--font-weight-medium);
    vertical-align: middle;
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.offer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #007ACC;
}

.title-text {
    color: #007ACC;
    flex: 1;
}

.play-icon {
    color: #007ACC;
    font-size: 0.8rem;
}

.offer-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    /* 3줄 제한 및 말줄임표 적용 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 기존 스타일 제거 */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* 최대 높이 설정으로 3줄 보장 */
    max-height: calc(1.5em * 3);
    /* 브라우저 호환성을 위한 추가 속성 */
    display: -moz-box;
    -moz-line-clamp: 3;
    -moz-box-orient: vertical;
    /* Firefox 대체 방법 */
    position: relative;
}

/* Firefox에서 3줄 제한을 위한 대체 방법 */
@supports not (-webkit-line-clamp: 3) {
    .offer-description {
        position: relative;
        max-height: calc(1.5em * 3);
        overflow: hidden;
    }

    .offer-description::after {
        content: '...';
        position: absolute;
        bottom: 0;
        right: 0;
        background: linear-gradient(to right, transparent, #fff 50%);
        padding-left: 40px;
        color: #666;
        font-size: 0.9rem;
    }
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* 버튼 */
.btn-primary {
    background: #27ae60;
    color: #fff;
}

.btn-primary:hover {
    background: #2ecc71;
}

.btn-secondary {
    background: #95a5a6;
    color: #fff;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-delete {
    background: #95a5a6;
    color: #fff;
}

.btn-delete:hover {
    background: #7f8c8d;
}

.btn-blue {
    background: #007ACC;
    color: #fff;
}

.btn-blue:hover {
    background: #005fa3;
}

.btn-icon {
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 10;
    font-weight: 600;
}

/* Detail page styles */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.detail-header {
    margin-bottom: 2rem;
}

.detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.detail-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.detail-main {
    border: 1px solid #ecf0f1;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: none;
}

.detail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.detail-image-caption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    color: #007ACC;
    position: relative;
    padding-left: 1.25rem;
}

.detail-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 4px;
    height: 1em;
    background: #007ACC;
    border-radius: 2px;
    display: inline-block;
}

.detail-section p,
#rcardSection p {
    color: #222;
    position: static;
    padding-left: 0;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.detail-section p::before,
#rcardSection p::before {
    display: none !important;
    content: none !important;
}

.detail-sidebar {
    border: 1px solid #ecf0f1;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: none;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-tag {
    background: rgba(0, 122, 204, 0.04);
    color: #007ACC;
    border: 1px solid #007ACC;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin-bottom: 2px;
}

.sidebar-tag:hover {
    background: rgba(0, 122, 204, 0.12);
    color: #005999;
}

.sidebar-link {
    display: block;
    color: #27ae60;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.sidebar-link:hover {
    text-decoration: underline;
}

/* 링크 강조 */
a,
.sidebar-link {
    color: #007ACC;
}

a:hover,
.sidebar-link:hover {
    color: #005999;
}

/* 다운로드 버튼 */
.download-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
}

.download-btn:hover {
    background: #7f8c8d;
}

/* Hero Section - Old slider styles removed, using new premium hero layout */

/* Responsive design */
@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* 모바일에서 배경 이미지 최적화 */
    body {
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
        min-height: 100vh;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.2rem;
        flex-shrink: 1;
        min-width: 0;
    }

    .logo img {
        height: 28px;
    }

    .logo a {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav {
        gap: 0.8rem;
        flex-shrink: 0;
    }

    .nav-link {
        font-size: 0.9rem;
        white-space: nowrap;
    }

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

    .detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-title {
        font-size: 2rem;
    }

    .wordcloud-container {
        gap: 0.5rem;
    }

    .wordcloud-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.detail-sidebar #patents table,
.detail-sidebar #patents th,
.detail-sidebar #patents td {
    color: #222;
}

/* 상담신청 버튼 스타일 */
.consult-btn {
    background: linear-gradient(135deg, #007ACC 0%, #5a6fd8 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.4);
}

.consult-btn span {
    font-size: 1.2rem;
}

/* 상담신청 섹션 */
.consult-section {
    margin-bottom: 2rem;
}

/* 상세화면 헤더 스타일 - 홈화면과 동일하게 통일 */
.detail-page-body .header {
    background: transparent !important;
    box-shadow: 0 2px 12px rgba(30, 60, 114, 0.12) !important;
    border-radius: 0 0 24px 24px !important;
}

.detail-page-body .logo,
.detail-page-body .nav-link {
    color: #fff !important;
}

.detail-page-body .nav-link:hover,
.detail-page-body .nav-link.active {
    color: #6ec1e4 !important;
}

/* json-viewer 헤더 스타일 - admin 페이지와 동일하게 통일 */
.json-viewer-body .header {
    background: transparent !important;
    box-shadow: 0 2px 12px rgba(30, 60, 114, 0.12) !important;
    border-radius: 0 0 24px 24px !important;
}

.json-viewer-body .logo,
.json-viewer-body .nav-link {
    color: #fff !important;
}

.json-viewer-body .nav-link:hover,
.json-viewer-body .nav-link.active {
    color: #6ec1e4 !important;
}

/* introduction 헤더 스타일 - 홈화면과 동일하게 통일 */
.intro-page-body .header {
    background: transparent !important;
    box-shadow: 0 2px 12px rgba(30, 60, 114, 0.12) !important;
    border-radius: 0 0 24px 24px !important;
}

.intro-page-body .logo,
.intro-page-body .nav-link {
    color: #fff !important;
}

.intro-page-body .nav-link:hover,
.intro-page-body .nav-link.active {
    color: #6ec1e4 !important;
}

.logo-link {
    text-decoration: none !important;
}

/* 매우 작은 화면 최적화 */
@media (max-width: 480px) {
    .header .container {
        padding: 0 10px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        height: 24px;
    }

    .logo a {
        font-size: 0.8rem;
    }

    .nav {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }
}

/* 모바일 환경에서 배경 이미지 최적화 */
@media (max-width: 768px) {
    body {
        background: url('../images/tech-background.svg') center center / cover no-repeat;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        -webkit-background-position: center;
        -webkit-background-attachment: scroll;
        -webkit-background-repeat: no-repeat;
        min-height: 100vh;
    }

    /* 배경 이미지 로딩 실패 시 대체 스타일 */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(120deg, #0a1628 0%, #1a3a5c 50%, #0d2847 100%);
        z-index: -1;
    }

    .header .container {
        padding: 0.5rem 10px;
    }

    .nav {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

/* admin 페이지 헤더 스타일 - 홈화면과 동일하게 통일 */
.admin-page-body .header {
    background: transparent !important;
    box-shadow: 0 2px 12px rgba(30, 60, 114, 0.12) !important;
    border-radius: 0 0 24px 24px !important;
}

.admin-page-body .logo,
.admin-page-body .nav-link {
    color: #fff !important;
}

.admin-page-body .nav-link:hover,
.admin-page-body .nav-link.active {
    color: #6ec1e4 !important;
}

/* 상담신청 버튼 스타일 */
.consult-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.4);
}

/* 상담신청 섹션 */
.consult-section {
    margin-bottom: 2rem;
}

/* 로딩 인디케이터 */
.loading-indicator {
    text-align: center;
    padding: 1rem;
    margin: 1rem 0;
}

.loading-indicator .loading {
    color: #666;
    font-size: 0.9rem;
}

/* 페이지네이션 정보 */
.page-info {
    text-align: center;
    padding: 1rem;
    color: #666;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 1rem 0;
}

/* 무한 스크롤 최적화 */
.offers-grid {
    min-height: 400px;
    /* 스크롤바가 제대로 표시되도록 최소 높이 설정 */
    padding-bottom: 100px;
    /* 하단 여백 추가로 스크롤 감지 개선 */
}

/* 로딩 상태 최적화 */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 2rem 0;
}

/* 카드 그리드 컨테이너 */
.offers-section {
    min-height: 100vh;
    /* 최소 뷰포트 높이 보장 */
    padding-top: 2rem;
    scroll-margin-top: 2rem;
}

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float Animation for Hero Elements */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Hero Section - Full Landing Page Style */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    margin: -2rem 0 0 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-text .lead {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 90%;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(39, 174, 96, 0.5);
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: white;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: translateX(5px);
}

.hero-stat:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.stat-info .count {
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #6ec1e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-info .label {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 400;
}

/* Tech Cloud in Hero Card */
.tech-cloud-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 0.5rem 0;
}

.tech-cloud-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-cloud-tag:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Glow effects for tech cloud tags */
.tech-cloud-tag.glow-1 {
    box-shadow: 0 0 15px rgba(110, 193, 228, 0.5), 0 0 30px rgba(110, 193, 228, 0.3);
    border-color: rgba(110, 193, 228, 0.5);
    animation: glowPulse1 3s ease-in-out infinite;
}

.tech-cloud-tag.glow-2 {
    box-shadow: 0 0 15px rgba(90, 111, 216, 0.5), 0 0 30px rgba(90, 111, 216, 0.3);
    border-color: rgba(90, 111, 216, 0.5);
    animation: glowPulse2 3s ease-in-out infinite 1s;
}

.tech-cloud-tag.glow-3 {
    box-shadow: 0 0 15px rgba(0, 122, 204, 0.5), 0 0 30px rgba(0, 122, 204, 0.3);
    border-color: rgba(0, 122, 204, 0.5);
    animation: glowPulse3 3s ease-in-out infinite 2s;
}

@keyframes glowPulse1 {
    0%, 100% {
        box-shadow: 0 0 15px rgba(110, 193, 228, 0.5), 0 0 30px rgba(110, 193, 228, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(110, 193, 228, 0.7), 0 0 50px rgba(110, 193, 228, 0.4);
    }
}

@keyframes glowPulse2 {
    0%, 100% {
        box-shadow: 0 0 15px rgba(90, 111, 216, 0.5), 0 0 30px rgba(90, 111, 216, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(90, 111, 216, 0.7), 0 0 50px rgba(90, 111, 216, 0.4);
    }
}

@keyframes glowPulse3 {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 122, 204, 0.5), 0 0 30px rgba(0, 122, 204, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 122, 204, 0.7), 0 0 50px rgba(0, 122, 204, 0.4);
    }
}

/* Floating animations for tech cloud tags */
.tech-cloud-tag.float-tag-1 {
    animation: glowPulse1 3s ease-in-out infinite, floatTag1 4s ease-in-out infinite;
}

.tech-cloud-tag.float-tag-2 {
    animation: glowPulse2 3s ease-in-out infinite 1s, floatTag2 5s ease-in-out infinite 0.5s;
}

.tech-cloud-tag.float-tag-3 {
    animation: glowPulse3 3s ease-in-out infinite 2s, floatTag3 4.5s ease-in-out infinite 1s;
}

@keyframes floatTag1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(3px, -4px);
    }
    50% {
        transform: translate(-2px, -6px);
    }
    75% {
        transform: translate(-4px, -2px);
    }
}

@keyframes floatTag2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-4px, -3px);
    }
    50% {
        transform: translate(2px, -5px);
    }
    75% {
        transform: translate(3px, -1px);
    }
}

@keyframes floatTag3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(2px, -5px);
    }
    50% {
        transform: translate(-3px, -3px);
    }
    75% {
        transform: translate(-1px, -6px);
    }
}

/* Patent count styling */
.patent-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.patent-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.patent-number {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #6ec1e4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Indicator */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    animation: scrollIndicator 2s ease-in-out infinite;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 2.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    animation: scrollDot 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes scrollIndicator {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes scrollDot {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0.3;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Hero Section Responsive */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 6rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text .lead {
        margin: 0 auto 2rem;
        font-size: 1.1rem;
    }

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

    .hero-card {
        margin: 0;
    }

    .hero-section::after,
    .hero-section::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-card {
        padding: 1.5rem;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .stat-info .count {
        font-size: 1.5rem;
    }
}

/* Micro-interactions: Button Glow */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom, rgba(229, 172, 142, 0), rgba(255, 255, 255, 0.5) 50%, rgba(229, 172, 142, 0));
    transform: rotateZ(60deg) translate(-5em, 7.5em);
    opacity: 0;
    transition: all 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
    transform: rotateZ(60deg) translate(1em, -9em);
    animation: sheen 1s forwards;
}

@keyframes sheen {
    100% {
        transform: rotateZ(60deg) translate(1em, -9em);
    }
}

/* Float Hover for Cards */
.offer-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Tag Press Effect */
.wordcloud-tag:active,
.strategy-tag:active {
    transform: scale(0.95);
}