/* 인덱스 페이지 전용 CSS */

/* 우주 배경 애니메이션 - hero-section 내부에서만 작동 */
.hero-section .space-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #7c3aed 50%, #526ad6 100%);
    z-index: 0;
    border-radius: 24px;
}

.hero-section .space-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, white 1px, transparent 1px),
        radial-gradient(circle, white 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 250px 250px;
    background-position: 0 0, 50px 60px, 130px 270px;
    animation: twinkle 4s ease-in-out infinite;
    z-index: 1;
}

.hero-section .space-background::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    animation: aurora 20s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    25% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    75% {
        opacity: 0.8;
    }
}

@keyframes aurora {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(10%, 10%) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* 플랜 정보 카드 스타일 */
.plan-info-container {
    display: grid;
    gap: var(--spacing-lg);
}

.current-plan-summary {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
}

.plan-icon {
    width: 60px;
    height: 60px;
    background: var(--text-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.plan-details {
    flex: 1;
}

.plan-details h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
}

.plan-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.plan-upgrade {
    flex-shrink: 0;
}

.upgrade-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    transition: all 0.2s ease;
}

.upgrade-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.usage-summary {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
}

.usage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.usage-label {
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
}

.usage-count {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    font-size: 1.1rem;
}

.usage-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #2563eb);
    transition: width 0.3s ease;
}

.usage-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.usage-text {
    color: var(--text-primary);
}

.next-reset {
    color: var(--text-tertiary);
}

/* 대시보드 액션 버튼 스타일 */
.dashboard-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.action-btn.primary {
    border-color: var(--primary-color);
}

.action-btn.primary:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.action-btn.secondary {
    border-color: var(--secondary-color);
}

.action-btn.secondary:hover {
    border-color: var(--secondary-color);
    background: rgba(16, 185, 129, 0.05);
}

.action-btn.info {
    border-color: #06b6d4;
}

.action-btn.info:hover {
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.05);
}

.action-btn.accent {
    border-color: var(--accent-color);
}

.action-btn.accent:hover {
    border-color: var(--accent-color);
    background: rgba(245, 158, 11, 0.05);
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.action-btn.primary .action-icon {
    background: var(--primary-color);
    color: white;
}

.action-btn.secondary .action-icon {
    background: var(--secondary-color);
    color: white;
}

.action-btn.info .action-icon {
    background: #06b6d4;
    color: white;
}

.action-btn.accent .action-icon {
    background: var(--accent-color);
    color: white;
}

.action-content h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
}

.action-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .current-plan-summary {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .dashboard-actions {
        grid-template-columns: 1fr;
    }

    .action-btn {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }

    .usage-details {
        flex-direction: column;
        gap: var(--spacing-xs);
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .dashboard-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 새로운 메인 페이지 스타일 */
.hero-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.4), 0 0 80px rgba(219, 39, 119, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* 캐릭터 이미지 - 왼쪽 위 */
.hero-character-left {
    position: absolute;
    left: 1rem;
    top: 1rem;
    height: auto;
    max-height: 300px;
    width: auto;
    z-index: 5;
    opacity: 0.9;
    pointer-events: none;
    display: none; /* 기본은 숨김 */
}

/* 캐릭터 이미지 - 오른쪽 아래 */
.hero-character-right {
    position: absolute;
    right: 2rem;
    bottom: 0;
    height: 80%;
    max-height: 400px;
    width: auto;
    z-index: 5;
    opacity: 0.9;
    pointer-events: none;
    animation: float-right 3s ease-in-out infinite;
    display: none; /* 기본은 숨김 */
}

@keyframes float-right {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* PC 버전 (1200px 이상)에서만 캐릭터 표시 */
@media (min-width: 1200px) {
    .hero-character-left,
    .hero-character-right {
        display: block;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight-text {
    background: linear-gradient(135deg, #0dcaf0, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: brightness(1.2);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-hero.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-hero.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-hero.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-hero.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* 특징 카드 그리드 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
    color: white;
}

.feature-icon.target {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
}

.feature-icon.shield {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
}

.feature-icon.speed {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.feature-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 주요 기능 섹션 */
.main-features {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.main-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .main-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.main-feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.main-feature-item:hover {
    background: #f1f5f9;
    transform: translateX(8px);
}

.main-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.main-feature-icon.blog {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.main-feature-icon.place {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.main-feature-icon.keyword {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.main-feature-icon.app {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.main-feature-icon.clock {
    background: linear-gradient(135deg, #e11d48, #be185d);
}

.main-feature-icon.chart {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.main-feature-icon.bell {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.main-feature-icon.document {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.main-feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
}

.main-feature-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

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

    .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .main-features {
        padding: 2rem 1.5rem;
    }

    .main-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .main-feature-item:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0 1rem 0;
        margin-bottom: 3rem;
    }

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

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .main-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* 대시보드 스타일 */
.dashboard-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    color: white;
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-text {
    flex: 1;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.username-highlight {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    color: #fff;
}

/* 대시보드 그리드 */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 플랜 정보 카드 */
.plan-info-card {
    background: linear-gradient(135deg, #f6f8ff 0%, #e8f0ff 100%);
    border: 1px solid #e1e8ff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.plan-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.plan-details h3 {
    margin: 0 0 0.5rem 0;
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 600;
}

.plan-description {
    margin: 0;
    color: #666;
    font-size: 0.875rem;
}

.plan-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.plan-stats-paid {
    grid-template-columns: 1fr 1fr 1fr;
}

.plan-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
}

.stat-value.active {
    color: #16a34a;
}

.upgrade-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.upgrade-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
}

/* 통계 카드 */
.stats-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stats-title {
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-title i {
    color: #667eea;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: none;
    letter-spacing: normal;
}

.welcome-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.welcome-action {
    margin-left: 2rem;
}

.primary-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.primary-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

/* 빠른 액션 그리드 */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.quick-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.quick-action-card:hover::before {
    left: 100%;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.quick-action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.quick-action-card.primary .quick-action-icon {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
}

.quick-action-card.secondary .quick-action-icon {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
}

.quick-action-card.tertiary .quick-action-icon {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
}

.quick-action-card.accent .quick-action-icon {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
}

.quick-action-content {
    flex: 1;
}

.quick-action-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
}

.quick-action-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.quick-action-arrow {
    color: #cbd5e0;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.quick-action-card:hover .quick-action-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 하단 그리드 */
.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 플랜 상태 카드 */
.notices-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.notices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.notices-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
}

.notices-title i {
    color: #667eea;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #4c51bf;
}

.notices-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.notice-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e0;
}

.notice-content {
    flex: 1;
}

.notice-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.notice-badge.important {
    background: #fee2e2;
    color: #dc2626;
}

.notice-title {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.notice-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
}

.notice-title a:hover {
    color: #667eea;
}

.notice-excerpt {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

.notice-date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 1rem;
}

.no-notices {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.no-notices i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #cbd5e0;
}

.no-notices p {
    margin: 0;
    font-size: 0.9rem;
}

.plan-badge {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.upgrade-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.upgrade-link:hover {
    color: #2563eb;
    transform: translateX(3px);
}

.plan-usage {
    margin-bottom: 1.5rem;
}

.usage-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.usage-label {
    color: #64748b;
    font-size: 0.9rem;
}

.usage-count {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #2563eb);
    transition: width 0.3s ease;
}

.progress-text {
    color: #64748b;
    font-size: 0.85rem;
    white-space: nowrap;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* 통계 요약 카드 */
.stats-summary-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.stats-title {
    color: #1a202c;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-icon.primary {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
}

.stat-icon.secondary {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
}

.stat-icon.accent {
    background: linear-gradient(135deg, var(--accent-color), #d97706);
}

.stat-icon.tertiary {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .dashboard-hero {
        padding: 2rem 1.5rem;
    }

    .welcome-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .welcome-action {
        margin-left: 0;
    }

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

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plan-info-card,
    .stats-card {
        padding: 1.5rem;
    }

    .plan-stats,
    .plan-stats-paid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .dashboard-bottom-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .plan-features {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .welcome-description {
        font-size: 1rem;
    }

    .quick-action-card {
        padding: 1rem;
    }

    .quick-action-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .notices-card,
    .stats-summary-card {
        padding: 1.5rem;
    }
}

/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
    .header-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo {
        font-size: 1.25rem !important;
    }
    
    .header-logo i {
        font-size: 1.5rem !important;
    }
    
    .page-title-section h1 {
        font-size: 2rem !important;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-title-section p {
        font-size: 1rem !important;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .header-container {
        padding: 0.5rem 1rem !important;
    }
}

.header-menu-item:hover {
    background: #f7fafc !important;
    color: #667eea !important;
    transform: translateY(-1px);
}

.mobile-menu-toggle:hover {
    background: #5a67d8 !important;
    transform: scale(1.05);
}

/* 블로그 진단 폼 스타일 */
.hero-diagnosis-form {
    margin: 2.5rem 0 1.5rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.diagnosis-form-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.diagnosis-form-wrapper:hover {
    border-color: var(--nview-primary);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0dcaf0, #38ef7d);
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 12px;
}

.diagnosis-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    padding: 12px 8px;
    color: var(--nview-text);
    background: transparent;
}

.diagnosis-input::placeholder {
    color: #9ca3af;
}

.diagnosis-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea, #0dcaf0);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.diagnosis-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b3fa0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.diagnosis-btn i {
    font-size: 1.1rem;
}

.diagnosis-note {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.diagnosis-note i {
    color: #fbbf24;
}

.hero-sub-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-link {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-link:first-child {
    background: linear-gradient(135deg, #667eea, #0dcaf0);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-link:first-child:hover {
    background: linear-gradient(135deg, #5a67d8, #6b3fa0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.btn-link:last-child {
    color: white;
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.btn-link:last-child:hover {
    background: var(--nview-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 99, 13, 0.438);
    text-decoration: none;
}

.btn-link i {
    font-size: 1.1rem;
}

.hero-sub-buttons .divider {
    display: none;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin-bottom: 2rem;
    }
    
    .hero-diagnosis-form {
        margin: 2rem 0 1rem 0;
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .diagnosis-form-wrapper {
        flex-direction: column;
        padding: 16px;
        gap: 12px;
        background: white;
        border: 2px solid #e5e7eb;
    }
    
    .form-icon {
        width: 40px;
        height: 40px;
        margin-right: 0;
    }
    
    .diagnosis-input {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .diagnosis-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .diagnosis-note {
        font-size: 0.85rem;
        padding: 0;
    }
    
    .hero-sub-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .btn-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .hero-diagnosis-form {
        padding: 1rem;
    }
    
    .diagnosis-input::placeholder {
        font-size: 0.85rem;
    }
    
    .diagnosis-btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }
    
    .diagnosis-btn i {
        font-size: 1rem;
    }
}

