/* ====================
   EvalShare 首页样式
==================== */

/* --------------------
   通用区块样式
-------------------- */
.home-section {
    position: relative;
    padding: var(--es-space-4xl) 0;
}

.section-header {
    margin-bottom: var(--es-space-3xl);
}

.section-header .badge {
    margin-bottom: var(--es-space-md);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--es-gray-900);
    margin-bottom: var(--es-space-md);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 18px;
    color: var(--es-gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------
   Hero区块
-------------------- */
.section-hero {
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--es-space-4xl);
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--es-gray-900);
    line-height: 1.2;
    margin-bottom: var(--es-space-lg);
}

.title-highlight {
    color: var(--es-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--es-gray-600);
    margin-bottom: var(--es-space-2xl);
    max-width: 480px;
}

/* 上传区域 */
.hero-upload {
    margin-bottom: var(--es-space-xl);
}

.upload-zone {
    background: var(--es-white);
    border: 2px dashed var(--es-gray-300);
    border-radius: var(--es-radius-xl);
    padding: var(--es-space-2xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--es-transition-normal);
}

.upload-zone:hover {
    border-color: var(--es-primary);
    background: rgba(255,107,53,0.02);
}

.upload-zone.dragover {
    border-color: var(--es-primary);
    background: rgba(255,107,53,0.05);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--es-space-md);
    color: var(--es-primary);
}

.upload-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--es-gray-800);
    margin-bottom: var(--es-space-xs);
}

.upload-sub {
    font-size: 14px;
    color: var(--es-gray-500);
}

.upload-formats {
    display: flex;
    justify-content: center;
    gap: var(--es-space-sm);
    margin-top: var(--es-space-md);
}

.format-tag {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--es-gray-600);
    background: var(--es-gray-100);
    border-radius: var(--es-radius-sm);
}

/* 统计数据 */
.hero-stats {
    display: flex;
    gap: var(--es-space-xl);
    margin-bottom: var(--es-space-lg);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--es-space-sm);
}

.stat-icon {
    font-size: 20px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--es-gray-900);
}

.stat-rating {
    font-size: 14px;
}

.stat-label {
    font-size: 14px;
    color: var(--es-gray-600);
}

/* 安全提示 */
.hero-security {
    display: flex;
    align-items: center;
    gap: var(--es-space-sm);
    font-size: 13px;
    color: var(--es-gray-500);
}

.hero-security svg {
    color: var(--es-success);
}

/* 预览卡片 */
.hero-preview {
    position: relative;
}

.preview-card {
    background: var(--es-white);
    border-radius: var(--es-radius-2xl);
    box-shadow: var(--es-shadow-xl);
    padding: var(--es-space-xl);
    max-width: 400px;
    margin-left: auto;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--es-space-lg);
}

.preview-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--es-primary);
    background: rgba(255,107,53,0.1);
    padding: 4px 12px;
    border-radius: var(--es-radius-full);
}

.preview-status {
    font-size: 12px;
    color: var(--es-success);
}

.score-item {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    align-items: center;
    gap: var(--es-space-md);
    margin-bottom: var(--es-space-md);
}

.score-label {
    font-size: 13px;
    color: var(--es-gray-600);
}

.score-bar {
    height: 8px;
    background: var(--es-gray-200);
    border-radius: var(--es-radius-full);
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: var(--es-radius-full);
    transition: width 1s ease;
}

.score-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--es-gray-700);
    text-align: right;
}

.preview-alert {
    display: flex;
    align-items: center;
    gap: var(--es-space-sm);
    padding: var(--es-space-md);
    background: rgba(255,193,7,0.1);
    border-radius: var(--es-radius-lg);
    margin: var(--es-space-lg) 0;
    font-size: 13px;
    color: var(--es-warning);
}

.preview-cta {
    width: 100%;
    justify-content: center;
}

/* 浮动徽章 */
.floating-badge {
    position: absolute;
    background: var(--es-white);
    border-radius: var(--es-radius-lg);
    box-shadow: var(--es-shadow-lg);
    padding: var(--es-space-sm) var(--es-space-md);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: var(--es-space-sm);
}

.badge-users {
    bottom: 40px;
    left: -20px;
    animation: float 3s ease-in-out infinite;
}

/* --------------------
   功能导航栏
-------------------- */
.section-features-bar {
    padding: 0;
    margin-top: -40px;
}

.features-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--es-secondary);
    border-radius: var(--es-radius-xl);
    padding: var(--es-space-lg) var(--es-space-2xl);
    box-shadow: var(--es-shadow-lg);
}

.features-bar-header {
    display: flex;
    align-items: center;
    gap: var(--es-space-md);
}

.features-bar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--es-radius-lg);
    color: var(--es-primary);
}

.features-bar-text h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--es-white);
    margin-bottom: 2px;
}

.features-bar-text p {
    font-size: 13px;
    color: var(--es-gray-400);
}

.features-bar-items {
    display: flex;
    gap: var(--es-space-xs);
}

.feature-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--es-space-xs);
    padding: var(--es-space-md) var(--es-space-lg);
    background: rgba(255,255,255,0.05);
    border-radius: var(--es-radius-lg);
    transition: all var(--es-transition-fast);
    min-width: 90px;
}

.feature-bar-item:hover {
    background: rgba(255,255,255,0.1);
}

.feature-bar-item .feature-icon {
    width: 24px;
    height: 24px;
    color: var(--es-primary);
}

.feature-bar-item .feature-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--es-white);
}

.feature-bar-item .feature-desc {
    font-size: 11px;
    color: var(--es-gray-500);
}

/* --------------------
   解决方案区块
-------------------- */
.section-solutions {
    background: var(--es-gray-50);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--es-space-xl);
}

.solution-card {
    background: var(--es-white);
    border-radius: var(--es-radius-xl);
    padding: var(--es-space-2xl);
    box-shadow: var(--es-shadow-md);
    transition: all var(--es-transition-normal);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--es-shadow-xl);
}

.solution-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--es-space-lg);
}

.solution-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--es-radius-lg);
}

.solution-icon.icon-ai {
    background: rgba(255,107,53,0.1);
    color: var(--es-primary);
}

.solution-icon.icon-edit {
    background: rgba(78,205,196,0.1);
    color: var(--es-accent);
}

.solution-icon.icon-chart {
    background: rgba(33,150,243,0.1);
    color: var(--es-info);
}

.solution-icon svg {
    width: 28px;
    height: 28px;
}

.solution-stat {
    text-align: right;
}

.solution-stat .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--es-primary);
}

.solution-stat .stat-label {
    font-size: 12px;
    color: var(--es-gray-500);
}

.solution-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--es-gray-900);
    margin-bottom: var(--es-space-md);
}

.solution-desc {
    font-size: 14px;
    color: var(--es-gray-600);
    line-height: 1.7;
    margin-bottom: var(--es-space-lg);
}

.solution-features {
    list-style: none;
    margin: 0 0 var(--es-space-xl);
    padding: 0;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: var(--es-space-sm);
    font-size: 14px;
    color: var(--es-gray-700);
    margin-bottom: var(--es-space-sm);
}

.solution-features li svg {
    color: var(--es-success);
    flex-shrink: 0;
}

.solution-cta {
    width: 100%;
    justify-content: center;
}

/* --------------------
   CTA引导栏
-------------------- */
.section-cta-bar {
    padding: var(--es-space-xl) 0;
}

.cta-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--es-space-xl);
}

.cta-bar-content {
    display: flex;
    align-items: center;
    gap: var(--es-space-lg);
}

.cta-bar-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,107,53,0.2);
    border-radius: var(--es-radius-lg);
    color: var(--es-primary);
}

.cta-bar-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--es-white);
    margin-bottom: var(--es-space-xs);
}

.cta-bar-text p {
    font-size: 14px;
    color: var(--es-gray-400);
}

.cta-bar-button {
    flex-shrink: 0;
}

/* --------------------
   步骤说明
-------------------- */
.section-steps {
    padding: var(--es-space-2xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--es-space-xl);
}

.step-item {
    text-align: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--es-space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--es-gray-50);
    border-radius: var(--es-radius-full);
    color: var(--es-primary);
}

.step-icon svg {
    width: 28px;
    height: 28px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--es-gray-900);
    margin-bottom: var(--es-space-xs);
}

.step-desc {
    font-size: 14px;
    color: var(--es-gray-600);
}

/* --------------------
   用户见证
-------------------- */
.section-testimonials {
    background: var(--es-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--es-space-xl);
    margin-bottom: var(--es-space-3xl);
}

.testimonial-card {
    background: var(--es-gray-50);
    border-radius: var(--es-radius-xl);
    padding: var(--es-space-xl);
    transition: all var(--es-transition-normal);
}

.testimonial-card:hover {
    background: var(--es-white);
    box-shadow: var(--es-shadow-lg);
}

.testimonial-rating {
    margin-bottom: var(--es-space-md);
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--es-gray-700);
    margin: 0 0 var(--es-space-lg);
    padding: 0;
    border: none;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--es-space-md);
}

.author-avatar,
.author-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: var(--es-radius-full);
    object-fit: cover;
}

.author-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--es-primary);
    color: var(--es-white);
    font-size: 18px;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--es-gray-900);
}

.author-title {
    font-size: 13px;
    color: var(--es-gray-600);
}

.author-company {
    font-size: 12px;
    color: var(--es-gray-500);
}

/* 统计数据 */
.testimonials-stats {
    display: flex;
    justify-content: center;
    gap: var(--es-space-4xl);
    padding-top: var(--es-space-2xl);
    border-top: 1px solid var(--es-gray-200);
}

.stat-box {
    text-align: center;
}

.stat-box .stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--es-gray-900);
    margin-bottom: var(--es-space-xs);
}

.stat-box .stat-label {
    font-size: 14px;
    color: var(--es-gray-600);
}

/* --------------------
   FAQ
-------------------- */
.section-faq {
    background: var(--es-gray-50);
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: var(--es-space-sm);
    margin-bottom: var(--es-space-2xl);
}

.faq-tab {
    padding: var(--es-space-sm) var(--es-space-lg);
    font-size: 14px;
    font-weight: 500;
    color: var(--es-gray-600);
    background: var(--es-white);
    border: 1px solid var(--es-gray-200);
    border-radius: var(--es-radius-full);
    transition: all var(--es-transition-fast);
}

.faq-tab:hover {
    color: var(--es-primary);
    border-color: var(--es-primary);
}

.faq-tab.active {
    color: var(--es-white);
    background: var(--es-primary);
    border-color: var(--es-primary);
}

.faq-content {
    background: var(--es-white);
    border-radius: var(--es-radius-xl);
    overflow: hidden;
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
}

.faq-item {
    border-bottom: 1px solid var(--es-gray-100);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: var(--es-space-md);
    width: 100%;
    padding: var(--es-space-lg);
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--es-gray-800);
    transition: all var(--es-transition-fast);
}

.faq-question:hover {
    background: var(--es-gray-50);
}

.faq-q-mark {
    font-weight: 700;
    color: var(--es-primary);
}

.faq-q-text {
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--es-gray-400);
    transition: transform var(--es-transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--es-transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-a-content {
    padding: 0 var(--es-space-lg) var(--es-space-lg) 60px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--es-gray-600);
}

/* --------------------
   联系CTA
-------------------- */
.section-contact-cta {
    padding: var(--es-space-4xl) 0;
}

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

.contact-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--es-space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--es-radius-full);
    color: var(--es-primary);
}

.contact-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--es-white);
    margin-bottom: var(--es-space-md);
}

.contact-cta-subtitle {
    font-size: 16px;
    color: var(--es-gray-400);
    margin-bottom: var(--es-space-xl);
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--es-space-md);
}

.contact-cta-buttons .btn-outline {
    border-color: rgba(255,255,255,0.3);
    color: var(--es-white);
}

.contact-cta-buttons .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--es-white);
}

/* --------------------
   定价方案
-------------------- */
.section-pricing {
    background: var(--es-white);
}

.pricing-currency {
    text-align: center;
    margin-bottom: var(--es-space-2xl);
}

.currency-selector {
    display: inline-flex;
    align-items: center;
    gap: var(--es-space-sm);
    padding: var(--es-space-sm) var(--es-space-lg);
    font-size: 14px;
    color: var(--es-gray-700);
    background: var(--es-white);
    border: 1px solid var(--es-gray-300);
    border-radius: var(--es-radius-full);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--es-space-xl);
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--es-white);
    border: 2px solid var(--es-gray-200);
    border-radius: var(--es-radius-xl);
    padding: var(--es-space-2xl);
    transition: all var(--es-transition-normal);
}

.pricing-card:hover {
    border-color: var(--es-gray-300);
    box-shadow: var(--es-shadow-lg);
}

.pricing-card.featured {
    border-color: var(--es-primary);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1), var(--es-shadow-lg);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--es-white);
    background: var(--es-primary);
    border-radius: var(--es-radius-full);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--es-space-lg);
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--es-gray-900);
    margin-bottom: var(--es-space-xs);
}

.pricing-desc {
    font-size: 14px;
    color: var(--es-gray-600);
}

.pricing-price {
    text-align: center;
    margin-bottom: var(--es-space-xl);
}

.price-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--es-gray-900);
}

.price-period {
    font-size: 16px;
    color: var(--es-gray-500);
}

.pricing-features {
    list-style: none;
    margin: 0 0 var(--es-space-xl);
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--es-space-sm);
    font-size: 14px;
    color: var(--es-gray-700);
    margin-bottom: var(--es-space-sm);
}

.pricing-features li svg {
    color: var(--es-success);
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
}

.pricing-footer-note {
    margin-top: var(--es-space-2xl);
    font-size: 14px;
    color: var(--es-gray-500);
}

/* --------------------
   最终CTA
-------------------- */
.section-final-cta {
    padding: var(--es-space-4xl) 0 0;
}

.final-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: var(--es-space-4xl);
}

.final-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--es-space-sm);
    padding: var(--es-space-sm) var(--es-space-lg);
    font-size: 14px;
    color: var(--es-white);
    background: rgba(255,255,255,0.1);
    border-radius: var(--es-radius-full);
    margin-bottom: var(--es-space-xl);
}

.final-cta-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--es-white);
    margin-bottom: var(--es-space-md);
    line-height: 1.2;
}

.final-cta-title .title-highlight {
    color: var(--es-primary);
}

.final-cta-subtitle {
    font-size: 18px;
    color: var(--es-gray-400);
    margin-bottom: var(--es-space-2xl);
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--es-space-md);
    margin-bottom: var(--es-space-lg);
}

.final-cta-note {
    font-size: 14px;
    color: var(--es-gray-500);
    margin-bottom: var(--es-space-xl);
}

.final-cta-tags {
    display: flex;
    justify-content: center;
    gap: var(--es-space-md);
    margin-bottom: var(--es-space-2xl);
}

.cta-tag {
    display: flex;
    align-items: center;
    gap: var(--es-space-xs);
    padding: var(--es-space-sm) var(--es-space-md);
    font-size: 13px;
    color: var(--es-gray-400);
    background: rgba(255,255,255,0.05);
    border-radius: var(--es-radius-full);
}

.final-cta-stats {
    display: flex;
    justify-content: center;
    gap: var(--es-space-3xl);
}

.final-cta-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--es-space-xs);
}

.final-cta-stats .stat-icon {
    font-size: 24px;
}

.final-cta-stats .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--es-white);
}

.final-cta-stats .stat-label {
    font-size: 13px;
    color: var(--es-gray-500);
}

/* 底部信息栏 */
.final-cta-footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--es-space-xl) 0;
}

.final-cta-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--es-space-md);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: var(--es-space-md);
    font-size: 13px;
    color: var(--es-gray-500);
}

.footer-info .divider {
    color: var(--es-gray-600);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--es-space-lg);
}

.footer-links a {
    font-size: 13px;
    color: var(--es-gray-500);
    transition: color var(--es-transition-fast);
}

.footer-links a:hover {
    color: var(--es-white);
}

.footer-links .link-highlight {
    color: var(--es-primary);
}

/* --------------------
   响应式
-------------------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--es-space-3xl);
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-preview {
        order: -1;
    }
    
    .preview-card {
        margin: 0 auto;
    }
    
    .features-bar-inner {
        flex-direction: column;
        gap: var(--es-space-lg);
    }
    
    .features-bar-items {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .solutions-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--es-space-md);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .solutions-grid,
    .testimonials-grid,
    .pricing-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .faq-tabs {
        flex-wrap: wrap;
    }
    
    .cta-bar-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-bar-content {
        flex-direction: column;
    }
    
    .final-cta-title {
        font-size: 32px;
    }
    
    .final-cta-buttons {
        flex-direction: column;
    }
    
    .final-cta-tags {
        flex-wrap: wrap;
    }
    
    .final-cta-stats {
        flex-direction: column;
        gap: var(--es-space-lg);
    }
    
    .testimonials-stats {
        flex-direction: column;
        gap: var(--es-space-xl);
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}
