/* ================================
   Game QA Portfolio - CSS
   ================================ */

/* 리셋 & 기본 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B83FF;
    --secondary: #FF6584;
    --accent: #43E97B;
    --bg-dark: #0F0E17;
    --bg-card: #1A1932;
    --bg-card-hover: #232147;
    --text-primary: #FFFFFE;
    --text-secondary: #A7A9BE;
    --text-muted: #72738C;
    --border: #2E2D4A;
    --success: #43E97B;
    --danger: #FF6584;
    --warning: #FFD93D;
    --gradient-1: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --gradient-2: linear-gradient(135deg, #43E97B 0%, #38F9D7 100%);
    --gradient-3: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    color: var(--primary);
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(108, 99, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(255, 101, 132, 0.1) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-5%, 5%) rotate(3deg); }
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* 버튼 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-3px);
}

/* 섹션 */
.section {
    padding: 100px 0;
}

.section-dark {
    background: linear-gradient(180deg, rgba(26, 25, 50, 0.5) 0%, var(--bg-dark) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* 학습 탭 */
.learn-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    background: rgba(108, 99, 255, 0.1);
}

.tab-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.tab-btn i {
    margin-right: 6px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* 학습 카드 */
.learn-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.learn-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.learn-card-header {
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(255, 101, 132, 0.05) 100%);
    border-bottom: 1px solid var(--border);
}

.learn-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.learn-card-body {
    padding: 32px;
}

.learn-card-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 28px 0 16px;
    color: var(--primary-light);
}

.learn-card-body h4:first-child {
    margin-top: 0;
}

/* 정의 박스 */
.definition-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, rgba(67, 233, 123, 0.05) 100%);
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.def-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.def-text {
    font-size: 0.95rem;
    line-height: 1.8;
}

.highlight-text {
    color: var(--accent);
    font-weight: 600;
}

/* QA 타입 그리드 */
.qa-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.qa-type-card {
    padding: 24px;
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

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

.qa-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.qa-type-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.qa-type-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.example-box {
    padding: 12px 16px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.example-label {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

/* 프로세스 플로우 */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 80px;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
}

.process-step.highlight-step {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.15);
    box-shadow: var(--shadow-glow);
}

.step-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.process-arrow {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

/* 팁 박스 */
.tip-box {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.08) 0%, rgba(56, 249, 215, 0.05) 100%);
    border: 1px solid rgba(67, 233, 123, 0.2);
    border-radius: var(--radius-md);
    margin-top: 24px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.tip-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* 테이블 */
.learn-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}

.learn-table th {
    background: rgba(108, 99, 255, 0.15);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-light);
    border-bottom: 2px solid var(--primary);
}

.learn-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.learn-table tr:hover td {
    background: rgba(108, 99, 255, 0.05);
}

/* 코드 블록 */
.code-block {
    background: #0D0C1A;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 16px 0;
}

.code-header {
    padding: 12px 20px;
    background: rgba(108, 99, 255, 0.1);
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
}

.code-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.code-table th {
    background: rgba(108, 99, 255, 0.08);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.code-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(46, 45, 74, 0.5);
    color: var(--text-secondary);
}

.code-table tr:hover td {
    background: rgba(108, 99, 255, 0.03);
}

.pass {
    color: var(--success) !important;
    font-weight: 600;
}

.fail {
    color: var(--danger) !important;
    font-weight: 600;
}

/* 버그 리포트 템플릿 */
.bug-report-template {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.bug-item {
    padding: 20px;
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.bug-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.bug-label {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.bug-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.bug-example {
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.severity-levels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sev {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sev.critical {
    background: rgba(255, 101, 132, 0.2);
    color: var(--danger);
    border: 1px solid rgba(255, 101, 132, 0.3);
}

.sev.major {
    background: rgba(255, 217, 61, 0.2);
    color: var(--warning);
    border: 1px solid rgba(255, 217, 61, 0.3);
}

.sev.minor {
    background: rgba(67, 233, 123, 0.2);
    color: var(--accent);
    border: 1px solid rgba(67, 233, 123, 0.3);
}

/* 도구 그리드 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tool-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

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

.tool-icon-large {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tool-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tool-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.tool-features {
    list-style: none;
    margin-bottom: 16px;
}

.tool-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tool-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.tool-tip {
    padding: 10px 14px;
    background: rgba(67, 233, 123, 0.08);
    border: 1px solid rgba(67, 233, 123, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--accent);
}

/* 플랫폼 비교 */
.platform-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.platform-card.android:hover {
    border-color: #43E97B;
}

.platform-card.ios:hover {
    border-color: #6C63FF;
}

.platform-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.platform-card.android .platform-header {
    background: rgba(67, 233, 123, 0.08);
}

.platform-card.ios .platform-header {
    background: rgba(108, 99, 255, 0.08);
}

.platform-icon {
    font-size: 2rem;
}

.platform-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.platform-content {
    padding: 20px;
}

.platform-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-light);
    margin: 16px 0 10px;
}

.platform-content h5:first-child {
    margin-top: 0;
}

.platform-content ul {
    list-style: none;
    margin-bottom: 8px;
}

.platform-content li {
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.platform-content li::before {
    content: '•';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* 체크리스트 그리드 */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.checklist-card {
    padding: 20px;
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.checklist-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.checklist-card h5 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.checklist-card ul {
    list-style: none;
}

.checklist-card li {
    padding: 4px 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.checklist-card li::before {
    content: '☐';
    color: var(--text-muted);
}

/* 포트폴리오 그리드 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.portfolio-card-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(255, 101, 132, 0.05) 100%);
    border-bottom: 1px solid var(--border);
}

.portfolio-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.portfolio-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.portfolio-card-body {
    padding: 24px;
}

.portfolio-thumb {
    height: 120px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(67, 233, 123, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.thumb-content {
    text-align: center;
}

.thumb-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.thumb-content span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.portfolio-card-body > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.portfolio-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: rgba(108, 99, 255, 0.05);
    border-radius: var(--radius-sm);
    min-width: 60px;
}

.stat-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* 면접 섹션 */
.interview-categories {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.interview-tab {
    padding: 12px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.interview-tab:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.interview-tab.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
}

.interview-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.interview-content.active {
    display: block;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(108, 99, 255, 0.3);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(108, 99, 255, 0.05);
}

.q-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.faq-question span:nth-child(2) {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.faq-question i {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.answer-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(67, 233, 123, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    padding-left: 48px;
}

/* 연락처 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.contact-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.contact-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-light);
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 푸터 */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-content p:last-child {
    color: var(--text-secondary);
}

/* 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* 스크롤 애니메이션 클래스 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        border-top: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .platform-comparison {
        grid-template-columns: 1fr;
    }

    .process-flow {
        gap: 4px;
    }

    .process-step {
        padding: 12px;
        min-width: 60px;
    }

    .process-arrow {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .learn-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .learn-card-body {
        padding: 20px;
    }

    .definition-box {
        flex-direction: column;
    }

    .faq-answer p {
        padding-left: 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .portfolio-stats {
        flex-direction: column;
    }

    .stat {
        padding: 8px;
    }
}
