﻿/* 
 * 2026 ?뺤콉?먭툑 留ㅼ묶 ?뚮옯???ㅽ??쇱떆??
 * ?꾨━誘몄뾼 ?붿옄??+ ?ㅽ겕紐⑤뱶 + 諛섏쓳??
 */

:root {
    /*  Primary Colors */
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;

    /* Accent Colors */
    --accent-500: #8b5cf6;
    --accent-600: #7c3aed;

    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    /* Typography */
    --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 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);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--gray-50);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}





/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-sm) 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gray-900);
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-accent);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-success);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-md);
    animation: slideDown 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-600);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-700);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.button-arrow {
    transition: transform var(--transition-fast);
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-xl);
    color: var(--gray-900);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-600);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.feature-description {
    color: var(--gray-700);
    line-height: 1.7;
}

/* Matching Section */
.matching-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-top: var(--spacing-sm);
}

.matching-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.matching-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-label {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1rem;
}

.label-hint {
    font-weight: 400;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-sm);
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--gray-50);
    transition: all var(--transition-fast);
}

.radio-card input[type="radio"]:checked+.radio-content {
    border-color: var(--primary-600);
    background: var(--primary-600);
    color: white;
}

.radio-icon {
    font-size: 2rem;
}

.radio-label {
    font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.business-age {
    padding: var(--spacing-sm);
    background: var(--primary-600);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
}

.optimize-button {
    align-self: flex-start;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.optimize-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.optimize-result {
    padding: var(--spacing-md);
    background: linear-gradient(135deg, #667eea22 0%, #764ba222 100%);
    border-radius: var(--radius-md);
    border: 2px solid var(--accent-600);
}

.optimize-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.optimize-icon {
    font-size: 1.5rem;
}

.optimize-title {
    font-weight: 700;
    font-size: 1.125rem;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tag-checkbox {
    cursor: pointer;
}

.tag-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.tag-label {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tag-checkbox input[type="checkbox"]:checked+.tag-label {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

.submit-button {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Matching Results */
.matching-results {
    margin-top: var(--spacing-xl);
    animation: fadeInUp 0.5s ease-out;
}

.results-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 2px;
}

.tab-button {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: none;
    border: none;
    border-bottom: 4px solid transparent;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.tab-button:hover {
    color: var(--primary-600);
}

.tab-button.active {
    color: var(--primary-600);
    border-bottom-color: var(--primary-600);
}

.tab-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.tab-count {
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.tab-button.active .tab-count {
    background: var(--primary-600);
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-text {
    margin-bottom: var(--spacing-sm);
}

.footer-disclaimer {
    font-size: 0.875rem;
    color: var(--gray-200);
}

/* Floating Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .stat-card {
        min-width: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: var(--spacing-sm);
    }

    .matching-form-wrapper {
        padding: var(--spacing-md);
    }
}

/* 
  紐⑤컮???쇰뵒??踰꾪듉 ?섏젙 CSS
  ??肄붾뱶瑜?styles.css??@media (max-width: 768px) { } ?덉뿉 異붽??섏꽭??
  ?꾩튂: ??808踰??쇱씤, .radio-group { ?뱀뀡??李얠븘??援먯껜?섏꽭??
*/

/* 湲곗〈 肄붾뱶 ??젣:
.radio-group {
    grid-template-columns: 1fr;
}
*/

/* ??肄붾뱶濡?援먯껜: */
.radio-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.radio-content {
    padding: 0.75rem 0.5rem;
}

.radio-icon {
    font-size: 1.5rem;
}

.radio-label {
    font-size: 0.875rem;
}

/* ========================================
   Strategy Guide Section
   ======================================== */

.strategy-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.strategy-card {
    background: var(--gray-50);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
}

.strategy-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-600);
    box-shadow: var(--shadow-xl);
}

.strategy-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.strategy-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.strategy-content {
    color: var(--gray-700);
    line-height: 1.7;
}

.strategy-intro {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

/* Strategy Steps */
.strategy-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.step-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
}

.step-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-text strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.step-text p {
    margin: 0;
}

/* Responsive for strategy section */
@media (max-width: 768px) {
    .strategy-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   Z?대뱶 & 紐⑤컮???붿옄??媛쒖꽑 CSS
   ??肄붾뱶瑜?styles.css??異붽??섏꽭??
   ================================================ */

/* 1. Date Input ?ㅽ???媛쒖꽑 (?뚯깋 臾몄젣 ?닿껐) */
.form-input[type="date"] {
    color: var(--gray-900) !important;
    font-size: 1rem;
    padding: var(--spacing-md);
    appearance: none;
    -webkit-appearance: none;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0);
    cursor: pointer;
    font-size: 1.2rem;
}

.form-input[type="date"]:focus {
    border-color: var(--primary-600);
    outline: none;
}

/* 2. ?쇰뵒??踰꾪듉 ?붿옄??媛쒖꽑 */
.radio-card {
    min-height: 80px;
    transition: all 0.2s ease;
}

.radio-card input[type="radio"]:checked+.radio-content {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-600);
    transform: scale(1.02);
}

.radio-card input[type="radio"]:checked+.radio-content .radio-icon {
    transform: scale(1.2);
}

.radio-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 70px;
}

/* 3. ?곗뾽遺꾩빞 ?쒓렇 源붾걫???붿옄??*/
.tag-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.tag-checkbox {
    position: relative;
}

.tag-label {
    display: block;
    text-align: center;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tag-checkbox input[type="checkbox"]:checked+.tag-label {
    background: var(--gradient-primary);
    border-color: var(--primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.tag-label:hover {
    border-color: var(--primary-400);
    transform: translateY(-1px);
}

/* 4. ?꾨왂 移대뱶 ?レ옄瑜??꾨줈 諛곗튂 */
.step-item {
    position: relative;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
}

.step-number {
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    z-index: 1;
}

.step-text {
    text-align: center;
}

.step-text strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.step-text p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
}

/* 紐⑤컮??理쒖쟻??*/
@media (max-width: 768px) {
    .radio-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .tag-group {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 0.5rem;
    }

    .tag-label {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    .radio-content {
        padding: 0.75rem 0.5rem;
    }

    .radio-label {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .step-item {
        padding: 2.5rem 1rem 1rem 1rem;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        top: -1rem;
    }

    .step-text strong {
        font-size: 1rem;
    }

    .step-text p {
        font-size: 0.875rem;
    }
}

/* Z?대뱶 ?뱁솕 (280px ~ 344px) */
@media (max-width: 344px) {
    .form-input[type="date"] {
        font-size: 0.9375rem;
        padding: 0.75rem;
    }

    .radio-content {
        padding: 0.625rem 0.375rem;
        min-height: 60px;
    }

    .radio-icon {
        font-size: 1.25rem;
    }

    .radio-label {
        font-size: 0.8125rem;
    }

    .tag-group {
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
        gap: 0.375rem;
    }

    .tag-label {
        padding: 0.625rem 0.375rem;
        font-size: 0.8125rem;
    }
}


/* ================================================
   ?쇰뵒??踰꾪듉 & Date Input 湲닿툒 ?섏젙
   styles.css??湲곗〈 肄붾뱶瑜??닿쾬?쇰줈 援먯껜?섏꽭??
   ================================================ */

/* ?쇰뵒??踰꾪듉 - ?띿뒪??以꾨컮轅?諛⑹? */
@media (max-width: 768px) {
    .radio-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .radio-content {
        padding: 0.625rem 0.25rem;
        min-height: 65px;
    }

    .radio-icon {
        font-size: 1.25rem;
    }

    .radio-label {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Date Input - 鍮?媛믪씪 ??placeholder ?쒖떆 */
.form-input[type="date"] {
    color: var(--gray-900) !important;
    font-size: 1rem;
    padding: var(--spacing-md);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    position: relative;
}

.form-input[type="date"]:invalid {
    color: var(--gray-500);
}

.form-input[type="date"]::-webkit-datetime-edit-text,
.form-input[type="date"]::-webkit-datetime-edit-month-field,
.form-input[type="date"]::-webkit-datetime-edit-day-field,
.form-input[type="date"]::-webkit-datetime-edit-year-field {
    color: var(--gray-900);
}

.form-input[type="date"]:invalid::-webkit-datetime-edit {
    color: transparent;
}

.form-input[type="date"]:focus:invalid::-webkit-datetime-edit {
    color: var(--gray-900);
}

/* Date input???ㅼ젣 placeholder ??븷 ?섎뒗 before 媛???붿냼 遺덇??ν븯誘濡?
   ???label hint瑜???紐낇솗?섍쾶 */
#estDateGroup .form-label {
    display: flex;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.tag-label:hover {
    border-color: var(--primary-400);
    transform: translateY(-1px);
}

/* 4. ?꾨왂 移대뱶 ?レ옄瑜??꾨줈 諛곗튂 */
.step-item {
    position: relative;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    background: white;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
}

.step-number {
    position: absolute;
    top: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    z-index: 1;
}

.step-text {
    text-align: center;
}

.step-text strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.step-text p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.6;
}

/* 紐⑤컮??理쒖쟻??*/
@media (max-width: 768px) {
    .radio-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .tag-group {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 0.5rem;
    }

    .tag-label {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }

    .radio-content {
        padding: 0.75rem 0.5rem;
    }

    .radio-label {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .step-item {
        padding: 2.5rem 1rem 1rem 1rem;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        top: -1rem;
    }

    .step-text strong {
        font-size: 1rem;
    }

    .step-text p {
        font-size: 0.875rem;
    }
}

/* Z?대뱶 ?뱁솕 (280px ~ 344px) */
@media (max-width: 344px) {
    .form-input[type="date"] {
        font-size: 0.9375rem;
        padding: 0.75rem;
    }

    .radio-content {
        padding: 0.625rem 0.375rem;
        min-height: 60px;
    }

    .radio-icon {
        font-size: 1.25rem;
    }

    .radio-label {
        font-size: 0.8125rem;
    }

    .tag-group {
        grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
        gap: 0.375rem;
    }

    .tag-label {
        padding: 0.625rem 0.375rem;
        font-size: 0.8125rem;
    }
}


/* ================================================
   ?쇰뵒??踰꾪듉 & Date Input 湲닿툒 ?섏젙
   styles.css??湲곗〈 肄붾뱶瑜??닿쾬?쇰줈 援먯껜?섏꽭??
   ================================================ */

/* ?쇰뵒??踰꾪듉 - ?띿뒪??以꾨컮轅?諛⑹? */
@media (max-width: 768px) {
    .radio-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .radio-content {
        padding: 0.625rem 0.25rem;
        min-height: 65px;
    }

    .radio-icon {
        font-size: 1.25rem;
    }

    .radio-label {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Date Input - 鍮?媛믪씪 ??placeholder ?쒖떆 */
.form-input[type="date"] {
    color: var(--gray-900) !important;
    font-size: 1rem;
    padding: var(--spacing-md);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    position: relative;
}

.form-input[type="date"]:invalid {
    color: var(--gray-500);
}

.form-input[type="date"]::-webkit-datetime-edit-text,
.form-input[type="date"]::-webkit-datetime-edit-month-field,
.form-input[type="date"]::-webkit-datetime-edit-day-field,
.form-input[type="date"]::-webkit-datetime-edit-year-field {
    color: var(--gray-900);
}

.form-input[type="date"]:invalid::-webkit-datetime-edit {
    color: transparent;
}

.form-input[type="date"]:focus:invalid::-webkit-datetime-edit {
    color: var(--gray-900);
}

/* Date input???ㅼ젣 placeholder ??븷 ?섎뒗 before 媛???붿냼 遺덇??ν븯誘濡?
   ???label hint瑜???紐낇솗?섍쾶 */
#estDateGroup .form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#estDateGroup .label-hint {
    color: var(--primary-600);
    font-weight: 600;
    font-size: 0.875rem;
}

/* 寃???꾪꽣 UI - ?멸린 寃?됱뼱 踰꾪듉 */
.keyword-tag {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.keyword-tag:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ================================================
   Z?대뱶3 諛?珥덉냼??紐⑤컮???붾㈃ (480px ?댄븯) ?꾨꼍 ???
   ================================================ */
@media (max-width: 480px) {
    .female-ceo-text-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .female-ceo-sub {
        font-size: 0.8rem !important;
        margin-top: 0.15rem;
    }
    /* 1. ?곷떒 ?ㅻ퉬寃뚯씠?섎컮 紐⑤컮???꾨쾭嫄?硫붾돱 */
    .navbar .container {
        flex-direction: row; /* 濡쒓퀬? 踰꾪듉??媛濡?諛곗튂 */
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--gray-900);
        transition: transform 0.2s ease;
    }
    .mobile-menu-btn:active {
        transform: scale(0.9);
    }
    .nav-links {
        display: flex; 
        flex-direction: column;
        width: calc(100% + 2rem);
        position: absolute;
        top: 100%;
        left: -1rem;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 1.25rem 1.5rem;
        box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1), 0 10px 15px -5px rgba(0,0,0,0.05);
        z-index: 1000;
        gap: 0.75rem;
        border-bottom-left-radius: 1.5rem;
        border-bottom-right-radius: 1.5rem;
        border-bottom: 2px solid var(--primary-100);
        box-sizing: border-box;
        
        /* Smooth Sliding Animation */
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-link {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--gray-700);
        width: 100%;
        text-align: left;
        padding: 0.875rem 1.25rem;
        border-radius: 0.75rem;
        background: var(--gray-50);
        border: 1px solid var(--gray-200);
        transition: all 0.2s ease;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }
    .nav-link::before {
        content: '??;
        color: var(--primary-400);
        font-size: 1.2rem;
    }
    .nav-link:hover, .nav-link.active {
        background: var(--primary-50);
        color: var(--primary-700);
        border-color: var(--primary-200);
        transform: translateX(3px);
    }
    .nav-link.active::before {
        content: '??;
        color: var(--primary-600);
    }
    .nav-link::after {
        display: none !important; /* 湲곗〈 ?곗뒪?ы깙 ?몃뜑?쇱씤 ?④? */
    }

    /* ?ы꽭 ??쒕낫??踰꾪듉 ?ㅽ????밸퀎 媛뺥솕 */
    .nav-link[style*="color"] {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        color: white !important;
        border: none !important;
        justify-content: center;
        font-weight: 700;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        margin-top: 0.5rem;
        text-align: center;
        transform: none !important;
    }
    .nav-link[style*="color"]::before {
        display: none;
    }
    .nav-link[style*="color"]:active {
        opacity: 0.9;
        transform: scale(0.98);
    }

    /* 2. 留ㅼ묶 寃곌낵 ?붿빟 移대뱶(10+, 17, 3?? 諛섏쓳??苑?李④쾶 */
    .hero-stats {
        width: 100%;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* 3??媛濡?諛곗튂 */
        gap: 0.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    .stat-card {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0.75rem 0.5rem !important;
        margin-bottom: 0 !important;
        box-shadow: var(--shadow-sm) !important;
        border-radius: 0.5rem !important;
    }
    .stat-number {
        font-size: 1.25rem !important;
        margin-bottom: 0.15rem !important;
    }
    .stat-label {
        font-size: 0.7rem !important;
        white-space: nowrap;
    }

    /* 3. 留ㅼ묶 寃곌낵 ??(吏?먭툑/?듭옄/蹂댁쬆) ???붾㈃??苑?李④쾶 (?ㅼ??댄봽 ?놁빊) */
    .results-tabs {
        display: flex;
        justify-content: space-between;
        gap: 0;
        padding-bottom: 0.5rem;
    }
    .tab-button {
        flex: 1; /* 3媛쒓? 33%???섎닠 媛吏?*/
        text-align: center;
        padding: 0.5rem 0;
        font-size: 0.85rem;
        white-space: nowrap;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
    .tab-count {
        font-size: 0.75rem;
    }

    /* 4. 踰꾪듉怨??섎떒 ?뱀뀡 媛꾧꺽 ?뺣낫 & ?듭떖 湲곕뒫 而댄뙥??異뺤냼 & ?덉뼱濡?而댄뙥??異뺤냼 */
    .hero {
        min-height: auto !important;
        padding-top: 90px !important;
        padding-bottom: 3rem !important; /* ?섎떒 ?뱀뀡怨?異⑸텇??嫄곕━ ?쒓났 */
    }
    .hero-badge {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-title {
        font-size: 1.875rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-description {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.25rem !important;
    }
    .cta-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
    .features {
        padding: 2rem 0 !important; /* ?⑤뵫 異뺤냼 */
    }
    .section-title {
        font-size: 1.5rem !important; /* 紐⑤컮????댄? ?ш린 ?꾩뿭 異뺤냼 */
        margin-bottom: 1rem !important;
        line-height: 1.3 !important;
    }
    .section-subtitle {
        font-size: 0.85rem !important; /* 紐⑤컮???ㅻ챸湲 ?ш린 異뺤냼 */
        line-height: 1.4 !important;
        margin-top: 0.25rem !important;
    }
    .section-header {
        margin-bottom: 1.5rem !important;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2?대줈 諛곗튂?섏뿬 ?몃줈 湲몄씠 ????덉빟 */
        gap: 0.75rem !important;
    }
    .feature-card {
        padding: 0.85rem 0.75rem !important; /* 移대뱶 ?щ갚 理쒖냼??*/
        border-radius: 0.625rem !important;
        text-align: left;
    }
    .feature-icon {
        font-size: 1.5rem !important; /* ?꾩씠肄??ш린 異뺤냼 */
        margin-bottom: 0.35rem !important;
    }
    .feature-title {
        font-size: 0.875rem !important; /* ?쒕ぉ ?ш린 異뺤냼 */
        margin-bottom: 0.25rem !important;
        font-weight: 800 !important;
    }
    .feature-description {
        font-size: 0.75rem !important; /* ?ㅻ챸 湲???ш린 異뺤냼 */
        line-height: 1.4 !important;
        color: var(--gray-600) !important;
    }
}

/* ?곗뒪?ы깙?먯꽌???꾨쾭嫄?踰꾪듉 ?④? */
@media (min-width: 481px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ??????????????????????????????????????????????????????????????????????????
   ?뺤콉?먭툑 留ㅼ묶 v3 ?곷떞??踰꾩쟾 ?꾩슜 ?ㅽ???
   ?????????????????????????????????????????????????????????????????????????? */

/* ?뚮쭏 湲곕낯 ?ㅼ젙 */
.dashboard-theme {
    background-color: #0f172a; /* Harmonious Dark Slate */
    color: #e2e8f0;
}

.version-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: #4f46e5;
    color: white;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* 2????쒕낫??洹몃━??*/
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-left, .dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 移대뱶 ?⑤꼸 怨듯넻 ?ㅽ???*/
.card-panel {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.75rem;
}

/* ???붿옄???붿냼 */
.form-row {
    display: flex;
    gap: 1rem;
}

.flex-1 {
    flex: 1;
}

.matching-form .form-label {
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.matching-form .form-input,
.matching-form .form-select,
.matching-form .form-textarea {
    background-color: #0f172a;
    border: 1px solid #334155;
    color: #f8fafc;
    border-radius: 0.5rem;
}

.matching-form .form-input::placeholder,
.matching-form .form-textarea::placeholder {
    color: #475569;
}

.matching-form .form-input:focus,
.matching-form .form-select:focus,
.matching-form .form-textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* ?쇰뵒??移대뱶 ?ㅽ???而ㅼ뒪? */
.radio-content {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
}

.radio-card input[type="radio"]:checked + .radio-content {
    border-color: #6366f1 !important;
    background: #6366f1 !important;
    color: white !important;
}

/* ?좉? 踰꾪듉 洹몃９ (?곗껜?좊Т ?? */
.toggle-group {
    display: flex;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.toggle-btn {
    flex: 1;
    cursor: pointer;
    text-align: center;
}

.toggle-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.toggle-label {
    display: block;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #94a3b8;
    transition: all 0.2s;
}

.toggle-btn input[type="radio"]:checked + .toggle-label {
    background-color: #6366f1;
    color: white;
}

/* ?낅젰 諭껋? */
.business-age-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* 泥댄겕諛뺤뒪 ?붿옄??*/
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: #6366f1;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #6366f1;
    border-color: #6366f1;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-weight: 600;
    color: #e2e8f0;
}

.accent-span {
    color: #f43f5e;
    font-size: 0.85rem;
}

/* 媛?대뱶 ?⑤꼸 ?ㅽ???*/
.guide-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.guide-item {
    display: flex;
    gap: 1rem;
    background: #0f172a;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-left: 4px solid #6366f1;
}

.guide-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366f1;
}

.guide-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.guide-item-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* 留ㅼ묶 寃곌낵 ?뱀뀡 */
.matching-results-section {
    margin-top: 3rem;
}

.result-summary-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    padding: 2.5rem;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.result-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-stat-box {
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    color: white;
}

.box-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.box-teal {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

.box-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.stat-box-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.stat-box-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-box-sub {
    font-size: 0.875rem;
    opacity: 0.8;
}

.double-benefit-banner {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.banner-title {
    font-weight: 700;
    color: #fbbf24;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.banner-desc {
    color: #d97706;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.combo-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.combo-item {
    background: rgba(15, 23, 42, 0.6);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.combo-badge {
    background: #f59e0b;
    color: #0f172a;
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-weight: 800;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

/* ?꾪꽣 ?⑤꼸 */
.filter-panel-card {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.popular-keywords {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.keyword-title {
    font-size: 0.875rem;
    color: #94a3b8;
}

.keyword-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.keyword-tag-btn {
    background: #334155;
    border: none;
    color: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s;
}

.keyword-tag-btn:hover {
    background: #6366f1;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.filter-select {
    padding: 0.5rem;
    background: #0f172a;
    border: 1px solid #334155;
    color: white;
    border-radius: 0.375rem;
}

/* ?뺤콉?먭툑 移대뱶 */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.grant-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.grant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.rank-badge {
    position: absolute;
    top: 1rem;
    right: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 9999px;
}

.rank-top {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a;
}

.rank-normal {
    background: #475569;
    color: #f8fafc;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-right: 8rem; /* ??궧 諭껋? 怨듦컙 ?뺣낫 */
}

.card-info-side {
    flex: 1;
}

.card-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

.badge-category { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.badge-ax { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.badge-female { background: rgba(244, 63, 94, 0.15); color: #fb7185; }

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.25rem;
}

.card-agency {
    font-size: 0.875rem;
    color: #94a3b8;
}

.card-score-side {
    text-align: right;
}

.score-label {
    font-size: 0.75rem;
    color: #94a3b8;
}

.score-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: #6366f1;
}

.score-unit {
    font-size: 1rem;
    font-weight: 500;
}

.card-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: #0f172a;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-box {
    text-align: center;
}

.detail-label {
    font-size: 0.75rem;
    color: #475569;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 1rem;
    font-weight: 700;
}

.value-blue { color: #3b82f6; }
.value-green { color: #10b981; }
.value-red { color: #ef4444; }

.card-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.card-btn-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid #475569;
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s;
}

.card-btn-link:hover {
    background: #334155;
}

.card-btn-script {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: #6366f1;
    border: none;
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.card-btn-script:hover {
    background: #4f46e5;
}

/* ??蹂닿린 踰꾪듉 ?ㅽ???*/
.more-button-wrapper {
    text-align: center;
    margin-top: 1rem;
}

.more-expand-btn {
    background: #334155;
    border: 1px solid #475569;
    color: #f1f5f9;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.more-expand-btn:hover {
    background: #475569;
}

/* ?뺤옣 ?좊땲硫붿씠??*/
.slide-down-anim {
    animation: slideDownFade 0.4s ease-out forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ?뮠 紐⑤떖 ?앹뾽 援ъ“ ?ㅽ??쇰쭅 */




.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #334155;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8fafc;
}

.modal-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #ef4444;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(99, 102, 241, 0.2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

.modal-loading-text {
    font-size: 0.95rem;
    color: #94a3b8;
    text-align: center;
}

.counseling-content-body {
    color: #e2e8f0;
    line-height: 1.8;
}

.formatted-script {
    font-size: 0.975rem;
}

.script-h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #818cf8;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-left: 4px solid #6366f1;
    padding-left: 0.75rem;
}

.script-h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #a78bfa;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.25rem 2rem;
    border-top: 1px solid #334155;
    background: #0f172a;
}

.modal-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.modal-btn-copy {
    background: #10b981;
    border: none;
    color: white;
}

.modal-btn-copy:hover:not(:disabled) {
    background: #059669;
}

.modal-btn-copy:disabled {
    background: #4b5563;
    cursor: not-allowed;
}

.modal-btn-close {
    background: transparent;
    border: 1px solid #475569;
    color: #e2e8f0;
}

.modal-btn-close:hover {
    background: #334155;
}

/* 2???덉씠?꾩썐 誘몃뵒?댁옘由?(紐⑤컮?? */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .summary-stats-grid {
        grid-template-columns: 1fr;
    }
    .filter-controls {
        grid-template-columns: 1fr;
    }
    .card-header-row {
        flex-direction: column;
        padding-right: 0;
    }
    .card-score-side {
        text-align: left;
        margin-top: 1rem;
    }
    .card-details-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .card-actions {
        flex-direction: column;
    }
    .card-btn-link, .card-btn-script {
        justify-content: center;
    }
    .rank-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

/* ??? v3 ?곷떞?ъ슜 ?ㅼ떆蹂대뱶 ?뚮쭏 ?ㅻ쾭?쇱씠??諛?媛쒖꽑 ?ㅽ???????????????????? */

/* Placeholder 媛?낆꽦 ?μ긽 */
.dashboard-theme .matching-form .form-input::placeholder,
.dashboard-theme .matching-form .form-textarea::placeholder {
    color: #94a3b8 !important;
}

/* date ????낅젰 ?꾨뱶 ?ㅽ???媛뺤젣 吏??諛?媛濡??섎┝ 蹂댁젙 */
.dashboard-theme .form-input[type="date"],
.dashboard-theme input[type="date"] {
    color: #ffffff !important;
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color-scheme: dark !important;
    font-size: 0.95rem !important;
    min-width: 180px !important; /* 湲???섎┝ ?꾩긽 諛⑹?瑜??꾪빐 理쒖냼 ???볤쾶 吏??*/
    box-sizing: border-box !important;
}

/* ?뱁궥 釉뚮씪?곗? ?좎쭨 而댄룷?뚰듃 ?띿뒪??而щ윭 媛뺤젣 ?곸냽 */
.dashboard-theme .form-input[type="date"]::-webkit-datetime-edit,
.dashboard-theme .form-input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.dashboard-theme .form-input[type="date"]::-webkit-datetime-edit-text,
.dashboard-theme .form-input[type="date"]::-webkit-datetime-edit-month-field,
.dashboard-theme .form-input[type="date"]::-webkit-datetime-edit-day-field,
.dashboard-theme .form-input[type="date"]::-webkit-datetime-edit-year-field,
.dashboard-theme input[type="date"]::-webkit-datetime-edit,
.dashboard-theme input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.dashboard-theme input[type="date"]::-webkit-datetime-edit-text,
.dashboard-theme input[type="date"]::-webkit-datetime-edit-month-field,
.dashboard-theme input[type="date"]::-webkit-datetime-edit-day-field,
.dashboard-theme input[type="date"]::-webkit-datetime-edit-year-field {
    color: #ffffff !important;
}

/* ?ㅽ겕 ??쒕낫???뚮쭏 ?곗뾽 ?쒓렇 ?쇰꺼 ?ㅻ쾭?쇱씠??*/
.dashboard-theme .tag-label {
    background: #1e293b !important;
    border: 2px solid #334155 !important;
    color: #94a3b8 !important;
    border-radius: 9999px; /* ?κ렐 罹≪뒓 ?뺥깭濡??듭씪?섏뿬 ?꾨━誘몄뾼 ?먮굦 遺??*/
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
}

.dashboard-theme .tag-checkbox input[type="checkbox"]:checked + .tag-label {
    background: #6366f1 !important;
    border-color: #6366f1 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.dashboard-theme .tag-label:hover {
    border-color: #6366f1 !important;
    color: #f8fafc !important;
    background: #1e293b !important;
}

/* API ???ㅼ젙 ?⑤꼸 ?꾨━誘몄뾼 ?붿옄??*/
.api-key-panel {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 1.5rem;
}

.api-key-panel .panel-title {
    color: #f8fafc !important;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.api-key-btn {
    transition: all 0.2s ease-in-out;
}

.api-key-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 異붿쿇 ?먭툑 紐⑤몢 ?몄텧 ?덈궡 硫붿떆吏 ?ㅽ???*/
.all-loaded-msg {
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
    font-size: 0.875rem;
    border: 1px dashed #334155;
    border-radius: 0.5rem;
    background: rgba(30, 41, 59, 0.3);
    margin-top: 1rem;
    font-weight: 500;
}
/* ================================================
   ??媛?대뱶 硫붾돱 (Quick Guide FAB)
   ================================================ */

.quick-guide-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1.1rem;
}

.quick-guide-fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.6);
}

.guide-modal-box {
    max-width: 700px;
    width: 90%;
}

.guide-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
}

.guide-tabs {
    display: flex;
    overflow-x: auto;
    background: var(--gray-800);
    border-bottom: 2px solid var(--gray-700);
}

.guide-tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem 0.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: bold;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.guide-tab-btn.active {
    color: white;
    border-bottom-color: var(--primary-500);
    background: var(--gray-700);
}

.guide-content-area {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
    background: var(--gray-900);
}

.guide-panel-content h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.guide-text {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-left: 4px solid var(--primary-500);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-100);
    white-space: pre-wrap;
    margin-bottom: 1rem;
    font-family: inherit;
}

@media (max-width: 768px) {
    .quick-guide-fab {
        bottom: 5rem; /* 紐⑤컮?쇱뿉?쒕뒗 留??꾨줈 ?щ━湲?湲곕뒫 踰꾪듉怨?寃뱀튂吏 ?딄쾶 */
        right: 1.5rem;
        padding: 10px 16px;
        font-size: 1rem;
    }
    .guide-tabs {
        flex-wrap: nowrap;
    }
    .guide-tab-btn {
        font-size: 0.9rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 2rem;
    z-index: 1100;
}

.modal-box {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #334155;
    width: 600px;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
}