/* ========================================
   三亩地 - 避坑指南页面样式
   复古港风风格：墨黑 + 米黄 + 暗红
   ======================================== */

/* Hero 区域 */
.guide-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

.guide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/page-banner-bg.svg') repeat;
    opacity: 0.05;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: #8b2e2e;
    color: #f5f0e6;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 48px;
    color: #f5f0e6;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-title .highlight {
    color: #8b2e2e;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(139, 46, 46, 0.3);
    z-index: -1;
}

.hero-desc {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: bold;
    color: #8b2e2e;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #999999;
    margin-top: 8px;
}

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

@media (min-width: 992px) {
    .hero-visual {
        display: block;
    }
}

.warning-sign {
    background: #f5f0e6;
    border: 4px solid #8b2e2e;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.sign-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.sign-text {
    font-size: 20px;
    font-weight: bold;
    color: #1a1a1a;
}

.floating-card {
    position: absolute;
    background: #1a1a1a;
    color: #f5f0e6;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border-left: 4px solid #8b2e2e;
}

.card-1 {
    top: -60px;
    left: -40px;
    animation: float 4s ease-in-out infinite 0.5s;
}

.card-2 {
    top: 20px;
    right: -80px;
    animation: float 3.5s ease-in-out infinite 1s;
}

.card-3 {
    bottom: -50px;
    left: 20px;
    animation: float 4.5s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Section 通用样式 */
.guide-main {
    background: #f5f0e6;
    padding: 80px 0;
}

.guide-section {
    margin-bottom: 80px;
}

.section-header {
    margin-bottom: 50px;
}

.section-number {
    display: inline-block;
    font-size: 60px;
    font-weight: bold;
    color: rgba(139, 46, 46, 0.2);
    line-height: 1;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #8b2e2e;
}

.section-subtitle {
    color: #666666;
    font-size: 16px;
    margin-top: 20px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Pit Cards */
.pit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pit-card {
    background: #faf6ed;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #d4c9b5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.pit-card.danger::before { background: #c41e3a; }
.pit-card.warning::before { background: #f5a623; }
.pit-card.info::before { background: #4a90d9; }
.pit-card.success::before { background: #27ae60; }

.pit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pit-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.pit-card h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.pit-card p {
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pit-advice {
    background: rgba(139, 46, 46, 0.1);
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.pit-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pit-tags span {
    background: #e8e0d0;
    color: #666666;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Roadmap */
.roadmap-section {
    background: #1a1a1a;
    padding: 80px 40px;
    border-radius: 10px;
    margin: 80px 0;
}

.roadmap-section .section-title {
    color: #f5f0e6;
}

.roadmap-section .section-subtitle {
    color: #999999;
}

.roadmap {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #8b2e2e;
}

.roadmap-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-dot {
    width: 42px;
    height: 42px;
    background: #8b2e2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.roadmap-dot::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #f5f0e6;
    border-radius: 50%;
}

.roadmap-content {
    background: #2d2d2d;
    padding: 25px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid #3d3d3d;
}

.roadmap-content h4 {
    color: #f5f0e6;
    font-size: 18px;
    margin-bottom: 10px;
}

.roadmap-content p {
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #faf6ed;
    border: 1px solid #d4c9b5;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #8b2e2e;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    color: #1a1a1a;
    list-style: none;
    transition: background 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: rgba(139, 46, 46, 0.05);
}

.faq-num {
    background: #8b2e2e;
    color: #f5f0e6;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.faq-icon {
    margin-left: auto;
    font-size: 24px;
    color: #8b2e2e;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px 25px 90px;
    color: #666666;
    line-height: 1.8;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.faq-answer li {
    margin-bottom: 10px;
}

.faq-highlight {
    background: rgba(139, 46, 46, 0.1);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #8b2e2e;
    margin-top: 15px;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
    .guide-hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .pit-grid {
        grid-template-columns: 1fr;
    }
    
    .roadmap-section {
        padding: 50px 20px;
    }
    
    .roadmap::before {
        left: 15px;
    }
    
    .roadmap-dot {
        width: 32px;
        height: 32px;
    }
    
    .roadmap-item {
        gap: 20px;
    }
    
    .faq-answer {
        padding: 0 20px 20px 70px;
    }
}
