/* TrendServiceIntroduction.css */

:root {
    --kt-primary: #5d5fef;
    --kt-primary-hover: #4a4cc7;
    --kt-bg-light: #f3f4f8;
    --kt-bg-gray: #f9fafb;
    --kt-text-dark: #111827;
    --kt-text-gray: #4b5563;
    --kt-text-light: #9ca3af;
    --kt-border-color: #e5e7eb;
    --kt-naver: #03c75a;
    --kt-google: #4285f4;
    --kt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --kt-shadow-primary: 0 10px 15px -3px rgba(93, 95, 239, 0.3);
    --kt-radius: 0.5rem;
    --kt-radius-lg: 1rem;
}

.kt-intro-wrap *, .kt-func-wrap * { margin: 0; padding: 0; box-sizing: border-box; }

.kt-reveal { opacity: 1; transform: none; }
.kt-motion-ready .kt-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.kt-motion-ready .kt-reveal.visible { opacity: 1; transform: translateY(0); }
.kt-delay-100 { transition-delay: 100ms; }
.kt-delay-200 { transition-delay: 200ms; }
.kt-delay-300 { transition-delay: 300ms; }

.kt-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.kt-gradient-text { background: linear-gradient(to right, #818cf8, #d8b4fe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ==========================================================================
   Base
   ========================================================================== */
.kt-intro-wrap {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: var(--kt-text-dark);
    background-color: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}
.kt-intro-wrap a { text-decoration: none; color: inherit; }
.kt-intro-wrap ul { list-style: none; }
.kt-intro-wrap .kt-text-center { text-align: center; }

.kt-intro-wrap .kt-btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; font-weight: 700; border-radius: var(--kt-radius); transition: all 0.3s ease; cursor: pointer; border: none; font-size: 1rem; }
.kt-intro-wrap .kt-btn-primary { background-color: var(--kt-primary); color: #fff; box-shadow: var(--kt-shadow-primary); }
.kt-intro-wrap .kt-btn-primary:hover { background-color: var(--kt-primary-hover); transform: translateY(-2px); }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.kt-hero { position: relative; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); padding: 140px 0; overflow: hidden; display: flex; align-items: center; min-height: 700px; }
.kt-hero-grid { position: absolute; inset: 0; background-size: 40px 40px; background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px); z-index: 1; }
.kt-hero-content { position: relative; z-index: 10; display: flex; align-items: center; width: 100%; gap: 40px; }
.kt-hero-text { position: relative; z-index: 20; width: 45%; text-align: left; }
.kt-hero-badge { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 9999px; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #a5b4fc; font-size: 0.875rem; font-weight: 600; margin-bottom: 24px; }
.kt-hero-badge svg { width: 16px; height: 16px; margin-right: 8px; }
.kt-hero-text h1 { color: #fff; font-size: 3rem; font-weight: 800; line-height: 1.25; margin-bottom: 24px; letter-spacing: -0.025em; }
.kt-hero-text p { font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 40px; line-height: 1.6; }
.kt-hero-actions { display: flex; gap: 16px; }

.kt-hero-mockup { position: relative; width: 55%; height: 500px; display: flex; align-items: center; justify-content: center; }
.kt-mock-card { position: relative; z-index: 10; width: 380px; background: #fff; border-radius: var(--kt-radius-lg); box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35); padding: 28px; animation: ktFloat 7s infinite ease-in-out; }
.kt-mock-search { display: flex; align-items: center; gap: 10px; background: var(--kt-bg-gray); border: 1px solid var(--kt-border-color); border-radius: 9999px; padding: 12px 18px; margin-bottom: 20px; }
.kt-mock-search svg { width: 18px; height: 18px; color: var(--kt-text-light); flex-shrink: 0; }
.kt-mock-search span { font-size: 0.95rem; font-weight: 700; color: var(--kt-text-dark); }

.kt-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; }
.kt-mock-stat { background: var(--kt-bg-gray); border: 1px solid var(--kt-border-color); border-radius: var(--kt-radius); padding: 12px 8px; text-align: center; }
.kt-mock-stat-label { display: block; font-size: 0.65rem; color: var(--kt-text-light); font-weight: 600; margin-bottom: 6px; white-space: nowrap; }
.kt-mock-stat-value { display: block; font-size: 1rem; font-weight: 800; color: var(--kt-text-dark); }
.kt-mock-stat-naver .kt-mock-stat-value { color: var(--kt-naver); }
.kt-mock-stat-google .kt-mock-stat-value { color: var(--kt-google); }

.kt-mock-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 110px; background: var(--kt-bg-gray); border: 1px solid var(--kt-border-color); border-radius: var(--kt-radius); padding: 16px 14px 12px; }
.kt-mock-bar { flex: 1; background: linear-gradient(180deg, #818cf8 0%, var(--kt-primary) 100%); border-radius: 4px 4px 0 0; animation: ktBarRise 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.kt-mock-bar:nth-child(1) { animation-delay: 0.05s; }
.kt-mock-bar:nth-child(2) { animation-delay: 0.15s; }
.kt-mock-bar:nth-child(3) { animation-delay: 0.25s; }
.kt-mock-bar:nth-child(4) { animation-delay: 0.35s; }
.kt-mock-bar:nth-child(5) { animation-delay: 0.45s; }
.kt-mock-bar:nth-child(6) { animation-delay: 0.55s; }
.kt-mock-bar:nth-child(7) { animation-delay: 0.65s; }

@keyframes ktBarRise { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

.kt-float-badge { position: absolute; background: linear-gradient(135deg, var(--kt-primary), #9b51e0); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 10px 25px rgba(93, 95, 239, 0.4); animation: ktFloat 4s infinite ease-in-out; z-index: 20; display: flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid rgba(255, 255, 255, 0.2); }
.kt-float-badge::before { content: ''; display: block; width: 6px; height: 6px; background: #fff; border-radius: 50%; box-shadow: 0 0 8px #fff; }
.kt-float-badge-1 { top: 6%; right: 2%; animation-delay: 0.5s; }
.kt-float-badge-2 { bottom: 10%; left: -4%; animation-delay: 1.8s; }

@keyframes ktFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.kt-hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 2; pointer-events: none; }
.kt-hero-orb-1 { width: 420px; height: 420px; background: rgba(93, 95, 239, 0.35); top: -120px; right: -80px; }
.kt-hero-orb-2 { width: 360px; height: 360px; background: rgba(155, 81, 224, 0.25); bottom: -140px; left: -100px; }

.kt-hero-ring { position: absolute; inset: 0; margin: auto; width: 480px; height: 480px; border: 2px dashed rgba(93, 95, 239, 0.3); border-radius: 50%; animation: ktSpin 28s linear infinite; z-index: 5; pointer-events: none; }
.kt-hero-ring.reverse { width: 560px; height: 560px; border: 1px solid rgba(255, 255, 255, 0.06); border-top: 2px solid var(--kt-primary); animation: ktSpinReverse 18s linear infinite; }
@keyframes ktSpin { to { transform: rotate(360deg); } }
@keyframes ktSpinReverse { to { transform: rotate(-360deg); } }

.kt-float-badge-3 { top: 46%; left: -10%; animation-delay: 2.6s; }

/* ==========================================================================
   2. Pain Point
   ========================================================================== */
.kt-pain { padding: 100px 0; background: #fff; }
.kt-pain-header { max-width: 700px; margin: 0 auto 60px; }
.kt-pain-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.kt-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.kt-pain-card { background-color: var(--kt-bg-gray); border: 1px solid var(--kt-border-color); border-radius: var(--kt-radius-lg); padding: 32px 24px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.kt-pain-card:hover { border-color: rgba(93, 95, 239, 0.4); box-shadow: var(--kt-shadow-lg); transform: translateY(-8px); }
.kt-pain-icon { width: 56px; height: 56px; margin: 0 auto 20px; background-color: rgba(93, 95, 239, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.kt-pain-icon svg { width: 28px; height: 28px; color: var(--kt-primary); }
.kt-pain-card p { font-weight: 700; font-size: 1.05rem; color: var(--kt-text-dark); }
.kt-pain-footer { font-size: 1.15rem; font-weight: 600; color: var(--kt-text-gray); }

/* ==========================================================================
   3. Feature Cards
   ========================================================================== */
.kt-features { padding: 100px 0; background-color: var(--kt-bg-gray); border-top: 1px solid var(--kt-border-color); }
.kt-section-header { text-align: center; margin-bottom: 60px; }
.kt-section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.kt-section-header p { font-size: 1.125rem; color: var(--kt-text-gray); }
.kt-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.kt-feature-card { background-color: #fff; border: 1px solid var(--kt-border-color); border-radius: var(--kt-radius-lg); padding: 32px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.kt-feature-card:hover { border-color: rgba(93, 95, 239, 0.4); box-shadow: var(--kt-shadow-lg); transform: translateY(-8px); }
.kt-feature-icon { width: 56px; height: 56px; background-color: rgba(93, 95, 239, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.kt-feature-icon svg { width: 28px; height: 28px; color: var(--kt-primary); }
.kt-feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.kt-feature-card p { color: var(--kt-text-gray); line-height: 1.6; }

/* ==========================================================================
   4. Free Benefit Banner
   ========================================================================== */
/* ==========================================================================
   이런 분들께 추천 (Target)
   ========================================================================== */
.kt-target { padding: 100px 0; background: #fff; }
.kt-target-title { font-size: 2rem; font-weight: 700; margin-bottom: 48px; }
.kt-target-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; text-align: left; }
.kt-target-card { background-color: rgba(93, 95, 239, 0.05); border-radius: var(--kt-radius-lg); padding: 28px; display: flex; gap: 16px; align-items: flex-start; border: 1px solid transparent; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.kt-target-card:hover { background-color: #fff; box-shadow: var(--kt-shadow-lg); transform: translateY(-5px); border-color: rgba(93, 95, 239, 0.25); }
.kt-target-icon { background: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--kt-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); flex-shrink: 0; }
.kt-target-icon svg { width: 24px; height: 24px; }
.kt-target-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--kt-text-dark); }
.kt-target-card p { font-size: 0.9rem; color: var(--kt-text-gray); line-height: 1.6; }

.kt-free-benefit { padding: 100px 0; background: #fff; }
.kt-benefit-box { background: linear-gradient(135deg, #111327 0%, #1e1b4b 100%); border: 1px solid rgba(93, 95, 239, 0.4); border-radius: var(--kt-radius-lg); padding: 64px 20px; text-align: center; max-width: 900px; margin: 0 auto; position: relative; overflow: hidden; box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.45), inset 0 0 60px rgba(93, 95, 239, 0.08); }
.kt-benefit-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(93, 95, 239, 0.18) 0%, rgba(0, 0, 0, 0) 55%); pointer-events: none; }
.kt-benefit-box > * { position: relative; z-index: 1; }
.kt-benefit-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--kt-primary); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 0.875rem; font-weight: 700; margin-bottom: 16px; }
.kt-benefit-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.kt-benefit-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; color: #fff; }
.kt-benefit-box h2 .kt-gradient-text { text-shadow: 0 0 24px rgba(139, 92, 246, 0.55); }
.kt-benefit-box p { font-size: 1.125rem; color: rgba(255, 255, 255, 0.65); line-height: 1.7; }
.kt-benefit-box .kt-btn { margin-top: 32px; }

/* ==========================================================================
   5. CTA
   ========================================================================== */
.kt-cta { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); padding: 100px 0; text-align: center; }
.kt-cta h2 { color: #fff; font-size: 2.25rem; font-weight: 700; margin-bottom: 24px; }
.kt-cta p { color: var(--kt-text-light); font-size: 1.125rem; margin-bottom: 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .kt-hero { padding: 100px 0; min-height: 0; }
    .kt-hero-content { flex-direction: column; text-align: center; }
    .kt-hero-text { width: 100%; text-align: center; }
    .kt-hero-badge { margin-left: auto; margin-right: auto; }
    .kt-hero-actions { justify-content: center; }
    .kt-hero-mockup { width: 100%; height: auto; margin-top: 60px; padding: 40px 0; }
    .kt-mock-card { width: 100%; max-width: 380px; }

    .kt-pain-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .kt-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .kt-hero-ring, .kt-hero-ring.reverse { width: 380px; height: 380px; }
}

@media (max-width: 768px) {
    .kt-hero-text h1 { font-size: 2.1rem; }
    .kt-hero-text p { font-size: 1rem; }

    .kt-pain-grid { grid-template-columns: 1fr; gap: 16px; }
    .kt-feature-grid { grid-template-columns: 1fr; }

    .kt-section-header h2, .kt-pain-header h2 { font-size: 1.6rem; }
    .kt-benefit-box h2 { font-size: 1.6rem; }
    .kt-benefit-box { padding: 40px 20px; }
    .kt-cta h2 { font-size: 1.6rem; }

    .kt-float-badge { font-size: 0.75rem; padding: 8px 14px; }
    .kt-float-badge-2 { left: 4%; }
    .kt-float-badge-3 { left: 0; }
    .kt-hero-ring, .kt-hero-ring.reverse { display: none; }
    .kt-hero-orb { filter: blur(60px); }
    .kt-target-grid { grid-template-columns: 1fr; }
    .kt-target-title { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    .kt-motion-ready .kt-reveal,
    .kt-motion-ready .kt-reveal.visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .kt-intro-wrap *,
    .kt-intro-wrap *::before,
    .kt-intro-wrap *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
