/* ===== DETAILED FEATURES STYLING ===== */

.feature-detailed {
    padding: 180px 0;
    background: white;
    position: relative;
}

.feature-detailed.alternate {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.feature-detailed.highlight {
    background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-content.centered {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Feature Text */
.feature-text {
    max-width: 560px;
}

.feature-text.centered {
    max-width: 100%;
}

.feature-number {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.feature-subtitle {
    font-size: 22px;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 500;
}

.feature-description {
    margin-bottom: 40px;
}

.feature-description p {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

/* Feature Highlights */
.feature-highlights {
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e8eaf0;
    transition: all 0.3s;
}

.highlight-item:hover {
    background: white;
    border-color: #6366f1;
    transform: translateX(8px);
}

.highlight-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.highlight-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.highlight-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Grid Highlights */
.feature-grid-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.grid-highlight {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e8eaf0;
    transition: all 0.3s;
}

.grid-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
}

.grid-highlight-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.grid-highlight-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.grid-highlight-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* Use Cases */
.use-cases {
    padding: 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border: 1px solid #bfdbfe;
}

.use-case-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e40af;
    margin-bottom: 12px;
}

.use-cases ul {
    list-style: none;
    padding: 0;
}

.use-cases li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 15px;
    color: #1e3a8a;
    line-height: 1.6;
}

.use-cases li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 700;
    font-size: 18px;
}

/* Feature Visual */
.feature-visual {
    position: relative;
}

.feature-visual iframe {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-visual.full-width {
    grid-column: 1 / -1;
}

.feature-visual.full-width iframe {
    height: 1050px;
}

/* Structure Demo */
.structure-demo {
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
    border: 1px solid #e8eaf0;
}

.structure-tree {
    font-family: 'SF Mono', Monaco, monospace;
}

.structure-tree > div {
    padding: 12px 16px;
    margin: 6px 0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.tree-level-0 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-weight: 700;
}

.tree-level-1 {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    padding-left: 32px !important;
}

.tree-level-2 {
    background: #f8fafc;
    color: #64748b;
    padding-left: 56px !important;
    border: 1px solid #e8eaf0;
}

.tree-level-2:hover {
    background: white;
    border-color: #6366f1;
}

.tree-level-2.dragging {
    background: #eff6ff;
    border: 2px dashed #6366f1;
    transform: translateX(20px);
}

/* Collections Demo */
.collections-demo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.collection-card {
    padding: 24px;
    background: white;
    border: 2px solid #e8eaf0;
    border-radius: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.collection-card:hover {
    border-color: #6366f1;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}

.collection-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.collection-name {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.collection-count {
    font-size: 13px;
    color: #64748b;
}

/* Review Demo */
.review-demo {
    padding: 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

.review-pack {
    border: 2px solid #e8eaf0;
    border-radius: 12px;
    overflow: hidden;
}

.pack-header {
    padding: 20px;
    background: #f8fafc;
    border-bottom: 2px solid #e8eaf0;
    display: flex;
    gap: 16px;
}

.pack-icon {
    font-size: 28px;
}

.pack-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.pack-meta {
    font-size: 13px;
    color: #64748b;
}

.pack-comment,
.pack-suggestion {
    padding: 20px;
    border-bottom: 1px solid #e8eaf0;
}

.comment-line {
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 8px;
}

.comment-text {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 12px;
}

.comment-actions,
.suggestion-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    padding: 6px 14px;
    background: white;
    border: 1px solid #e8eaf0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: #475569;
}

.btn-small:hover {
    border-color: #6366f1;
    color: #6366f1;
}

.suggestion-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.suggestion-diff {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
    margin-bottom: 12px;
}

.diff-removed {
    color: #dc2626;
    background: #fee2e2;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.diff-added {
    color: #16a34a;
    background: #dcfce7;
    padding: 8px 12px;
    border-radius: 6px;
}

.btn-accept {
    padding: 8px 20px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-reject {
    padding: 8px 20px;
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* File Structure Visual */
.file-structure-visual {
    max-width: 700px;
    margin: 48px auto;
    padding: 40px;
    background: white;
    border: 1px solid #e8eaf0;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.file-tree {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 14px;
}

.file-item {
    padding: 10px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.file-item:hover {
    background: #f8fafc;
}

.file-item.folder {
    font-weight: 600;
}

.file-item.indent {
    padding-left: 40px;
}

.file-item.indent-2 {
    padding-left: 68px;
}

.file-icon {
    font-size: 16px;
}

.file-name {
    flex: 1;
    color: #334155;
}

.file-size {
    font-size: 12px;
    color: #94a3b8;
}

/* Feature Benefits */
.feature-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e8eaf0;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    border-color: #6366f1;
}

.benefit-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.benefit-desc {
    font-size: 14px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-grid-highlights {
        grid-template-columns: 1fr;
    }

    .collections-demo {
        grid-template-columns: 1fr;
    }

    .feature-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .feature-visual iframe {
        height: 600px;
    }

    .feature-visual.full-width iframe {
        height: 700px;
    }

    .feature-grid-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-detailed {
        padding: 80px 0;
    }

    .feature-title {
        font-size: 36px;
    }

    .feature-subtitle {
        font-size: 18px;
    }

    .feature-visual iframe {
        height: 400px;
    }
}
