/* ===== Kunming Design Portfolio - Main CSS ===== */
/* Dark theme with green accents · 设计作品集主题样式 */

/* ===== CSS VARIABLES ===== */
:root {
    --bg: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-elevated: #222222;
    --green: #7cb342;
    --green-bright: #aed581;
    --green-dim: #33691e;
    --green-glow: rgba(124, 179, 66, 0.15);
    --green-border: rgba(124, 179, 66, 0.25);
    --text: #f5f5f5;
    --text-dim: #888888;
    --text-faint: #555555;
    --gray: #4a4a4a;
    --orange: #ff7043;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(124, 179, 66, 0.4);
    --max-width: 1200px;
    --section-pad: 100px 0;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Noto Sans SC", sans-serif;
    --font-mono: "SF Mono", "JetBrains Mono", "Courier New", monospace;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-bright); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gray); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }

/* ===== SELECTION ===== */
::selection { background: var(--green); color: var(--bg); }

/* ===== CONTAINER ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== NAV MENU (wp_nav_menu compatibility) ===== */
.nav-menu-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 32px;
    align-items: center;
}
.nav-menu-list > li {
    list-style: none;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(12px);
    padding: 14px 40px;
    border-bottom: 1px solid var(--green-border);
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-logo {
    width: 32px;
    height: 32px;
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.5px;
}
.nav-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-link {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--green-bright);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 1px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-bg.png') center/cover no-repeat;
    opacity: 0.35;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13,13,13,0.6) 0%, rgba(13,13,13,0.9) 60%, var(--bg) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}
.hero-tag {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-tag::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--green);
}
.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 4px;
    margin-bottom: 16px;
}
.hero-title .accent { color: var(--green); }
.hero-title-en {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 4px;
    margin-bottom: 40px;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 48px;
}
.hero-sub .highlight { color: var(--green-bright); font-weight: 600; }
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--green);
    color: var(--bg);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}
.hero-cta:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--green-glow);
}
.hero-cta .arrow { font-size: 18px; }
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green-dim), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
    0%, 100% { transform: scaleY(0.3); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

/* ===== SECTION COMMON ===== */
.section {
    padding: var(--section-pad);
    position: relative;
}
.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label .num {
    font-size: 14px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    border: 1px solid var(--green);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--green-border), transparent);
}
.section-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 12px;
    line-height: 1.2;
}
.section-title .accent { color: var(--green); }
.section-title-en {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-faint);
    letter-spacing: 2px;
    margin-bottom: 48px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}
.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--green-border);
}
.about-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}
.about-info .role {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--green);
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.about-info p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 16px;
}
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.skill-tag {
    padding: 8px 16px;
    background: rgba(124, 179, 66, 0.08);
    border: 1px solid var(--green-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--green-bright);
    letter-spacing: 0.5px;
}
.experience-timeline {
    margin-top: 36px;
}
.timeline-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.timeline-year {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--green);
    font-weight: 700;
    min-width: 80px;
}
.timeline-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.timeline-content p {
    font-size: 13px;
    color: var(--text-dim);
}

/* ===== MANAGEMENT - 3 COLUMN ===== */
.mgmt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mgmt-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--green-border);
    border-radius: 4px;
    padding: 32px 28px;
    position: relative;
    transition: var(--transition);
}
.mgmt-card:hover {
    border-color: var(--green);
    background: rgba(124, 179, 66, 0.03);
}
.mgmt-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--green);
}
.mgmt-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    margin-bottom: 8px;
}
.mgmt-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.mgmt-title-en {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.mgmt-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mgmt-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.mgmt-step:last-child { border-bottom: none; }
.mgmt-step-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    min-width: 22px;
}
.mgmt-step-body h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.mgmt-step-body p {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
}
.mgmt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 6px 14px;
    background: rgba(124, 179, 66, 0.1);
    border: 1px solid var(--green);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green-bright);
}
.mgmt-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
}

/* ===== PROJECT OVERVIEW TABLE ===== */
.proj-table-wrap {
    border: 1px solid var(--green-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
}
.proj-table {
    width: 100%;
    border-collapse: collapse;
}
.proj-table th {
    background: rgba(124, 179, 66, 0.08);
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--green);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: left;
    font-weight: 700;
}
.proj-table td {
    padding: 16px;
    font-size: 13px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
}
.proj-table tr:last-child td { border-bottom: none; }
.proj-table tr:hover td { background: rgba(124, 179, 66, 0.03); }
.proj-table .pn { color: var(--text); font-weight: 700; font-size: 14px; }
.proj-table .pt { color: var(--green-bright); font-size: 12px; }
.proj-table .pr { font-family: var(--font-mono); font-size: 11px; color: var(--orange); }
.proj-table .pc { font-family: var(--font-mono); font-size: 12px; }
.proj-table .star { color: var(--green); font-size: 14px; }

/* ===== PROJECTS GRID ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.project-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--green-border);
}
.project-card.star {
    border-color: var(--green-border);
    background: rgba(124, 179, 66, 0.02);
}
.project-visual {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.project-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, var(--green-glow) 0%, transparent 60%);
}
.project-visual-num {
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 900;
    color: var(--green);
    opacity: 0.15;
    position: relative;
    z-index: 1;
}
.project-visual-icon {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 1px;
    z-index: 1;
}
.project-body {
    padding: 28px 28px 32px;
}
.project-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.project-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(124, 179, 66, 0.1);
    border-radius: 3px;
}
.project-type {
    font-size: 12px;
    color: var(--text-faint);
    letter-spacing: 0.5px;
}
.project-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.project-desc {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}
.project-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.deliverable-tag {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-dim);
}
.project-role {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--orange);
}
.project-role .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

/* ===== QUOTE BLOCK ===== */
.quote-block {
    margin-top: 60px;
    padding: 32px 40px;
    border-left: 3px solid var(--green);
    background: rgba(124, 179, 66, 0.04);
    border-radius: 0 4px 4px 0;
}
.quote-text {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;
}
.quote-text .hl { color: var(--green-bright); font-weight: 700; }
.quote-source {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 14px;
    letter-spacing: 1px;
}

/* ===== AI SECTION ===== */
.ai-workflow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.ai-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--green-border);
    border-radius: 4px;
    font-size: 13px;
}
.ai-step-num {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    font-weight: 700;
}
.ai-arrow {
    color: var(--green);
    font-size: 20px;
}
.ai-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ai-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 24px;
    transition: var(--transition);
}
.ai-card:hover { border-color: var(--green-border); }
.ai-card-icon {
    font-size: 28px;
    margin-bottom: 16px;
}
.ai-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}
.ai-card p {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-section {
    background: linear-gradient(135deg, var(--bg) 0%, #111 100%);
    border-top: 1px solid var(--green-border);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.contact-info h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.contact-info p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 32px;
}
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
}
.contact-item:hover {
    border-color: var(--green-border);
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--green);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--green);
    flex-shrink: 0;
}
.contact-item-text .label {
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.contact-item-text .value {
    font-size: 15px;
    font-weight: 600;
}
.contact-cta {
    padding: 20px 40px;
    background: var(--green);
    color: var(--bg);
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.contact-cta:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--green-glow);
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-faint);
}
.footer-left {
    font-family: var(--font-mono);
    letter-spacing: 1px;
}
.footer-right {
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

/* ===== ANCHOR OFFSET (fixed nav) ===== */
section[id] { scroll-margin-top: 80px; }

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== PAGE HEADER (内页通用) ===== */
.page-header {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
    padding-top: 60px;
    padding-bottom: 60px;
}
.page-header-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(124,179,66,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124,179,66,0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
    z-index: 0;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(124,179,66,0.01) 2px,
            rgba(124,179,66,0.01) 4px
        );
    z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 8px;
}
.page-title .accent { color: var(--green); }
.page-title-en {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-faint);
    letter-spacing: 3px;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(to right, transparent, var(--green-border), transparent);
}

/* ===== PAGE BODY (内页内容区起始) ===== */
.section { padding-top: 80px; }

/* ===== PROJECT VISUAL GRADIENTS ===== */
.project-visual.gv-1 { background: linear-gradient(135deg, #0d1f0d 0%, #1a2e1a 40%, #0a180a 100%); }
.project-visual.gv-2 { background: linear-gradient(135deg, #1a0a0a 0%, #2a1515 40%, #1a0a0a 100%); }
.project-visual.gv-3 { background: linear-gradient(135deg, #0f0a1a 0%, #1a1530 40%, #0a0515 100%); }
.project-visual.gv-4 { background: linear-gradient(135deg, #1a0f0a 0%, #2e1a10 40%, #1a0a05 100%); }
.project-visual.gv-5 { background: linear-gradient(135deg, #151a0d 0%, #2a3018 40%, #10150a 100%); }
.project-visual.gv-6 { background: linear-gradient(135deg, #0a0f1a 0%, #151a2e 40%, #050a15 100%); }
.project-visual.gp-1 { background: linear-gradient(135deg, #0d1f1a 0%, #1a2e28 40%, #0a1814 100%); }
.project-visual.gp-2 { background: linear-gradient(135deg, #1a1408 0%, #2e2510 40%, #1a1005 100%); }
.project-visual.gp-3 { background: linear-gradient(135deg, #081a2a 0%, #102e45 40%, #051520 100%); }
.project-visual.gp-4 { background: linear-gradient(135deg, #1a1408 0%, #2a1f08 40%, #151005 100%); }
.project-visual.gp-5 { background: linear-gradient(135deg, #15151a 0%, #252530 40%, #101015 100%); }
.project-visual.gp-6 { background: linear-gradient(135deg, #0a0a1a 0%, #181830 40%, #050510 100%); }
.project-visual { transition: background var(--transition), filter var(--transition); }
.project-card:hover .project-visual { filter: brightness(1.15); }
.project-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(124,179,66,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,179,66,0.025) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* ===== HERO DYNAMIC LIGHT ===== */
.hero-light {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}
.hero-light-1 {
    top: 5%; left: 5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,179,66,0.07) 0%, transparent 70%);
    animation: heroGlow1 10s ease-in-out infinite;
}
.hero-light-2 {
    bottom: 5%; right: 5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124,179,66,0.04) 0%, transparent 70%);
    animation: heroGlow2 14s ease-in-out infinite;
}
@keyframes heroGlow1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(100px, 80px) scale(1.3); opacity: 0.8; }
}
@keyframes heroGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(-80px, -60px) scale(1.2); opacity: 0.5; }
}

/* ===== PAGE FADE-IN ===== */
main { animation: mainFadeIn 0.6s ease; }
@keyframes mainFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PROJECT CARD HOVER DETAIL ===== */
.project-card:hover .project-visual-num {
    opacity: 0.2;
    transform: scale(1.15) rotate(-2deg);
    transition: var(--transition);
}
.project-card:hover .project-body {
    background: rgba(124, 179, 66, 0.02);
}
.project-card:hover .project-name {
    color: var(--green-bright);
}

/* ===== PAGE HEADER LIGHT ===== */
.page-header-bg::after {
    content: '';
    position: absolute;
    top: 30%; left: 10%;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,179,66,0.04) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

/* ===== HERO TEXT STAGGER ===== */
.hero-title { overflow: hidden; }
.hero-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: heroCharIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.06s);
}
.hero-char.accent { color: var(--green); }
@keyframes heroCharIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION TITLE MASK REVEAL ===== */
.section-title, .page-title {
    overflow: hidden;
}
.section-title .reveal-text,
.page-title .reveal-text {
    display: inline-block;
}
.reveal.visible .section-title,
.reveal.visible .page-title {
    animation: titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}
@keyframes titleReveal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ===== GRADIENT SHIMMER ===== */
.project-visual::before {
    animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { opacity: 0.4; transform: translate(0, 0) scale(1); }
    50% { opacity: 0.65; transform: translate(15px, -10px) scale(1.1); }
}

/* ===== MAGNETIC HOVER ===== */
.project-card .project-body {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== PARALLAX HERO ===== */
.hero-bg {
    transition: transform 0.1s linear;
    will-change: transform;
}

/* ===== COUNTER STYLE ===== */
.stat-num {
    display: inline-block;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: var(--green);
    z-index: 1001;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== FLOATING PARTICLES ===== */
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    animation: floatParticle 8s ease-in-out infinite;
}
@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    50% { transform: translateY(-60px) translateX(20px); opacity: 0.5; }
}

/* ===== CARD HOVER GRADIENT GLOW ===== */
.project-card.star:hover .project-visual::after {
    background-image:
        linear-gradient(rgba(124,179,66,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,179,66,0.06) 1px, transparent 1px);
}

/* ===== QUOTE BLOCK GLOW ===== */
.quote-block {
    transition: box-shadow 0.4s ease;
}
.quote-block:hover {
    box-shadow: 0 0 30px rgba(124, 179, 66, 0.05);
}

/* ===== SUB-PAGE CONTENT SPACING ===== */
body.sub-page main { padding-top: 80px; padding-bottom: 80px; }
body.sub-page .page-header { margin-top: 0; }
.sub-page-body { padding-bottom: 100px; }
.section-pad-sub { padding: 60px 0; }

/* ===== PROJECT DETAIL (展开版) ===== */
.project-detail {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border);
}
.project-detail:last-child { border-bottom: none; }
.project-detail-visual {
    height: 280px;
    border-radius: 4px;
    border: 1px solid var(--green-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.project-detail-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 50%, var(--green-glow) 0%, transparent 60%);
}
.project-detail-visual .detail-num {
    font-family: var(--font-mono);
    font-size: 72px;
    font-weight: 900;
    color: var(--green);
    opacity: 0.2;
    position: relative;
    z-index: 1;
}
.project-detail-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}
.project-detail-info .detail-type {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    margin-bottom: 20px;
}
.project-detail-info .detail-section {
    margin-bottom: 16px;
}
.project-detail-info .detail-label {
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.project-detail-info .detail-text {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}
.project-detail-info .detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.project-detail-info .detail-role {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--orange);
}

/* ===== PHOTO DETAIL (展开版) ===== */
.photo-detail {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.photo-detail:last-child { border-bottom: none; }
.photo-detail-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}
.photo-detail-num {
    font-size: 48px;
    font-weight: 900;
    color: var(--green);
    opacity: 0.3;
    line-height: 1;
}
.photo-detail-title h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.photo-detail-title .en {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-faint);
    letter-spacing: 1px;
}
.photo-detail-content p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 12px;
}
.photo-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    :root { --section-pad: 60px 0; }
    .container { padding: 0 24px; }
    .nav { padding: 16px 24px; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(13, 13, 13, 0.98);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--green-border);
    }
    .nav-toggle { display: flex; }
    .nav-menu-list { flex-direction: column; gap: 16px; }
    .hero-title { font-size: 40px; letter-spacing: 2px; }
    .hero-title-en { font-size: 16px; }
    .hero-sub { font-size: 15px; }
    .section-title { font-size: 28px; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .mgmt-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-detail { grid-template-columns: 1fr; gap: 24px; }
    .project-detail-visual { height: 200px; }
    .project-detail-visual .detail-num { font-size: 56px; }
    .page-title { font-size: 36px; }
    .photo-detail-num { font-size: 36px; }
    .photo-detail-title h3 { font-size: 18px; }
    .ai-cards { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer { flex-direction: column; gap: 12px; text-align: center; }
    .proj-table { font-size: 12px; }
    .proj-table th, .proj-table td { padding: 10px 8px; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 32px; }
    .section-title { font-size: 24px; }
    .hero-cta { padding: 12px 24px; font-size: 13px; }
    .ai-workflow { flex-direction: column; }
    .ai-arrow { transform: rotate(90deg); }
}
