/*
Theme Name: CodeFit Universe
Theme URI: https://codefit.it1004.com
Author: CodeFit Team
Author URI: https://it1004.com
Description: AI 시대, 인간의 가치를 증명하는 종합 IT 인재 검증 플랫폼 - Beyond AI, Proving Human Value
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codefit
Tags: dark-mode, portfolio, recruitment, it-talent, ai-powered

CodeFit Universe - 종합 IT 인재 검증 프로토콜
*/

:root {
    /* Dark Theme Colors */
    --cf-bg-primary: #0a0a0f;
    --cf-bg-secondary: #12121a;
    --cf-bg-tertiary: #1a1a25;
    --cf-bg-card: #16161f;
    
    /* Accent Colors */
    --cf-accent-primary: #6366f1;
    --cf-accent-secondary: #8b5cf6;
    --cf-accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    
    /* Role Colors */
    --cf-dev-color: #22d3ee;
    --cf-design-color: #f472b6;
    --cf-pm-color: #facc15;
    
    /* Text Colors */
    --cf-text-primary: #f8fafc;
    --cf-text-secondary: #94a3b8;
    --cf-text-muted: #64748b;
    
    /* Border & Effects */
    --cf-border: #2a2a3a;
    --cf-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* Fonts */
    --cf-font-mono: "JetBrains Mono", "Fira Code", monospace;
    --cf-font-sans: "Inter", "Pretendard", -apple-system, sans-serif;
    
    /* Spacing */
    --cf-radius: 12px;
    --cf-radius-sm: 8px;
    --cf-radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--cf-font-sans);
    background-color: var(--cf-bg-primary);
    color: var(--cf-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
    color: var(--cf-accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--cf-accent-secondary);
}

/* Container */
.cf-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.cf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--cf-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cf-btn-primary {
    background: var(--cf-accent-gradient);
    color: white;
    box-shadow: var(--cf-glow);
}

.cf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.cf-btn-outline {
    background: transparent;
    color: var(--cf-text-primary);
    border: 1px solid var(--cf-border);
}

.cf-btn-outline:hover {
    border-color: var(--cf-accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

/* Cards */
.cf-card {
    background: var(--cf-bg-card);
    border: 1px solid var(--cf-border);
    border-radius: var(--cf-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.cf-card:hover {
    border-color: var(--cf-accent-primary);
    box-shadow: var(--cf-glow);
    transform: translateY(-4px);
}

/* Role Cards */
.cf-role-card {
    position: relative;
    overflow: hidden;
}

.cf-role-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.cf-role-card.developer::before {
    background: var(--cf-dev-color);
}

.cf-role-card.designer::before {
    background: var(--cf-design-color);
}

.cf-role-card.pm::before {
    background: var(--cf-pm-color);
}

/* Terminal Style for Dev Mode */
.cf-terminal {
    font-family: var(--cf-font-mono);
    background: var(--cf-bg-secondary);
    border: 1px solid var(--cf-border);
    border-radius: var(--cf-radius);
    overflow: hidden;
}

.cf-terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--cf-bg-tertiary);
    border-bottom: 1px solid var(--cf-border);
}

.cf-terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.cf-terminal-dot.red { background: #ff5f56; }
.cf-terminal-dot.yellow { background: #ffbd2e; }
.cf-terminal-dot.green { background: #27ca40; }

.cf-terminal-body {
    padding: 1.5rem;
    min-height: 200px;
}

.cf-terminal-line {
    margin-bottom: 0.5rem;
}

.cf-terminal-prompt {
    color: var(--cf-dev-color);
}

.cf-terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--cf-text-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Code Editor Style */
.cf-code-editor {
    font-family: var(--cf-font-mono);
    font-size: 0.9rem;
    line-height: 1.7;
}

.cf-line-number {
    color: var(--cf-text-muted);
    user-select: none;
    margin-right: 1.5rem;
}

.cf-keyword { color: #c792ea; }
.cf-function { color: #82aaff; }
.cf-string { color: #c3e88d; }
.cf-comment { color: #546e7a; }
.cf-variable { color: #f78c6c; }

/* Hexagon Stats */
.cf-hexagon-stats {
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

/* Navigation */
.cf-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cf-border);
}

.cf-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.cf-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cf-text-primary);
}

.cf-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--cf-accent-gradient);
    border-radius: var(--cf-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
}

.cf-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.cf-nav-menu a {
    color: var(--cf-text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.cf-nav-menu a:hover,
.cf-nav-menu a.active {
    color: var(--cf-text-primary);
}

.cf-nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cf-accent-gradient);
    transition: width 0.3s ease;
}

.cf-nav-menu a:hover::after,
.cf-nav-menu a.active::after {
    width: 100%;
}

/* Hero Section */
.cf-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.cf-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cf-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cf-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--cf-bg-tertiary);
    border: 1px solid var(--cf-border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--cf-text-secondary);
    margin-bottom: 2rem;
}

.cf-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cf-hero-title .gradient-text {
    background: var(--cf-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cf-hero-description {
    font-size: 1.25rem;
    color: var(--cf-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cf-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Command Palette */
.cf-command-palette {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: var(--cf-bg-secondary);
    border: 1px solid var(--cf-border);
    border-radius: var(--cf-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.cf-command-palette.active {
    display: block;
}

.cf-command-input {
    width: 100%;
    padding: 1.25rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cf-border);
    color: var(--cf-text-primary);
    font-size: 1.1rem;
    font-family: var(--cf-font-mono);
    outline: none;
}

.cf-command-results {
    max-height: 400px;
    overflow-y: auto;
}

.cf-command-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cf-command-item:hover,
.cf-command-item.selected {
    background: var(--cf-bg-tertiary);
}

.cf-command-shortcut {
    margin-left: auto;
    padding: 0.25rem 0.5rem;
    background: var(--cf-bg-tertiary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--cf-font-mono);
    color: var(--cf-text-muted);
}

/* Footer */
.cf-footer {
    background: var(--cf-bg-secondary);
    border-top: 1px solid var(--cf-border);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

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

.cf-footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--cf-text-primary);
}

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

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

.cf-footer-links a {
    color: var(--cf-text-secondary);
    font-size: 0.95rem;
}

.cf-footer-links a:hover {
    color: var(--cf-text-primary);
}

.cf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--cf-border);
    font-size: 0.875rem;
    color: var(--cf-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .cf-container {
        padding: 0 1rem;
    }
    
    .cf-nav-menu {
        display: none;
    }
    
    .cf-hero-actions {
        flex-direction: column;
    }
    
    .cf-btn {
        width: 100%;
    }
}
