@charset "utf-8";

/* ========================================
   입찰 성공률 UP 랜딩페이지 CSS
   참조: Amoda Financial Template
======================================== */

/* Pretendard 폰트 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #6366F1;
    --secondary: #0F172A;
    --accent: #10B981;
    --accent-orange: #F59E0B;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-gray: #F1F5F9;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Header
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background: #1E293B;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--secondary);
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    margin: 6px 0;
    transition: all 0.3s;
}

/* ========================================
   Hero Section
======================================== */
.hero {
    padding: 160px 0 100px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--secondary);
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stat p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
}

.hero-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-main img,
.hero-image-main .placeholder-img {
    width: 100%;
    display: block;
}

.placeholder-img {
    height: 480px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
}

.placeholder-img .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.placeholder-img h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.placeholder-img p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.hero-float-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-float-card.card-1 {
    top: 15%;
    left: -60px;
    animation: float 4s ease-in-out infinite;
}

.hero-float-card.card-2 {
    bottom: 15%;
    right: -40px;
    animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.float-text h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
}

.float-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========================================
   Features Section
======================================== */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.feature-card:nth-child(1) .feature-icon { background: #EEF2FF; }
.feature-card:nth-child(2) .feature-icon { background: #ECFDF5; }
.feature-card:nth-child(3) .feature-icon { background: #FEF3C7; }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Brands / Trust Section
======================================== */
.brands {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.brands-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.brands-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.brands-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 1;
}

.brands-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.stars {
    display: flex;
    gap: 4px;
    color: var(--accent-orange);
}

.brands-rating span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.brands-rating strong {
    font-weight: 700;
}

/* ========================================
   Benefits Section
======================================== */
.benefits {
    padding: 100px 0;
    background: var(--bg-light);
}

.benefits-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.benefits-content > p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.benefits-image {
    position: relative;
}

.benefits-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: white;
}

.chart-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    min-width: 300px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.chart-badge {
    padding: 4px 10px;
    background: #ECFDF5;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-label {
    width: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.chart-track {
    flex: 1;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

.chart-value {
    width: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-align: right;
}

/* ========================================
   How It Works Section
======================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 80px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.step-card {
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Stats Section
======================================== */
.stats {
    padding: 80px 0;
    background: var(--secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

/* ========================================
   Success Cases - Rolling List
======================================== */
.success-cases {
    padding: 100px 0;
    background: var(--bg-white);
}

.rolling-wrapper {
    margin-bottom: 60px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: white;
}

.rolling-container {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.rolling-container::before,
.rolling-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 10;
    pointer-events: none;
}

.rolling-container::before {
    top: 0;
    background: linear-gradient(to bottom, white 0%, transparent 100%);
}

.rolling-container::after {
    bottom: 0;
    background: linear-gradient(to top, white 0%, transparent 100%);
}

.rolling-list {
    animation: scrollUp 30s linear infinite;
}

.rolling-list:hover {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.rolling-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px 120px 100px;
    gap: 20px;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.rolling-item:hover {
    background: var(--bg-light);
}

.item-badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.item-badge.success {
    background: #EEF2FF;
    color: var(--primary);
}

.item-badge.progress {
    background: #ECFDF5;
    color: var(--accent);
}

.item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
}

.item-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

.item-company {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.item-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.summary-item {
    text-align: center;
}

.summary-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.summary-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   CTA Section
======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--secondary);
    padding: 80px 0 40px;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 20px 0 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.footer-legal a:hover {
    color: white;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero-inner,
    .benefits-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
    }

    .hero-float-card {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .stats-grid,
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rolling-item {
        grid-template-columns: 70px 1fr 80px 100px;
    }

    .item-date {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .summary-grid {
        grid-template-columns: 1fr 1fr;
        padding: 32px;
    }

    .rolling-item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
        padding: 14px 20px;
    }

    .item-amount,
    .item-company,
    .item-date {
        display: none;
    }

    .rolling-item::after {
        content: attr(data-amount);
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--primary);
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .chart-box {
        position: static;
        margin-top: 24px;
    }
}

/* ========================================
   Dashboard Preview (Hero Image)
======================================== */
.dashboard-preview {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--radius-xl);
    padding: 24px;
    color: white;
    min-height: 480px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dashboard-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.dashboard-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.dash-stat.highlight {
    background: rgba(79, 70, 229, 0.3);
    border: 1px solid rgba(79, 70, 229, 0.5);
}

.dash-stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.dash-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.dash-stat-value small {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

.dashboard-chart-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.chart-section {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 16px;
}

.chart-section .chart-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 16px;
}

.mini-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.mini-bar {
    flex: 1;
    background: rgba(79, 70, 229, 0.4);
    border-radius: 4px 4px 0 0;
    height: var(--height);
    position: relative;
    animation: barGrow 1s ease-out forwards;
    transform-origin: bottom;
}

.mini-bar.active {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

.mini-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.7);
    opacity: 0;
    transition: opacity 0.3s;
}

.mini-bar:hover::after {
    opacity: 1;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.prediction-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.prediction-label {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.prediction-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.prediction-value small {
    font-size: 1rem;
}

.prediction-confidence {
    font-size: 0.75rem;
    opacity: 0.9;
}

.confidence-bar {
    display: block;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin-bottom: 6px;
    overflow: hidden;
}

.confidence-bar span {
    display: block;
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: confidenceGrow 1.5s ease-out forwards;
}

@keyframes confidenceGrow {
    from { width: 0; }
}

.dashboard-table {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 80px;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.8rem;
}

.table-header {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.table-row {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.badge-recommend,
.badge-good {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.badge-recommend {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.badge-good {
    background: rgba(79, 70, 229, 0.2);
    color: #818CF8;
}

/* ========================================
   ApexCharts Container (Benefits Section)
======================================== */
.apex-chart-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px;
    height: 420px;
    box-shadow: var(--shadow-sm);
}

#successRateChart {
    width: 100%;
    height: 100%;
}

#monthlyBarChart {
    width: 100%;
    height: 180px;
    margin-top: 8px;
}

/* ApexCharts 커스텀 스타일 */
.apexcharts-title-text {
    font-family: 'Pretendard', sans-serif !important;
    font-weight: 600 !important;
}

.apexcharts-legend-text {
    font-family: 'Pretendard', sans-serif !important;
}

.apexcharts-tooltip {
    font-family: 'Pretendard', sans-serif !important;
}

.apexcharts-xaxis-label,
.apexcharts-yaxis-label {
    font-family: 'Pretendard', sans-serif !important;
}


/* Responsive for dashboard */
@media (max-width: 768px) {
    .dashboard-preview {
        padding: 16px;
        min-height: auto;
    }

    .dashboard-stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dash-stat {
        padding: 12px;
    }

    .dash-stat-value {
        font-size: 1.25rem;
    }

    .dashboard-chart-area {
        grid-template-columns: 1fr;
    }

    .dashboard-table {
        display: none;
    }

    .animated-chart-container {
        padding: 20px;
        height: 300px;
    }

    .chart-legend {
        display: none;
    }

    .chart-summary {
        flex-direction: column;
        gap: 12px;
    }
}
