/* ========================================
   轻绒文化 — Furry 风格官网样式
   ======================================== */

/* CSS 变量 */
:root {
    --primary: #C4956A;
    --primary-dark: #A07050;
    --primary-light: #E8C9A0;
    --accent: #D4836D;
    --accent-light: #F5D6B8;
    --bg-warm: #FFF8F0;
    --bg-card: #FFFFFF;
    --text-dark: #2D1810;
    --text-body: #4A2A1A;
    --text-muted: #8B7355;
    --shadow: 0 10px 40px rgba(45, 24, 16, 0.08);
    --shadow-hover: 0 20px 60px rgba(45, 24, 16, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

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

/* ========================================
   导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(45, 24, 16, 0.06);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-icon {
    font-size: 28px;
    animation: pawWiggle 3s ease-in-out infinite;
}

@keyframes pawWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #FFF8F0 0%, #F5E6D3 40%, #E8D5C0 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.highlight {
    position: relative;
    color: var(--primary-dark);
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-light));
    border-radius: 4px;
    opacity: 0.5;
    z-index: -1;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(196, 149, 106, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 149, 106, 0.5);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Hero 视觉区域 */
.hero-visual {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.hero-animation {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
}

/* 浮动圆环 */
.anim-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(196, 149, 106, 0.3);
    animation: ringPulse 4s ease-in-out infinite;
}

.r1 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation-delay: 0s;
}

.r2 {
    width: 220px;
    height: 220px;
    margin: -110px 0 0 -110px;
    animation-delay: 0.8s;
    border-color: rgba(212, 131, 109, 0.25);
}

.r3 {
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    animation-delay: 1.6s;
    border-color: rgba(196, 149, 106, 0.2);
    border-width: 3px;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    25% { transform: scale(1.05) rotate(10deg); opacity: 0.8; }
    50% { transform: scale(0.95) rotate(-5deg); opacity: 0.4; }
    75% { transform: scale(1.02) rotate(8deg); opacity: 0.7; }
}

/* 浮动圆点 */
.anim-dot {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    animation: dotFloat 6s ease-in-out infinite;
}

.d1 { width: 12px; height: 12px; top: 15%; left: 20%; animation-delay: 0s; background: var(--primary); }
.d2 { width: 8px; height: 8px; top: 25%; right: 18%; animation-delay: 0.5s; background: var(--accent); }
.d3 { width: 14px; height: 14px; bottom: 30%; left: 15%; animation-delay: 1s; background: var(--primary-light); }
.d4 { width: 10px; height: 10px; bottom: 20%; right: 25%; animation-delay: 1.5s; background: var(--accent); }
.d5 { width: 6px; height: 6px; top: 45%; left: 8%; animation-delay: 2s; background: var(--primary-dark); }
.d6 { width: 16px; height: 16px; top: 10%; left: 45%; animation-delay: 2.5s; background: var(--primary-light); }
.d7 { width: 9px; height: 9px; bottom: 15%; left: 40%; animation-delay: 3s; background: var(--accent); }
.d8 { width: 11px; height: 11px; top: 55%; right: 10%; animation-delay: 3.5s; background: var(--primary); }

@keyframes dotFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    25% { transform: translate(15px, -20px) scale(1.2); opacity: 0.8; }
    50% { transform: translate(-10px, -35px) scale(0.8); opacity: 0.3; }
    75% { transform: translate(20px, -10px) scale(1.1); opacity: 0.6; }
}

/* 中心渐变光晕 */
.anim-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    background: radial-gradient(circle, rgba(196, 149, 106, 0.2) 0%, rgba(212, 131, 109, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* 浮动半透明圆形 */
.anim-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: circleDrift 8s ease-in-out infinite;
}

.c1 { width: 80px; height: 80px; top: 5%; left: 5%; background: var(--primary); animation-delay: 0s; }
.c2 { width: 50px; height: 50px; top: 60%; right: 5%; background: var(--accent); animation-delay: 1.2s; }
.c3 { width: 60px; height: 60px; bottom: 5%; left: 30%; background: var(--primary-dark); animation-delay: 2.4s; }
.c4 { width: 40px; height: 40px; top: 30%; right: 30%; background: var(--accent); animation-delay: 0.6s; }
.c5 { width: 70px; height: 70px; bottom: 20%; right: 15%; background: var(--primary-light); animation-delay: 1.8s; }
.c6 { width: 35px; height: 35px; top: 15%; right: 10%; background: var(--primary); animation-delay: 3s; }

@keyframes circleDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -15px) scale(1.1); }
    50% { transform: translate(-15px, 20px) scale(0.9); }
    75% { transform: translate(10px, -25px) scale(1.05); }
}

/* 整体容器浮动 */
.hero-animation {
    animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* 浮动元素 */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    font-size: 24px;
    opacity: 0.3;
    animation: floatAround 8s ease-in-out infinite;
}

.paw-1 { top: 15%; left: 10%; animation-delay: 0s; }
.paw-2 { top: 25%; right: 15%; animation-delay: 1s; font-size: 18px; }
.paw-3 { bottom: 30%; left: 8%; animation-delay: 2s; font-size: 20px; }
.paw-4 { bottom: 20%; right: 10%; animation-delay: 3s; }
.paw-5 { top: 50%; left: 50%; animation-delay: 4s; font-size: 16px; }
.star-1 { top: 20%; right: 25%; animation-delay: 1.5s; font-size: 20px; opacity: 0.5; }
.star-2 { bottom: 35%; left: 20%; animation-delay: 2.5s; font-size: 16px; opacity: 0.4; }

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(10deg); }
    50% { transform: translate(-5px, -25px) rotate(-5deg); }
    75% { transform: translate(15px, -10px) rotate(8deg); }
}

/* 波浪分割器 */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: 120px;
}

/* ========================================
   通用 Section 标题
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

/* ========================================
   关于我们
   ======================================== */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-illustration {
    background: linear-gradient(135deg, #FFF8F0, #F5E6D3);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
}

.about-illustration svg {
    width: 100%;
    height: auto;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-num {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
}

.stat-plus,
.stat-percent {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    vertical-align: super;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ========================================
   业务范围
   ======================================== */
.services {
    background: var(--bg-warm);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid rgba(196, 149, 106, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   作品展示
   ======================================== */
.works {
    background: white;
}

.works-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    border-radius: 50px;
    border: 1px solid rgba(196, 149, 106, 0.2);
    background: transparent;
    color: var(--text-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(196, 149, 106, 0.3);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
    border: 1px solid rgba(196, 149, 106, 0.1);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.work-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.work-img svg {
    width: 100%;
    height: 100%;
    display: block;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 24, 16, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-view {
    color: white;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 24px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    transition: var(--transition);
}

.work-view:hover {
    background: white;
    color: var(--text-dark);
}

.work-info {
    padding: 20px;
}

.work-info h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.work-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   合作伙伴
   ======================================== */
.partners {
    background: var(--bg-warm);
    padding: 60px 0;
}

.partners-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-slider {
    display: flex;
    gap: 60px;
    animation: scrollPartners 25s linear infinite;
    width: max-content;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partners-slider:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    opacity: 0.5;
    filter: grayscale(0.5);
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: white;
}

.contact-grid {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: 14px;
    flex-shrink: 0;
    font-size: 24px;
    color: var(--primary-dark);
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(196, 149, 106, 0.2);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-warm);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    cursor: pointer;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #2D1810;
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

.footer-paw-prints {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 12px;
    opacity: 0.1;
    font-size: 28px;
}

/* ========================================
   返回顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(196, 149, 106, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(196, 149, 106, 0.4);
}

/* ========================================
   动画 - 滚动进入
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-visual {
        max-width: 300px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: var(--transition);
        gap: 20px;
    }
    .nav.open {
        right: 0;
    }
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .hero-title {
        font-size: 32px;
    }
    .section-title {
        font-size: 28px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .works-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        gap: 20px;
    }
    .stat-num {
        font-size: 32px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}
