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

:root {
    --bg-color: #e9e9ec;
    --card-bg: #e3e3e6;
    --accent-orange: #ff9f1c;
    --accent-yellow: #e8e870;
    --text-dark: #1a1a1a;
    --text-muted: #6b6b6b;
    --border-radius: 24px;
    --card-radius: 28px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #e8e870, #c8d860);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #e8e870, #d8d060);
    bottom: -150px;
    right: -100px;
}

.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo-dot {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-dot::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--text-dark);
    border-radius: 50%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.7;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    padding: 10px 16px;
    border-radius: 12px;
    color: var(--text-muted);
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--text-dark);
    width: 120px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    min-height: 80vh;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-title {
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.title-line {
    display: block;
}

.highlight {
    color: var(--accent-orange);
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 2.2;
}

.keyword {
    color: var(--accent-orange);
    font-weight: 600;
}

.hobby-tag {
    display: inline-block;
    background: rgba(255, 159, 28, 0.12);
    color: var(--accent-orange);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    margin: 0 4px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

.stats-row {
    display: flex;
    gap: 48px;
    margin-top: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
}

.tiny-text {
    font-size: 10px;
    opacity: 0.25;
    vertical-align: super;
    font-weight: 400;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    max-width: 180px;
    line-height: 1.5;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card {
    position: relative;
    width: 480px;
    height: 560px;
    background: var(--card-bg);
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-top {
    position: relative;
    height: 45%;
    background: var(--accent-orange);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-tag {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 24px;
    color: white;
    font-weight: 500;
}

.card-icon {
    width: 36px;
    height: 36px;
    background: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-bottom {
    flex: 1;
    background: var(--card-bg);
    padding: 24px 32px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.card-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.card-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-stat-number {
    font-size: 16px;
    font-weight: 700;
}

.card-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    max-width: 100px;
    line-height: 1.4;
}

.card-dots {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.card-dots span {
    width: 20px;
    height: 20px;
    border: 1.5px solid #999;
    border-radius: 50%;
    position: relative;
}

.card-dots span:first-child::after {
    content: '●●';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6px;
    color: #666;
    letter-spacing: -1px;
}

.card-bottom-right {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.portrait-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.portrait-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 90%;
    background: linear-gradient(135deg, #ffb347, #ff8c00);
    border-radius: 32px 32px 24px 24px;
}

.portrait-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 24px;
}

.signature {
    position: absolute;
    top: 8px;
    right: 8px;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 14px;
    color: white;
    font-weight: 500;
    z-index: 2;
}

.card-side-icons {
    position: absolute;
    right: 20px;
    top: 38%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 5;
}

.side-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--text-dark);
}

.side-icon.check {
    background: var(--accent-orange);
    color: white;
}

.side-icon.people {
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    color: white;
}

.card-bottom-controls {
    position: absolute;
    bottom: 20px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ddd;
    border: 2px solid var(--card-bg);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
    background: linear-gradient(135deg, #ffb347, #ff8c00);
}

.avatar:last-child {
    background: linear-gradient(135deg, #a8e6cf, #88d8b0);
}

.play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text-dark);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
    transition: transform 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
}

.portfolio {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.portfolio-layout {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 24px;
    align-items: start;
}

.portfolio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.designer-intro {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
}

.designer-intro h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

.folder-list {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--text-muted);
    font-size: 14px;
}

.folder-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.folder-item.active {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    font-weight: 500;
}

.folder-item .arrow {
    margin-left: auto;
    opacity: 0.5;
}

.file-list {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 16px;
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-list::-webkit-scrollbar {
    width: 8px;
}

.file-list::-webkit-scrollbar-track {
    background: transparent;
}

.file-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.file-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.file-item.active {
    background: rgba(0, 0, 0, 0.08);
}

.file-thumb {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-name {
    font-size: 14px;
    color: var(--text-dark);
    flex: 1;
}

.file-arrow {
    opacity: 0.4;
    color: var(--text-dark);
}

.preview-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preview-image-wrapper {
    position: relative;
    background: linear-gradient(180deg, #f0f0c8, #e8e870);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.preview-number {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
}

.preview-img {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 40px;
    margin-top: 24px;
}

.preview-video {
    width: 200px;
    height: 260px;
    object-fit: cover;
    border-radius: 40px;
    margin-top: 24px;
    background: #000;
}

.preview-tags {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.preview-info {
    padding: 0 8px;
}

.preview-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.preview-size {
    font-size: 13px;
    color: var(--text-muted);
}

.preview-meta {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.meta-label {
    color: var(--text-muted);
}

.meta-value {
    color: var(--text-dark);
    font-weight: 500;
}

.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90%;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.email-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.email-popup-overlay.active {
    display: flex;
}

.email-popup {
    background: #fff;
    border-radius: 20px;
    padding: 30px 40px;
    text-align: center;
    position: relative;
    min-width: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.email-popup-header {
    margin-bottom: 20px;
}

.email-popup-content {
    margin-bottom: 24px;
}

.email-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.email-address {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    letter-spacing: 1px;
}

.copy-email-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: #ff9f1c;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-email-btn:hover {
    background: #e68c17;
    transform: translateY(-2px);
}

.copy-success {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    color: #4caf50;
    font-weight: 500;
    animation: successFade 0.3s ease;
}

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

.email-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.email-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.phone-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.phone-popup-overlay.active {
    display: flex;
}

.phone-popup {
    background: #fff;
    border-radius: 20px;
    padding: 30px 40px;
    text-align: center;
    position: relative;
    min-width: 320px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

.phone-popup-header {
    margin-bottom: 20px;
}

.phone-popup-content {
    margin-bottom: 24px;
}

.phone-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.phone-number {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    letter-spacing: 2px;
}

.copy-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-phone-btn:hover {
    background: #43a047;
    transform: translateY(-2px);
}

.phone-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.phone-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.wechat-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.wechat-popup-overlay.active {
    display: flex;
}

.wechat-popup {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    min-width: 280px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

.wechat-popup-header {
    margin-bottom: 20px;
}

.wechat-qr-container {
    margin-bottom: 16px;
}

.wechat-qr-img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.wechat-tip {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.wechat-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.wechat-popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 1200px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px;
    }

    .hero-title {
        font-size: 72px;
    }

    .portfolio-layout {
        grid-template-columns: 1fr;
    }

    .preview-panel {
        order: -1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .nav-right {
        gap: 16px;
    }

    .search-box input {
        width: 80px;
    }

    .hero-title {
        font-size: 56px;
    }

    .feature-card {
        width: 100%;
        height: auto;
        min-height: 500px;
    }

    .stats-row {
        flex-direction: column;
        gap: 24px;
    }

    .portfolio {
        padding: 0 20px;
    }
}
