/*
Theme Name: AI Video Studio
Theme URI: https://polywork.kr
Author: 스틸라이프필름스튜디오
Description: 영상 제작용 AI 툴 모음(GVI Scanner·AI 글쓰기·뮤직비디오 메이커·컷 합성·Suno 가사·AI 마스터링)을 내장한 워드프레스 테마. 활성화 시 툴 페이지가 자동 생성되며, 소셜 로그인(카카오·구글·네이버)과 크레딧/유료 배포 구조를 포함합니다.
Version: 0.3.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ai-video-studio
*/

/* 기본 베이스 (테마 뼈대) */
:root { --avs-purple: #6d28d9; --avs-pink: #ec4899; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif; color: #1a1a1a; background: #f5f5f7; }
a { color: var(--avs-purple); }

/* 사이트 헤더/푸터 */
.avs-site-header { background: #fff; border-bottom: 2px solid #e5e7eb; position: sticky; top: 0; z-index: 200; }
.avs-site-header .inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 12px 16px; }
.avs-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; color: inherit; }
.avs-logo .mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--avs-purple), var(--avs-pink)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.avs-logo .name { background: linear-gradient(135deg, var(--avs-purple), var(--avs-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.avs-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.avs-nav a { padding: 10px 12px; text-decoration: none; color: #6b7280; font-size: 13px; font-weight: 600; border-radius: 8px; }
.avs-nav a:hover { color: var(--avs-purple); background: rgba(109,40,217,.05); }
.avs-header-right { margin-left: auto; }
.avs-site-footer { text-align: center; padding: 28px 16px; color: #9ca3af; font-size: 12px; }

/* 홈 툴 카탈로그 */
.avs-hero { text-align: center; padding: 56px 16px 20px; background: linear-gradient(180deg, #faf5ff, #f5f5f7); }
.avs-hero h1 { font-size: 30px; margin: 0 0 8px; }
.avs-hero h1 span { background: linear-gradient(135deg, var(--avs-purple), var(--avs-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.avs-hero p { color: #6b7280; margin: 0; }
.avs-tool-grid { max-width: 1100px; margin: 24px auto 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 16px; }
@media (max-width: 900px) { .avs-tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .avs-tool-grid { grid-template-columns: 1fr; } }
.avs-tool-card { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 18px; padding: 24px; text-decoration: none; color: inherit; transition: all .2s; display: block; }
.avs-tool-card:hover { border-color: var(--avs-purple); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(109,40,217,.1); }
.avs-tool-card .ico { font-size: 30px; margin-bottom: 12px; }
.avs-tool-card h3 { margin: 0 0 6px; font-size: 17px; }
.avs-tool-card p { margin: 0; font-size: 12px; color: #9ca3af; line-height: 1.6; }

/* 툴 전용(풀스크린) 템플릿 바디 */
body.avs-tool-page { overflow: hidden; }
