/* AI 진단 페이지 전용 스타일 - 현대적 리디자인 */

/* 기본 설정 */
* {
    box-sizing: border-box;
}

/* AI 진단 히어로 섹션 */
.diagnosis-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.diagnosis-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: calc(100vh - 200px);
}

@media (min-width: 1024px) {
    .diagnosis-hero-content {
        flex-direction: row;
        gap: 120px;
        padding: 0 40px;
    }
}

.diagnosis-hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .diagnosis-hero-text {
        text-align: left;
    }
}

.diagnosis-badge {
    margin-bottom: 32px;
}

.diagnosis-badge span {
    background: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.diagnosis-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.diagnosis-title-highlight {
    background: linear-gradient(90deg, #05b981 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .diagnosis-title {
        font-size: 55px;
        line-height: 1.25;
    }
}

@media (min-width: 1024px) {
    .diagnosis-title {
        font-size: 75px;
        line-height: 1.2;
    }
}

@media (min-width: 1280px) {
    .diagnosis-title {
        font-size: 75px;
        line-height: 1.15;
    }
}

.diagnosis-subtitle {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

@media (min-width: 768px) {
    .diagnosis-subtitle {
        font-size: 22px;
    }
}

@media (min-width: 1024px) {
    .diagnosis-subtitle {
        font-size: 24px;
        margin-left: 0;
        margin-right: 0;
    }
}

.diagnosis-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .diagnosis-buttons {
        justify-content: flex-start;
    }
}

.diagnosis-btn-primary {
    background: #05b981;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diagnosis-btn-primary:hover {
    background: #1ac791;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diagnosis-btn-primary:focus {
    outline: none;
    ring: 2px;
    ring-color: #05b981;
    ring-offset: 2px;
}

.diagnosis-btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diagnosis-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diagnosis-btn-secondary:focus {
    outline: none;
    ring: 2px;
    ring-color: #6b7280;
    ring-offset: 2px;
}

.diagnosis-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

@media (min-width: 768px) {
    .hero-video-container {
        height: 500px;
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .hero-video-container {
        height: 600px;
        max-width: 700px;
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.app-header {
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.app-status-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 12px;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
}

.app-content {
    padding: 20px;
}

.app-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.date {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

.diagnosis-result {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.result-icon {
    font-size: 24px;
}

.result-text {
    font-size: 16px;
    font-weight: 600;
    color: #059669;
}

.confidence-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 8px 12px;
}

.score-label {
    font-size: 12px;
    color: #64748b;
}

.score-value {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

/* 섹션 헤더 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 18px;
    color: #374151;
    margin-top: 16px;
    font-weight: 400;
}

/* 주요 기능 섹션 */
.diagnosis-features-section {
    padding: 100px 20px;
}

@media (min-width: 768px) {
    .diagnosis-features-section {
        padding: 120px 40px;
    }
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 55px;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 55px;
    }
}

@media (min-width: 1280px) {
    .section-title {
        font-size: 55px;
    }
}

.diagnosis-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .diagnosis-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .diagnosis-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.diagnosis-feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.diagnosis-feature-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diagnosis-feature-card:hover {
    transform: translateY(-8px);
    border-color: #e2e8f0;
}

.diagnosis-feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.diagnosis-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    transition: all 0.3s ease;
}

.diagnosis-feature-card:hover .diagnosis-feature-icon {
    transform: scale(1.1);
}

.diagnosis-feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.diagnosis-feature-card p {
    color: #374151;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* 진단 과정 섹션 */
.diagnosis-process-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #fff 0%, #e0f2fe 100%);
}

@media (min-width: 768px) {
    .diagnosis-process-section {
        padding: 120px 40px;
    }
}

.diagnosis-process-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .diagnosis-process-content {
        flex-direction: row;
        gap: 120px;
    }
}

.diagnosis-process-text {
    flex: 1;
}

.diagnosis-process-text h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #0f172a;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.diagnosis-process-text p {
    font-size: 18px;
    color: #374151;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 15px;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.diagnosis-process-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.process-mockup {
    width: 320px;
    height: 400px;
    background: #1e293b;
    border-radius: 24px;
    padding: 8px;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
}

.mockup-header {
    text-align: center;
    margin-bottom: 24px;
}

.mockup-status {
    height: 16px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 8px;
}

.mockup-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    color: white;
}

.progress-step span {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.analysis-progress {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* 진단 예시 섹션 */
.diagnosis-examples-section {
    padding: 100px 20px;
}

@media (min-width: 768px) {
    .diagnosis-examples-section {
        padding: 120px 40px;
    }
}

.diagnosis-examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .diagnosis-examples-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .diagnosis-examples-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.diagnosis-example-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.diagnosis-example-card:hover {
    transform: translateY(-4px);
    border-color: #e2e8f0;
}

.example-image {
    margin-bottom: 16px;
}

.image-placeholder {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto;
}

.example-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.example-content p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
}

.confidence {
    font-size: 12px;
    color: #059669;
    font-weight: 600;
}

/* 정확도 섹션 */
.accuracy-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

@media (min-width: 768px) {
    .accuracy-section {
        padding: 120px 40px;
    }
}

.accuracy-content {
    max-width: 1200px;
    margin: 0 auto;
}

.accuracy-stats {
    display: grid;
    /*grid-template-columns: repeat(2, 1fr);*/
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .accuracy-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.accuracy-stat {
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.accuracy-stat:hover {
    transform: translateY(-4px);
    border-color: #e2e8f0;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #05b981;
    margin-bottom: 8px;
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 42px;
    }
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* CTA 섹션 */
.diagnosis-cta-section {
    position: relative;
    padding: 100px 20px;
    color: white;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .diagnosis-cta-section {
        padding: 120px 40px;
    }
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.diagnosis-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.diagnosis-cta-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .diagnosis-cta-content h2 {
        font-size: 55px;
    }
}

@media (min-width: 1024px) {
    .diagnosis-cta-content h2 {
        font-size: 55px;
    }
}

.diagnosis-cta-content p {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
}

.diagnosis-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.diagnosis-cta-btn-primary {
    background: #05b981;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diagnosis-cta-btn-primary:hover {
    background: #1ac791;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diagnosis-cta-btn-primary:focus {
    outline: none;
    ring: 2px;
    ring-color: #05b981;
    ring-offset: 2px;
}

.diagnosis-cta-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diagnosis-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diagnosis-cta-btn-secondary:focus {
    outline: none;
    ring: 2px;
    ring-color: #e5e7eb;
    ring-offset: 2px;
}

/* 반응형 조정 */
@media (max-width: 767px) {
    .diagnosis-hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .diagnosis-hero-content {
        min-height: calc(100vh - 160px);
    }

    .diagnosis-title {
        font-size: 48px;
        line-height: 1.2;
    }

    .diagnosis-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .diagnosis-buttons {
        flex-direction: column;
        align-items: center;
    }

    .diagnosis-btn-primary,
    .diagnosis-btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .accuracy-stats {
        /*grid-template-columns: repeat(2, 1fr);*/
        gap: 24px;
    }

    .diagnosis-cta-content h2 {
        font-size: 40px;
    }

    .diagnosis-cta-content p {
        font-size: 18px;
    }

    .diagnosis-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .diagnosis-cta-btn-primary,
    .diagnosis-cta-btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .hero-video-container {
        height: 550px;
        max-width: 100%;
    }

    .process-mockup {
        width: 280px;
        height: 360px;
    }
}