/* ==========================================
   KOSHIEN 甲子園教育系列 - 專屬樣式
   ========================================== */

/* ==========================================
   Koshien Hero
   ========================================== */
.koshien-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.koshien-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a0a00 0%, #2d1200 25%, #4a1e0a 50%, #6b2d15 70%, #2d1200 100%);
    z-index: -1;
}

.koshien-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.35) 0%, transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(239, 68, 68, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 45%);
}

.koshien-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.koshien-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #FCD34D;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.koshien-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.koshien-gradient-text {
    background: linear-gradient(135deg, #F59E0B, #EF4444, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.koshien-hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.koshien-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FCD34D;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ==========================================
   Koshien Products Section
   ========================================== */
.koshien-products {
    padding: 80px 0 100px;
    background: #FFF7ED;
}

.koshien-product-card {
    background: white;
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #FED7AA;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.koshien-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B, #EF4444, #EC4899);
}

/* VerbaListen card special styling */
.verbalisten-card {
    border-color: #DDD6FE;
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F3FF 100%);
}

.verbalisten-card::before {
    background: linear-gradient(90deg, #8B5CF6, #6D28D9, #EC4899, #F59E0B);
}

/* Product Badge */
.kp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.vl-badge {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
}

/* Product Layout */
.kp-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 44px;
    margin-bottom: 40px;
    align-items: start;
}

/* Product Image Column */
.kp-image-col {
    position: sticky;
    top: 100px;
}

.kp-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #FED7AA;
}

.vl-image-wrap {
    border-color: #DDD6FE;
}

.kp-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 360px;
    object-fit: cover;
}

.kp-price-box {
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border: 2px solid #FCD34D;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.vl-price-box {
    background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
    border-color: #C4B5FD;
}

.kp-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: #D97706;
    line-height: 1;
    margin-bottom: 6px;
}

.vl-price-box .kp-price {
    color: #7C3AED;
}

.kp-price-label {
    font-size: 0.9rem;
    color: #92400E;
    font-weight: 500;
    margin-bottom: 4px;
}

.vl-price-box .kp-price-label {
    color: #5B21B6;
}

.kp-price-note {
    font-size: 0.8rem;
    color: #B45309;
    margin-top: 4px;
}

.vl-price-box .kp-price-note {
    color: #6D28D9;
}

/* Product Content Column */
.kp-title {
    font-size: 2rem;
    font-weight: 900;
    color: #1F2937;
    margin-bottom: 6px;
    line-height: 1.2;
}

.kp-subtitle {
    font-size: 1.05rem;
    color: #D97706;
    font-weight: 600;
    margin-bottom: 16px;
}

.verbalisten-card .kp-subtitle {
    color: #7C3AED;
}

.kp-intro {
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 24px;
    background: #FFF7ED;
    border-left: 4px solid #F59E0B;
    padding: 14px 16px;
    border-radius: 0 12px 12px 0;
}

.kp-intro-vl {
    background: #F5F3FF;
    border-left-color: #8B5CF6;
}

/* Features Grid */
.kp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.kp-feature-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.kp-feature-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.kp-feature-item > i {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.kp-feature-item > div strong {
    display: block;
    font-size: 0.9rem;
    color: #1F2937;
    margin-bottom: 4px;
    font-weight: 700;
}

.kp-feature-item > div p {
    font-size: 0.82rem;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* VerbaListen Feature items special */
.vl-feature {
    background: #F5F3FF;
    border-color: #E0D9FF;
}

/* Tags */
.kp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.kp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF7ED;
    border: 1.5px solid #FCD34D;
    color: #92400E;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

.vl-tag {
    background: #F5F3FF;
    border-color: #C4B5FD;
    color: #5B21B6;
}

/* Target */
.kp-target {
    background: #F3F4F6;
    border-left: 4px solid #9CA3AF;
    padding: 12px 16px;
    border-radius: 0 10px 10px 0;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.kp-target i {
    color: #6B7280;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================
   Koshien Sections
   ========================================== */
.kp-section {
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid #FED7AA;
}

.vl-section {
    border-top-color: #DDD6FE;
}

.kp-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kp-section h3 i {
    color: #F59E0B;
}

.vl-section h3 i {
    color: #8B5CF6;
}

/* Grade Table */
.grade-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #FED7AA;
}

.grade-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.grade-table th {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
}

.grade-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #FEE2B3;
    color: #374151;
    vertical-align: middle;
}

.grade-table tr:last-child td {
    border-bottom: none;
}

.grade-table tr:nth-child(even) td {
    background: #FFFBF5;
}

.stage-cell {
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    vertical-align: middle;
    padding: 16px;
}

.stage-cell i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.stage-cell.primary { background: #D1FAE5; color: #065F46; }
.stage-cell.mid-primary { background: #DBEAFE; color: #1E40AF; }
.stage-cell.secondary { background: #FEE2E2; color: #991B1B; }
.stage-cell.senior { background: #F3E8FF; color: #6B21A8; }

/* AI Mechanism Grid */
.ai-mechanism-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mechanism-card {
    background: linear-gradient(135deg, #FFF7ED, #FFFBF5);
    border: 1px solid #FED7AA;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s ease;
}

.mechanism-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
}

.mechanism-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 14px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.mechanism-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 10px;
}

.mechanism-card ul {
    list-style: none;
    padding: 0;
}

.mechanism-card ul li {
    font-size: 0.85rem;
    color: #6B7280;
    padding: 5px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.mechanism-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #F59E0B;
    font-size: 0.75rem;
    top: 6px;
}

/* Scaffold Steps */
.scaffold-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.scaffold-step {
    flex: 1;
    min-width: 180px;
    background: white;
    border: 1px solid #FED7AA;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.scaffold-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.15);
    border-color: #F59E0B;
}

.scaffold-num {
    font-size: 2rem;
    font-weight: 900;
    color: transparent;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.scaffold-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.scaffold-content h4 i {
    color: #F59E0B;
}

.scaffold-content p {
    font-size: 0.82rem;
    color: #6B7280;
    line-height: 1.5;
}

.scaffold-arrow {
    color: #D1D5DB;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Social Share in Koshien */
.kp-social-share {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #FED7AA;
}

.kp-social-share h4 {
    font-size: 0.9rem;
    color: #6B7280;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================
   VerbaListen - Language Badges
   ========================================== */
.vl-lang-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.vl-lang-badge {
    flex: 1;
    min-width: 120px;
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.vl-lang-badge:hover {
    transform: translateY(-3px);
}

.vl-lang-badge i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.vl-lang-badge span {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.vl-lang-badge small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
}

.vl-lang-badge.cantonese {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.vl-lang-badge.mandarin {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.vl-lang-badge.english {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

/* ==========================================
   VerbaListen - Advantages
   ========================================== */
.vl-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vl-advantage-card {
    background: white;
    border: 1px solid #DDD6FE;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.vl-advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
    border-color: #8B5CF6;
}

.vl-adv-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cantonese-icon { background: linear-gradient(135deg, #EF4444, #DC2626); }
.grade-icon { background: linear-gradient(135deg, #10B981, #059669); }
.parent-icon { background: linear-gradient(135deg, #F59E0B, #D97706); }

.vl-advantage-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 10px;
}

.vl-advantage-card p {
    font-size: 0.88rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.vl-adv-highlight {
    font-size: 0.82rem;
    font-weight: 600;
    color: #7C3AED;
    background: #F5F3FF;
    padding: 6px 12px;
    border-radius: 8px;
    border-left: 3px solid #8B5CF6;
}

/* ==========================================
   VerbaListen - Value Proposition
   ========================================== */
.vl-value-prop {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vl-value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: white;
    border: 1px solid #DDD6FE;
    border-radius: 12px;
    padding: 18px;
}

.vl-value-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.vl-value-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.vl-value-item p {
    font-size: 0.87rem;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   Koshien CTA Section
   ========================================== */
.koshien-cta {
    background: linear-gradient(135deg, #7C2D12, #991B1B, #6D28D9);
    padding: 80px 0;
}

.koshien-cta-content {
    text-align: center;
    color: white;
}

.koshien-cta-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.koshien-cta-content p {
    font-size: 1.05rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.koshien-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.koshien-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.koshien-cta-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.koshien-cta-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.koshien-cta-form {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.koshien-cta-form:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
    .kp-layout {
        grid-template-columns: 300px 1fr;
        gap: 30px;
    }
    
    .kp-image-col {
        position: static;
    }
    
    .vl-advantages {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .koshien-product-card {
        padding: 28px;
    }
    
    .kp-layout {
        grid-template-columns: 1fr;
    }
    
    .kp-features-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-mechanism-grid {
        grid-template-columns: 1fr;
    }
    
    .scaffold-steps {
        flex-direction: column;
    }
    
    .scaffold-arrow {
        transform: rotate(90deg);
    }
    
    .koshien-hero-stats {
        gap: 20px;
    }
    
    .vl-lang-badges {
        flex-direction: column;
    }
    
    .grade-table {
        font-size: 0.78rem;
    }
    
    .grade-table th,
    .grade-table td {
        padding: 8px 10px;
    }
    
    .koshien-cta-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .koshien-product-card {
        padding: 20px;
    }
    
    .kp-title {
        font-size: 1.6rem;
    }
    
    .kp-price {
        font-size: 1.8rem;
    }
    
    .vl-advantages {
        grid-template-columns: 1fr;
    }
}
