/* ========================================
   Crowdfunding Page
   ======================================== */

.cf-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 0;
}

/* Video */
.cf-video-section {
    margin-bottom: 30px;
}
.cf-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cf-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Progress Section */
.cf-progress-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.cf-progress-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cf-stat {
    text-align: center;
    padding: 10px 15px;
}
.cf-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #494ca2;
    line-height: 1;
}
.cf-stat-currency {
    font-size: 24px;
    font-weight: 700;
    color: #494ca2;
}
.cf-stat-label {
    display: block;
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}
.cf-progress-bar-wrapper {
    background: #e9ecef;
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
}
.cf-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #494ca2, #6c6fce);
    border-radius: 10px;
    transition: width 0.8s ease;
    min-width: 2px;
}

/* Intro */
.cf-intro-section {
    text-align: center;
    margin-bottom: 50px;
}
.cf-intro-section h1 {
    color: #494ca2;
    margin-bottom: 5px;
}
.cf-subtitle {
    color: #777;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 25px;
}
.cf-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}
.cf-intro-text p {
    margin-bottom: 15px;
}

/* Features */
.cf-features-section {
    margin-bottom: 50px;
}
.cf-features-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}
.cf-feature {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}
.cf-feature-reverse {
    flex-direction: row-reverse;
}
.cf-feature-text {
    flex: 1;
}
.cf-feature-text h3 {
    color: #494ca2;
    margin-bottom: 10px;
    font-size: 20px;
}
.cf-feature-text p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}
.cf-feature-image {
    flex: 1;
}
.cf-feature-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Roadmap */
.cf-roadmap-section {
    margin-bottom: 50px;
}
.cf-roadmap-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}
.cf-roadmap {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}
.cf-roadmap-line {
    position: absolute;
    top: 12px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #dee2e6;
}
.cf-roadmap-item {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}
.cf-roadmap-dot {
    width: 24px;
    height: 24px;
    background: #494ca2;
    border: 3px solid #fff;
    border-radius: 50%;
    margin: 0 auto 12px;
    box-shadow: 0 0 0 3px #494ca2;
}
.cf-roadmap-date {
    font-weight: 700;
    color: #494ca2;
    font-size: 14px;
    margin-bottom: 6px;
}
.cf-roadmap-label {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    max-width: 180px;
    margin: 0 auto;
}

/* Base Rewards Banner */
.cf-base-rewards {
    background: linear-gradient(135deg, #494ca2, #6c6fce);
    color: #fff;
    border-radius: 10px;
    padding: 20px 30px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.cf-base-rewards i {
    font-size: 28px;
    flex-shrink: 0;
}
.cf-base-rewards p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* Tiers */
.cf-tiers-section {
    margin-bottom: 50px;
}
.cf-tiers-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
.cf-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cf-tier-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.cf-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.cf-tier-featured {
    border-color: #ffc107;
    box-shadow: 0 4px 20px rgba(255,193,7,0.25);
}
.cf-tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: #333;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}
.cf-tier-amount {
    font-size: 32px;
    font-weight: 700;
    color: #494ca2;
    margin-bottom: 8px;
}
.cf-tier-featured .cf-tier-amount {
    color: #e67e00;
}
.cf-tier-title {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
    min-height: 36px;
}
.cf-tier-rewards {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    flex-grow: 1;
}
.cf-tier-rewards li {
    padding: 5px 0;
    font-size: 13px;
    color: #555;
}
.cf-tier-rewards li i {
    color: #28a745;
    margin-right: 6px;
    width: 16px;
}
.cf-tier-rewards a {
    color: #494ca2;
    text-decoration: underline;
}
.cf-tier-btn {
    margin-top: auto;
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

/* Stretch Goals */
.cf-stretch-section {
    margin-bottom: 50px;
}
.cf-stretch-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
.cf-stretch-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cf-stretch-card {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 25px 30px;
    text-align: center;
    width: 280px;
    transition: all 0.3s;
    opacity: 0.6;
}
.cf-stretch-unlocked {
    opacity: 1;
    border-color: #28a745;
    background: #f0fdf4;
}
.cf-stretch-in-progress {
    opacity: 1;
    border-color: #494ca2;
    background: #f0f0ff;
}
.cf-stretch-icon {
    font-size: 36px;
    color: #adb5bd;
    margin-bottom: 10px;
}
.cf-stretch-unlocked .cf-stretch-icon {
    color: #28a745;
}
.cf-stretch-in-progress .cf-stretch-icon {
    color: #494ca2;
}
.cf-stretch-amount {
    font-size: 22px;
    font-weight: 700;
    color: #494ca2;
    margin-bottom: 5px;
}
.cf-stretch-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.cf-stretch-desc {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}
.cf-stretch-status {
    font-size: 13px;
    font-weight: 600;
    color: #28a745;
}
.cf-stretch-status-progress {
    color: #494ca2;
}
.cf-stretch-locked {
    color: #adb5bd;
}

/* FAQ */
.cf-faq-section {
    margin-bottom: 50px;
}
.cf-faq-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
.cf-faq-list {
    max-width: 750px;
    margin: 0 auto;
}
.cf-faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.cf-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    background: #fff;
    transition: background 0.2s;
}
.cf-faq-question:hover {
    background: #f8f9fa;
}
.cf-faq-question i {
    transition: transform 0.3s;
    color: #999;
    flex-shrink: 0;
    margin-left: 15px;
}
.cf-faq-item.open .cf-faq-question i {
    transform: rotate(180deg);
}
.cf-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
    color: #555;
    line-height: 1.6;
}
.cf-faq-item.open .cf-faq-answer {
    max-height: 500px;
    padding: 0 20px 16px;
}

/* Guarantee */
.cf-guarantee-section {
    margin-bottom: 50px;
}
.cf-guarantee-box {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}
.cf-guarantee-box > i {
    font-size: 36px;
    color: #494ca2;
    margin-bottom: 10px;
}
.cf-guarantee-box h3 {
    color: #333;
    margin-bottom: 10px;
}
.cf-guarantee-box p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}
.cf-guarantee-box a {
    color: #494ca2;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .cf-tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cf-feature {
        flex-direction: column;
        gap: 20px;
    }
    .cf-feature-reverse {
        flex-direction: column;
    }
    .cf-roadmap {
        flex-direction: column;
        gap: 25px;
        padding: 0;
    }
    .cf-roadmap-line {
        display: none;
    }
    .cf-roadmap-item {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    .cf-roadmap-dot {
        margin: 0;
        flex-shrink: 0;
    }
    .cf-roadmap-label {
        max-width: none;
        margin: 0;
    }
}
@media (max-width: 600px) {
    .cf-tiers-grid {
        grid-template-columns: 1fr;
    }
    .cf-stat-value {
        font-size: 28px;
    }
    .cf-stat-currency {
        font-size: 18px;
    }
    .cf-progress-stats {
        gap: 5px;
    }
    .cf-stat {
        padding: 8px 10px;
    }
    .cf-stretch-card {
        width: 100%;
    }
}
