/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 - 企业级设计 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: #2c5aa0;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: #2c5aa0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.user-center-link {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.user-center-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white !important;
}

.user-center-link::after {
    display: none;
}

.admin-link {
    background: linear-gradient(135deg, #2c5aa0, #1a3d73) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    color: white !important;
}

.admin-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - 企业级设计 */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>') repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.8;
    max-width: 600px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 500px;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.floating-cards {
    position: relative;
    width: 400px;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 30px;
    color: #fff;
}

.floating-card span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.card-1 {
    top: 50px;
    left: 50px;
    animation-delay: -1s;
}

.card-2 {
    top: 150px;
    right: 30px;
    animation-delay: -3s;
}

.card-3 {
    bottom: 80px;
    left: 100px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
    75% { transform: translateY(-15px) rotate(-1deg); }
}

/* 按钮样式 - 企业级设计 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1a3d73 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

/* Section 通用样式 - 企业级设计 */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #2c5aa0, #1a3d73);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section - 企业级设计 */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(44, 90, 160, 0.05) 0%, transparent 50%);
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-mission {
    display: grid;
    gap: 40px;
    margin-bottom: 50px;
}

.vm-item {
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.vm-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c5aa0;
    font-weight: 600;
}

.vm-item p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 20px;
}

.stat-item h4 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-container {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(44, 90, 160, 0.1);
    width: 100%;
    max-width: 400px;
}

.growth-chart {
    margin-bottom: 30px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.chart-header h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    font-weight: 600;
}

.trend-up {
    color: #4caf50;
    font-weight: 600;
    font-size: 0.9rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 100px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, #2c5aa0, #667eea);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    animation: growUp 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes growUp {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.highlight-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.highlight-card {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.highlight-card i {
    font-size: 24px;
    color: #2c5aa0;
    margin-bottom: 10px;
}

.highlight-card span {
    display: block;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Business Section - 企业级设计 */
.business {
    background: white;
    position: relative;
}

.business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 90% 10%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
}

.business-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.business-card {
    position: relative;
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.business-card.featured {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border: 2px solid rgba(44, 90, 160, 0.2);
}

.business-card.featured::before {
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 6px;
}

.business-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(44, 90, 160, 0.1);
    line-height: 1;
}

.business-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 32px;
    position: relative;
    overflow: hidden;
}

.business-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.business-card:hover .business-icon::before {
    left: 100%;
}

.business-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c5aa0;
    font-weight: 600;
}

.business-card p {
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
}

.business-stats {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(44, 90, 160, 0.1);
}

.business-stats span {
    background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
    color: #2c5aa0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

/* Team Section */
.team {
    background: #f8f9fa;
}

.team-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ceo-section {
    margin-bottom: 60px;
}

.ceo-section h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #2c5aa0;
}

.ceo-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.ceo-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

.ceo-info h4 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #2c5aa0;
}

.ceo-title {
    color: #666;
    font-weight: 600;
    margin-bottom: 15px;
}

.ceo-description {
    line-height: 1.8;
    color: #555;
}

.team-overview h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #2c5aa0;
}

.team-stats {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.team-stat {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    color: #2c5aa0;
    font-weight: 700;
    margin-bottom: 10px;
}

.team-departments {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.department {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.department i {
    font-size: 24px;
    color: #2c5aa0;
}

.team-description {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    color: #555;
    text-align: center;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: #2c5aa0;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2c5aa0;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c5aa0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #2c5aa0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2c5aa0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .hero-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .ceo-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-departments {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 25px;
    }
}

/* 用户评价 */
.reviews {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: white;
    position: relative;
    overflow: hidden;
}

/* 动态背景动画 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* 动态粒子背景 */
.reviews-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.reviews-container {
    position: relative;
    z-index: 2;
}

.reviews .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.reviews .section-title {
    color: white;
    animation: titleFadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reviews .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    animation: subtitleFadeIn 1s ease-out 0.2s both;
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 加载动画 */
.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
}

.reviews-loading i {
    font-size: 40px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.reviews-loading p {
    font-size: 18px;
    margin: 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 评价卡片动画 */
.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(20px);
    opacity: 0;
}

.review-card-animated {
    animation: cardSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* 动态头像 */
.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.animated-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.review-card:hover .animated-avatar::before {
    animation: avatarShine 1s ease-in-out;
}

@keyframes avatarShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) rotate(45deg);
        opacity: 0;
    }
}

.review-user {
    flex: 1;
}

.review-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
    transition: all 0.3s ease;
}

.review-card:hover .review-name {
    color: #ffd700;
}

.review-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.review-card:hover .review-title {
    color: rgba(255, 255, 255, 0.9);
}

.review-rating {
    display: flex;
    gap: 3px;
}

/* 动态星星 */
.review-rating .star {
    color: #ffd700;
    font-size: 16px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.star-animated {
    animation: starFadeIn 0.5s ease-out both;
}

@keyframes starFadeIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.star-glow {
    animation: starGlow 2s ease-in-out infinite;
}

@keyframes starGlow {
    0%, 100% {
        text-shadow: 0 0 5px #ffd700;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 15px #ffd700, 0 0 25px #ffd700;
        transform: scale(1.1);
    }
}

.review-content {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.review-text-animated {
    animation: textTypeIn 2s ease-out;
}

@keyframes textTypeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.review-card:hover .review-content {
    color: white;
}

.review-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
    transition: color 0.3s ease;
}

.review-card:hover .review-date {
    color: rgba(255, 255, 255, 0.8);
}

/* 评价操作按钮 */
.review-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.review-like-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    overflow: hidden;
}

.review-like-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
}

.review-like-btn.liked {
    background: rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.review-like-btn.liked i {
    animation: heartBeat 1s ease-in-out;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.2); }
}

/* 飞出的爱心动画 */
.floating-heart {
    position: absolute;
    font-size: 16px;
    pointer-events: none;
    animation: floatingHeart 1s ease-out;
    z-index: 10;
}

@keyframes floatingHeart {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(1.5);
        opacity: 0;
    }
}

.review-quote {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    transition: all 0.3s ease;
}

.review-card:hover .review-quote {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 空状态动画 */
.empty-reviews-homepage {
    text-align: center;
    padding: 80px 20px;
    animation: emptyStateFadeIn 1s ease-out;
}

.animated-empty {
    animation: emptyStateBounce 2s ease-in-out infinite;
}

@keyframes emptyStateFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes emptyStateBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animated-star {
    font-size: 60px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    animation: starRotate 3s linear infinite;
}

@keyframes starRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.empty-actions {
    margin-top: 30px;
}

.animated-btn {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

/* 新评价通知 */
.new-review-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.new-review-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.new-review-notification i {
    font-size: 18px;
    animation: notificationPulse 1s ease-in-out infinite;
}

@keyframes notificationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.reviews-actions {
    text-align: center;
}

.reviews-actions .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reviews-actions .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.reviews-actions .btn:hover::before {
    width: 300px;
    height: 300px;
}

.reviews-actions .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .reviews {
        padding: 80px 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .review-name {
        font-size: 16px;
    }
    
    .review-content {
        font-size: 14px;
    }
    
    .review-quote {
        font-size: 30px;
        top: 15px;
        right: 15px;
    }
    
    .new-review-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .new-review-notification.show {
        transform: translateY(0);
    }
    
    .particle {
        width: 2px;
        height: 2px;
    }
    
    .empty-reviews-homepage {
        padding: 40px 15px;
    }
    
    .animated-star {
        font-size: 40px;
    }
    
    .reviews-actions .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .review-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .reviews {
        padding: 60px 0;
    }
    
    .review-card {
        padding: 15px;
        margin: 0 5px;
    }
    
    .review-header {
        gap: 10px;
    }
    
    .review-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .review-name {
        font-size: 14px;
    }
    
    .review-title {
        font-size: 12px;
    }
    
    .review-content {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .review-rating .star {
        font-size: 14px;
    }
    
    .review-quote {
        font-size: 25px;
        top: 10px;
        right: 10px;
    }
    
    .review-like-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* 高对比度模式支持 */
@media (prefers-reduced-motion: reduce) {
    .review-card-animated,
    .star-animated,
    .star-glow,
    .animated-star,
    .animated-btn,
    .particle {
        animation: none;
    }
    
    .reviews {
        animation: none;
    }
    
    .reviews::before {
        animation: none;
    }
    
    .review-card:hover {
        transform: none;
    }
    
    .review-slide {
        transition: none;
    }
    
    .carousel-btn,
    .carousel-indicator {
        transition: none;
    }
}

/* 轮播容器样式 */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: auto;
}

.review-slide {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.review-slide.prev {
    transform: translateX(-100%);
}

.review-slide.next {
    transform: translateX(100%);
}

.reviews-grid-slide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* 轮播控制按钮 */
.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    transform: translateY(-50%);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

/* 轮播指示器 */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 0;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 进度条 */
.carousel-progress {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px auto 0;
    border-radius: 2px;
    overflow: hidden;
    max-width: 300px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.8));
    border-radius: 2px;
    width: 0;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: 100%; }
}

/* 增强的点赞动画 */
.floating-heart-enhanced {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    animation: floatingHeartEnhanced 2s ease-out forwards;
}

@keyframes floatingHeartEnhanced {
    0% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) 
                   translateX(calc(cos(var(--angle)) * var(--distance))) 
                   translateY(calc(sin(var(--angle)) * var(--distance))) 
                   scale(1.2) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) 
                   translateX(calc(cos(var(--angle)) * var(--distance) * 1.5)) 
                   translateY(calc(sin(var(--angle)) * var(--distance) * 1.5)) 
                   scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* 按钮波纹效果 */
@keyframes rippleEffect {
    from {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* 分享按钮 */
.review-share-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.review-share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-2px);
}

/* 通知样式 */
.like-success-message,
.share-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.like-success-message.show,
.share-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.like-success-message i,
.share-notification i {
    font-size: 16px;
    color: white;
    animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-prev {
        left: -20px;
    }
    
    .carousel-next {
        right: -20px;
    }
    
    .reviews-grid-slide {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .carousel-indicators {
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .like-success-message,
    .share-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .like-success-message.show,
    .share-notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .carousel-controls {
        display: none; /* 在小屏幕上隐藏控制按钮，只保留滑动手势 */
    }
    
    .carousel-progress {
        max-width: 200px;
        height: 3px;
    }
    
    .reviews-grid-slide {
        padding: 10px 0;
    }
}