/* ===========================================
   门店通 - 组件样式
   =========================================== */

/* ---------- 1. 导航栏 ---------- */
:root {
    --nav-height: 100px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    padding: 1rem 0;
    height: var(--nav-height);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6b7280;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: #111827;
}

.nav-link.active {
    color: #7c3aed;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #4f46e5);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #374151;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* ---------- 2. 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 0.5rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 0.5rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    box-shadow: 0 1px 3px rgba(124, 58, 237, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9, #4338ca);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.btn-outline {
    background: white;
    color: #7c3aed;
    border: 1px solid #e5e7eb;
}

.btn-outline:hover {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.05);
}

.btn-link {
    background: transparent;
    color: #6b7280;
    padding: 0.5rem 1rem;
}

.btn-link:hover {
    color: #7c3aed;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* ---------- 3. Hero区域 ---------- */
.hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(79, 70, 229, 0.05) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 25% 0);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #7c3aed;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.dashboard-header {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.dashboard-body {
    padding: 2rem;
    min-height: 300px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

/* ---------- 4. 信任标志 ---------- */
.trust-badges {
    padding: 2rem 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.trust-label {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
}

.logo-item {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.logo-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* ---------- 5. 核心场景 ---------- */
.scenarios {
    padding: 5rem 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-top: 1rem;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.scenario-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #4f46e5);
    border-radius: 1rem 1rem 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #7c3aed;
}

.scenario-card:hover::before {
    opacity: 1;
}

.scenario-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(79, 70, 229, 0.1));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #7c3aed;
    margin-bottom: 1.5rem;
}

.scenario-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.scenario-card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.scenario-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.scenario-stats .stat {
    text-align: center;
}

.scenario-stats .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
    line-height: 1;
}

.scenario-stats .label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.scenario-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #7c3aed;
    margin-top: 1rem;
}

.scenario-link:hover {
    gap: 0.75rem;
    color: #6d28d9;
}

/* ---------- 6. 详细解决方案 ---------- */
.solutions {
    padding: 5rem 0;
    background: #f9fafb;
}

.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-item.reverse {
    direction: rtl;
}

.solution-item.reverse .solution-content {
    direction: ltr;
}

.solution-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.solution-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.solution-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.solution-features i {
    color: #10b981;
    font-size: 0.875rem;
}

.solution-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.visual-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(79, 70, 229, 0.1));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #7c3aed;
}

/* ---------- 7. 客户评价 ---------- */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #7c3aed;
}

.quote {
    font-size: 4rem;
    color: #7c3aed;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.author-info p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* ---------- 8. CTA区域 ---------- */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.cta-features i {
    color: #10b981;
    margin-right: 0.5rem;
}

/* ---------- 9. 页脚 ---------- */
.footer {
    background: #111827;
    color: #9ca3af;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-main {
    max-width: 20rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #9ca3af;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-group h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.link-group a {
    font-size: 0.875rem;
    color: #9ca3af;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.875rem;
    color: #6b7280;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
}

/* ---------- 10. 行业Tab切换 ---------- */
.industry-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
    pointer-events: none;
}

.industry-content.active {
    opacity: 1;
    max-height: 600px;
    pointer-events: auto;
}

/* ---------- 11. FAQ手风琴 ---------- */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #7c3aed;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question h4 {
    font-size: 1rem;
    color: #111827;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #7c3aed;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f9fafb;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
    border-top-color: #e5e7eb;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}