/* ==========================================================================
   Risel – Freelance Starter Kit CSS
   Design System: Sora + Inter, Modern SaaS, Clean Light Mode Layout
   ========================================================================== */

/* --- MAIN & HERO SECTION --- */
.fl-main {
    padding-bottom: 40px;
}

.fl-hero {
    padding: 12px 0 6px;
    text-align: center;
    position: relative;
}

.fl-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.fl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(5, 150, 105, 0.08);
    color: #059669;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 8px;
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.fl-hero-heading {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.fl-hero-accent {
    background: linear-gradient(135deg, #059669 0%, #00b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fl-hero-desc {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 20px;
}

/* --- WORKSPACE GRID --- */
.fl-content-section {
    padding-bottom: 30px;
}

.fl-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.fl-sprint-card {
    margin-bottom: 24px;
}

.fl-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.fl-card-title {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
}

.fl-card-sub {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.fl-sprint-progress {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.15);
    padding: 4px 12px;
    border-radius: 100px;
}

/* Task List */
.fl-task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-task-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.fl-task-item.completed {
    background: #f0fdf4;
    border-color: rgba(5, 150, 105, 0.25);
}

.fl-task-check {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    color: transparent;
    transition: all 0.2s ease;
}

.fl-task-item.completed .fl-task-check {
    background: #059669;
    border-color: #059669;
    color: white;
}

.fl-task-content {
    flex: 1;
}

.fl-task-title {
    font-family: 'Sora', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.fl-task-item.completed .fl-task-title {
    text-decoration: line-through;
    color: #64748b;
}

.fl-task-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.fl-task-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-top: 6px;
}

/* Sidebar Tools Grid */
.fl-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fl-calc-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.fl-input {
    width: 100%;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

.fl-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.fl-calc-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.fl-res-box {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 10px 14px;
}

.fl-res-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.fl-res-val {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

/* Pitch Box */
.fl-pitch-box {
    background: #0f172a;
    color: #e2e8f0;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.55;
    padding: 14px;
    border-radius: 10px;
    white-space: pre-wrap;
    user-select: all;
    margin-bottom: 12px;
    border: 1px solid #1e293b;
}

.fl-btn-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px 14px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.fl-btn-copy:hover {
    background: rgba(0, 102, 255, 0.08);
    color: var(--primary);
    border-color: rgba(0, 102, 255, 0.2);
}

/* --- FEATURES / BENEFITS SECTION --- */
.fl-features-section {
    padding: 32px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.fl-section-header-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 24px;
}

.fl-section-header-center h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.fl-section-header-center p {
    font-size: 14px;
    color: var(--text-secondary);
}

.fl-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.fl-feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fl-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 102, 255, 0.25);
}

.fl-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.icon-blue { background: rgba(0, 102, 255, 0.08); color: #0066FF; }
.icon-amber { background: rgba(217, 119, 6, 0.08); color: #d97706; }
.icon-emerald { background: rgba(5, 150, 105, 0.08); color: #059669; }
.icon-purple { background: rgba(147, 51, 234, 0.08); color: #9333ea; }
.icon-sky { background: rgba(2, 132, 199, 0.08); color: #0284c7; }

.fl-feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.fl-feature-card p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* --- SEO SECTION --- */
.fl-seo-section {
    padding: 40px 0;
}

.fl-seo-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.fl-seo-box h2 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.fl-seo-box p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* --- FAQ SECTION --- */
.fl-faq-section {
    padding: 40px 0 60px;
}

.fl-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fl-faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.fl-faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.06);
}

.fl-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    cursor: pointer;
}

.fl-faq-icon {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform 0.25s ease;
}

.fl-faq-item.active .fl-faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.fl-faq-ans {
    display: none;
    padding: 0 20px 16px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.fl-faq-item.active .fl-faq-ans {
    display: block;
}

/* --- TOAST NOTIFICATION --- */
.fl-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.fl-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .fl-tools-grid {
        grid-template-columns: 1fr;
    }
}
