/* Vibe Coding 維護方案 Landing Page 樣式
   沿用站內既有前台視覺語彙（暗色底 + 主色 #00f5d4，見 public/css/member/global/variables.css）
   RWD 中斷點沿用 ai-consulting.css 慣例：768px / 600px
*/

/* ════════════════════════════════════════════════
   Banner
   ════════════════════════════════════════════════ */

.banner-section {
    min-height: 560px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    background: linear-gradient(160deg, #050c18 0%, #0a0f18 40%, #0d1a2e 100%);
}

.banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 245, 212, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 212, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 70% 55% at 50% 40%, rgba(0, 245, 212, 0.13) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 80% 70%, rgba(0, 212, 245, 0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    padding: 0 1.5rem;
}

.banner-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 1px solid rgba(0, 245, 212, 0.3);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary, #00f5d4);
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    background: rgba(0, 245, 212, 0.05);
}

.banner-trust-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary, #00f5d4);
    box-shadow: 0 0 8px rgba(0, 245, 212, 0.8);
}

.banner-title {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.banner-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.2rem;
    line-height: 1.7;
}

.banner-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.banner-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.banner-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: var(--primary, #00f5d4);
    color: #0a0f18;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 22px rgba(0, 245, 212, 0.35), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.banner-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px rgba(0, 245, 212, 0.55), 0 8px 20px rgba(0, 0, 0, 0.4);
    color: #0a0f18;
}

.banner-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: 1px solid rgba(0, 245, 212, 0.4);
    color: var(--primary, #00f5d4);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(0, 245, 212, 0.03);
}

.banner-btn-secondary:hover {
    background: rgba(0, 245, 212, 0.1);
    border-color: rgba(0, 245, 212, 0.7);
    transform: translateY(-2px);
    color: var(--primary, #00f5d4);
}

/* ════════════════════════════════════════════════
   共用區塊標頭
   ════════════════════════════════════════════════ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.header-icon {
    font-size: 2.5rem;
    color: var(--primary, #00f5d4);
    margin-bottom: 1rem;
}

.section-header .section-title {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════
   痛點區
   ════════════════════════════════════════════════ */

.problems-section {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, var(--dark-bg-2, #1a1f2e), var(--dark-bg, #0a0f18));
}

.problems-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.problem-card {
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(0, 245, 212, 0.2);
    border-radius: 10px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary, #00f5d4), var(--secondary, #00d4f5));
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary, #00f5d4);
    box-shadow: 0 10px 26px rgba(0, 245, 212, 0.2);
}

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

.problem-card .card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.25);
    font-size: 1.4rem;
    color: var(--primary, #00f5d4);
    margin-bottom: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.problem-card:hover .card-icon {
    background: rgba(0, 245, 212, 0.18);
    transform: scale(1.05);
}

.problem-card .card-content {
    color: #ccc;
    line-height: 1.65;
    font-size: 0.98rem;
}

/* ════════════════════════════════════════════════
   方案卡
   ════════════════════════════════════════════════ */

.vcm-plan-section {
    padding: 5.5rem 0;
}

.vcm-plan-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.vcm-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.vcm-plan-card {
    background: rgba(26, 31, 46, 0.9);
    border: 1px solid rgba(0, 245, 212, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.vcm-plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #00f5d4), var(--secondary, #00d4f5));
}

.vcm-plan-card--secondary {
    border-color: rgba(0, 212, 245, 0.3);
}

.vcm-plan-card--secondary::before {
    background: linear-gradient(90deg, var(--secondary, #00d4f5), var(--primary, #00f5d4));
}

.vcm-plan-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary, #00f5d4);
    background: rgba(0, 245, 212, 0.1);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.vcm-plan-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.vcm-plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.vcm-plan-price {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary, #00f5d4);
}

.vcm-plan-price-unit {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
}

.vcm-plan-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.vcm-plan-includes-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.9rem;
}

.vcm-plan-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem 1.5rem;
}

.vcm-plan-includes li {
    color: #e6e6e6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.vcm-plan-includes li i {
    color: var(--primary, #00f5d4);
    margin-top: 3px;
}

.vcm-plan-note {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.vcm-plan-note i {
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.vcm-plan-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary, #00f5d4);
    color: #0a0f18;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.vcm-plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 245, 212, 0.35);
    color: #0a0f18;
}

.vcm-plan-cta--secondary {
    background: rgba(0, 245, 212, 0.03);
    color: var(--primary, #00f5d4);
    border: 1px solid rgba(0, 245, 212, 0.4);
}

.vcm-plan-cta--secondary:hover {
    background: rgba(0, 245, 212, 0.1);
    border-color: rgba(0, 245, 212, 0.7);
    color: var(--primary, #00f5d4);
}

/* 主機租賃方案卡的分級清單 */
.vcm-plan-includes-title--spaced {
    margin-top: 0.5rem;
}

.vcm-hosting-tiers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.vcm-hosting-tier {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
}

.vcm-hosting-tier-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.vcm-hosting-tier-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
}

.vcm-hosting-tier-price {
    color: var(--primary, #00f5d4);
    font-weight: 700;
    font-size: 0.95rem;
}

.vcm-hosting-tier-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.vcm-hosting-tier-specs li::before {
    content: '·';
    color: rgba(255, 255, 255, 0.35);
    margin-right: 0.4rem;
}

.vcm-hosting-tier-specs li:first-child::before {
    content: '';
    margin-right: 0;
}

/* ════════════════════════════════════════════════
   服務流程
   ════════════════════════════════════════════════ */

.vcm-process-section {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, var(--dark-bg-2, #1a1f2e), var(--dark-bg, #0a0f18));
}

.vcm-process-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.vcm-process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vcm-process-step {
    flex: 1 1 200px;
    max-width: 240px;
    text-align: center;
    padding: 0 0.75rem;
}

.vcm-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary, #00f5d4);
    color: var(--primary, #00f5d4);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(0, 245, 212, 0.06);
}

.vcm-step-text {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.6;
}

.vcm-step-arrow {
    align-self: center;
    color: rgba(0, 245, 212, 0.4);
    font-size: 1.3rem;
    padding-top: 12px;
}

/* ════════════════════════════════════════════════
   FAQ（Bootstrap 5 accordion，樣式改為暗色）
   ════════════════════════════════════════════════ */

.vcm-faq-section {
    padding: 5.5rem 0;
}

.vcm-faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.vcm-faq-container .accordion-item {
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(0, 245, 212, 0.15);
    border-radius: 10px !important;
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.vcm-faq-container .accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.1rem 1.4rem;
    box-shadow: none;
}

.vcm-faq-container .accordion-button:not(.collapsed) {
    background: rgba(0, 245, 212, 0.06);
    color: var(--primary, #00f5d4);
    box-shadow: none;
}

.vcm-faq-container .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 245, 212, 0.3);
}

.vcm-faq-container .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(85%);
}

.vcm-faq-container .accordion-body {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    padding: 0 1.4rem 1.3rem;
}

/* ════════════════════════════════════════════════
   詢價表單
   ════════════════════════════════════════════════ */

.vcm-form-section {
    padding: 5.5rem 0 7rem;
}

.vcm-form-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

#vcm-inquiry-form .form-label {
    color: rgba(255, 255, 255, 0.85);
}

#vcm-inquiry-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
}

#vcm-inquiry-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary, #00f5d4);
    box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15);
    color: #fff;
}

#vcm-inquiry-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#vcm-inquiry-form .form-control.is-invalid {
    border-color: #ff6b6b;
}

#vcm-inquiry-form .btn-primary {
    background: var(--primary, #00f5d4);
    border-color: var(--primary, #00f5d4);
    color: var(--dark-bg, #0a0f18);
    font-weight: 600;
    border-radius: 6px;
}

/* ════════════════════════════════════════════════
   RWD
   ════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 1.9rem;
    }

    .banner-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .banner-btn-primary,
    .banner-btn-secondary {
        justify-content: center;
    }

    .vcm-plan-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vcm-plan-card {
        padding: 1.75rem;
    }

    .vcm-plan-price {
        font-size: 2.1rem;
    }

    .vcm-process-steps {
        flex-direction: column;
        align-items: center;
    }

    .vcm-step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }

    .vcm-plan-includes {
        grid-template-columns: 1fr;
    }
}
