/* 화려한 메인 스타일 */

/* 네비게이션 */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.logo:hover .logo-icon {
    transform: rotate(12deg);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #22d3ee;
    transform: scale(1.1);
}

.nav-link-admin {
    background: linear-gradient(to right, #9333ea, #ec4899);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: white !important;
}

.btn-nav {
    background: linear-gradient(to right, #FFD700, #FFA500, #FF4500);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.btn-nav:hover {
    transform: scale(1.1);
}

/* 히어로 섹션 */
.hero-section {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
    opacity: 0.2;
}

.particle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: #3b82f6;
    animation: float 6s ease-in-out infinite;
}

.particle-2 {
    top: 10rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: #8b5cf6;
    animation: float 6s ease-in-out infinite 2s;
}

.particle-3 {
    bottom: -8rem;
    left: 33%;
    width: 24rem;
    height: 24rem;
    background: #06b6d4;
    animation: float 6s ease-in-out infinite 4s;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: pulse 4s infinite;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle-main {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d1d5db;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 15px;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.revenue-counter {
    max-width: 48rem;
    margin: 0 auto;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    border: 2px solid rgba(16, 185, 129, 0.5);
    text-align: center;
}

.counter-label {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.counter-value {
    font-size: 3.75rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.counter-note {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* 수익 증명 섹션 */
.proof-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.proof-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.proof-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

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

.user-info {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.user-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.user-name {
    font-weight: bold;
}

.user-rank {
    font-size: 0.75rem;
    color: #9ca3af;
}

.verified-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.keyword-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.keyword-label {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.keyword-value {
    font-size: 1.125rem;
    font-weight: bold;
    color: #22d3ee;
}

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

.stats-label {
    font-size: 0.75rem;
    color: #9ca3af;
}

.stats-value {
    font-size: 1.125rem;
    font-weight: bold;
}

.text-green {
    color: #10b981;
}

/* 기능 섹션 */
.features-section {
    padding: 5rem 0;
}

.section-subtitle {
    text-align: center;
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
    overflow: hidden;
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(6, 182, 212, 0.3));
    border: 2px solid rgba(59, 130, 246, 0.5);
}

.feature-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.3));
    border: 2px solid rgba(16, 185, 129, 0.5);
}

.feature-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(239, 68, 68, 0.3));
    border: 2px solid rgba(249, 115, 22, 0.5);
}

.feature-blue:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.5);
}

.feature-green:hover {
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.5);
}

.feature-orange:hover {
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.5);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(to right, #FFD700, #FFA500);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
    animation: bounce 3s infinite;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.feature-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.feature-box-title {
    color: #FBBF24;
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-box-content {
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.6;
}

.feature-revenue-box {
    background: linear-gradient(to right, rgba(180, 83, 9, 0.4), rgba(194, 65, 12, 0.4));
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-bottom: 1rem;
}

.revenue-box-title {
    color: #FBBF24;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.revenue-box-value {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.revenue-box-note {
    font-size: 0.75rem;
    color: #d1d5db;
}

/* 통계 섹션 */
.stats-section {
    padding: 5rem 0;
}

.stats-card {
    background: linear-gradient(to right, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
    border: 2px solid rgba(147, 51, 234, 0.5);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-icon {
    font-size: 3.75rem;
    margin-bottom: 1rem;
    animation: bounce 3s infinite;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #d1d5db;
    font-size: 1.125rem;
    font-weight: 600;
}

/* CTA 섹션 */
.cta-section {
    padding: 5rem 0;
}

.cta-card {
    background: linear-gradient(to right, rgba(180, 83, 9, 0.3), rgba(194, 65, 12, 0.3), rgba(153, 27, 27, 0.3));
    border: 2px solid rgba(245, 158, 11, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.1), rgba(249, 115, 22, 0.1), rgba(239, 68, 68, 0.1));
    animation: pulse 4s infinite;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 3s infinite;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e5e7eb;
    position: relative;
    z-index: 10;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto 2rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 16px;
    position: relative;
    z-index: 10;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-check {
    font-size: 1.875rem;
}

.benefit-title {
    font-weight: bold;
}

.benefit-desc {
    font-size: 0.875rem;
    color: #9ca3af;
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.cta-note {
    color: #9ca3af;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
}

/* 푸터 */
.main-footer {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-desc {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-title {
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #22d3ee;
}

.footer-revenue-box {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.footer-revenue-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.footer-revenue-value {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.footer-revenue-growth {
    font-size: 0.75rem;
    color: #10b981;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #6b7280;
}

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .counter-value {
        font-size: 2.5rem;
    }

    .features-grid,
    .proof-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }

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

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

/* 로딩 및 에러 상태 */
.loading-state, .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.2);
    border-top-color: #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.loading-hint {
    font-size: 1rem;
    color: #94a3b8;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.error-text {
    font-size: 1.1rem;
    color: #ef4444;
    margin-bottom: 20px;
    text-align: center;
}

.generated-content-wrapper {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.content-keyword {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD700;
}

.content-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #94a3b8;
}
